[Bug 397067] [NEW] rss2email broken by incorrect python version

ArbitraryConstant launchpad2 at arbitraryconstant.com
Wed Jul 8 16:18:02 UTC 2009


Public bug reported:

I got this e-mail from my rss2email cron after upgrading from 8.04 ->
8.10 -> 9.04:

usr/share/rss2email/rss2email.py:222: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import cPickle as pickle, md5, time, os, traceback, urllib2, sys, types
/usr/share/rss2email/rss2email.py:233: DeprecationWarning: the mimify module is deprecated; use the email package instead
  import mimify; from StringIO import StringIO as SIO; mimify.CHARSET = 'utf-8'
/usr/share/rss2email/rss2email.py:188: DeprecationWarning: os.popen2 is deprecated.  Use the subprocess module.
  i, o = os.popen2(["/usr/sbin/sendmail", recipient])
sendmail: fatal: Recipient addresses must be specified on the command line or via the -t option

Fatal error: sendmail exited with code 19200

I edited the last line of /usr/bin/r2e:

it said:

exec python /usr/share/rss2email/rss2email.py feeds.dat $*

I changed it to say:

exec python2.5 /usr/share/rss2email/rss2email.py feeds.dat $*

Now it runs without error and sends me my feeds via e-mail, which is the
expected behavior.

The package should have python2.5 as its dependency, and should specify
python2.5 if that's what it's written for.

$ lsb_release -rd
Description:	Ubuntu 9.04
Release:	9.04
$ apt-cache policy rss2email
rss2email:
  Installed: 1:2.62-3
  Candidate: 1:2.62-3
  Version table:
 *** 1:2.62-3 0
        500 http://ubuntu.morf.ca jaunty/universe Packages
        100 /var/lib/dpkg/status

** Affects: rss2email (Ubuntu)
     Importance: Undecided
         Status: New

-- 
rss2email broken by incorrect python version
https://bugs.launchpad.net/bugs/397067
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list