Last modified: 2014-11-09 20:01:34 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T73786, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 71786 - verbose output on py3 fails during initialisation
verbose output on py3 fails during initialisation
Status: NEW
Product: Pywikibot
Classification: Unclassified
General (Other open bugs)
core-(2.0)
All All
: High major
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks: pwbpy3
  Show dependency treegraph
 
Reported: 2014-10-08 09:37 UTC by John Mark Vandenberg
Modified: 2014-11-09 20:01 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description John Mark Vandenberg 2014-10-08 09:37:23 UTC
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'
Comment 1 Fabian 2014-11-09 20:01:34 UTC
Isn't this related to https://gerrit.wikimedia.org/r/165459/ ?

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links