Last modified: 2014-11-15 00:06:57 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T75415, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 73415 - gapunknown_gapnamespace
gapunknown_gapnamespace
Status: RESOLVED DUPLICATE of bug 73214
Product: Pywikibot
Classification: Unclassified
pagegenerators (Other open bugs)
core-(2.0)
All All
: Unprioritized normal
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-11-14 09:14 UTC by JAn Dudík
Modified: 2014-11-15 00:06 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description JAn Dudík 2014-11-14 09:14:34 UTC
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>
Comment 1 JAn Dudík 2014-11-14 09:14:50 UTC
see also
https://bugzilla.wikimedia.org/show_bug.cgi?id=73124
Comment 2 JAn Dudík 2014-11-14 11:42:58 UTC
Maybe is this caused by this (correct) type of link
[[ga:Catagóir:Catalóinis: ainmfhocail]]
Comment 3 Mpaa 2014-11-15 00:06:57 UTC

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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links