Closed ockham closed 11 years ago
Submitted by SourceForge user thomas_hinkle on 2007-07-15 20:33:13 UTC.
Logged In: YES user_id=1030390 Originator: NO
Fixed the defaults_en_GB.py file -- somehow that one escaped getting the encoding declared when I fixed all the other ones earlier.
Submitted by SourceForge user flossgeek on 2007-07-15 10:49:53 UTC.
Logged In: YES user_id=1804540 Originator: NO
I also have the same error on Ubuntu Feisty 7.04 as reported above. I installed the gourmet_0.13.4-1_all.deb
Submitted by SourceForge user thomas_hinkle on 2007-04-28 16:52:29 UTC.
Logged In: YES user_id=1030390 Originator: NO
The metakit module is only needed if you are upgrading from a legacy database. If you have a recipes.mk file sitting around, Gourmet would like to have metakit around so it can automatically upgrade for you. After that, though, metakit isn't necessary at all and you can safely ignore the warning.
Submitted by SourceForge user nobody on 2007-04-28 12:25:56 UTC.
Logged In: NO
Adding the line: # -- coding: utf-8 -- to the second line of the file mentioned above (/usr/share/gourmet/defaults_en_GB.py) as mentioned in the link resolves this issue such that the application can start. However, a warning is shown:
We had an import error.
Traceback (most recent call last):
File "/usr/share/gourmet/GourmetRecipeManager.py", line 48, in check_for_data_to_import
import legacy_db
File "/usr/share/gourmet/legacy_db/init.py", line 6, in
Converted from SourceForge issue 1709201, submitted by SourceForge user nobody on 2007-04-28 12:18:51 UTC.
rioch@personal:~$ gourmet Traceback (most recent call last): File "/usr/bin/gourmet", line 13, in
from gourmet.OptionParser import *
File "/usr/share/gourmet/init.py", line 11, in
import defaults
File "/usr/share/gourmet/defaults.py", line 8, in
lang = import('defaults_%s'%loc,globals(),locals())
File "/usr/share/gourmet/defaults_en_GB.py", line 121
SyntaxError: Non-ASCII character '\xc3' in file /usr/share/gourmet/defaults_en_GB.py on line 121, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details