Last modified: 2014-06-25 01:32:35 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 T68950, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 66950 - config2 option 'modified' fails
config2 option 'modified' fails
Status: RESOLVED FIXED
Product: Pywikibot
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-06-22 12:06 UTC by John Mark Vandenberg
Modified: 2014-06-25 01:32 UTC (History)
0 users

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


Attachments

Description John Mark Vandenberg 2014-06-22 12:06:08 UTC
$ 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'>
Comment 1 John Mark Vandenberg 2014-06-22 12:33:52 UTC
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.

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


Navigation
Links