This error is happening just when the script is running from submit@, and the errors are when printing things like "Absolutismo português" ( error comes from the "ê", or "Política do café com leite", with the error on the "é"). The script i'm using is a fork of http://code.google.com/p/avbot/source/browse/#svn%2Ftrunk , with some minor changes, wich doesn't afect this parts. I'll writte then a bug on pypb, thanks for the help.

Alchimista

No dia 4 de Abril de 2012 09:16, Merlijn van Deen <valhallasw@arctus.nl> escreveu:
On 4 April 2012 00:52, Alchimista <alchimistawp@gmail.com> wrote:
> I'm having an UnicodeEncodeError, something like: "UnicodeEncodeError:
> 'ascii' codec can't encode characters in position 28-29: ordinal not in
> range(128)" on print or wikipedia.output() statments when running scripts
> submitted on submit@ with qcronsub.

This should never happen. With pwb, the 'worst' that should happen is
that all non-ASCII characters get replaced with question marks  Could
you post a bug report to the pywikipedia bug tracker [1], with the
full stack trace?

Best,
Merlijn

[1] http://sourceforge.net/tracker/?group_id=93107&atid=603138

_______________________________________________
Toolserver-l mailing list (Toolserver-l@lists.wikimedia.org)
https://lists.wikimedia.org/mailman/listinfo/toolserver-l
Posting guidelines for this list: https://wiki.toolserver.org/view/Mailing_list_etiquette



--
Alchimista
http://pt.wikipedia.org/wiki/Utilizador:Alchimista