Page MenuHomePhabricator

gapunknown_gapnamespace
Closed, DuplicatePublic

Description

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>


Version: core-(2.0)
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=73214

Details

Reference
bz73415

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:57 AM
bzimport set Reference to bz73415.
bzimport added a subscriber: Unknown Object (????).

Maybe is this caused by this (correct) type of link
[[ga:Catagóir:Catalóinis: ainmfhocail]]

  • This bug has been marked as a duplicate of bug 73214 ***