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?
See also https://phabricator.wikimedia.org/T330488
For me it is the same, but still I can save pages under my bot's name. Myterious. Try to save a page.
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
On 28/02/2023 13:13, Vaishnavi Movva wrote:
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 athttps://lists.wikimedia.org/hyperkitty/list/pywikibot@lists.wikimedia.org/me... To unsubscribe send an email topywikibot-leave@lists.wikimedia.org