0.11.4 won't run

Help
Pling
2006-08-12
2013-05-14
  • Pling
    Pling
    2006-08-12

    Hi,

    I had 0.11.3 working, but not printing so I installed the gnome-python-extras ebuild (I'm running Gentoo linux, using kde as my desktop so installing bits of gnome as the programs I use require them).  I also noticed there was a new version of gourmet (0.11.4) so installed that as well.

    Gourmet will now not run and I get the following error:

    -----begin error----

    Traceback (most recent call last):
      File "/usr/bin/gourmet", line 34, in ?
        import gourmet.GourmetRecipeManager
      File "/usr/lib/python2.4/site-packages/gourmet/GourmetRecipeManager.py", line 5, in ?
        import exporters.printer as printer
      File "/usr/lib/python2.4/site-packages/gourmet/exporters/__init__.py", line 3, in ?
        import pdf_exporter
      File "/usr/lib/python2.4/site-packages/gourmet/exporters/pdf_exporter.py", line 1, in ?
        from reportlab.pdfbase import pdfmetrics
    ImportError: No module named reportlab.pdfbase

    -----end error----

    I don't know which of the things I changed has caused the problem - so I don't actually know if this is a problem with gourmet or if I'm just missing some bits of the gnome printing stuff.  I tried to revert to gourmet 0.11.3 to test it, but I can't work out how to uninstall the newer version so that I can install the older one.

    I tried moving my .gourmet/ directory out of the way in case it was some setting in there causing problems, but I still get the same error.

     
    • tom
      tom
      2006-08-12

      There's a new dependency, that's all -- you need to install reportlab for PDF support. I believe reportlab should be packaged and easy to install for all major distros, so this shouldn't be a big problem -- if it is, I can make it optional as I did with the RTF export support (which requires a more obscure package)...

       
      • Pling
        Pling
        2006-08-12

        Thanks :)  Installed reportlab & it's running fine now (and even prints)!

         
    • cookie
      cookie
      2006-08-19

      I am having the same problem worked on this for hours would appreciate any and all help Here is the report suggestions!!!

      Traceback (most recent call last):
        File "Gourmet.pyw", line 33, in ?
        File "gourmet\GourmetRecipeManager.pyo", line 1364, in startGUI
        File "gourmet\GourmetRecipeManager.pyo", line 111, in __init__
        File "gourmet\GourmetRecipeManager.pyo", line 412, in init_recipes
        File "gourmet\reccard.pyo", line 2002, in __init__
        File "gourmet\reccard.pyo", line 2015, in make_item_model
      SystemError: error return without exception set
      Traceback (most recent call last):
        File "Gourmet.pyw", line 33, in ?
        File "gourmet\GourmetRecipeManager.pyo", line 1364, in startGUI
        File "gourmet\GourmetRecipeManager.pyo", line 111, in __init__
        File "gourmet\GourmetRecipeManager.pyo", line 412, in init_recipes
        File "gourmet\reccard.pyo", line 2002, in __init__
        File "gourmet\reccard.pyo", line 2015, in make_item_model
      SystemError: error return without exception set