Hi,
I've been following the guide at mediawiki.org https://www.mediawiki.org/wiki/Manual:Pywikibot/Installation to install core. Everything I've managed to successfully get through, except the check at the end, running python pwb.py login gives:
WARNING: Skipped '/pywiki/user-config.py': writeable by others. WARNING: family and mylang are not set. Defaulting to family='test' and mylang='test'. Traceback (most recent call last): File "scripts/login.py", line 184, in <module> main() File "scripts/login.py", line 169, in main site.login(sysop) File "/usr/local/lib/python2.7/dist-packages/pywikibot-2.0rc1.post2-py2.7.egg/pywikibot/site.py", line 1846, in login user=self._username[sysop]) File "/usr/local/lib/python2.7/dist-packages/pywikibot-2.0rc1.post2-py2.7.egg/pywikibot/tools/__init__.py", line 1248, in wrapper return obj(*__args, **__kw) File "/usr/local/lib/python2.7/dist-packages/pywikibot-2.0rc1.post2-py2.7.egg/pywikibot/login.py", line 115, in __init__ 'wiki_code': self.site.code}) pywikibot.exceptions.NoUsername: ERROR: Username for test:test is undefined. If you have an account for that site, please add a line to user-config.py:
usernames['test']['test'] = 'myUsername' <class 'pywikibot.exceptions.NoUsername'> CRITICAL: Closing network session.
I have created a user-config.py file (which includes a family= and mylang= line), but this error seems to be saying that I've got the wrong permissions for it.
Thanks for your time, Brenton