gourmet crashes when enabling nutritional information plugin
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gourmet (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
On a clean install of Gourmet (0.15.9-1) from universe repo I am experiencing crashes in Gourmet after enabling the nutritional database addon.
I am running a Precise Beta 1 guest in Virtualbox on Oneiric host with latest updates. No crashes outside of Gourmet have yet been seen. The crash does not occur in Oneiric.
Reproduction steps:
1. start Gourmet
2. go to Settings -> Plugins
3. enable Nutritional Information plugin
4. nutritional database download status window stalls at "Reading weight data for nutritional items"
5. close stalled download status window
6. close gourmet
7. start gourmet
8. gourmet splashscreen appears but main window never does
The following console output seems to indicate the source of the problem during the initial database update:
<console>
RECREATE USDA WEIGHTS TABLE
Attempting to alter usda_weights <bound method NutritionDataPl
Problem updating plugin <nutritional_
WARNING: PLUGIN FAILED TO LOAD <nutritional_
</console>
When restarting Gourmet and it crashes, you get a similar error:
<console>
OperationalError: (OperationalError) there is already another table or index with this name: usda_weights_temp 'ALTER TABLE usda_weights RENAME TO usda_weights_temp' ()
Problem updating plugin <nutritional_
</console>
ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: gourmet 0.15.9-1
ProcVersionSign
Uname: Linux 3.2.0-17-generic x86_64
ApportVersion: 1.93-0ubuntu2
Architecture: amd64
Date: Thu Mar 1 19:21:07 2012
ExecutablePath: /usr/bin/gourmet
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120301)
InterpreterPath: /usr/bin/python2.7
PackageArchitec
ProcCmdline: /usr/bin/python /usr/bin/gourmet
ProcEnviron:
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
PythonArgs: ['/usr/
SourcePackage: gourmet
Title: gourmet crashed with TypeError in _immutable(): immutabledict object is immutable
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
tags: | removed: need-duplicate-check |
visibility: | private → public |
Changed in gourmet (Ubuntu): | |
importance: | Undecided → Medium |
Thanks for reporting this issue.
By following your steps, I was able to reproduce this issue. I have attached full log of the output I got when triggering this, which includes a traceback.