Good day everyone, please I have an issue with my PWB, I am running a script on a site that uses Wikibase, and I want the script to create new items for new pages from the client wiki on the repository wiki.
But unfortunately, I get this error when I run the script, please I have tried fixing it on my own but to no avail, I'm sure someone else has gotten this typa error before, Please help me.
It says *pywikibot.exceptions.EntityTypeUnknownError: DataSite("en", "mydatafamilyfile") does not support entity type "item".* Please help
Full error that it shows 👇👇
Traceback (most recent call last): File "C:\Users\Username\pywikibot\curate.newpages.en.py", line 380, in <module> main() File "C:\Users\Username\pywikibot\curate.newpages.en.py", line 367, in main newitem = pywikibot.ItemPage(repo) File "C:\Users\Username\pywikibot\pywikibot\page__init__.py", line 3901, in __init__ ns = site.item_namespace File "C:\Users\Username\pywikibot\pywikibot\site_datasite.py", line 91, in item_namespace self._item_namespace = self.get_namespace_for_entity_type( File "C:\Users\Username\pywikibot\pywikibot\site_datasite.py", line 78, in get_namespace_for_entity_type raise EntityTypeUnknownError( pywikibot.exceptions.EntityTypeUnknownError: DataSite("en", "mydatafamilyfile") does not support entity type "item"
-Joseph.
Hi Joseph,
is it your private wikibase family? Perhaps it is this issue then:
https://phabricator.wikimedia.org/T288724
Best xqt
Am 03.12.2021 um 17:29 schrieb Ugo Chima chimaj98@gmail.com:
Joseph
Hello Xqt, Please, how then can I fix this?
On Fri, Dec 3, 2021 at 8:34 PM info@gno.de wrote:
Hi Joseph,
is it your private wikibase family? Perhaps it is this issue then:
https://phabricator.wikimedia.org/T288724
Best xqt
Am 03.12.2021 um 17:29 schrieb Ugo Chima chimaj98@gmail.com:
Joseph
pywikibot mailing list -- pywikibot@lists.wikimedia.org To unsubscribe send an email to pywikibot-leave@lists.wikimedia.org