Bugs item #3603918, was opened at 2013-02-09 01:45
Message generated for change (Settings changed) made by
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=360391…
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: login
Group: None
Status: Open
Resolution: None
Priority: 7
Private: No
Submitted By: Riley ()
Assigned to: Nobody/Anonymous (nobody)
Summary: Can't login to
wikisource.org
Initial Comment:
I would like to be able to edit Wikisource with pywikipediabot; unlike all the other
wikis,
http://wikisource.org/ does not redirect to
http://en.wikisource.org/ and thus I
cannot login to
wikisource.org without playing with each script.
The following was outputted when I tried
family = 'wikisource'
mylang = ''
Traceback (most recent call last):
File "C:\Python27\pywikipedia1\redirect.py", line 65, in <module>
import wikipedia as pywikibot
File "C:\Python27\pywikipedia1\wikipedia.py", line 8717, in <module>
getSite(noLogin=True)
File "C:\Python27\pywikipedia1\pywikibot\support.py", line 115, in wrapper
return method(*__args, **__kw)
File "C:\Python27\pywikipedia1\wikipedia.py", line 8471, in getSite
_sites[key] = Site(code=code, fam=fam, user=user)
File "C:\Python27\pywikipedia1\pywikibot\support.py", line 115, in wrapper
return method(*__args, **__kw)
File "C:\Python27\pywikipedia1\wikipedia.py", line 5667, in __init__
% (self.__code, self.__family.name))
NoSuchSite: Language does not exist in family wikisource
----------------------------------------------------------------------
Comment By: Merlijn S. van Deen (valhallasw)
Date: 2013-02-09 03:25
Message:
Instead of mylang='', try using mylang='-' (and also adapting your
username
config as such).
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=360391…