Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-3476

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

    XMLWordPrintable

Details

    Description

      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'\\ }}

      }

      Attachments

        Activity

          People

            Unassigned Unassigned
            Anonymous Anonymous
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: