Nullzero created this task. Nullzero added a subscriber: Nullzero. Nullzero added a project: pywikibot-compat. Nullzero changed Security from none to none.
TASK DESCRIPTION (From https://stackoverflow.com/questions/23799692/pywikipedia-unicode-error)
when using pywikipedia to upload an image on my wiki, I get the following error whatever the image:
``` $ python ./upload.py -noverify -keep ../converted/bcExtView_broker_53.jpg "Image uploaded by word2mediawiki (BOT)" No handlers could be found for logger "pywiki" Logging in to af:en as afbot via API. Should be logged in now Reading file ../converted/bcExtView_broker_53.jpg The suggested description is: Image uploaded by word2mediawiki (BOT) Uploading image file to af:en via API.... ERROR: UnicodeDecodeError: 'ascii' codec can't decode byte 0xff in position 687: ordinal not in range(128) WARNING: Could not open 'http://dsiwikis/afWiki/api.php'. Maybe the server or your connection is down. Retrying in 1 minutes... ```
The last line is obviously an error as I can login...
TASK DETAIL https://phabricator.wikimedia.org/T76253
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
To: Nullzero Cc: pywikipedia-bugs, Nullzero