Steps to Reproduce:
./generate_family_file.py https://privatewiki.example.com/wiki/ privatefamily
Actual Results:
Generating family file from https://privatewiki.example.com/wiki/ Private wiki detected. Login is required. Please enter your username? Valid User Traceback (most recent call last): File "generate_family_file.py", line 227, in <module> FamilyFileGenerator(*sys.argv[1:]).run() File "generate_family_file.py", line 56, in run self.wikis[w.lang] = w AttributeError: 'MWSite' object has no attribute 'lang' CRITICAL: Exiting due to uncaught exception <class 'AttributeError'>
You get some extra info if you force logging on:
VERBOSE:pywiki:MW 1.17+ detection failed: TypeError('Abstract Family class Family cannot be instantiated; subclass it instead',)