View previous topic :: View next topic |
Author |
Message |
gglaboussole l33t
Joined: 17 May 2005 Posts: 641 Location: Monbalen (47),France
|
Posted: Mon Oct 01, 2007 7:44 pm Post subject: [glsa-check] erreur depuis mise à jour(résolu) |
|
|
bonsoir à tous,
Après une mise à jour de quelques paquets: openssl, xorg, pidgin...bref rien qui aurait un lien, j'obtiens ceci :
Code: | laboussole jerome # glsa-check -t all
Traceback (most recent call last):
File "/usr/bin/glsa-check", line 257, in ?
myglsa = Glsa(myid, glsaconfig)
File "/usr/lib/gentoolkit/pym/glsa.py", line 414, in __init__
self.read()
File "/usr/lib/gentoolkit/pym/glsa.py", line 432, in read
self.parse(urllib.urlopen(myurl))
File "/usr/lib/gentoolkit/pym/glsa.py", line 470, in parse
self.description = getText(myroot.getElementsByTagName("description")[0], format="xml")
File "/usr/lib/gentoolkit/pym/glsa.py", line 233, in getText
return str(rValue)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 544: ordinal not in range(128)
|
J'ai fait un revdep-rebuild (rien de cassé) et réemerger gentoolkit sans succès...
une idée ?? _________________ On m'a dit que la terre tourne, alors j'attends que ma maison passe par ici...
Last edited by gglaboussole on Tue Oct 02, 2007 5:11 pm; edited 1 time in total |
|
Back to top |
|
|
Mickael Advocate
Joined: 05 Sep 2005 Posts: 2387 Location: ~Belfort! - France - EU
|
|
Back to top |
|
|
gglaboussole l33t
Joined: 17 May 2005 Posts: 641 Location: Monbalen (47),France
|
Posted: Tue Oct 02, 2007 5:11 pm Post subject: |
|
|
oops.... l'avais pas vu celui là Merci MickTux... ce qui est bizarre c'est que j'utilise glsa-check régulièrement et j'ai jamais eu ce problème alors que le bug date de janvier !
EDIT: Ah au fait...pour mettre la solution aussi sur ce forum :
Fixed changing line 233 in "gentoolkit/pym/glsa.py"
from:
return str(rValue)
to:
return rValue.encode('utf-8')
et je confirme ça marche _________________ On m'a dit que la terre tourne, alors j'attends que ma maison passe par ici... |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|