https://bugzilla.wikimedia.org/show_bug.cgi?id=72503

Merlijn van Deen <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
                 CC|                            |[email protected]
            Summary|generate_family_file.py     |pwb.py does not run scripts
                   |fails                       |if user-config.py does not
                   |                            |exist
     Ever confirmed|0                           |1

--- Comment #3 from Merlijn van Deen <[email protected]> ---
Ah, so rather the issue is generate_family_file is not run when no
user-config.py exists. What happens is the following:

- pwb.py sees no user-config and thus invokes create_user_files.py
- you don't want to create a user-config file yet, because you need the
to-be-created family for that

The simplest way to fix this is to add a special case for
generate_family_file.py in pwb.py, as it really *is* a special case. Allowing
other scripts to continue would mean using test:test as site, for instance.
Essentially it's our config singleton biting us again...

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to