Bug 11770 - Crash when updating Google Reader feeds
: Crash when updating Google Reader feeds
Status: RESOLVED FIXED
Product: ReSiStance
General
: unspecified
: N900 Maemo
: Unspecified enhancement (vote)
: ---
Assigned To: Sergio Villar Senin
: general
:
:
:
:
  Show dependency tree
 
Reported: 2011-01-13 00:19 UTC by Reinout van Schouwen
Modified: 2011-01-26 19:15 UTC (History)
1 user (show)

See Also:


Attachments
config file (199 bytes, text/plain)
2011-01-13 00:35 UTC, Reinout van Schouwen
Details
opml for my feeds (14.53 KB, text/xml)
2011-01-13 11:02 UTC, Daniel Alonso
Details


Note

You need to log in before you can comment on or make changes to this bug.


Description Reinout van Schouwen (reporter) 2011-01-13 00:19:44 UTC
SOFTWARE VERSION: 
0.8.2

EXACT STEPS LEADING TO PROBLEM: 
1. Update from Google Reader

EXPECTED OUTCOME: 
Entries are shown

ACTUAL OUTCOME: 
Indefinite loading state, exception on console

REPRODUCIBILITY: 
always

OTHER COMMENTS: 
Stack trace and feeds.db follow
Comment 1 Reinout van Schouwen (reporter) 2011-01-13 00:24:16 UTC
+lessfilling+hanjin+ps8060+homie+gongon
Importing: http://blogs.sun.com/geertjan/feed/entries/rss
Importing: http://www.rotterdam.nl/nieuws.xml
Importing: http://glweb.groenlinks.nl/RSS
Importing: http://planet.gnome.org/news/rss20.xml
Importing: http://www.greenyourope.net/?feed=rss2
Importing: http://harves.blogspot.com/feeds/posts/default
Importing: http://hollandonrails.nl/articles/rss
Importing: http://irthoughts.wordpress.com/feed/
Importing: http://shlomy-jedit.blogspot.com/feeds/posts/default
Importing: http://www.joop.nl/rsslinks/politiek/rss.xml
Importing: http://leoniehan.blogspot.com/feeds/posts/default
Importing:
http://www.livre.nl/index2.php?option=com_rss&feed=RSS0.91&no_html=1
Importing: http://blog.mageia.org/?feed=rss2
Importing: http://marjoleinenjoostintokyo.blogspot.com/feeds/posts/default
Importing: http://literaryinformatics.northwestern.edu/?q=blog/6/feed
Importing: http://www.motelmozaique.nl/rss/
Importing: http://nosql.mypopescu.com/rss
Importing: http://blogs.talis.com/nodalities/feed
Importing: http://www.nrcnext.nl/?service=rss
Importing: http://weblogs.hollanddoc.nl/open/feed/
Importing: http://www.earlham.edu/~peters/fos/atom.xml
Importing: http://www.osnews.com/files/recent.xml
Importing: http://www.phoronix.com/rss/rss.php
Importing: http://planeetgroenlinks.nl/rss20.xml
Importing: http://planet.gnome.org/atom.xml
Importing: http://planetmandriva.zarb.org/rss20.xml
Importing: http://planetrdf.com/index.rdf
Importing: http://planet.freedesktop.org/rss20.xml
Importing: http://basjacobs.wordpress.com/feed/
Importing: http://ole-laursen.blogspot.com/feeds/posts/default
Importing:
http://groups.google.com/group/scala-netbeans/feed/atom_v1_0_msgs.xml
Importing:
http://groups.google.com/group/semantic-forms/feed/rss_v2_0_topics.xml
Importing:
http://best-practice-software-engineering.blogspot.com/feeds/posts/default
Importing: http://stronglytypedblog.blogspot.com/feeds/posts/default
Importing: http://blog.shr-project.org/atom.xml
Importing: http://www.theserverside.com/rss/theserverside-rss2.xml
Importing: http://this-statement-is-false.blogspot.com/feeds/posts/default
Importing: http://www.blog.nl/rss.php?blogId=32
Importing: http://feeds.webwereld.nl/webwereld
Importing: http://www.welingelichtekringen.nl/rss.xml
Importing: http://wicketinaction.com/feed/
Importing: http://www.dish2009.nl/blog/feed
Importing: http://blog.xebia.com/feed/
Exception in thread Thread-22:
Traceback (most recent call last):
  File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.5/threading.py", line 446, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/python2.5/site-packages/ReSiStance/feedmanager.py", line 656,
