thinkle / gourmet

Gourmet Recipe Manager
GNU General Public License v2.0
338 stars 138 forks source link

IO error: can't open storage file. #336

Closed ockham closed 10 years ago

ockham commented 11 years ago

Converted from SourceForge issue 2970187, submitted by SourceForge user nobody on 2010-03-14 11:06:24 UTC.

will not start up at all.

Traceback (most recent call last): File "gourmet\GourmetRecipeManager.pyo", line 383, in init_recipes File "gourmet\backends\rmetakit.pyo", line 656, in init File "gourmet\backends\rmetakit.pyo", line 30, in init File "gourmet\backends\rdatabase.pyo", line 172, in init File "gourmet\backends\rmetakit.pyo", line 41, in initialize_connection IOError: can't open storage file

Ps Libary zip file won't open either but can open other zip files

ockham commented 11 years ago

Submitted by SourceForge user beelsr on 2010-03-15 16:23:55 UTC.

See the 2 latest threads in the Open Discussion forum for some of the current issues with the Windows build. It's got a few rough edges in getting it running but once it does and if you stay away from the fringe, it works very well. Kind of like when you go to the doctor and say "if I do this, it hurts (crashes)." Don't do that, and you'll be fine. :-)

The library.zip issue is known. 7-zip 4.65 (7-zip.org or "sevenzip" here on SF) does open the file but you don't need to open the file yourself.

As for the IOError, it looks like Gourmet is having a problem with creating/accessing your database file. In Windows (XP, at least), this is stored in the C:\Documents and Settings\Application Data\gourmet\ folder. My first guess is you're using Windows 7 or Vista and UAC is in effect; denying Gourmet the rights it needs to write to that dir. Unfortunately, the debug version seems to be broken but please try to run it and see if you get a different error (than what is posted in those threads).

ockham commented 10 years ago

Closing as the affected module (rmetakit.py[o]) and metakit support in general aren't even part of gourmet anymore.