Public bug reported:
Binary package hint: rss2email
hi there --
after apt-get installing rss2email on Gutsy, when I run /usr/bin/r2e, I
get this:
: jm 151...; r2e new [EMAIL PROTECTED]
Traceback (most recent call last):
File "/usr/share/rss2email/rss2email.py", line 229, in <module>
import feedparser
ImportError: No module named feedparser
This is because I have a custom build of python in /usr/local/bin, $PATH
contains /usr/local/bin before /usr/bin, and my custom build doesn't have
feedparser installed.
To fix:
--- r2e.bak 2008-02-14 12:57:03.000000000 +0000
+++ /usr/bin/r2e 2008-02-14 12:57:52.000000000 +0000
@@ -13,4 +13,7 @@
mkdir -p "$dir"
fi
cd "$dir"
+# use /usr/bin/python if possible, so that apt dependency on feedparser will
work
+PATH=/usr/bin:$PATH
+export PATH
exec python /usr/share/rss2email/rss2email.py feeds.dat $*
** Affects: rss2email (Ubuntu)
Importance: Undecided
Status: New
--
r2e runs python from $PATH
https://bugs.launchpad.net/bugs/191821
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs