Como solucionar UnicodeDecodeError: 'ascii' codec can't decode byte 0xc23

1. Como solucionar UnicodeDecodeError: 'ascii' codec can't decode byte 0xc23

Allan Tavares
toblex

(usa Fedora)

Enviado em 29/10/2009 - 14:55h

Bom dia, qdo eu tento fazer um update pelo Yum é retornado a seguinte mensagem de erro:

Traceback (most recent call last):
File "/usr/bin/yum", line 29, in <module>
yummain.user_main(sys.argv[1:], exit_code=True)
File "/usr/share/yum-cli/yummain.py", line 309, in user_main
errcode = main(args)
File "/usr/share/yum-cli/yummain.py", line 178, in main
result, resultmsgs = base.doCommands()
File "/usr/share/yum-cli/cli.py", line 352, in doCommands
return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd,
self.extcmds)
File "/usr/share/yum-cli/yumcommands.py", line 560, in doCommand
return base.provides(extcmds)
File "/usr/share/yum-cli/cli.py", line 829, in provides
callback_has_matchfor=True)
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 2027, in
searchPackageProvides
callback(po, tmpvalues, args)
File "/usr/share/yum-cli/output.py", line 870, in matchcallback_verbose
return self.matchcallback(po, values, matchfor, verbose=True)
File "/usr/share/yum-cli/output.py", line 864, in matchcallback
print self.fmtKeyValFill(key, item)
File "/usr/lib/python2.6/codecs.py", line 351, in write
data, consumed = self.encode(object, self.errors)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 20:
ordinal not in range(128)

Como solucionar?

Att,

Allan Tavares


  






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts