Xqt created this task.
Xqt added projects: Pywikibot, Pywikibot-tests.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
    ======================================================================
    ERROR: testLinks (tests.page_tests.TestPageObject)
    Test the different types of links from a page.
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "/home/runner/work/pywikibot/pywikibot/tests/page_tests.py", line 
543, in testLinks
        for p in mainpage.langlinks():
      File "/home/runner/work/pywikibot/pywikibot/pywikibot/page/_basepage.py", 
line 1606, in langlinks
        self._langlinks = set(self.iterlanglinks(include_obsolete=True))
      File 
"/home/runner/work/pywikibot/pywikibot/pywikibot/site/_generators.py", line 
897, in pagelanglinks
        link = pywikibot.Link.langlinkUnsafe(linkdata['lang'],
      File "/home/runner/work/pywikibot/pywikibot/pywikibot/page/_links.py", 
line 591, in langlinkUnsafe
        link._site = pywikibot.Site(lang, source.family.name)
      File "/home/runner/work/pywikibot/pywikibot/pywikibot/__init__.py", line 
254, in Site
        _sites[key] = interface(code=code, fam=fam, user=user)
      File "/home/runner/work/pywikibot/pywikibot/pywikibot/site/_apisite.py", 
line 129, in __init__
        super().__init__(code, fam, user)
      File "/home/runner/work/pywikibot/pywikibot/pywikibot/site/_basesite.py", 
line 90, in __init__
        raise UnknownSiteError(error_msg)
    pywikibot.exceptions.UnknownSiteError: Language 'rup' does not exist in 
family wikipedia
    
    ======================================================================

TASK DETAIL
  https://phabricator.wikimedia.org/T399693

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to