r2e bails out with TypeError

Bug #244953 reported by Peter Lewis
4
Affects Status Importance Assigned to Milestone
rss2email (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: rss2email

Hi,

After upgrading to Hardy, I get this behaviour:

$ r2e list
Traceback (most recent call last):
  File "/usr/share/rss2email/rss2email.py", line 731, in <module>
    elif action == "list": list()
  File "/usr/share/rss2email/rss2email.py", line 672, in list
    feeds, feedfileObject = load(lock=0)
  File "/usr/share/rss2email/rss2email.py", line 413, in load
    feeds = pickle.load(feedfileObject)
TypeError: 'str' object does not support item assignment

And the same if I try to run r2e with any other options. I've tried it with both python 2.4 and 2.5.

Some more info:

$ aptitude show rss2email
Package: rss2email
State: installed
Automatically installed: yes
Version: 1:2.61-1

$ aptitude show python-feedparser
Package: python-feedparser
State: installed
Automatically installed: no
Version: 4.1-10

Thanks :-)

Revision history for this message
Peter Lewis (prlewis) wrote :

I've just done a bit more experimenting with this.

It seems that the bug / crash only occurs when upgrading from a previous version of rss2email, and the old configuration files - including the list of sites to subscribe to - are kept.

I've managed to work around it by backing up the config files, removing them, doing 'r2e new' and then re-entering all the feeds to follow, though this is really rather time consuming.

Pete.

Revision history for this message
Lindsey Smith (lindsey-smith) wrote : Re: [Bug 244953] [NEW] r2e bails out with TypeError

Peter,

Hmm. My main Linux box also runs Hardy, but I don't use the Ubuntu
package for rss2email personally. Can I enlist your help in finding
the steps to reproduce this?

regards,
Lindsey Smith

On Wed, Jul 2, 2008 at 11:14 AM, Peter Lewis <email address hidden> wrote:
> Public bug reported:
>
> Binary package hint: rss2email
>
> Hi,
>
> After upgrading to Hardy, I get this behaviour:
>
> $ r2e list
> Traceback (most recent call last):
> File "/usr/share/rss2email/rss2email.py", line 731, in <module>
> elif action == "list": list()
> File "/usr/share/rss2email/rss2email.py", line 672, in list
> feeds, feedfileObject = load(lock=0)
> File "/usr/share/rss2email/rss2email.py", line 413, in load
> feeds = pickle.load(feedfileObject)
> TypeError: 'str' object does not support item assignment
>
> And the same if I try to run r2e with any other options. I've tried it
> with both python 2.4 and 2.5.
>
> Some more info:
>
> $ aptitude show rss2email
> Package: rss2email
> State: installed
> Automatically installed: yes
> Version: 1:2.61-1
>
> $ aptitude show python-feedparser
> Package: python-feedparser
> State: installed
> Automatically installed: no
> Version: 4.1-10
>
> Thanks :-)
>
> ** Affects: rss2email (Ubuntu)
> Importance: Undecided
> Status: New
>
> --
> r2e bails out with TypeError
> https://bugs.launchpad.net/bugs/244953
> You received this bug notification because you are subscribed to
> rss2email in ubuntu.
>

Revision history for this message
Peter Lewis (prlewis) wrote :

Absolutely - I'd be happy to help running tests or whatever.

The problem occurred (so far as I'm aware) when I upgraded from Gutsy to Hardy. The Hardy version was not able to understand the config / feed files generated by the Gutsy version.

Let me know what you need me to do. I have the old feeds.dat file from the Gutsy version, if that's any help (the one which generates the error with the Hardy package).

Revision history for this message
Thomas Hotz (thotz-deactivatedaccount) wrote :

Hardy is EOL. Can you still reproduce this bug? Thank you for telling us!

Changed in rss2email (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for rss2email (Ubuntu) because there has been no activity for 60 days.]

Changed in rss2email (Ubuntu):
status: Incomplete → Expired
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.