Page MenuHomePhabricator

Password not remembered if username in user-config.py is not correctly capitalized
Closed, DeclinedPublic

Description

Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1435/
Reported by: warddr
Created on: 2012-04-11 16:23:05
Subject: password not remembered?
Original description:
If I run login.py -all I get for every language:Should be logged in now
but every time I start a new robot command \(like for example to move a category\) it asks for my password again.

I also tried this on an ubuntu pc with python 2.7.2 but same result.

Here is my version.py:

Pywikipedia \[http\] trunk/pywikipedia \(r10103, 2012/04/10, 07:18:22\)
Python 2.6.6 \(r266:84292, Dec 27 2010, 00:02:40\)
\[GCC 4.4.5\]
config-settings:
use\_api = True
use\_api\_login = True


Version: compat-(1.0)
Severity: enhancement
See Also:
https://sourceforge.net/p/pywikipediabot/bugs/1435
https://bugzilla.wikimedia.org/show_bug.cgi?id=72974

Details

Reference
bz55201

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 2:26 AM
bzimport set Reference to bz55201.

Could you try
login.py -all -force
please. This should delete old files and force login with new data.

Please post your user-config.py. Specifically, check if your nickname starts with a capital letter.

It was the capital letter problem, it's fixed now.

Maybe a FR can be to show a warning when logging in if this problem is triggered?

  1. C:\Pywikipedia>login.py
  2. Password for user AbshirBot on wikipedia:so
  3. No characters will be shown:*****
  4. Logging in to wikipedia:so as AbshirBot via API.
  5. Should be logged in now
  6. C:\Pywikipedia>welcome.py
  7. Querying new user log from API....
  8. [Skip ] User been created automatically.
  9. [Skip ] User been created automatically.
  10. [Skip ] User has been created automatically.
  11. [NoAct] User Mohamed Ahmed has no contributions.
  12. [Skip ] User has been created automatically.
  13. [Match] User has enough edits to be welcomed.
  14. Password for user AbshirBot on wikipedia:so
  15. No characters will be shown:
  16. Password for user AbshirBot on wikipedia:so
  17. No characters will be shown:
  18. Logging in to wikipedia:so as AbshirBot via API.

Could someone help me what i told the above, the problem is every time I log in my User-Bot still requires the password if I continue to rewrite password, my IP address be recorded publicly visible in [[so:Special:RecentChanges]] as someone who is not registered.

Please, tell me things that I can do. Thanks....

Aklapper lowered the priority of this task from Low to Lowest.Jun 5 2015, 1:41 PM
Aklapper subscribed.

Pywikibot has two versions: Compat and Core. This task was filed about the older version, called Pywikibot-compat, which is not under active development anymore. Hence I'm lowering the priority of this task to reflect the reality. Unfortunately, the Pywikibot team does not have the manpower to retest every single bug report / feature request against the (maintained) Pywikibot code base. Furthermore, the code base of Pywikibot-Compat has changed a lot compared to the code base of Pywikibot-Core so there is a chance that the problem described in this task might not exist anymore. Please help: Unfortunately manpower is limited and does not allow testing every single reported task again. If you have time and interest in Pywikibot, please upgrade to Pywikibot-Core and add a comment to this task if the problem in this task still happens in Pywikibot-Core (or directly edit the task by removing the Pywikibot-compat project and adding the Pywikibot project to this task). To learn more about Pywikibot and to get involved in its development, please check out https://www.mediawiki.org/wiki/Manual:Pywikibot/Development Thank you for your understanding.