All pastes #478385 Raw Edit

Untitled

public text v1 · immutable
·published 2007-05-09 04:02 UTC
rendered paste body
ERROR 2007-05-09T03:59:25 supybot Uncaught exception in ['np'].
Traceback (most recent call last):
  File "/home/xsst4/supybot/lib/python2.4/site-packages/supybot/callbacks.py", line 1170, in _callCommand
    self.callCommand(command, irc, msg, *args, **kwargs)
  File "/home/xsst4/supybot/lib/python2.4/site-packages/supybot/utils/python.py", line 62, in g
    f(self, *args, **kwargs)
  File "/home/xsst4/supybot/lib/python2.4/site-packages/supybot/callbacks.py", line 1156, in callCommand
    method(irc, msg, *args, **kwargs)
  File "/home/xsst4/supybot/lib/python2.4/site-packages/supybot/commands.py", line 906, in newf
    f(self, irc, msg, args, *state.args, **state.kwargs)
  File "/home/xsst4/plugins2/LastFm/plugin.py", line 93, in np
    artist = xmldoc.getElementsByTagName('track')[0].getElementsByTagName("artist")[0].firstChild.data
IndexError: list index out of range