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


чет, 12. авг 2021. у 20:13 Andre Engels <andreengels@gmail.com> је написао/ла:
Since a few hours, running my bot on Wikidata I am getting the following error:

  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
    self._item_namespace = self.get_namespace_for_entity_type('item')
  File "/home/ae1101/bot/pywikibot/site/_datasite.py", line 80, in
    .format(self, entity_type))
pywikibot.exceptions.EntityTypeUnknownError: DataSite("wikidata",
"wikidata") does not support entity type "item"
CRITICAL: Exiting due to uncaught exception <class

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