[Python-bugs-list] [Bug #120994] Traceback with DISTUTILS_DEBUG set
noreply@sourceforge.net
noreply@sourceforge.net
Tue, 19 Dec 2000 16:48:40 -0800
Bug #120994, was updated on 2000-Nov-01 05:43
Here is a current snapshot of the bug.
Project: Python
Category: Distutils
Status: Closed
Resolution: None
Bug Group: None
Priority: 5
Submitted by: gward
Assigned to : gward
Summary: Traceback with DISTUTILS_DEBUG set
Details: Something is wrong in the 'dump_dirs()' method of the "install" command: it bombs with an AttributeError:
$ DISTUTILS_DEBUG=1 python setup.py install
[...]
running install
Distribution.get_command_obj(): creating 'install' command object
pre-finalize_{unix,other}:
prefix: None
exec_prefix: None
home: None
install_base: None
install_platbase: None
root: None
install_purelib: None
install_platlib: None
install_lib: None
install_headers: None
install_scripts: None
install_data: None
compile: None
Traceback (most recent call last):
File "setup.py", line 28, in ?
packages = ['distutils', 'distutils.command'],
File "distutils/core.py", line 138, in setup
dist.run_commands()
File "distutils/dist.py", line 829, in run_commands
self.run_command(cmd)
File "distutils/dist.py", line 848, in run_command
cmd_obj.ensure_finalized()
File "distutils/cmd.py", line 112, in ensure_finalized
self.finalize_options()
File "distutils/command/install.py", line 240, in finalize_options
self.dump_dirs("pre-finalize_{unix,other}")
File "distutils/command/install.py", line 338, in dump_dirs
val = getattr(self, opt_name)
File "distutils/cmd.py", line 107, in __getattr__
raise AttributeError, attr
AttributeError: no_compile
Not sure what's going on here...
Follow-Ups:
Date: 2000-Dec-19 16:48
By: akuchling
Comment:
Fixed by a one-line patch (forgotten variable initialization)
-------------------------------------------------------
Date: 2000-Nov-07 04:46
By: nobody
Comment:
Please put the patch in the Patch Manager instead!
--Guido
-------------------------------------------------------
Date: 2000-Nov-07 02:05
By: calvin
Comment:
I submitted a patch for this on the mailling list.
-------------------------------------------------------
For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=120994&group_id=5470