Skip to content

Instantly share code, notes, and snippets.

@avelino
Created April 22, 2010 01:57
Show Gist options
  • Save avelino/374711 to your computer and use it in GitHub Desktop.
Save avelino/374711 to your computer and use it in GitHub Desktop.
[root@XXXCNN0733 bot]# python test.py
TwitterBot : *** roster ***
TwitterBot : tweetbot@jabber.ccc.de
TwitterBot : avelino@jabber.org
TwitterBot : *** roster ***
TwitterBot : bot connected. serving forever.
Traceback (most recent call last):
File "test.py", line 129, in ?
bot.serve_forever()
File "/usr/lib/python2.4/site-packages/jabberbot.py", line 423, in serve_forever
conn.Process(1)
File "build/bdist.linux-i686/egg/xmpp/dispatcher.py", line 303, in dispatch
File "/usr/lib/python2.4/site-packages/jabberbot.py", line 238, in callback_presence
self.status_type_changed(jid, show)
File "/usr/lib/python2.4/site-packages/jabberbot.py", line 210, in status_type_changed
self.debug('user %s changed status to %s' % (jid, new_status_type))
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2019' in position 33: ordinal not in range(128)
[root@XXXCNN0733 bot]#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment