Bug ID: 73534
           Summary: missing language in family causes exception in
           Product: Pywikibot
           Version: core (2.0)
          Hardware: All
                OS: All
            Status: NEW
          Severity: critical
          Priority: Unprioritized
         Component: General
       Web browser: ---
   Mobile Platform: ---

On en.wowwiki:

ERROR: testLinks (tests.page_tests.TestPageObject)
Traceback (most recent call last):
  File "tests/", line 469, in testLinks
    for p in mainpage.langlinks():
  File "pywikibot/", line 1189, in langlinks
    self._langlinks = list(self.iterlanglinks(include_obsolete=True))
  File "pywikibot/", line 2987, in pagelanglinks
  File "pywikibot/", line 4386, in langlinkUnsafe
    link._site = pywikibot.Site(lang,
  File "pywikibot/", line 573, in Site
    _sites[key] = interface(code=code, fam=fam, user=user, sysop=sysop)
  File "pywikibot/", line 1422, in __init__
    BaseSite.__init__(self, code, fam, user, sysop)
  File "pywikibot/", line 451, in __init__
    % (self.__code,
UnknownSite: Language nn does not exist in family wowwiki

You are receiving this mail because:
You are on the CC list for the bug.
Wikibugs-l mailing list

Reply via email to