New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing import of DistutilsOptionError #55266
Labels
type-bug
An unexpected behavior, bug, or error
Comments
Missing DistutilsOptionError import in distutil2.config causes the following error: Traceback (most recent call last):
File "/opt/OpenPython-2.7.1/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/opt/OpenPython-2.7.1/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/opt/OpenPython-2.7.1/lib/python2.7/site-packages/Distutils2-1.0a3-py2.7.egg/distutils2/run.py", line 181, in <module>
main()
File "/opt/OpenPython-2.7.1/lib/python2.7/site-packages/Distutils2-1.0a3-py2.7.egg/distutils2/run.py", line 176, in main
return commands_main()
File "/opt/OpenPython-2.7.1/lib/python2.7/site-packages/Distutils2-1.0a3-py2.7.egg/distutils2/run.py", line 90, in commands_main
dist.parse_config_files()
File "/opt/OpenPython-2.7.1/lib/python2.7/site-packages/Distutils2-1.0a3-py2.7.egg/distutils2/dist.py", line 307, in parse_config_files
return self.config.parse_config_files(filenames)
File "/opt/OpenPython-2.7.1/lib/python2.7/site-packages/Distutils2-1.0a3-py2.7.egg/distutils2/config.py", line 193, in parse_config_files
self._read_setup_cfg(parser)
File "/opt/OpenPython-2.7.1/lib/python2.7/site-packages/Distutils2-1.0a3-py2.7.egg/distutils2/config.py", line 113, in _read_setup_cfg
raise DistutilsOptionError(msg)
NameError: global name 'DistutilsOptionError' is not defined |
kelseyhightower
mannequin
added
the
type-bug
An unexpected behavior, bug, or error
label
Jan 29, 2011
kelseyhightower
mannequin
changed the title
Missing DistutilsOptionError
Missing import of DistutilsOptionError
Jan 29, 2011
Fixed two NameErrors in that file in 801c90825cc1, thanks. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: