FS#19180 - [anki] crashing when adding new cards

Attached to Project: Community Packages
Opened by Lubos Kolouch (kolcon) - Tuesday, 20 April 2010, 07:59 GMT
Last edited by Sergej Pupykin (sergej) - Wednesday, 21 April 2010, 15:19 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
Anki-0.9.9.8.6-2 crashing when adding new cards


Additional info:
Anki-0.9.9.8.6-2 crashing when adding new cards

Steps to reproduce:
1. Start anki
2. Try to add new card
3. Anki crashes with error:
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/ankiqt/ui/main.py", line 1355, in closeEvent
if not self.saveAndClose(hideWelcome=True):
File "/usr/lib/python2.6/site-packages/ankiqt/ui/main.py", line 859, in saveAndClose
self.deck.rollback()
File "/usr/lib/python2.6/site-packages/anki/deck.py", line 2230, in rollback
self.s.clear()
File "/usr/lib/python2.6/site-packages/anki/hooks.py", line 59, in repl
return old(*args, **kwargs)
File "/usr/lib/python2.6/site-packages/anki/db.py", line 74, in __getattr__
return getattr(self.__dict__['_session'], k)
AttributeError : 'Session' object has no attribute 'clear'
This task depends upon

Closed by  Sergej Pupykin (sergej)
Wednesday, 21 April 2010, 15:19 GMT
Reason for closing:  Fixed
Additional comments about closing:  thanks
Comment by Dave Pretty (hippojazz) - Wednesday, 21 April 2010, 00:43 GMT
This is an upstream bug due to new version of python-sqlalchemy: see  bug 19186  (duplicate of this)

bug reported upstream at http://code.google.com/p/anki/issues/detail?id=1684
Comment by Dave Pretty (hippojazz) - Wednesday, 21 April 2010, 05:36 GMT

Here is a new anki PKGBUILD with patches for sqlalchemy 0.6 from libanki repo.

Loading...