Bugs item #3277511, was opened at 2011-04-06 14:36
Message generated for change (Tracker Item Submitted) made by clabaut
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=327751…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: mathieu Clabaut (clabaut)
Assigned to: Nobody/Anonymous (nobody)
Summary: Call to urllib.quote should ensure that parameter are string
Initial Comment:
In last SVN r9142, I had an exception on wikipedia.py:Site::urlEncode call to
urllib.quote(value), because value was a long.
I replaced urllib.quote(value) with urllib.quote(str(value)) and everything went ok.
There may be other similar calls needing a fix.
Hope this help.
$python2 version.py
Pywikipedia [http] trunk/pywikipedia (r9141, 2011/04/01, 07:09:37)
Python 2.7.1 (r271:86832, Feb 21 2011, 01:26:25)
[GCC 4.5.2 20110127 (prerelease)]
config-settings:
use_api = True
use_api_login = True
unicode test: triggers problem #3081100
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=327751…