Bugs item #2897700, was opened at 2009-11-14 14:17 Message generated for change (Comment added) made by malafaya You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2897700...
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: login Group: None Status: Open Resolution: None
Priority: 7
Private: No Submitted By: masti (masti01) Assigned to: Nobody/Anonymous (nobody) Summary: login.py fails: exceptions must be classes or instances, no
Initial Comment: python login.py -pass -all Password for all accounts: Already logged in on wikipedia:zea Traceback (most recent call last): File "login.py", line 388, in <module> main() File "login.py", line 366, in main if not forceLogin and site.loggedInAs(sysop = sysop): File "/home/masti/pywikipedia/wikipedia.py", line 5118, in loggedInAs self._load(sysop = sysop) File "/home/masti/pywikipedia/wikipedia.py", line 6055, in _load data = query.GetData(params, self, sysop=sysop) File "/home/masti/pywikipedia/query.py", line 124, in GetData jsontext = site.getUrl( path, retry=True, sysop=sysop, data=data) File "/home/masti/pywikipedia/wikipedia.py", line 5562, in getUrl if self.cookies(sysop = sysop) and not no_hostname: File "/home/masti/pywikipedia/wikipedia.py", line 5198, in cookies self._loadCookies(sysop = sysop) File "/home/masti/pywikipedia/wikipedia.py", line 5240, in _loadCookies self._cookies[index] = query.CombineParams(self._cookies[index], self._readCookies(localFn)) File "/home/masti/pywikipedia/query.py", line 266, in CombineParams raise "Both merged values must be of type 'str'" TypeError: exceptions must be classes or instances, not str
python version.py
Pywikipedia [http] trunk/pywikipedia (r7645, 2009/11/14, 07:52:27) Python 2.6.4 (r264:75706, Nov 2 2009, 14:38:03) [GCC 4.4.1]
----------------------------------------------------------------------
Comment By: André Malafaya Baptista (malafaya)
Date: 2009-11-14 20:26
Message: This bug is currently preventing me from running the bot at all. When I run interwiki.py I immediately get the this error "Both merged values must be of type 'str'"
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2897700...
pywikipedia-bugs@lists.wikimedia.org