tea style addressing with trailing punctuation throws exception

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

Bug Description

2010-03-23 17:59:11,041 ERROR core.dispatcher: Exception occured in Addressed processor of core plugin.
Event: {'account': 15, 'responses': [], 'source': u'atrum', 'addressed': u'tibid', 'processed': False, 'time': datetime.datetime(2010, 3, 23, 15, 59, 11, 40956), 'identity': 890, 'message': {'raw': u'what can you do, tibid?', 'deaddressed': u'what can you do, tibid?', 'clean': u'what can you do', 'stripped': u'what can you do, tibid'}, 'type': u'message', 'public': True, 'channel': u'#ibid', 'sender': {'nick': u'marcog', 'connection': u'marcog!<email address hidden>', 'id': u'marcog'}}
Traceback (most recent call last):
  File "/home/stefanor/projects/ibid/tibid/ibid/core.py", line 32, in _process
    processor.process(event)
  File "/home/stefanor/projects/ibid/tibid/ibid/plugins/__init__.py", line 136, in process
    method(event)
  File "/home/stefanor/projects/ibid/tibid/ibid/plugins/core.py", line 52, in handle_addressed
    pattern.search(event.message['raw']).group('body')
AttributeError: 'NoneType' object has no attribute 'group'

Related branches

marcog (marco-gallotta)
Changed in ibid:
assignee: nobody → marcog (marco-gallotta)
status: Triaged → Fix Committed
Changed in ibid:
status: Fix Committed → In Progress
Changed in ibid:
status: In Progress → Fix Committed
Changed in ibid:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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