Skip to content

Instantly share code, notes, and snippets.

@kyleterry
Created October 25, 2016 20:22
Show Gist options
  • Save kyleterry/ad0ea3552999468d0e2fc1a2b87ac1b4 to your computer and use it in GitHub Desktop.
Save kyleterry/ad0ea3552999468d0e2fc1a2b87ac1b4 to your computer and use it in GitHub Desktop.
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/gevent/greenlet.py", line 327, in run
result = self._run(*self.args, **self.kwargs)
File "build/bdist.linux-x86_64/egg/tenykstwitter/main.py", line 39, in handle_tweet
self.send("Tweet: {}".format(result), data)
UnicodeEncodeError: 'ascii' codec can't encode character u'\u201c' in position 0: ordinal not in range(128)
<Greenlet at 0x7f6433471a50: <bound method TenyksTwitter.handle_tweet of <tenykstwitter.main.TenyksTwitter object at 0x7f6434acd250>>({u'target': u'#infoforcefeed', u'connection': u'fr, <_sre.SRE_Match object at 0x7f6434802d50>)> failed with UnicodeEncodeError
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment