https://bugzilla.wikimedia.org/show_bug.cgi?id=61832
Bug ID: 61832 Summary: Login seems not to work. Product: Pywikibot Version: unspecified Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: login.py Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: bugzilla.wikimedia@publi.purodha.net CC: bugzilla.wikimedia@publi.purodha.net Web browser: --- Mobile Platform: ---
After a fresh checkout from git, python pwb.py login -family:i18n -lang:i18n asks for a password, says the bot was logged in, but subsequent actions ask for a passwort again.
The files mentioned in the documentation are not created. There is a file pywikibot.lwp that has the cookies related to the wiki.
purodha@tools-dev:~/pywikibot$ python pwb.py version Pywikibot: [ssh] pywikibot-core.git (e553f36, g2767, 2014/02/23, 15:09:44, ok) Release version: 2.0b1 Python: 2.7.3 (default, Sep 26 2013, 20:03:06) [GCC 4.6.3] unicode test: ok purodha@tools-dev:~/pywikibot$ python pwb.py login -family:i18n -lang:i18n Password for user Purbo_T on i18n:i18n (no characters will be shown): Logging in to i18n:i18n as Purbo_T Logged in on i18n:i18n as Purbo T. purodha@tools-dev:~/pywikibot$ python pwb.py pagefromfile -file:/tmp/purodha-pagefromfile-test -appendbottom -nocontent:/try Reading '/tmp/purodha-pagefromfile-test'...
User:Purodha/try <<<
Password for user Purbo_T on i18n:i18n (no characters will be shown):