Find the answer to your Linux question:
Results 1 to 2 of 2
I got this app called Straw ( http://www.nongnu.org/straw/ ) which suppose to simply read RSS feeds from websites... Whenever I try to run it I get an error: Code: $ ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux User
    Join Date
    Nov 2003
    Location
    Brooklyn, NY
    Posts
    347

    Straw


    I got this app called Straw (http://www.nongnu.org/straw/) which suppose to simply read RSS feeds from websites... Whenever I try to run it I get an error:

    Code:
    $ straw
    Traceback (most recent call last):
      File "/usr/bin/straw", line 30, in ?
        import straw
      File "/usr/lib/python2.3/site-packages/straw/__init__.py", line 17, in ?
        from Main import Main
      File "/usr/lib/python2.3/site-packages/straw/Main.py", line 8, in ?
        import pygtk
    ImportError: No module named pygtk
    I do have pygtk installed..

    Code:
    *  dev-python/pygtk
          Latest version available: 2.0.0
          Latest version installed: 2.0.0
          Size of downloaded files: 514 kB
          Homepage:    http://www.daa.com.au/~james/pygtk/
          Description: GTK+2 bindings for Python
    ...

    Code:
    slip@***** slip $ python-config
    -lpython2.3 -lm -L/usr/lib/python2.3/config
    slip@***** slip $ straw
    Traceback (most recent call last):
      File "/usr/bin/straw", line 30, in ?
        import straw
      File "/usr/lib/python2.3/site-packages/straw/__init__.py", line 17, in ?
        from Main import Main
      File "/usr/lib/python2.3/site-packages/straw/Main.py", line 8, in ?
        import pygtk
    ImportError: No module named pygtk
    Anyone know what is wrong?

  2. #2
    Linux Engineer
    Join Date
    Sep 2003
    Location
    Knoxhell, TN
    Posts
    1,078
    did you check to see if maybe the reference to pygtk is a typo? i.e. try to locate pygtk to see if the module name doesn't have a hyphen or underscore or other chars in it....
    Their code will be beautiful, even if their desks are buried in 3 feet of crap. - esr

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •