[addressed] preceding whitespace causes exception

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

Bug Description

Event: {'account': None, 'responses': [], 'source': u'titan', 'addressed': u'dazzle', 'processed': False, 'time': datetime.datetime(2010, 2, 18, 16, 28, 59, 638332), 'identity': 7431L, 'message': {'raw': u' dazzle tvshow mythbusters', 'deaddressed': u' dazzle tvshow mythbusters', 'clean': u'tvshow mythbusters', 'stripped': u'dazzle tvshow mythbusters'}, 'type': u'message', 'public': True, 'channel': u'$public', 'sender': {'nick': u'massive', 'connection': u'massive', 'id': u'massive'}}
Traceback (most recent call last):
  File "/home/dazzle/ibid/dazzle/ibid/core.py", line 30, in _process
    processor.process(event)
  File "/home/dazzle/ibid/dazzle/ibid/plugins/__init__.py", line 111, in process
    method(event)
  File "./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

summary: - addressed bug
+ [addressed] preceding whitespace causes exception
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

Remote bug watches

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