Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to run development bot #1

Open
miller-time opened this issue Feb 14, 2011 · 0 comments
Open

Unable to run development bot #1

miller-time opened this issue Feb 14, 2011 · 0 comments

Comments

@miller-time
Copy link

Trying to do a patch and unable to run the development bot to be able to test things. Ran the setup.py file and installed Redis, started the server. Here's what happens when I tried to start up a bot.

karmabot -s "irc.cat.pdx.edu" -p 6667 -n testbot "#karmabot"

  Traceback (most recent call last):
  File "/home/millertime/hax/python/karmabot/env/lib/python2.7/site-packages/Twisted-10.2.0-py2.7-linux-i686.egg/twisted/internet/tcp.py", line 460, in doRead
  return self.protocol.dataReceived(data)
  File "/home/millertime/hax/python/karmabot/env/lib/python2.7/site-packages/Twisted-10.2.0-py2.7-linux-i686.egg/twisted/words/protocols/irc.py", line 2277, in dataReceived
  basic.LineReceiver.dataReceived(self, data.replace('\r', ''))
  File "/home/millertime/hax/python/karmabot/env/lib/python2.7/site-packages/Twisted-10.2.0-py2.7-linux-i686.egg/twisted/protocols/basic.py", line 564, in dataReceived
  why = self.lineReceived(line)
  File "/home/millertime/hax/python/karmabot/env/lib/python2.7/site-packages/Twisted-10.2.0-py2.7-linux-i686.egg/twisted/words/protocols/irc.py", line 2285, in lineReceived
  self.handleCommand(command, prefix, params)
  --- <exception caught here> ---
  File "/home/millertime/hax/python/karmabot/env/lib/python2.7/site-packages/Twisted-10.2.0-py2.7-linux-i686.egg/twisted/words/protocols/irc.py", line 2329, in handleCommand
  method(prefix, params)
  File "/home/millertime/hax/python/karmabot/env/lib/python2.7/site-packages/Twisted-10.2.0-py2.7-linux-i686.egg/twisted/words/protocols/irc.py", line 1876, in irc_RPL_TOPIC
  self.topicUpdated(user, channel, newtopic)
  File "/home/millertime/hax/python/karmabot/karmabot/core/client.py", line 84, in topicUpdated
  subject = storage.db.get(channel)
  File "/home/millertime/hax/python/karmabot/karmabot/core/storage.py", line 30, in get
  subject = Subject(key, subject)
  File "/home/millertime/hax/python/karmabot/karmabot/core/subject.py", line 18, in __init__
  facet_registry.attach(self, set(self.data["-facets"]))
  File "/home/millertime/hax/python/karmabot/karmabot/core/register.py", line 19, in attach
  facet_class(subject)
  File "/home/millertime/hax/python/karmabot/karmabot/core/facets/base.py", line 17, in __init__
  subject.add_facet(self)
  File "/home/millertime/hax/python/karmabot/karmabot/core/subject.py", line 24, in add_facet
  facet = facet_registry[facet](self)
  exceptions.KeyError: <karmabot.core.facets.description.DescriptionFacet object at 0xa3999ec>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant