https://bugzilla.wikimedia.org/show_bug.cgi?id=55205
Web browser: ---
Bug ID: 55205
Summary: upload.py error with
Wikia.com
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: legoktm.wikipedia(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
Originally from:
http://sourceforge.net/p/pywikipediabot/bugs/1424/
Reported by: Anonymous user
Created on: 2012-03-18 17:47:08
Subject: upload.py error with
Wikia.com
Original description:
P:\pywikipedia>python version.py
Pywikipedia \[http\] trunk/pywikipedia \(r10023, 2012/03/17, 18:03:32\)
Python 2.7.2 \(default, Jun 12 2011, 14:24:46\) \[MSC v.1500 64 bit \(AMD64\)\]
config-settings:
use\_api = True
use\_api\_login = True
unicode test: ok
P:\pywikipedia>python upload.py wikih.jpg
WARNING: Your account on sxerks:en does not have a bot flag. Its edits will be
v
isible in the recent changes and it may get blocked.
Reading file wikih.jpg
The filename on the target wiki will default to: wikih.jpg
Enter a better name, or press enter to accept:
The suggested description is:
Do you want to change this description? \(\[y\]es, \[N\]o\) n
Uploading file to sxerks:en via API....
'ascii' codec can't decode byte 0xff in position 622: ordinal not in
range\(128\)
WARNING: Could not open 'http://sxerks.wikia.com/api.php'. Maybe the server or
your connection is down. Retrying in 1 minutes...
Traceback \(most recent call last\):
File "upload.py", line 472, in <module>
main\(\)
File "upload.py", line 468, in main
bot.run\(\)
File "upload.py", line 440, in run
return self.upload\_image\(\)
File "upload.py", line 282, in upload\_image
data = query.GetData\(params, self.targetSite\)
File "P:\pywikipedia\query.py", line 137, in GetData
site.cookies\(sysop=sysop\)
File "P:\pywikipedia\upload.py", line 46, in post\_multipart
cookies=cookies\)
File "P:\pywikipedia\wikipedia.py", line 5497, in postData
time.sleep\(retry\_idle\_time \* 60\)
KeyboardInterrupt
--
You are receiving this mail because:
You are the assignee for the bug.