Hi Ananta,
Based on the error message, it looks like the username in your user-config.py has a space added to the end, i.e.
usernames['wikipedia']['en'] = 'AVaishnaviM '
instead of
usernames['wikipedia']['en'] = 'AVaishnaviM'
If you remove that space, chances are the bot will log in correctly.
Kind regards,
Merlijn / valhallasw
Hello everyone,
My name is Ananta Vaishnavi, and I'm new to the Mediawiki community. I'm reaching out today because I've encountered an issue while trying to set up pywiki bot on my local device.
Despite logging in, I'm receiving an error message that says I haven't logged in to Wikipedia. Specifically, the error message states that there is no user logged in on site wikipedia:en and that my username 'AVaishnaviM' does not exist on Wikipedia. I've included a screenshot of the error message at https://ctrlv.link/uqXv and a screenshot of my Wikipedia https://ctrlv.link/POj4 account for reference.
To troubleshoot this issue, I have already tried logging out and logging back in to Mediawiki. I have also attempted to perform the commands again, but unfortunately, the same error message persists.
For additional context, I'm using Windows 11 64 bit, and the version of pywiki bot that I'm using is the latest version.
Can you please help me with this issue?
_______________________________________________ pywikibot mailing list -- pywikibot@lists.wikimedia.org Public archives at https://lists.wikimedia.org/hyperkitty/list/pywikibot@lists.wikimedia.org/message/AYDYMKXDC5KNYKOGN62UMDI4TUSLJD3N/ To unsubscribe send an email to pywikibot-leave@lists.wikimedia.org