supybot crashed with KeyError in removeEvent()

Bug #357453 reported by Duane Hinnen
6
Affects Status Importance Assigned to Milestone
supybot (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: supybot

I launch supybot from Terminal and get the following:

duanedesign@duanedesign-laptop:~/supybot$ supybot okloco.conf
/var/lib/python-support/python2.6/supybot/utils/gen.py:32: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5
/var/lib/python-support/python2.6/supybot/utils/gen.py:34: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  import sha
/var/lib/python-support/python2.6/supybot/plugins/__init__.py:36: DeprecationWarning: the sets module is deprecated
  import sets
INFO 2009-04-10T17:51:28 Creating new Irc for freenode.
INFO 2009-04-10T17:51:28 Sending PASS command, not logging the password.
INFO 2009-04-10T17:51:28 Connecting to kubrick.freenode.net:6667.
WARNING 2009-04-10T17:51:28 Error connecting to kubrick.freenode.net:6667:
        error: [Errno 111] Connection refused
INFO 2009-04-10T17:51:39 Reconnecting to freenode at 2009-04-10T17:51:59.
^CINFO 2009-04-10T17:51:47 Exiting due to Ctrl-C. If the bot doesn't exit
     within a few seconds, feel free to press Ctrl-C again to make it exit
     without flushing its message queues.
INFO 2009-04-10T17:51:47 Flushers flushed and garbage collected.
INFO 2009-04-10T17:51:47 Irc object for freenode dying.
INFO 2009-04-10T17:51:47 Driver for Irc object for freenode dying.
INFO 2009-04-10T17:51:47 Total uptime: 20 seconds.
INFO 2009-04-10T17:51:47 Total CPU time taken: 1.95 seconds.
INFO 2009-04-10T17:51:47 No more Irc objects, exiting.
INFO 2009-04-10T17:51:47 Shutdown initiated.
INFO 2009-04-10T17:51:47 Killing Driver objects.
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "/usr/lib/python2.6/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "/var/lib/python-support/python2.6/supybot/world.py", line 165, in makeDriversDie
    driver.die()
  File "/var/lib/python-support/python2.6/supybot/drivers/Socket.py", line 207, in die
    schedule.removeEvent(self.scheduled)
  File "/var/lib/python-support/python2.6/supybot/schedule.py", line 91, in removeEvent
    f = self.events.pop(name)
KeyError: 1
INFO 2009-04-10T17:51:47 Killing Irc objects.
INFO 2009-04-10T17:51:47 Writing registry file to okloco.conf
INFO 2009-04-10T17:51:47 Finished writing registry file.
INFO 2009-04-10T17:51:47 Shutdown complete.
Error in sys.exitfunc:
Traceback (most recent call last):
  File "/usr/lib/python2.6/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "/var/lib/python-support/python2.6/supybot/world.py", line 165, in makeDriversDie
    driver.die()
  File "/var/lib/python-support/python2.6/supybot/drivers/Socket.py", line 207, in die
    schedule.removeEvent(self.scheduled)
  File "/var/lib/python-support/python2.6/supybot/schedule.py", line 91, in removeEvent
    f = self.events.pop(name)
KeyError: 1

It just continues to try and connect. I ctrl-c to exit and get the error.

ProblemType: Crash
Architecture: amd64
DistroRelease: Ubuntu 9.04
ExecutablePath: /usr/bin/supybot
InterpreterPath: /usr/bin/python2.6
NonfreeKernelModules: nvidia
Package: supybot 0.83.3-1ubuntu1 [modified: usr/share/python-support/supybot/supybot/plugins/Unix/plugin.py]
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/supybot okloco.conf
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_US.UTF-8
PythonArgs: ['/usr/bin/supybot', 'okloco.conf']
SourcePackage: supybot
Title: supybot crashed with KeyError in removeEvent()
Uname: Linux 2.6.28-11-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
Duane Hinnen (duanedesign) wrote :
visibility: private → public
tags: removed: need-duplicate-check
Revision history for this message
Duane Hinnen (duanedesign) wrote :

I changed the server from kubrick.freenode.net to irc.freenode.net and I can now get the bot to connect to the network and load in the channel.

description: updated
Revision history for this message
dino99 (9d9) wrote :

This version has died long ago; no more supported

Changed in supybot (Ubuntu):
status: New → Invalid
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.