[Bug 357453] Re: supybot crashed with KeyError in removeEvent()

duanedesign duanedesign at gmail.com
Fri Apr 10 23:18:11 UTC 2009


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 changed:

  Binary package hint: supybot
  
- Since upgrading to Jaunty Supybot will not log into irc.
+ I launch supybot from Terminal and get the following:
+ 
+ duanedesign at 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

-- 
supybot crashed with KeyError in removeEvent()
https://bugs.launchpad.net/bugs/357453
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list