Bugs item #3297387, was opened at 2011-05-04 10:37 Message generated for change (Tracker Item Submitted) made by masti01 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3297387...
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: masti (masti01) Assigned to: Nobody/Anonymous (nobody) Summary: #3295288 - still not done
Initial Comment: python ~/pw/pywikipedia/redirect.py double -api -namespace:0 -log -start:! -always
Retrieving pages....Traceback (most recent call last): File "/usr/home/masti/pw/pywikipedia/redirect.py", line 800, in <module> main() File "/usr/home/masti/pw/pywikipedia/redirect.py", line 796, in main bot.run() File "/usr/home/masti/pw/pywikipedia/redirect.py", line 712, in run self.fix_double_redirects() File "/usr/home/masti/pw/pywikipedia/redirect.py", line 539, in fix_double_redirects for redir_name in self.generator.retrieve_double_redirects(): File "/usr/home/masti/pw/pywikipedia/redirect.py", line 328, in retrieve_double_redirects in self.get_redirects_via_api(maxlen=2): File "/usr/home/masti/pw/pywikipedia/redirect.py", line 252, in get_redirects_via_api data = query.GetData(params, self.site) File "/usr/home/masti/pw/pywikipedia/query.py", line 55, in GetData data[k] = unicode(ListToParam(v)) File "/usr/home/masti/pw/pywikipedia/query.py", line 281, in ListToParam % item.__class__.__name__) pywikibot.exceptions.Error: unknown item class int
python version.py Pywikipedia [http] trunk/pywikipedia (r9213, 2011/05/04, 04:40:11) Python 2.7.1 (r271:86832, Apr 19 2011, 02:35:09) [GCC 4.3.4] config-settings: use_api = True use_api_login = True unicode test: ok
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3297387...
pywikipedia-bugs@lists.wikimedia.org