-
Bug
-
Resolution: Invalid
-
Medium
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'\\ }}}