Hello,
I've been using Anki on my Nexus One to learn Mandarin for the first
few months. I generally use AnkiDroid to study, and then connect/
mount my device and use the full Anki app on either my Mac or WinXP PC
to add new vocab as needed.
Just now I hard a terrible surprise when trying to add some vocab via
Anki for Windows (1.0.1). The program complained about a corrupted
deck, with the following output:
Debug info:
Traceback (most recent call last):
File "ankiqt\ui\main.pyc", line 716, in loadDeck
File "anki\deck.pyc", line 2814, in Deck
File "anki\deck.pyc", line 685, in rebuildQueue
File "anki\deck.pyc", line 671, in checkDue
File "anki\db.pyc", line 114, in statement
File "anki\db.pyc", line 90, in execute
File "sqlalchemy\orm\session.pyc, line 753, in execute
File "sqlalchemy\engine\base.pyc", line 824, in execute
File "sqlalchemy\engine\base.pyc", line 874, in
_execute_clauseelement
File "sqlalchemy\engine\base.pyc", line 896, in __execute_context
File "sqlalchemy\engine\base.pyc", line 950, in _cursor_execute
File "sqlalchemy\engine\base.pyc", line 931, in
_handle_dbapi_exception
OperationalError: (OperationalError) database or disk is full u'update
cards set isDue = 1 where type = 1 and isDue = 0 and priority in
(1,2,3,4) and combinedDue <= ?' [1290717206.0150001]
I then ejected my phone and tried to open it in AnkiDroid with the
error message:
"Failed to load deck. Please, press menu and select one of the decks
stored in your sd card."
This is a huge disaster. I have a ton of cards and study history in
that deck. I'm now kicking myself for not backing up regularly.
I've uploaded the deck to Dropbox at
http://dl.dropbox.com/u/2405832/English-Chinese.anki
Is there anything that can be done to recover this?
FWIW, I suspect this happened when I mounted the device. Whereas I
normally take care to kill AnkiDroid prior to doing this, I skipped
that step this time. Perhaps Anki was mid-write when the device was
mounted?
Thanks in advance for any help. Let me know if there's any additional
info that I can provide.
-Scot