Nic0 / tyrs

Twitter and Identica client using curses
http://tyrs.nicosphere.net
61 stars 10 forks source link

sudden crash on startup #76

Closed quite closed 13 years ago

quite commented 13 years ago

File "/usr/lib/python2.7/site-packages/tyrs-0.4.0-py2.7.egg/src/interface.py", line 113, in first_update self.api.update_timeline(buff) File "/usr/lib/python2.7/site-packages/tyrs-0.4.0-py2.7.egg/src/tweets.py", line 192, in update_timeline statuses = self.retreive_statuses(timeline) File "/usr/lib/python2.7/site-packages/tyrs-0.4.0-py2.7.egg/src/tweets.py", line 211, in retreive_statuses statuses = self.api.GetDirectMessages(page=page) File "/usr/lib/python2.7/site-packages/python_twitter-0.8.2-py2.7.egg/twitter.py", line 3101, in GetDirectMessages return [DirectMessage.NewFromJsonDict(x) for x in data] File "/usr/lib/python2.7/site-packages/python_twitter-0.8.2-py2.7.egg/twitter.py", line 2004, in NewFromJsonDict return DirectMessage(created_at=data.get('created_at', None), AttributeError: 'unicode' object has no attribute 'get'

Nic0 commented 13 years ago

(on irc) Nic0: seems that the API python-twitter is broken :( I push a temporary fixed, It does come specialy from the 0.4.0 as the last one have the same issue... Nic0: Twitter probably change something in the directmessage datas

Nic0 commented 13 years ago

Fixed, but may need intervention from you, I send a message on the mailing list about this: http://groups.google.com/group/tyrs/browse_thread/thread/cbdd05914a8bf1ca

Thanks