← Back to team overview

edubuntu-bugs team mailing list archive

[Bug 876989] [NEW] Anki fails to load sqlalchemy.exceptions and crashes

 

Public bug reported:

laptor:~ [dot*] $ anki
Traceback (most recent call last):
  File "/usr/bin/anki", line 8, in <module>
    ankiqt.run()
  File "/usr/share/anki/ankiqt/__init__.py", line 78, in run
    import config
  File "/usr/share/anki/ankiqt/config.py", line 10, in <module>
    from anki.utils import genID
  File "/usr/share/anki/anki/__init__.py", line 58, in <module>
    from anki.deck import DeckStorage
  File "/usr/share/anki/anki/deck.py", line 14, in <module>
    from anki.db import *
  File "/usr/share/anki/anki/db.py", line 33, in <module>
    from sqlalchemy.exceptions import DBAPIError, OperationalError
ImportError: No module named exceptions

anki depends on sqlalchemy >= 0.4.3 and according to the release notes
for 0.5.8[1], sqlalchemy.exceptions was renamed to sqlalchemy.exc.


[1] http://www.sqlalchemy.org/changelog/CHANGES_0_5_8

** Affects: anki (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Edubuntu
Bugsquad, which is subscribed to anki in Ubuntu.
https://bugs.launchpad.net/bugs/876989

Title:
  Anki fails to load sqlalchemy.exceptions and crashes

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/anki/+bug/876989/+subscriptions


Follow ups

References