Hey there,
in a nutshell: I think by using the Ankidroid beta, I somehow
corrupted my main anki learning deck. Is there a way to repair it? I
can't even import it in desktop anki anymore, so there's no
possibility for me to let it run through the db check. I uploaded the
file here:
http://www.enabeliro.net/download/ankimain.zip
now for the details: I wanted to use anki to continue practicing my
chinese vocabulary while traveling 7 weeks through China. So I
installed the newest Ankidroid beta (I think 0.4.2.) on my Droid
mobile phone. It worked well in the beginning and always worked well
for my smaller decks, but then suddenly for my big deck (20 MB + 30MB
sound files) it always just showed me the same cards again and again
when I didn't know their answer. So I stopped using it and wanted to
continue the revisions when coming home.
Now I tried to synchronize the decks by internet, it worked well for
the smaller decks, but when I want to synchronize the big deck,
Ankidroid just crashes. I tried to copy the .anki file and import it,
but anki doesn't let me, the error msg reads as follows:
Traceback (most recent call last):
File "ankiqt\ui\importing.pyc", line 199, in doImport
File "anki\db.pyc", line 101, in all
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
sqlalchemy.exc.DatabaseError: (DatabaseError) file is encrypted or is
not a database u'pragma integrity_check' []
I tried the same with the newest ankidroid beta (0.5 alpha4). Now
using the deck on the mobile phone works again, but still,
synchronization crashes and there's no possibility to copy and import
the file into desktop anki.
I really hope there's a possibility to restore the integrity of my
deck. Currently, I already have around 3000 revisions to do, if
there's no possibility of restoring it, I have to do 4000! So please
help me!
Thanks alot!
Marcel