Your message dated Thu, 29 Dec 2011 19:37:40 +0100
with message-id <20111229183740.gd29...@patate.is-a-geek.org>
and subject line Re: Bug#616686: anki: upgrading makes data from previous 
version unreadable
has caused the Debian Bug report #616686,
regarding anki: upgrading makes data from previous version unreadable
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
616686: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=616686
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: anki
Version: 1.0.1-1
Severity: grave
Justification: causes data loss

After upgrading from 0.9.9.8.6-2.1 to 1.0.1-1, Anki can no longer read
my old decks. Furthermore, after downgrading, I cannot import any of the
decks from ~/.anki/backups, with errors such as:

Import failed.
Traceback (most recent call last):
  File "/usr/share/anki/ankiqt/ui/importing.py", line 172, in doImport
    self.importer.doImport()
  File "/usr/share/anki/anki/importing/anki10.py", line 31, in doImport
    src = DeckStorage.Deck(self.file)
  File "/usr/share/anki/anki/deck.py", line 2804, in Deck
    deck.rebuildQueue()
  File "/usr/share/anki/anki/deck.py", line 683, in rebuildQueue
    self.checkDue()
  File "/usr/share/anki/anki/deck.py", line 663, in checkDue
    stmt % 0, now=time.time()+self.delay0).rowcount
  File "/usr/share/anki/anki/db.py", line 114, in statement
    return self.execute(text(sql), kwargs)
  File "/usr/share/anki/anki/db.py", line 90, in execute
    x = self._session.execute(*a, **ka)
  File "/usr/lib/python2.6/dist-packages/sqlalchemy/orm/session.py",
line 735, in execute
    clause, params or {})
  File "/usr/lib/python2.6/dist-packages/sqlalchemy/engine/base.py",
line 1157, in execute
    params)
  File "/usr/lib/python2.6/dist-packages/sqlalchemy/engine/base.py",
line 1237, in _execute_clauseelement
    return self.__execute_context(context)
  File "/usr/lib/python2.6/dist-packages/sqlalchemy/engine/base.py",
line 1268, in __execute_context
    context.parameters[0], context=context)
  File "/usr/lib/python2.6/dist-packages/sqlalchemy/engine/base.py",
line 1367, in _cursor_execute
    context)
  File "/usr/lib/python2.6/dist-packages/sqlalchemy/engine/base.py",
line 1360, in _cursor_execute
    context)
  File "/usr/lib/python2.6/dist-packages/sqlalchemy/engine/default.py",
line 288, in do_execute
    cursor.execute(statement, parameters)
OperationalError: (OperationalError) no such index: ix_cards_priorityDue
u'update cards  indexed by ix_cards_priorityDue set isDue = 1 where type
= 0 and isDue = 0 and priority in (1,2,3,4) and combinedDue <= ?'
(1299430077.8064089,)

So, presently, all my data seems to be unreadable.



--- End Message ---
--- Begin Message ---
On Thu, Dec 29, 2011 at 17:03:46 +0100, Michael Goetze wrote:

> Hi,
> 
> On 12/29/2011 11:33 AM, Julien Cristau wrote:
> >> After upgrading from 0.9.9.8.6-2.1 to 1.0.1-1, Anki can no longer read
> >> my old decks. Furthermore, after downgrading, I cannot import any of the
> >> decks from ~/.anki/backups, with errors such as:
> >>
> > Testing and unstable now have anki 1.2.9.  Is this still an issue with
> > that version?
> 
> I installed the upstream author's package shortly after this came up and
> don't have the old data files anymore, so unfortunately I can't test
> whether it's still reproducible. Probably the bug can be closed.
> 
Alright, closing.

Cheers,
Julien


--- End Message ---

Reply via email to