1. Bitbucket
  2. Public Issue Tracker
  3. master
  4. Issues


Issue #3476 invalid

Fails to process feed item without title (BB-3349)

Anonymous created an issue

One of my feeds could not be added to the database because of the following error. The feed may be invalid, but such invalid feeds apparently exist out there!

{{{ Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 552, in bootstrap_inner self.run() File "/usr/lib/python2.7/threading.py", line 505, in run self.target(*self.args, **self.kwargs) File "/home/perchrh/devel/pyaggr3g470r/feedgetter.py", line 97, in process self.add_into_sqlite(the_good_url) File "/home/perchrh/devel/pyaggr3g470r/feedgetter.py", line 118, in add_into_sqlite utils.clear_string(a_feed.feed.title.encode('utf-8')), \ File "/usr/lib/pymodules/python2.7/feedparser.py", line 356, in getattr raise AttributeError, "object has no attribute '%s'" % key AttributeError: object has no attribute 'title' }}}