Page MenuHomePhabricator

`python pwb.py login` fails to generate `user-config.py`
Closed, DuplicatePublic

Description

python pwb.py login fails to generate user-config.py when it has not already been created as the source below indicates it should.
https://www.mediawiki.org/wiki/Manual:Pywikibot/Basic_use
Instead it gives the following:

$ python pwb.py login
NOTE: 'user-config.py' was not found!
Please follow the prompts to create it:
Unknown arguments: login

Event Timeline

Kjschiroo raised the priority of this task from to Needs Triage.
Kjschiroo updated the task description. (Show Details)
Kjschiroo added a project: Pywikibot.
Kjschiroo subscribed.

This looks like T101838 and should be solved already. Could you test a recent version?

I'm using the core nightly build here:
http://tools.wmflabs.org/pywikibot/

Untitled drawing.png (312×536 px, 106 KB)

and I am still hitting the same problem. Is this not the most recent version?

Unfortunately it's a version from 10 days ago. @Ladsgroup might need to check it out why it's not generating new nightlies.

Can you point me towards an alternative location to get a more recent version?

It is supposed to be recent. Alternatively use got or initialise it manually and do python generate_user_files.py.

Okay. I've already got it functional, I just wanted to confirm that it was fixed. Thanks!

Unfortunately it's a version from 10 days ago. @Ladsgroup might need to check it out why it's not generating new nightlies.

+1 one month, it's July already. Anyway I'll close it as a duplicate of T101838 as it has been fixed already. The only issue that the nightlies don't get generated (see also T94184).