FS#24552 - [anki] Anki crashes after last update

Attached to Project: Community Packages
Opened by andres (kovtunos) - Thursday, 02 June 2011, 20:47 GMT
Last edited by Sergej Pupykin (sergej) - Wednesday, 29 June 2011, 10:38 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description: Anki constantly crashes after last update. I got this:

Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/ankiqt/ui/main.py", line 619, in
lambda i=i: self.cardAnswered(i))
File "/usr/lib/python2.7/site-packages/ankiqt/ui/main.py", line 501, in cardAnswered
self.deck.answerCard(self.currentCard, quality)
File "/usr/lib/python2.7/site-packages/anki/deck.py", line 775, in _answerCard
self.setUndoStart(undoName)
File "/usr/lib/python2.7/site-packages/anki/deck.py", line 3484, in setUndoStart
start = self._latestUndoRow()
File "/usr/lib/python2.7/site-packages/anki/deck.py", line 3503, in _latestUndoRow
return self.s.scalar("select max(rowid) from undoLog") or 0
File "/usr/lib/python2.7/site-packages/anki/db.py", line 98, in scalar
return self.execute(text(sql), args).scalar()
File "/usr/lib/python2.7/site-packages/anki/db.py", line 90, in execute
x = self._session.execute(*a, **ka)
File "/usr/lib/python2.7/site-packages/sqlalchemy/orm/session.py", line 759, in execute
clause, params or {})
File "/usr/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1294, in execute
params)
File "/usr/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1427, in _execute_clauseelement
compiled_sql, distilled_params
File "/usr/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1535, in _execute_context
context)
File "/usr/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1528, in _execute_context
context)
File "/usr/lib/python2.7/site-packages/sqlalchemy/engine/default.py", line 325, in do_execute
cursor.execute(statement, parameters)
sqlalchemy.exc.OperationalError: (OperationalError) no such table: undoLog u'select max(rowid) from undoLog' ()

Additional info:
* package version Anki 1.2.8-2, python2-sqlalchemy 0.7.0-1
This task depends upon

Closed by  Sergej Pupykin (sergej)
Wednesday, 29 June 2011, 10:38 GMT
Reason for closing:  Fixed
Additional comments about closing:  upadted to 1.2.9
Comment by Kevin Sopp (baraclese) - Monday, 06 June 2011, 20:45 GMT
This has already been reported upstream http://code.google.com/p/anki/issues/detail?id=2563
Comment by Yahya Mohajer (yaya_2013) - Wednesday, 29 June 2011, 09:52 GMT

Loading...