Hello,I installed Mediawiki 1.28 + Wikibase on Debian for testing purposes. I also downloaded Pywikibot 2.0rc5 and followed : https://www.mediawiki.org/wiki/Manual:Pywikibot/Third-party_Wiki_Quick_Start.
I edited my first item on http://localhost/wikidata/index.php/Item:Q3 which has "Théodore Hersart de la Villemarqué" as English and French label. I also made some statements about this item. However, I have got a pywikibot exception as I try to retrieve data from this item:
"python pwb.py login" works fine.
I entered the pwb.py shell: "python pwb.py shell" and typed the following:
>>> site = pywikibot.Site()
>>> site
APISite("fr", "wikidatacrbc")
>>> page = pywikibot.Page(site, u"Théodore Hersart de la Villemarqué")
>>> item = pywikibot.ItemPage.fromPage(page)
Traceback (most recent call last):
File "<console>", line 1, in <module>
File "/home/jean-baptiste/git/core/pywikibot/page.py", line 3979, in
fromPage
% page.site)
pywikibot.exceptions.WikiBaseError: wikidatacrbc:fr has no transcluded data
Do you have any idea of the causes of this error ? What should be the
name of the page in my case ?
Thanks, -- Jean-Baptiste Pressac Traitement et analyse de bases de données Production et diffusion de corpus numériques Centre de Recherche Bretonne et Celtique Unité mixte de service (UMS) 3554 20 rue Duquesne CS 93837 29238 Brest cedex 3 tel : +33 (0)2 98 01 68 95 fax : +33 (0)2 98 01 63 93
<<attachment: Jean-Baptiste_Pressac.vcf>>
_______________________________________________ pywikibot mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot
