Since a few hours, running my bot on Wikidata I am getting the following error:
(snip) File "/home/ae1101/bot/pywikibot/page/__init__.py", line 3900, in __init__ ns = site.item_namespace File "/home/ae1101/bot/pywikibot/site/_datasite.py", line 91, in item_namespace self._item_namespace = self.get_namespace_for_entity_type('item') File "/home/ae1101/bot/pywikibot/site/_datasite.py", line 80, in get_namespace_for_entity_type .format(self, entity_type)) pywikibot.exceptions.EntityTypeUnknownError: DataSite("wikidata", "wikidata") does not support entity type "item" CRITICAL: Exiting due to uncaught exception <class 'pywikibot.exceptions.EntityTypeUnknownError'>
Apparently something has changed in the site, but I have no idea what to do...
Hi, today my brain is doing very good job. :D
There is a task about this. https://phabricator.wikimedia.org/T288724
Best regards, Zoran Dori
MediaWiki developer
zorandori4444@gmail.com www.wikiteq.com
чет, 12. авг 2021. у 20:13 Andre Engels andreengels@gmail.com је написао/ла:
Since a few hours, running my bot on Wikidata I am getting the following error:
(snip) File "/home/ae1101/bot/pywikibot/page/__init__.py", line 3900, in __init__ ns = site.item_namespace File "/home/ae1101/bot/pywikibot/site/_datasite.py", line 91, in item_namespace self._item_namespace = self.get_namespace_for_entity_type('item') File "/home/ae1101/bot/pywikibot/site/_datasite.py", line 80, in get_namespace_for_entity_type .format(self, entity_type)) pywikibot.exceptions.EntityTypeUnknownError: DataSite("wikidata", "wikidata") does not support entity type "item" CRITICAL: Exiting due to uncaught exception <class 'pywikibot.exceptions.EntityTypeUnknownError'>
Apparently something has changed in the site, but I have no idea what to do...
-- André Engels, andreengels@gmail.com _______________________________________________ pywikibot mailing list -- pywikibot@lists.wikimedia.org To unsubscribe send an email to pywikibot-leave@lists.wikimedia.org
Hi,
looks like https://phabricator.wikimedia.org/T242083 and it occurred when wikibase had high traffic.
Best xqt
Am 12.08.2021 um 20:26 schrieb Zoran Dori zorandori4444@gmail.com:
Hi, today my brain is doing very good job. :D
There is a task about this. https://phabricator.wikimedia.org/T288724
Best regards, Zoran Dori MediaWiki developer
zorandori4444@gmail.com
www.wikiteq.com
чет, 12. авг 2021. у 20:13 Andre Engels andreengels@gmail.com је написао/ла:
Since a few hours, running my bot on Wikidata I am getting the following error:
(snip) File "/home/ae1101/bot/pywikibot/page/__init__.py", line 3900, in __init__ ns = site.item_namespace File "/home/ae1101/bot/pywikibot/site/_datasite.py", line 91, in item_namespace self._item_namespace = self.get_namespace_for_entity_type('item') File "/home/ae1101/bot/pywikibot/site/_datasite.py", line 80, in get_namespace_for_entity_type .format(self, entity_type)) pywikibot.exceptions.EntityTypeUnknownError: DataSite("wikidata", "wikidata") does not support entity type "item" CRITICAL: Exiting due to uncaught exception <class 'pywikibot.exceptions.EntityTypeUnknownError'>
Apparently something has changed in the site, but I have no idea what to do...
-- André Engels, andreengels@gmail.com _______________________________________________ pywikibot mailing list -- pywikibot@lists.wikimedia.org To unsubscribe send an email to pywikibot-leave@lists.wikimedia.org
pywikibot mailing list -- pywikibot@lists.wikimedia.org To unsubscribe send an email to pywikibot-leave@lists.wikimedia.org