https://bugzilla.wikimedia.org/show_bug.cgi?id=73415
Bug ID: 73415 Summary: gapunknown_gapnamespace Product: Pywikibot Version: core (2.0) Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: pagegenerators Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: jan.dudik@gmail.com Web browser: --- Mobile Platform: ---
How to run bot for categories which begins with Category:Ka ?
D:\Py\rewrite>pwb.py interwiki -async -family:wiktionary -cleanup -prefixindex:Kategorie:Ka -array:50 -query:30 -untranslated NOTE: Number of pages queued is 0, trying to add 30 more. Dump cs (wiktionary) appended. Traceback (most recent call last): File "D:\Py\rewrite\pwb.py", line 181, in <module> run_python_file(fn, argv, argvu) File "D:\Py\rewrite\pwb.py", line 75, in run_python_file exec(compile(source, filename, "exec"), main_mod.__dict__) File "D:\Py\rewrite\scripts\interwiki.py", line 2646, in <module> main() File "D:\Py\rewrite\scripts\interwiki.py", line 2621, in main bot.run() File "D:\Py\rewrite\scripts\interwiki.py", line 2365, in run self.queryStep() File "D:\Py\rewrite\scripts\interwiki.py", line 2338, in queryStep self.oneQuery() File "D:\Py\rewrite\scripts\interwiki.py", line 2306, in oneQuery site = self.selectQuerySite() File "D:\Py\rewrite\scripts\interwiki.py", line 2277, in selectQuerySite self.generateMore(globalvar.maxquerysize - mycount) File "D:\Py\rewrite\scripts\interwiki.py", line 2183, in generateMore page = next(self.pageGenerator) File "D:\Py\rewrite\pywikibot\data\api.py", line 1119, in __iter__ self.data = self.request.submit() File "D:\Py\rewrite\pywikibot\data\api.py", line 710, in submit raise APIError(code, info, **result["error"]) pywikibot.data.api.APIError: gapunknown_gapnamespace: Unrecognized value for parameter 'gapnamespace': :Category: <class 'pywikibot.data.api.APIError'> CRITICAL: Waiting for 1 network thread(s) to finish. Press ctrl-c to abort
D:\Py\rewrite>pwb.py interwiki -async -family:wiktionary -cleanup -prefixindex:Ka -array:50 -query:30 -untranslated -namespace:14 NOTE: Number of pages queued is 0, trying to add 30 more. NOTE: Nothing left to do
D:\Py\rewrite>