gourmet on mac os x

  • Miguel

    Hi everyone,

    I'm trying to use gourmet on a Mac OS X (10.4.9 ppc)
    I have all the required packages (or so I think) via fink.
    I can install gourmet using:

    sudo python setup.py install

    Python version is 2.5
    PIL is: pil-py25        1.1.5-3
    gnome-print:            0.37-6  Gnome Print - Printing libraries for GNOM

    When I execute gourmet, I get the following errors:

    Loading  gnomeprint  failed: trying  win
    Loading  win  failed: trying  lpr
    Traceback (most recent call last):
      File "/sw/bin/gourmet", line 34, in <module>
        import gourmet.GourmetRecipeManager
      File "/sw/lib/python2.5/site-packages/gourmet/GourmetRecipeManager.py", line 9, in <module>
        import prefs, prefsGui, shopgui, reccard, convertGui, fnmatch, tempfile
      File "/sw/lib/python2.5/site-packages/gourmet/shopgui.py", line 3, in <module>
        import recipeManager, convert, WidgetSaver, reccard
      File "/sw/lib/python2.5/site-packages/gourmet/reccard.py", line 8, in <module>
        from recindex import RecIndex
      File "/sw/lib/python2.5/site-packages/gourmet/recindex.py", line 3, in <module>
        import WidgetSaver, Undo, ratingWidget
      File "/sw/lib/python2.5/site-packages/gourmet/ratingWidget.py", line 144, in <module>
        star_generator = StarGenerator()
      File "/sw/lib/python2.5/site-packages/gourmet/ratingWidget.py", line 48, in __init__
        self.unset_img = Image.open(unset_image).resize(self.set_img.size)
      File "/sw/lib/python2.5/site-packages/PIL/Image.py", line 1188, in resize
      File "/sw/lib/python2.5/site-packages/PIL/ImageFile.py", line 180, in load
        d = Image._getdecoder(self.mode, d, a, self.decoderconfig)
      File "/sw/lib/python2.5/site-packages/PIL/Image.py", line 328, in _getdecoder
        raise IOError("decoder %s not available" % decoder_name)
    IOError: decoder zip not available

    First, I don't know why gnomeprint fails. And then, what's the problem with PIL.

    Thanking you in advance for your help!