Hi Chima,
your local Wiki seem to be a Wikibase and as the exception suggest the method is not
defined for this site type.
Best
xqt
Am 26.02.2022 um 17:13 schrieb Ugo Chima
<chimaj98(a)gmail.com>om>:
Hi Xqt
On Thu, Feb 24, 2022, 08:02 Ugo Chima
<chimaj98(a)gmail.com> wrote:
Hello Xqt,
Thank you for replying,
Yes, site:lang isn't valid, I am actually not running it from wikidata:wikidata,
it's on another wiki, and I'm running it locally from my PC.
Thanks
Chima.
> On Thu, Feb 24, 2022, 05:06 <info(a)gno.de> wrote:
> Hi Chima,
>
> site:lang is not a valid site. I would expect wikidata:wikidata in the exception
message. What is your command line and on which site are you running the script?
>
> Best
> xqt
>
>>> Am 24.02.2022 um 02:35 schrieb Ugo Chima <chimaj98(a)gmail.com>om>:
>>>
>>
>> Good morning everyone
>> Please anyone have any Idea why I receive this error "NotImplementedError:
page_from_repository method is not implemented for Wikibase site:lang" when running
the newitem.py script?
>>
>> Chima.
>>
>> _______________________________________________
>> pywikibot mailing list -- pywikibot(a)lists.wikimedia.org
>> To unsubscribe send an email to pywikibot-leave(a)lists.wikimedia.org
> _______________________________________________
> pywikibot mailing list -- pywikibot(a)lists.wikimedia.org
> To unsubscribe send an email to pywikibot-leave(a)lists.wikimedia.org
_______________________________________________
pywikibot mailing list -- pywikibot(a)lists.wikimedia.org
To unsubscribe send an email to pywikibot-leave(a)lists.wikimedia.org