Nic0 / tyrs

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

Installation Ubuntu 11.04 #1

Closed Tenshy closed 13 years ago

Tenshy commented 13 years ago

Message d'erreur renvoyé avec Tyrs v0.1.1. Installé avec python 2.7.1 ; python-twitter 0.6-1 ; python-oauth2 1.2.0-2

Traceback (most recent call last): File "./tyrs.py", line 57, in main() File "./tyrs.py", line 24, in main api.authentification(conf) File "/home/tenshi/tyrs/tyrs/tweets.py", line 12, in authentification conf.oauth_token_secret) File "/usr/lib/pymodules/python2.7/twitter.py", line 1299, in init self._InitializeUserAgent() File "/usr/lib/pymodules/python2.7/twitter.py", line 1900, in _InitializeUserAgent self.SetUserAgent(user_agent) File "/usr/lib/pymodules/python2.7/twitter.py", line 1833, in SetUserAgent self._request_headers['User-Agent'] = user_agent TypeError: 'str' object does not support item assignment zsh: exit 1 ./tyrs.py

Nic0 commented 13 years ago

Salut,

J'ai effectivement reproduis ce bug après installation en virtualbox d'ubuntu 11.04. Pour le moment, j'ai contourné en installant à la main la dernière version de python-twitter, de la façon suivante:

wget http://python-twitter.googlecode.com/files/python-twitter-0.8.2.tar.gz tar xvf python-twitter-0.8.2.tar.gz && cd python-twitter-0.8.2 python setup.py build sudo python setup.py install

Une fois la bibliothèque installé, Tyrs se lance correctement, dans mon cas du moins (virtualbox / ubuntu 11.04) Je vais essayer de le faire fonctionner ce week-end avec la version de base quand même.

Merci pour le retour.

Tenshy commented 13 years ago

Salut,

merci beaucoup en effet cela fonctionne aussi de mon côté

Nic0 commented 13 years ago

Fixed with the last setup.py, managing dependecies.