Bugs item #3612209, was opened at 2013-04-29 08:30 Message generated for change (Tracker Item Submitted) made by beta16 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3612209...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: other Group: trunk Status: Open Resolution: None Priority: 5 Private: No Submitted By: Luca Rabinelli (beta16) Assigned to: Nobody/Anonymous (nobody) Summary: WikiData: error for non-mainnamespace item
Initial Comment: Hi! Following the istructions in [[:mw:Manual:Pywikipediabot/Wikidata]], I try this simple program:
import pywikibot site = pywikibot.getSite('en', 'wikipedia') repo = site.data_repository() page = pywikibot.Page(site, "Wikipedia:Unchi Bassi") data = pywikibot.DataPage(page) dictionary = data.get()
But the system return this error: pywikibot.exceptions.NoSuchSite: Language wikidata does not exist in family wikipedia
Version: Pywikipedia [http] trunk/pywikipedia (r11483, 2013/04/28, 17:04:21, OUTDATED) Python 2.6.5 (r265:79063, Oct 1 2012, 22:04:36) [GCC 4.4.3] config-settings: use_api = True use_api_login = True unicode test: ok
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3612209...
pywikipedia-bugs@lists.wikimedia.org