Traceback (most recent call last):
File ".\tests\logentries_tests.py", line 263, in test_moved_target_fail_old
self.get_mainpage(site).moved_target()
File "C:\pwb\GIT\core\tests\aspects.py", line 996, in get_mainpage
mainpage = pywikibot.Page(site, site.siteinfo['mainpage'])
File "C:\pwb\GIT\core\pywikibot\site\_siteinfo.py", line 254, in __getitem__
return self.get(key, False) # caches and doesn't force it
File "C:\pwb\GIT\core\pywikibot\site\_siteinfo.py", line 302, in get
preloaded = self._get_general(key, expiry)
File "C:\pwb\GIT\core\pywikibot\site\_siteinfo.py", line 242, in _get_general
default_info = self._get_siteinfo(props, expiry)
File "C:\pwb\GIT\core\pywikibot\site\_siteinfo.py", line 166, in _get_siteinfo
data = request.submit()
File "C:\pwb\GIT\core\pywikibot\data\api.py", line 2125, in submit
self._data = super().submit()
File "C:\pwb\GIT\core\pywikibot\data\api.py", line 1869, in submit
use_get, uri, body, headers = self._get_request_params(use_get,
File "C:\pwb\GIT\core\pywikibot\data\api.py", line 1579, in _get_request_params
uri = self.site.apipath()
File "C:\pwb\GIT\core\pywikibot\family.py", line 914, in apipath
return '%s/api.php' % self.scriptpath(code)
File "C:\pwb\GIT\core\pywikibot\family.py", line 1401, in scriptpath
return super().scriptpath(code)
RuntimeError: super(): __class__ cell not foundDescription
Description
Details
Details
Related Changes in Gerrit:
| Subject | Repo | Branch | Lines +/- | |
|---|---|---|---|---|
| [bugfix] AutoFamily: type and object must be given for super call | pywikibot/core | master | +2 -1 |
Related Objects
Related Objects
Event Timeline
Comment Actions
Change 650090 had a related patch set uploaded (by Xqt; owner: Xqt):
[pywikibot/core@master] [bugfix] AutoFamily: type and object must be given for super call
Comment Actions
Change 650090 merged by jenkins-bot:
[pywikibot/core@master] [bugfix] AutoFamily: type and object must be given for super call