in _add_feed_in_thread
    self._safe_callback(callback, pixbuf, new_feed_data, user_data)
  File "/usr/lib/python2.5/site-packages/ReSiStance/feedmanager.py", line 120,
in _safe_callback
    callback(*args)
  File "/usr/lib/python2.5/site-packages/ReSiStance/gui.py", line 742, in
_multiple_add_cb
    self._feed_added_cb(pixbuf, new_feed_data, row_reference,
stop_progress=False)
  File "/usr/lib/python2.5/site-packages/ReSiStance/gui.py", line 728, in
_feed_added_cb
    self.FEEDS_MODEL_TITLE_COLUMN,
self.view.get_feed_title_markup(new_feed_data),
  File "/usr/lib/python2.5/site-packages/ReSiStance/gui.py", line 127, in
get_feed_title_markup
    (DEFAULT_TEXT_COLOR,
glib.markup_escape_text(unescape(feed_data.feed.title)))
  File "/usr/lib/python2.5/site-packages/feedparser.py", line 236, in
__getattr__
    raise AttributeError, "object has no attribute '%s'" % key
AttributeError: object has no attribute 'title'

Cannot serialize to /home/user/.osso/resistance/feeds.db
Exception in thread Thread-58:
Traceback (most recent call last):
  File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.5/threading.py", line 446, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/python2.5/site-packages/ReSiStance/feedmanager.py", line 430,
in _save_in_thread
    cPickle.dump(self.feed_data_list, db_file)
UnpickleableError: Cannot pickle <type 'pyexpat.xmlparser'> objects

Cannot serialize to /home/user/.osso/resistance/feeds.db
Exception in thread Thread-60:
Traceback (most recent call last):
  File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.5/threading.py", line 446, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/python2.5/site-packages/ReSiStance/feedmanager.py", line 430,
in _save_in_thread
    cPickle.dump(self.feed_data_list, db_file)
UnpickleableError: Cannot pickle <type 'pyexpat.xmlparser'> objects

Cannot serialize to /home/user/.osso/resistance/feeds.db
Exception in thread Thread-59:
Traceback (most recent call last):
  File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.5/threading.py", line 446, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/python2.5/site-packages/ReSiStance/feedmanager.py", line 430,
in _save_in_thread
    cPickle.dump(self.feed_data_list, db_file)
UnpickleableError: Cannot pickle <type 'pyexpat.xmlparser'> objects

Cannot serialize to /home/user/.osso/resistance/feeds.db
Exception in thread Thread-61:
Traceback (most recent call last):
  File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.5/threading.py", line 446, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/python2.5/site-packages/ReSiStance/feedmanager.py", line 430,
in _save_in_thread
    cPickle.dump(self.feed_data_list, db_file)
UnpickleableError: Cannot pickle <type 'pyexpat.xmlparser'> objects

Cannot serialize to /home/user/.osso/resistance/feeds.db
Exception in thread Thread-62:
Traceback (most recent call last):
  File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.5/threading.py", line 446, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/python2.5/site-packages/ReSiStance/feedmanager.py", line 430,
in _save_in_thread
    cPickle.dump(self.feed_data_list, db_file)
UnpickleableError: Cannot pickle <type 'pyexpat.xmlparser'> objects

Cannot serialize to /home/user/.osso/resistance/feeds.db
Cannot serialize to /home/user/.osso/resistance/feeds.db
Exception in thread Thread-63:
Traceback (most recent call last):
  File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.5/threading.py", line 446, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/python2.5/site-packages/ReSiStance/feedmanager.py", line 430,
