Bugs item #3295288, was opened at 2011-04-30 11:13 Message generated for change (Settings changed) made by xqt You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3295288...
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: Closed Resolution: Fixed
Priority: 5 Private: No Submitted By: masti (masti01)
Assigned to: xqt (xqt)
Summary: redirect.py crashes
Initial Comment: python redirect.py double -api -namespace:0
Retrieving pages....Traceback (most recent call last): File "redirect.py", line 800, in <module> main() File "redirect.py", line 796, in main bot.run() File "redirect.py", line 712, in run self.fix_double_redirects() File "redirect.py", line 539, in fix_double_redirects for redir_name in self.generator.retrieve_double_redirects(): File "redirect.py", line 328, in retrieve_double_redirects in self.get_redirects_via_api(maxlen=2): File "redirect.py", line 252, in get_redirects_via_api data = query.GetData(params, self.site) File "/home/mst/pw/pywikipedia/query.py", line 55, in GetData data[k] = unicode(ListToParam(v)) File "/home/mst/pw/pywikipedia/query.py", line 278, in ListToParam raise wikipedia.Error(u'unknown item class %s' % item.__class__.__name__) pywikibot.exceptions.Error: unknown item class int
Pywikipedia [http] trunk/pywikipedia (r9202, 2011/04/29, 04:59:18) Python 2.6.4 (r264:75706, Jun 4 2010, 18:20:16) [GCC 4.4.4 20100503 (Red Hat 4.4.4-2)] config-settings: use_api = True use_api_login = True unicode test: ok
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2011-05-02 05:32
Message: fixed in r9208
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3295288...
pywikipedia-bugs@lists.wikimedia.org