...even when it might generate family file successfully.
https://travis-ci.org/github/wikimedia/pywikibot/jobs/697281670#L408
...even when it might generate family file successfully.
https://travis-ci.org/github/wikimedia/pywikibot/jobs/697281670#L408
I created revert (https://gerrit.wikimedia.org/r/#/c/pywikibot/core/+/604926/), but it can't be merged possibly due to T252310
I think I've localized the problem:
generate_family_file.py is called with pwb.py wrapper for musicbrainz (whereas for other sites generate_family_file.py is called directly. Normally pwb.py imports pywikibot which imports config.py which expects user-config.py. The direct call of generate_family_file .py uses _import_with_no_user_config. If pwb.py is used it expects RuntimeError in line 219 and set 'PYWIKIBOT_NO_USER_CONFIG' to 2. it does not generate_user_files if generate_family_file.py is running.