[Pywikipedia-l] ascii encode error in upload.py

2013-08-21 Thread AugurNZ
which may be relevant though... http://wiki.python.org/moin/UnicodeDecodeError Thanks. AugurNZ ps. sorry if this is a repeat of a previous message. I wasn't registered on the list when I first sent this, but I am now. ___ Pywikipedia-l mailing list

Re: [Pywikipedia-l] ascii encode error in upload.py

2013-08-21 Thread AugurNZ
-ASCII character. This is an old problem, nobody could solve it by this time. Does your uploaded file contain none-ASCII chars? 2013/8/21 AugurNZ augu...@orcon.net.nz Hi, I was pointed here from #pywikipediabot on Freenode IRC. I am using Pywikipediabot (trunk) revision 11781 under Ubuntu

Re: [Pywikipedia-l] ascii encode error in upload.py

2013-08-21 Thread AugurNZ
I have done that now, and uploaded the results as a Gist on GitHub... https://gist.github.com/AugurNZ/6294530 can you run it in debugging mode? I mean add -v to the code: python upload.py -family:tropical -keep -filename:Pwbicon.png -noverify Pwbicon.png The Pywikipediabot icon -v Best

Re: [Pywikipedia-l] ascii encode error in upload.py

2013-08-21 Thread AugurNZ
'' to __init__(self, url, urlEncoding='utf-8', description=u'' (change urlEncoding from None to 'utf-8') *try again with -v option *tell me what happens If you can't do that. tell me to send you the code Best On 8/21/13, AugurNZ augu...@orcon.net.nz wrote: I have done that now, and uploaded

Re: [Pywikipedia-l] ascii encode error in upload.py

2013-08-21 Thread AugurNZ
both fix this (but in different and complementary ways). For now, the easiest fix is opening your generated family file (families/tropical_family.py) and removing the u in both u' www.tropicalwikis.com' and u'/w'. Merlijn On 21 August 2013 11:36, AugurNZ augu...@orcon.net.nz wrote: Hi, I