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(a)gmail.com