Error below. We need to log the URL attempted when errors occur. Possibly one of hibernate's feeds, which aren't processing right now.
File "/var/local/allura/ForgeBlog/forgeblog/command/rssfeeds.py", line 139, in command self.process_feed(appid, feed_url) File "/var/local/allura/ForgeBlog/forgeblog/command/rssfeeds.py", line 191, in process_feed updated = datetime.utcfromtimestamp(mktime(e.updated_parsed)) File "/var/local/env-allura/lib/python2.7/site-packages/feedparser-5.0.1-py2.7.egg/feedparser.py", line 356, in __getattr__ raise AttributeError, "object has no attribute '%s'" % key AttributeError: object has no attribute 'updated_parsed'
Originally by: steveebersole
Now we are getting a 500 error on another feed: https://sourceforge.net/p/hibernate/stackoverflow/
forge:tv/4678
Install blog tool and setup some external feeds. I used:
To simulate an error condition you can put an
assert False
insideprocess_feed()
and/orprocess_entry()
inForgeBlog/forgeblog/command/rssfeeds.py
.Then, while tailing
/var/log/allura/allura.log
, run:The process should log any exceptions, but continue processing all feeds/entries.
FYI https://sourceforge.net/p/hibernate/stackoverflow/ is currently pulling feeds correctly.
Originally by: steveebersole
https://sourceforge.net/p/hibernate/blogtest/ is still not pulling the defined feed. Should I open a separate issue for that?