system: ubuntu 6.06
user-config.py have use. 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 ? main() 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, self.site.lang)) 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: usernames['wikipedia']['zh'] = 'myUsername' shizhao@shizhao-acer-NB:~/bot2$ -- Chinese wikipedia: http://zh.wikipedia.org/ My blog: http://talk.blogbus.com CNBlog: http://blog.cnblog.org/weblog.html Social Brain: http://www.socialbrain.org/default.asp cnbloggercon: http://www.cnbloggercon.org/ [[zh:User:Shizhao]] _______________________________________________ Wikibots-l mailing list [hidden email] http://mail.wikipedia.org/mailman/listinfo/wikibots-l |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 shi zhao wrote: > system: ubuntu 6.06 > user-config.py have use. > > shizhao@shizhao-acer-NB:~/bot2$ python login.py > WARNING: Skipped 'user-config.py': writeable by others. I already responded when this was reported as a bug. It is not a bug. Please make sure that user-config.py is not writable by others. % chmod 644 user-config.py Rob - -- Rob W.W. Hooft || [hidden email] || http://www.hooft.net/people/rob/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFCDV7H7J/Cv8rb3QRAgxaAJwM2b0P/oYPPS0TU04Sa0NXiYwovgCeP1c9 WuhD+03BXFguFcKTXLkxrYQ= =/Cpb -----END PGP SIGNATURE----- _______________________________________________ Wikibots-l mailing list [hidden email] http://mail.wikipedia.org/mailman/listinfo/wikibots-l |
I only run this python. not qthers
2006/9/14, Rob Hooft <[hidden email]>: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > shi zhao wrote: > > system: ubuntu 6.06 > > user-config.py have use. > > > > shizhao@shizhao-acer-NB:~/bot2$ python login.py > > WARNING: Skipped 'user-config.py': writeable by others. > > I already responded when this was reported as a bug. It is not a bug. > Please make sure that user-config.py is not writable by others. > > % chmod 644 user-config.py > > Rob > > - -- > Rob W.W. Hooft || [hidden email] || http://www.hooft.net/people/rob/ > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.5 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFFCDV7H7J/Cv8rb3QRAgxaAJwM2b0P/oYPPS0TU04Sa0NXiYwovgCeP1c9 > WuhD+03BXFguFcKTXLkxrYQ= > =/Cpb > -----END PGP SIGNATURE----- > _______________________________________________ > Wikibots-l mailing list > [hidden email] > http://mail.wikipedia.org/mailman/listinfo/wikibots-l > -- Chinese wikipedia: http://zh.wikipedia.org/ My blog: http://talk.blogbus.com CNBlog: http://blog.cnblog.org/weblog.html Social Brain: http://www.socialbrain.org/default.asp cnbloggercon: http://www.cnbloggercon.org/ [[zh:User:Shizhao]] _______________________________________________ Wikibots-l mailing list [hidden email] http://mail.wikipedia.org/mailman/listinfo/wikibots-l |
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! Rob -- Rob W.W. Hooft || [hidden email] || http://www.hooft.net/people/rob/ _______________________________________________ Wikibots-l mailing list [hidden email] http://mail.wikipedia.org/mailman/listinfo/wikibots-l |
Free forum by Nabble | Edit this page |