JAnD created this task. JAnD added a subscriber: JAnD. JAnD added projects: pywikibot-core, Pywikibot-interwiki.py.
TASK DESCRIPTION When trying to solve autonomopus problems on nds.wiktionary, I set:
I:\py\rewrite>pwb.py interwiki -family:wiktionary -file:autonomous_problems.dat -cleanup -lang:nds -async
``` NOTE: Number of pages queued is 0, trying to add 50 more. Dump nds (wiktionary) appended. Traceback (most recent call last): File "I:\py\rewrite\pwb.py", line 222, in <module> run_python_file(filename, argv, argvu, file_package) File "I:\py\rewrite\pwb.py", line 81, in run_python_file main_mod.__dict__) File ".\scripts\interwiki.py", line 2647, in <module> main() File ".\scripts\interwiki.py", line 2622, in main bot.run() File ".\scripts\interwiki.py", line 2365, in run self.queryStep() File ".\scripts\interwiki.py", line 2338, in queryStep self.oneQuery() File ".\scripts\interwiki.py", line 2306, in oneQuery site = self.selectQuerySite() File ".\scripts\interwiki.py", line 2277, in selectQuerySite self.generateMore(globalvar.maxquerysize - mycount) File ".\scripts\interwiki.py", line 2187, in generateMore if page in globalvar.skip: File "I:\py\rewrite\pywikibot\page.py", line 294, in __hash__ return hash(unicode(self)) File "I:\py\rewrite\pywikibot\page.py", line 269, in __unicode__ return self.title(asLink=True, forceInterwiki=True) File "I:\py\rewrite\pywikibot\tools.py", line 711, in wrapper return obj(*__args, **__kw) File "I:\py\rewrite\pywikibot\page.py", line 206, in title title = self._link.canonical_title() File "I:\py\rewrite\pywikibot\page.py", line 4332, in canonical_title if self.namespace: File "I:\py\rewrite\pywikibot\page.py", line 4297, in namespace self.parse() File "I:\py\rewrite\pywikibot\page.py", line 4196, in parse self._text, self._site, prefix)) pywikibot.exceptions.SiteDefinitionError: nds:Kategorie:Slowaaksch is not a local page on wiktionary:nds, and the interwiki prefix nds is not supported by PyWikiBot! <class 'pywikibot.exceptions.SiteDefinitionError'> CRITICAL: Waiting for 1 network thread(s) to finish. Press ctrl-c to abort ``` S I tried to type it without lang, because lang is set in this file:
I:\py\rewrite>pwb.py interwiki -family:wiktionary -file:autonomous_problems.dat -cleanup -async
``` NOTE: Number of pages queued is 0, trying to add 50 more. Dump cs (wiktionary) appended. Traceback (most recent call last): File "I:\py\rewrite\pwb.py", line 222, in <module> run_python_file(filename, argv, argvu, file_package) File "I:\py\rewrite\pwb.py", line 81, in run_python_file main_mod.__dict__) File ".\scripts\interwiki.py", line 2647, in <module> main() File ".\scripts\interwiki.py", line 2622, in main bot.run() File ".\scripts\interwiki.py", line 2365, in run self.queryStep() File ".\scripts\interwiki.py", line 2338, in queryStep self.oneQuery() File ".\scripts\interwiki.py", line 2306, in oneQuery site = self.selectQuerySite() File ".\scripts\interwiki.py", line 2277, in selectQuerySite self.generateMore(globalvar.maxquerysize - mycount) File ".\scripts\interwiki.py", line 2187, in generateMore if page in globalvar.skip: File "I:\py\rewrite\pywikibot\page.py", line 294, in __hash__ return hash(unicode(self)) File "I:\py\rewrite\pywikibot\page.py", line 269, in __unicode__ return self.title(asLink=True, forceInterwiki=True) File "I:\py\rewrite\pywikibot\tools.py", line 711, in wrapper return obj(*__args, **__kw) File "I:\py\rewrite\pywikibot\page.py", line 206, in title title = self._link.canonical_title() File "I:\py\rewrite\pywikibot\page.py", line 4332, in canonical_title if self.namespace: File "I:\py\rewrite\pywikibot\page.py", line 4297, in namespace self.parse() File "I:\py\rewrite\pywikibot\page.py", line 4196, in parse self._text, self._site, prefix)) pywikibot.exceptions.SiteDefinitionError: nds:Kategorie:Slowaaksch is not a local page on wiktionary:cs, and the interwiki prefix nds is not supported by PyWikiBot! <class 'pywikibot.exceptions.SiteDefinitionError'> CRITICAL: Waiting for 1 network thread(s) to finish. Press ctrl-c to abort ```
format of `autonomous_problems.dat` is:
* [[nds:Kategorie:Slowaaksch]] {Found more than one link for wiktionary:nah} * [[nds:Kategorie:Wittruss'sch]] {Found more than one link for wiktionary:nah} ...
When I delete nds: from this file, the first command works In compat was never problem with this combination
TASK DETAIL https://phabricator.wikimedia.org/T85769
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: JAnD Cc: Aklapper, JAnD, jayvdb, pywikipedia-bugs