interstar / rss_backup

Update of QuoraGrabber. A short script to grab items from rss-feeds and back them up on local machine.
13 stars 2 forks source link

Bug in Ubuntu #1

Open JIVS opened 10 years ago

JIVS commented 10 years ago

I'm getting this when trying to scrap my quora account:

Traceback (most recent call last):
  File "grab_quora.py", line 1, in <module>
    from grab_rss import *
  File "/home/user/rss/grab_rss.py", line 4, in <module>
    from bs4 import BeautifulSoup, Tag
ImportError: No module named bs4

Any idea what might be causing this?

UPDATE: ok so I fixed this by reinstalling BeautifulSoup4 using pip instead, but now I'm getting this:

python list.py "Quora feed" > g.html
bash: g.html: Permission denied

Any ideas?

interstar commented 10 years ago

Hmmm ... well, g.html is just a file we're writing a test html page into. You can call it anything you like.

Where are you running this test? In a directory that you have write permission in? Is there a file called g.html there already? And if so, is there any reason you can't over-write it? Maybe try a different name?

interstar commented 10 years ago

BTW : you say you fixed the problem with BeautifulSoup by installing it with Pip. Are you saying that after you installed it with easy_install you had that problem?