Menu

default paths for 0.8.6.0

Help
Gene Imes
2005-09-07
2013-05-14
  • Gene Imes

    Gene Imes - 2005-09-07

    I have installed 0.8.6.0 and get the following when I try to start it:

    Traceback (most recent call last):
      File "/usr/bin/gourmet", line 33, in ?
        import gourmet.GourmetRecipeManager
      File "/usr/lib/python2.4/site-packages/gourmet/GourmetRecipeManager.py", line 5, in ?
        import prefs, prefsGui, shopgui, reccard, convertGui, fnmatch, tempfile
      File "/usr/lib/python2.4/site-packages/gourmet/shopgui.py", line 3, in ?
        import recipeManager, convert, WidgetSaver, reccard
      File "/usr/lib/python2.4/site-packages/gourmet/reccard.py", line 6, in ?
        from recindex import RecIndex
      File "/usr/lib/python2.4/site-packages/gourmet/recindex.py", line 3, in ?
        import WidgetSaver, Undo, ratingWidget
      File "/usr/lib/python2.4/site-packages/gourmet/ratingWidget.py", line 121, in ?
        star_generator = StarGenerator()
      File "/usr/lib/python2.4/site-packages/gourmet/ratingWidget.py", line 42, in __init__
        self.set_img   = Image.open(set_image)
      File "/usr/lib/python2.4/site-packages/PIL/Image.py", line 1717, in open
        fp = __builtin__.open(fp, "rb")
    IOError: [Errno 2] No such file or directory: '/home/tom/Projects/grm-0.8/images/gold_star.png'

    I don't have /home/tom on my computer. Is there some way to set this globally or should I change every reference to /home/tom to /usr/share/gourmet?

    Thanks,

    Gene

     
    • tom

      tom - 2005-09-07

      This was obviously a typo left-over from early testing on my system (I am tom). Searching the latest 0.8.6.4, I don't see any /home/tom/ references except in testing blocks of code that shouldn't be run. I think it's likely that 0.8.6.0 got out the door with some of those blocks incorrect. Download 0.8.6.4 and you shouldn't have the above problem.
      If for some reason grabbing the latest release is a problem for you, you could change any references as follow:
      /home/tom/.../no_star.png
      should become:
      os.path.join(gglobals.imagedir,'no_star.png')
      etc.

      Tom

       
    • Gene Imes

      Gene Imes - 2005-09-08

      Thanks, Tom.

      Also, If I haven't thanked you for the wonderful software already I do now:

      Thanks,

      Gene Imes

       

Log in to post a comment.