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

Handle tweet text >140 Chars gracefully #2

Open
decause opened this issue May 5, 2015 · 0 comments
Open

Handle tweet text >140 Chars gracefully #2

decause opened this issue May 5, 2015 · 0 comments

Comments

@decause
Copy link
Owner

decause commented May 5, 2015

May 05 06:39:05 chapeauxrouge python[21461]: detected unhandled Python exception in '/home/decause/code/word_cloud/examples/wordcloudbot.py'
May 05 06:39:06 chapeauxrouge wordcloudbot.py[21461]: Working with url http://meetbot.fedoraproject.org/fudcon-planning/2015-05-05/fudcon-planning.2015-05-05-09.41.log.txt
May 05 06:39:06 chapeauxrouge wordcloudbot.py[21461]: Tweeting u'amit\'s meeting titled "FUDCon Pune Subsidy Request Review Meeting" ended in #fudcon-planning https://meetbot.fedoraproject.org/fudcon-planning/2015-05-05/fudcon-planning.2015-05-05-09.41.html #fedora'
May 05 06:39:06 chapeauxrouge wordcloudbot.py[21461]: Traceback (most recent call last):
May 05 06:39:06 chapeauxrouge wordcloudbot.py[21461]: File "/home/decause/code/word_cloud/examples/wordcloudbot.py", line 61, in 
May 05 06:39:06 chapeauxrouge wordcloudbot.py[21461]: twitter_api.update_with_media(word_cloud, content)
May 05 06:39:06 chapeauxrouge wordcloudbot.py[21461]: File "/usr/lib/python2.7/site-packages/tweepy/api.py", line 110, in update_with_media
May 05 06:39:06 chapeauxrouge wordcloudbot.py[21461]: )(self, *args, **kwargs)
May 05 06:39:06 chapeauxrouge wordcloudbot.py[21461]: File "/usr/lib/python2.7/site-packages/tweepy/binder.py", line 230, in _call
May 05 06:39:06 chapeauxrouge wordcloudbot.py[21461]: return method.execute()
May 05 06:39:06 chapeauxrouge wordcloudbot.py[21461]: File "/usr/lib/python2.7/site-packages/tweepy/binder.py", line 203, in execute
May 05 06:39:06 chapeauxrouge wordcloudbot.py[21461]: raise TweepError(error_msg, resp)
May 05 06:39:06 chapeauxrouge wordcloudbot.py[21461]: tweepy.error.TweepError: [{'message': 'Status is over 140 characters.', 'code': 186}]
May 05 06:39:06 chapeauxrouge systemd[1]: wordcloudbot.service: main process exited, code=exited, status=1/FAILURE
May 05 06:39:06 chapeauxrouge systemd[1]: Unit wordcloudbot.service entered failed state.
May 05 06:39:06 chapeauxrouge systemd[1]: wordcloudbot.service failed.
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