in _save_in_thread
    cPickle.dump(self.feed_data_list, db_file)
UnpickleableError: Cannot pickle <type 'pyexpat.xmlparser'> objects

Cannot serialize to /home/user/.osso/resistance/feeds.db
Exception in thread Thread-65:
Traceback (most recent call last):
  File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.5/threading.py", line 446, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/python2.5/site-packages/ReSiStance/feedmanager.py", line 430,
in _save_in_thread
    cPickle.dump(self.feed_data_list, db_file)
UnpickleableError: Cannot pickle <type 'pyexpat.xmlparser'> objects

Exception in thread Thread-64:
Traceback (most recent call last):
  File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.5/threading.py", line 446, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/python2.5/site-packages/ReSiStance/feedmanager.py", line 430,
in _save_in_thread
    cPickle.dump(self.feed_data_list, db_file)
UnpickleableError: Cannot pickle <type 'pyexpat.xmlparser'> objects
Comment 2 Reinout van Schouwen (reporter) 2011-01-13 00:35:44 UTC
Created an attachment (id=3262) [details]
config file
Comment 3 Reinout van Schouwen (reporter) 2011-01-13 00:37:43 UTC
(From update of attachment 3262 [details])
crap. why does this file contain my google password!
Comment 4 Daniel Alonso 2011-01-13 02:22:27 UTC
I also have an exception when updating google reader feeds, though the
backtrace is not quite the same, similar, but not the same.

As I do not know yet if both problems are related or not I have preferred not
to open an additional bug report.

Exception in thread Thread-68:
Traceback (most recent call last):
  File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.5/threading.py", line 446, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/python2.5/site-packages/ReSiStance/feedmanager.py", line 656,
in _add_feed_in_thread
    self._safe_callback(callback, pixbuf, new_feed_data, user_data)
  File "/usr/lib/python2.5/site-packages/ReSiStance/feedmanager.py", line 120,
in _safe_callback
    callback(*args)
  File "/usr/lib/python2.5/site-packages/ReSiStance/gui.py", line 742, in
_multiple_add_cb
    self._feed_added_cb(pixbuf, new_feed_data, row_reference,
stop_progress=False)
  File "/usr/lib/python2.5/site-packages/ReSiStance/gui.py", line 728, in
_feed_added_cb
    self.FEEDS_MODEL_TITLE_COLUMN,
self.view.get_feed_title_markup(new_feed_data),
  File "/usr/lib/python2.5/site-packages/ReSiStance/gui.py", line 127, in
get_feed_title_markup
    (DEFAULT_TEXT_COLOR,
glib.markup_escape_text(unescape(feed_data.feed.title)))
  File "/usr/lib/python2.5/site-packages/feedparser.py", line 236, in
__getattr__
    raise AttributeError, "object has no attribute '%s'" % key
Comment 5 Daniel Alonso 2011-01-13 02:24:27 UTC
(In reply to comment #4)

Sorry forgot to say that it's also version 0.8.2
Comment 6 Sergio Villar Senin 2011-01-13 10:01:15 UTC
Would it be possible for any of you to export the list of feeds as OPML from
Google Reader and attach it here?

That way I could import it in my account and test it

Thx!
Comment 7 Daniel Alonso 2011-01-13 11:02:51 UTC
Created an attachment (id=3263) [details]
opml for my feeds

As requested.
Comment 8 Sergio Villar Senin 2011-01-13 13:03:20 UTC
Fixed in master in commit e4489aad777620692b6073d08dc121d2076980dd.

Expect the fix in the next release. Basically the problem was that some of your
feeds are no longer valid feed sources and it were replaced by HTML pages.

From now on, ReSiStance refuses to load any feed that cannot be correctly
parsed (meaning that is most likely not a RSS feed)

Let me know if it's fixed after the release and I'll close this bug
Comment 9 Sergio Villar Senin 2011-01-26 19:15:13 UTC
Closing as it was already fixed