Xqt added a comment.
Strange:
item.getRedirectTarget()
ItemPage('Q119442711')
x = item.get()
Traceback (most recent call last):
File "C:\pwb\GIT\core\pywikibot\page\_wikibase.py", line 734, in get
data = WikibaseEntity.get(self, force=force)
File "C:\pwb\GIT\core\pywikibot\page\_wikibase.py", line 267, in get
raise NoWikibaseEntityError(self)
pywikibot.exceptions.NoWikibaseEntityError: Entity 'Q124382633' doesn't
exist on wikidata:wikidata
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<pyshell#11>", line 1, in <module>
x = item.get()
File "C:\pwb\GIT\core\pywikibot\page\_wikibase.py", line 1152, in get
data = super().get(force, *args, **kwargs)
File "C:\pwb\GIT\core\pywikibot\page\_wikibase.py", line 741, in get
raise NoPageError(self)
pywikibot.exceptions.NoPageError: Page [[wikidata:Q124382633]] doesn't
exist.
TASK DETAIL
https://phabricator.wikimedia.org/T383267
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Xqt
Cc: Xqt, matej_suchanek, Aklapper, pywikibot-bugs-list, Bovlb, mevo,
PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Aram,
Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus,
Avicennasis, Hannolans, mys_721tx, jayvdb, Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]