Skip to content
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

Closed
kelseyhightower mannequin opened this issue Jan 29, 2011 · 3 comments
Closed

Missing import of DistutilsOptionError #55266

kelseyhightower mannequin opened this issue Jan 29, 2011 · 3 comments
Assignees
Labels
type-bug An unexpected behavior, bug, or error

Comments

@kelseyhightower
Copy link
Mannequin

kelseyhightower mannequin commented Jan 29, 2011

BPO 11057
Nosy @tarekziade, @merwok

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:

assignee = 'https://github.com/merwok'
closed_at = <Date 2011-01-29.17:49:48.271>
created_at = <Date 2011-01-29.10:38:20.772>
labels = ['type-bug']
title = 'Missing import of DistutilsOptionError'
updated_at = <Date 2011-01-29.17:49:48.270>
user = 'https://bugs.python.org/kelseyhightower'

bugs.python.org fields:

activity = <Date 2011-01-29.17:49:48.270>
actor = 'eric.araujo'
assignee = 'eric.araujo'
closed = True
closed_date = <Date 2011-01-29.17:49:48.271>
closer = 'eric.araujo'
components = ['Distutils2']
creation = <Date 2011-01-29.10:38:20.772>
creator = 'kelsey.hightower'
dependencies = []
files = []
hgrepos = []
issue_num = 11057
keywords = []
message_count = 3.0
messages = ['127396', '127397', '127433']
nosy_count = 3.0
nosy_names = ['tarek', 'eric.araujo', 'kelsey.hightower']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue11057'
versions = ['3rd party']

@kelseyhightower
Copy link
Mannequin Author

kelseyhightower mannequin commented Jan 29, 2011

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 kelseyhightower mannequin added the type-bug An unexpected behavior, bug, or error label Jan 29, 2011
@kelseyhightower
Copy link
Mannequin Author

kelseyhightower mannequin commented Jan 29, 2011

@kelseyhightower kelseyhightower mannequin changed the title Missing DistutilsOptionError Missing import of DistutilsOptionError Jan 29, 2011
@merwok
Copy link
Member

merwok commented Jan 29, 2011

Fixed two NameErrors in that file in 801c90825cc1, thanks.

@merwok merwok assigned merwok and unassigned tarekziade Jan 29, 2011
@merwok merwok closed this as completed Jan 29, 2011
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

1 participant