[weather] parsing error?

Bug #370280 reported by Stefano Rivera
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ibid
Fix Released
Low
Stefano Rivera

Bug Description

2009-04-30 18:55:30,228 DEBUG source.titan: Received message from Gnemehc in public: tibid weather hell
2009-04-30 18:55:32,442 ERROR core.dispatcher: Exception occured in Weather processor of lookup plugin
Traceback (most recent call last):
  File "/home/stefanor/projects/ibid/dc-source/ibid/core.py", line 22, in _process
    processor.process(event)
  File "/home/stefanor/projects/ibid/dc-source/ibid/plugins/__init__.py", line 55, in process
    method(event, *match.groups())
  File "/home/stefanor/projects/ibid/dc-source/ibid/plugins/lookup.py", line 453, in weather
    values = self.remote_weather(place)
  File "/home/stefanor/projects/ibid/dc-source/ibid/plugins/lookup.py", line 426, in remote_weather
    tds = soup.table.table.findAll('td')
AttributeError: 'NoneType' object has no attribute 'findAll'
2009-04-30 18:55:32,479 WARNING plugins.unicode: Found a non-unicode string: exception
2009-04-30 18:55:32,480 DEBUG core.dispatcher: {'message_raw': u'tibid weather hell', 'account': None, 'responses': [{'reply': u"Gnemehc: That didn't seem to agree with me", 'target': u'$public', 'source': u'titan'}], 'complain': 'exception', 'source': u'titan', 'addressed': u'tibid', 'processed': True, 'time': 1241110530.2288749, 'identity': 151, 'message': u'weather hell', 'type': u'message', 'public': True, 'channel': u'$public', 'sender': {'nick': u'Gnemehc', 'connection': u'Gnemehc', 'id': u'Gnemehc'}}
2009-04-30 18:55:32,483 DEBUG core.dispatcher: Returning event to titan source
2009-04-30 18:55:32,483 DEBUG source.titan: Sent privmsg to None: Gnemehc: That didn't seem to agree with me

Revision history for this message
Stefano Rivera (stefanor) wrote :

The problem appears to be that "Hell, MI"'s page is prefixed with a flood warning. We need more robustness

Changed in ibid:
importance: Undecided → Low
status: New → Triaged
Changed in ibid:
assignee: nobody → Stefano Rivera (stefanor)
status: Triaged → In Progress
Changed in ibid:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.