Bugs item #3443058, was opened at 2011-11-26 12:28 Message generated for change (Comment added) made by jackpotte You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3443058...
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: General Group: None
Status: Closed Resolution: Fixed
Priority: 5 Private: No Submitted By: Hubert BOSSOT (jackpotte) Assigned to: Nobody/Anonymous (nobody) Summary: pywikibot.exceptions.NoSuchSite
Initial Comment: New Netbook with Ubuntu 10.10, Python 2.6. When I launch any script, from any pywikipedia version (which works elsewhere):
unicode test: triggers problem #3081100 Traceback (most recent call last): File "login.py", line 58, in <module> import re, os, query File "/var/www/Personnel/mybot/pywikipedia/query.py", line 28, in <module> import wikipedia, time File "/var/www/Personnel/mybot/pywikipedia/wikipedia.py", line 7890, in <module> getSite(noLogin=True) File "/var/www/Personnel/mybot/pywikipedia/wikipedia.py", line 7680, in getSite persistent_http=persistent_http) File "/var/www/Personnel/mybot/pywikipedia/wikipedia.py", line 4951, in __init__ %(self.lang,self.family.name)) pywikibot.exceptions.NoSuchSite: Language language does not exist in family wikipedia
----------------------------------------------------------------------
Comment By: Hubert BOSSOT (jackpotte)
Date: 2011-11-26 12:40
Message: OK, I've found the solution:
$ python version.py WARNING: Skipped '/var/www/pywikipedia/user-config.py': owned by someone else. Pywikipedia [http] trunk/pywikipedia (r9779, 2011/11/24, 07:38:29) Python 2.6.6 (r266:84292, Sep 15 2010, 15:52:39) [GCC 4.4.5] config-settings: use_api = True use_api_login = True unicode test: triggers problem #3081100 $ chown myuser * $ python version.py Pywikipedia [http] trunk/pywikipedia (r9779, 2011/11/24, 07:38:29) Python 2.6.6 (r266:84292, Sep 15 2010, 15:52:39) [GCC 4.4.5] config-settings: use_api = True use_api_login = True unicode test: triggers problem #3081100 $
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3443058...
pywikipedia-bugs@lists.wikimedia.org