Command line structure for starting GRM

Help
2008-12-31
2013-05-14
  • I just d/l gourmet-0.14.3. On the right-click I was offered: extract. I did that. Then I opened a terminal and typed:

    gourmet

    and was told that I could use apt-get to d/l GRM, which the Sourceforge Gourmet Recipe Manager warns about NOT doing. So, please, someone, tell me how to get my GRM back.

    FYI -- I have my recipes.xml safely copied to a secure location.

     
    • tom
      tom
      2009-01-01

      You need to install the package you extracted from SF.

      Open a terminal in the directory where you extracted the package and run...

      $ sudo python setup.py install

      You could do the whole thing from the terminal as follows...

      $ cd /tmp/
      $ tar -zxf /path/to/downloaded/tarball/gourmet-0.14.3.tar.gz
      $ cd gourmet-0.14.3
      $ sudo python setup.py install

       
    • I did exactly as you posted, above, cutting & pasting so no typos.

      Yet,  the last bit of the terminal output is:

      running install_scripts
      copying build/scripts-2.5/gourmet -> /usr/bin
      changing mode of /usr/bin/gourmet to 755
      running install_data
      copying images/recbox.png -> /usr/share/pixmaps
      error: can't copy 'gourmet.desktop': doesn't exist or not a regular file

      I then moved the extracted folder from /tmp to /opt and tried the 'setup' command line again and got nowhere. Thank you, Tom for your patience with this non-programmer geek.

       
      • tom
        tom
        2009-01-01

        Did you see a line anywhere in the output that said: "Merging translations into gourmet.desktop"

        If not, do you see an error? It may be that you're missing intltool-mergfe. You could try typing intltool-merge at the commandline and see if ubuntu prompts you to install a package.

         
    • I was missing intltool. After aptitude installed it; I moved the directory named: gourmet-0.14.3 to /opt.

      Here are the results.

      mark@Lexington-19:/opt/gourmet-0.14.3$ gourmet
      Traceback (most recent call last):
        File "/usr/bin/gourmet", line 13, in <module>
          from gourmet.OptionParser import *
        File "/usr/lib/python2.5/site-packages/gourmet/__init__.py", line 14, in <module>
          import keymanager
        File "/usr/lib/python2.5/site-packages/gourmet/keymanager.py", line 3, in <module>
          from defaults import langProperties as langProperties
      ImportError: cannot import name langProperties