https://bugzilla.wikimedia.org/show_bug.cgi?id=66950
Bug ID: 66950 Summary: config2 option 'modified' fails Product: Pywikibot Version: unspecified Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: jayvdb@gmail.com Web browser: --- Mobile Platform: ---
$ python pwb.py pywikibot/config2.py modified Traceback (most recent call last): File "pwb.py", line 143, in <module> run_python_file(fn, argv, argvu) File "pwb.py", line 67, in run_python_file exec(compile(source, filename, "exec"), main_mod.__dict__) File "pywikibot/config2.py", line 766, in <module> if _all or _glv[_name] != globals()[_name]: KeyError: 'base_dir' <type 'exceptions.KeyError'>
after fixing that:
Traceback (most recent call last): File "pwb.py", line 143, in <module> run_python_file(fn, argv, argvu) File "pwb.py", line 67, in run_python_file exec(compile(source, filename, "exec"), main_mod.__dict__) File "pywikibot/config2.py", line 768, in <module> if _all or _glv[_name] != globals()[_name]: KeyError: 'ov' <type 'exceptions.KeyError'>
https://bugzilla.wikimedia.org/show_bug.cgi?id=66950
--- Comment #1 from John Mark Vandenberg jayvdb@gmail.com --- The 'ov' bug was caused by Change-Id: Ibdfc17e86814a905e212bd454deba36c7995df4f
The 'base_dir' appears to have been in the system for quite a long time. I havent bisected it, but it looks to go back to before the 2008 rename from config.py to config2.py.
https://bugzilla.wikimedia.org/show_bug.cgi?id=66950
John Mark Vandenberg jayvdb@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
pywikipedia-bugs@lists.wikimedia.org