Bugs item #2896087, was opened at 2009-11-11 18:45 Message generated for change (Comment added) made by xqt You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2896087...
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: General Group: None
Status: Closed Resolution: Fixed
Priority: 8 Private: No Submitted By: Mikko Silvonen (silvonen) Assigned to: Nobody/Anonymous (nobody) Summary: interwiki.py crashes with exception in query.CombineParams
Initial Comment:
interwiki.py -untranslated -whenneeded -lang:fi -new:8 -namespace:14
C:\svn\pywikipedia\query.py:266: DeprecationWarning: raising a string exception is deprecated raise "Both merged values must be of type 'str'" Traceback (most recent call last): File "C:\svn\pywikipedia\interwiki.py", line 2162, in <module> mainpagename = site.mediawiki_message('mainpage') File "C:\svn\pywikipedia\wikipedia.py", line 5933, in mediawiki_message datas = query.GetData(params, self)['query']['allmessages'][0] File "C:\svn\pywikipedia\query.py", line 124, in GetData jsontext = site.getUrl( path, retry=True, sysop=sysop, data=data) File "C:\svn\pywikipedia\wikipedia.py", line 5550, in getUrl if self.cookies(sysop = sysop) and not no_hostname: File "C:\svn\pywikipedia\wikipedia.py", line 5198, in cookies self._loadCookies(sysop = sysop) File "C:\svn\pywikipedia\wikipedia.py", line 5240, in _loadCookies self._cookies[index] = query.CombineParams(self._cookies[index], self._readCookies(localFn)) File "C:\svn\pywikipedia\query.py", line 266, in CombineParams raise "Both merged values must be of type 'str'" Both merged values must be of type 'str'
python version.py
Pywikipedia [http] trunk/pywikipedia (r7631, 2009/11/11, 16:58:50) Python 2.5.4 (r254:67916, Jan 29 2009, 12:02:11) [MSC v.1310 32 bit (Intel)]
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2009-11-13 14:27
Message: done in r7643 by alexsh
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2896087...