[pywikibot] Re: Error logging into Wikipedia through pywiki bot on local device

2023-02-28 Thread Merlijn van Deen (valhallasw)

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/message/AYDYMKXDC5KNYKOGN62UMDI4TUSLJD3N/
To unsubscribe send an email topywikibot-le...@lists.wikimedia.org___
pywikibot mailing list -- pywikibot@lists.wikimedia.org
Public archives at 
https://lists.wikimedia.org/hyperkitty/list/pywikibot@lists.wikimedia.org/message/4AFTNSBHLTJQFF63VFEOHCL6XFTL3YIG/
To unsubscribe send an email to pywikibot-le...@lists.wikimedia.org


[pywikibot] Re: Error logging into Wikipedia through pywiki bot on local device

2023-02-28 Thread BinĂ¡ris
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.
___
pywikibot mailing list -- pywikibot@lists.wikimedia.org
Public archives at 
https://lists.wikimedia.org/hyperkitty/list/pywikibot@lists.wikimedia.org/message/K2F34QNISUV5PX3LWUAS5NTJVAJ7PI4M/
To unsubscribe send an email to pywikibot-le...@lists.wikimedia.org