https://bugzilla.wikimedia.org/show_bug.cgi?id=71786
Bug ID: 71786 Summary: verbose output on py3 fails Product: Pywikibot Version: core (2.0) 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: ---
Running any command with verbose enabled caused a KeyError
$ python3 pwb.py scripts/basic.py -verbose The base directory is ... === Pywikibot framework v2.0 -- Logging header === COMMAND: ['scripts/basic.py', '-verbose'] DATE: 2014-10-08 09:33:57.946123 UTC VERSION: [ssh] pywikibot-core.git (62c17a3, g4217, 2014/10/07, 19:19:01, n/a) SYSTEM: posix.uname_result(sysname='Linux', nodename='RSD-Latitude-2120', release='3.13.0-36-generic', version='#63-Ubuntu SMP Wed Sep 3 21:30:45 UTC 2014', machine='i686') Traceback (most recent call last): File "pwb.py", line 164, in <module> run_python_file(fn, argv, argvu) File "pwb.py", line 69, in run_python_file exec(compile(source, filename, "exec"), main_mod.__dict__) File "scripts/basic.py", line 173, in <module> main() File "scripts/basic.py", line 142, in main local_args = pywikibot.handleArgs() File ".../pywikibot/bot.py", line 666, in handleArgs init_handlers() File ".../pywikibot/bot.py", line 248, in init_handlers writelogheader() File ".../pywikibot/bot.py", line 291, in writelogheader packages = version.package_versions(check_package_list) File ".../pywikibot/version.py", line 381, in package_versions del data[name] KeyError: '_frozen_importlib'
https://bugzilla.wikimedia.org/show_bug.cgi?id=71786
John Mark Vandenberg jayvdb@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |58053
https://bugzilla.wikimedia.org/show_bug.cgi?id=71786
John Mark Vandenberg jayvdb@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Priority|Unprioritized |High Summary|verbose output on py3 fails |verbose output on py3 fails | |during initialisation Severity|normal |major
https://bugzilla.wikimedia.org/show_bug.cgi?id=71786
Fabian CommodoreFabianus@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |CommodoreFabianus@gmx.de
--- Comment #1 from Fabian CommodoreFabianus@gmx.de --- Isn't this related to https://gerrit.wikimedia.org/r/165459/ ?
pywikipedia-bugs@lists.wikimedia.org