shizhao@shizhao-acer-NB:~/bot2$ python login.py
WARNING: Skipped 'user-config.py': writeable by others.
Checked for running processes. 1 processes currently running,
including the current process.
Traceback (most recent call last):
File "login.py", line 220, in ?
File "login.py", line 215, in main
loginMan = LoginManager(password, sysop = sysop)
File "login.py", line 79, in __init__
raise wikipedia.NoUsername(u'ERROR: Username for %s:%s is
undefined.\nIf you have an account for that site, please add such a
line to user-config.py:\n\nusernames[\'%s\'][\'%s\'] = \'myUsername\''
% (self.site.family.name, self.site.lang, self.site.family.name,
wikipedia.NoUsername: ERROR: Username for wikipedia:zh is undefined.
If you have an account for that site, please add such a line to user-config.py:
shi zhao wrote:
> I only run this python. not qthers
That is not the problem. A linux computer is intrinsically multi-user.
The user-configuration file is a python file that is executed by every
robot. If others have access to that file, they could make you do things
you do not want. This feature is to protect you against that!