debug: Exceptions might have been caused by non-message events
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ibid |
Fix Committed
|
Low
|
Max Rabkin |
Bug Description
With this exception in memory:
2010-10-06 13:01:27,675 ERROR core.dispatcher: Exception occured in Log processor of log plugin.
Event: {'account': None, 'responses': [], 'source': u'atrum', 'state': u'offline', 'session': <sqlalchemy.
Traceback (most recent call last):
File "/home/
processor.
File "/home/
method(event)
File "/home/
self.
File "/home/
file = self.get_
File "/home/
self.
ValueError: list.remove(x): x not in list
This happens:
2010-10-06 13:01:47,095 ERROR core.dispatcher: Exception occured in LastException processor of debug plugin.
Event: {'account': 1, 'responses': [], 'source': u'shadowfire', 'addressed': u'tibid', 'session': <sqlalchemy.
Traceback (most recent call last):
File "/home/
processor.
File "/home/
method(event, *match.groups())
File "/home/
'message': exc_event.
TypeError: string indices must be integers
Related branches
- Jonathan Hitchcock: Approve
- Stefano Rivera: Approve
-
Diff: 42 lines (+19/-5)1 file modifiedibid/plugins/debug.py (+19/-5)
Changed in ibid: | |
status: | Triaged → In Progress |
assignee: | nobody → Max Rabkin (max-rabkin) |
Changed in ibid: | |
status: | In Progress → Fix Committed |
2010-10-07 17:06:30,309 ERROR core.dispatcher: Exception occured in Log processor of log plugin. orm.session. Session object at 0x4fa9fd0>, 'processed': False, 'time': datetime. datetime( 2010, 10, 7, 15, 6, 30, 275228), 'identity': 12, 'message': u'User Quit: Leaving', 'type': u'state', 'public': True, 'channel': None, 'sender': {'nick': u'confluence', 'connection': u'confluence', 'id': u'confluence'}} stefanor/ bzr/ibid/ stefanor/ tibid/ibid/ core.py" , line 29, in process process( event) stefanor/ bzr/ibid/ stefanor/ tibid/ibid/ plugins/ __init_ _.py", line 137, in process stefanor/ bzr/ibid/ stefanor/ tibid/ibid/ plugins/ log.py" , line 176, in log_handler log_event( event) stefanor/ bzr/ibid/ stefanor/ tibid/ibid/ plugins/ log.py" , line 169, in log_event logfile( event) stefanor/ bzr/ibid/ stefanor/ tibid/ibid/ plugins/ log.py" , line 115, in get_logfile fnmatch( event.channel, channel_glob)): python2. 6/fnmatch. py", line 43, in fnmatch python2. 6/fnmatch. py", line 79, in fnmatchcase pat].match( name) is not None
Event: {'account': None, 'responses': [], 'source': u'atrum', 'state': u'offline', 'session': <sqlalchemy.
Traceback (most recent call last):
File "/home/
processor.
File "/home/
method(event)
File "/home/
self.
File "/home/
file = self.get_
File "/home/
and fnmatch.
File "/usr/lib/
return fnmatchcase(name, pat)
File "/usr/lib/
return _cache[
TypeError: expected string or buffer
caused:
2010-10-07 17:29:18,305 ERROR core.dispatcher: Exception occured in LastException processor of debug plugin. datetime( 2010, 10, 7, 15, 29, 18, 296625), 'identity': 1, 'message': {'raw': u'tibid: last exception', 'deaddressed': u'last exception', 'clean': u'last exception', 'stripped': u'tibid: last exception'}, 'type': u'message', 'public': True, 'channel': u'#ibid', 'sender': {'nick': u'tumbleweed', 'connection': u'tumbleweed!<email address hidden>', 'id': u'tumbleweed'}} stefanor/ bzr/ibid/ stefanor/ tibid/ibid/ core.py" , line 29, in process process( event) stefanor/ bzr/ibid/ stefanor/ tibid/ibid/ plugins/ __init_ _.py", line 145, in process stefanor/ bzr/ibid/ stefanor/ tibid/ibid/ plugins/ debug.py" , line 49, in exception
Event: {'account': 1, 'responses': [], 'source': u'atrum', 'addressed': u'tibid', 'processed': False, 'time': datetime.
Traceback (most recent call last):
File "/home/
processor.
File "/home/
method(event, *match.groups())
File "/home/
lines = [u'%(type)s event triggered' % exc_event.type]
TypeError: format requires a mapping