KeyError

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

KeyError

Schorsch-2
hi!

i got a problem with pywikipedia-bot...

i would like to work on my own wiki (mediawiki) - added the _family.py and changed the settings in the user-config.py:

family = \'mywiki\'
mylang = \'de\'
usernames[\'mywiki\'][\'de\'] = \'botuser\'

but when i start login.py it says:

KeyError: \'mywiki\'

what could be wrong?







__
Werbung:
http://partners.webmasterplan.com/click.asp?ref=161768&site=338&type=b13&bnb=13
_______________________________________________
Wikibots-l mailing list
[hidden email]
http://mail.wikipedia.org/mailman/listinfo/wikibots-l
Reply | Threaded
Open this post in threaded view
|

RE: KeyError

Russell Blau

Schorsch wrote:

> KeyError: \'mywiki\'
>
> what could be wrong?

Try deleting all the \ characters.

_______________________________________________
Wikibots-l mailing list
[hidden email]
http://mail.wikipedia.org/mailman/listinfo/wikibots-l