jayvdb added a comment. Note that merely moving `APIError` and `UploadWarning` into `exceptions` does not fix the problem. Then it looks like this:
$ python pwb.py generate_family_file 'https://wiki.musicbrainz.org/' musicbrainz NOTE: 'user-config.py' was not found! Traceback (most recent call last): File "pwb.py", line 239, in <module> if not main(): File "pwb.py", line 233, in main run_python_file(filename, [filename] + args, argvu, file_package) File "pwb.py", line 111, in run_python_file main_mod.__dict__) File "./generate_family_file.py", line 36, in <module> from pywikibot.site_detect import MWSite as Wiki File "./pywikibot/__init__.py", line 41, in <module> from pywikibot.exceptions import ( File "./pywikibot/exceptions.py", line 580, in <module> @pywikibot.tools.deprecated AttributeError: 'module' object has no attribute 'tools' TASK DETAIL https://phabricator.wikimedia.org/T113161 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: jayvdb Cc: gerritbot, Aklapper, pywikibot-bugs-list, jayvdb _______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
