Skip to content

Error parsing messages for commands #20

@stephenmcd

Description

@stephenmcd

[irc.freenode.net#mezzanine] chiral: 35. import(name)
[irc.freenode.net#mezzanine] chiral: File "/var/www/site/system/views.py" in
[irc.freenode.net#mezzanine] chiral: 11. from mezzanine.utils.urls import next_url
[irc.freenode.net#mezzanine] chiral:
Traceback (most recent call last):
File "/home/jupo/mezz_site/local/lib/python2.7/site-packages/gevent/greenlet.py", line 390, in run
result = self._run(_self.args, *_self.kwargs)
File "/home/jupo/mezz_site/local/lib/python2.7/site-packages/irc/client.py", line 1209, in start
self.ircobj.process_forever()
File "/home/jupo/mezz_site/local/lib/python2.7/site-packages/irc/client.py", line 253, in process_forever
self.process_once(timeout)
File "/home/jupo/mezz_site/local/lib/python2.7/site-packages/irc/client.py", line 238, in process_once
self.process_data(i)
File "/home/jupo/mezz_site/local/lib/python2.7/site-packages/irc/client.py", line 206, in process_data
c.process_data()
File "/home/jupo/mezz_site/local/lib/python2.7/site-packages/irc/client.py", line 677, in process_data
self._handle_event(Event(command, NickMask(prefix), target, [m]))
File "/home/jupo/mezz_site/local/lib/python2.7/site-packages/irc/client.py", line 699, in _handle_event
self.irclibobj._handle_event(self, event)
File "/home/jupo/mezz_site/local/lib/python2.7/site-packages/irc/client.py", line 360, in _handle_event
if handler[1](connection, event) == "NO MORE":
File "/home/jupo/mezz_site/src/gnotty/gnotty/bots/base.py", line 63, in _dispatcher
super(BaseBot, self)._dispatcher(connection, event)
File "/home/jupo/mezz_site/src/gnotty/gnotty/client.py", line 56, in _dispatcher
SimpleIRCClient._dispatcher(self, connection, event)
File "/home/jupo/mezz_site/local/lib/python2.7/site-packages/irc/client.py", line 1144, in _dispatcher
getattr(self, m)(c, e)
File "/home/jupo/mezz_site/src/gnotty/gnotty/bots/base.py", line 99, in on_pubmsg
command_name = command_args.pop(0)
IndexError: pop from empty list
<Greenlet at 0x9e1f3ec: <bound method MezzanineBot.start of <demo.bot.MezzanineBot object at 0x9daf66c>>> failed with IndexError

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions