anki crashed with AttributeError in <module>()

Bug #516546 reported by David Fraser
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
anki (Debian)
Fix Released
Unknown
anki (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: anki

Installed anki for the first time
Ran anki from the commandline
Got the stack trace:
Traceback (most recent call last):
  File "/usr/bin/anki", line 8, in <module>
    ankiqt.run()
  File "/usr/share/anki/ankiqt/__init__.py", line 57, in run
    import anki
  File "/usr/share/anki/anki/__init__.py", line 58, in <module>
    from anki.deck import DeckStorage
  File "/usr/share/anki/anki/deck.py", line 28, in <module>
    import anki.models, anki.facts, anki.cards, anki.stats
  File "/usr/share/anki/anki/cards.py", line 268, in <module>
    'fields': relation(Field, backref="fact", order_by=Field.c.ordinal),
AttributeError: type object 'Field' has no attribute 'c'

I subsequently started anki from the Applications menu and it ran fine

ProblemType: Crash
Architecture: i386
DistroRelease: Ubuntu 9.04
ExecutablePath: /usr/bin/anki
InterpreterPath: /usr/bin/python2.6
Package: anki 0.9.9.4-1
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/anki
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=en_US.UTF-8
PythonArgs: ['/usr/bin/anki']
SourcePackage: anki
Title: anki crashed with AttributeError in <module>()
Uname: Linux 2.6.28-17-generic i686
UserGroups: adm admin audio cdrom dialout dip floppy fuse lpadmin plugdev sambashare uucp video

Revision history for this message
David Fraser (davidf) wrote :
tags: removed: need-duplicate-check
visibility: private → public
Changed in anki (Debian):
status: Unknown → Fix Released
Revision history for this message
Andreas Moog (ampelbein) wrote :

Thanks for the report, that was fixed in version 0.9.9.6-1

Changed in anki (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.