A (possibly hackish) fix for this:

In /usr/share/gourmet/gourmet/backends/db.py

replace line 944 or so (mentioned in traceback)
    del self.metadata.tables[table_name]

with
        self.metadata._remove_table(table_name, self.metadata.schema)

I got this idea here https://code.google.com/p/sqlalchemy-
migrate/issues/attachmentText?id=128&aid=1280000000&name=sqlalchemy-
migrate-fix-rename.patch&token=0L28CRkMtEopR6L-
nXX2PRBt5HY%3A1352500382790

(I have edited the code in-place, so don't have a patch handy.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/944464

Title:
  gourmet crashes when enabling nutritional information plugin

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to