Forum:Pywikipediabot/upload.py

ShoutWiki — express yourself and be heard!
Jump to navigation Jump to search
Forums: Index > Community help

The upload.py script is not working for shoutwiki sites. When I try to run the command:

python /home/md/python/pywikipedia/upload.py /home/md/Pictures/Saving_Private_Ryan.jpg -keep -noverify {{p}}

I get the error:

Reading file /home/md/Pictures/Saving_Private_Ryan.jpg
The suggested description is:
{{p}}
Uploading file to cine:bn via API....
'ascii' codec can't decode byte 0xff in position 654: ordinal not in range(128)
WARNING: Could not open 'http://chalachitra.shoutwiki.com/w/api.php'. Maybe the server or
 your connection is down. Retrying in 1 minutes...

Someone please help... -- Muhammad2017 (talk) 11:33, 17 October 2013 (UTC)