That's weird... You do have a recent config.py? Which version (what does it look like?) and what is your full user-config.py?
Andre Engels
On 7/13/05, Jason Y. Lee jylee@cs.ucr.edu wrote:
Jason Y. Lee wrote:
Will someone explain to me how to set up the users in the user-config.py?
When I add this line: usernames['wikipedia']['en'] = 'VFD Bot'
It gives me a key error.
Can you give more details? Preferrably the debug output (stack trace) the bot gives before crashing.
Daniel _______________________________________________ Wikibots-l mailing list Wikibots-l@wikimedia.org http://mail.wikipedia.org/mailman/listinfo/wikibots-l
jylee@acmserver:~/wikipedia/bots/pywikipedia $ python2.3 login.py Traceback (most recent call last): File "login.py", line 40, in ? import wikipedia, config File "/home/acmusers/jylee/wikipedia/bots/pywikipedia/wikipedia.py", line 99, in ? import config, mediawiki_messages, login File "/home/acmusers/jylee/wikipedia/bots/pywikipedia/config.py", line 133, in ? execfile(_filename) File "user-config.py", line 19, in ? usernames['wikipedia']['en'] = 'VFD Bot' KeyError: 'wikipedia'
Jason Y. Lee
Wikibots-l mailing list Wikibots-l@wikimedia.org http://mail.wikipedia.org/mailman/listinfo/wikibots-l