rss2email broken by incorrect python version

Bug #397067 reported by ArbitraryConstant
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
rss2email (Ubuntu)
New
Undecided
Unassigned

Bug Description

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

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.