https://bugzilla.wikimedia.org/show_bug.cgi?id=72674
Bug ID: 72674 Summary: Key error: u'za' in interwiki.py Product: Pywikibot Version: core (2.0) Hardware: All OS: All Status: NEW Severity: major Priority: Unprioritized Component: interwiki.py Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: jan.dudik@gmail.com Web browser: --- Mobile Platform: ---
D:\Py\rewrite>pwb.py interwiki -family:wiktionary -cleanup -start:category:Finština -array:50 -query:30 -untranslated
NOTE: Number of pages queued is 0, trying to add 30 more. Retrieving 30 pages from wiktionary:cs. ERROR: Traceback (most recent call last): File "D:\Py\rewrite\pywikibot\data\api.py", line 584, in submit headers=headers, body=body) File "D:\Py\rewrite\pywikibot\tools.py", line 549, in wrapper return obj(*__args, **__kw) File "D:\Py\rewrite\pywikibot\comms\http.py", line 232, in request host = site.ssl_hostname() File "D:\Py\rewrite\pywikibot\site.py", line 550, in <lambda> f = lambda *args, **kwargs: method(self.code, *args, **kwargs) File "D:\Py\rewrite\pywikibot\family.py", line 994, in ssl_hostname return self.hostname(code) File "D:\Py\rewrite\pywikibot\family.py", line 990, in hostname return self.langs[code] KeyError: u'za'
WARNING: Waiting 5 seconds before retrying. ... WARNING: Waiting 10 seconds before retrying.
etc.
note:the only file containing "u'Za'" is imageuncat.py