[vtk-developers] [VTK 0013699]: Bug in Wrapping/Python/setup_install_paths.py

Mantis Bug Tracker mantis at public.kitware.com
Tue Dec 4 08:39:44 EST 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://vtk.org/Bug/view.php?id=13699 
====================================================================== 
Reported By:                Samuel John
Assigned To:                
====================================================================== 
Project:                    VTK
Issue ID:                   13699
Category:                   (No Category)
Reproducibility:            have not tried
Severity:                   minor
Priority:                   high
Status:                     backlog
Project:                    TBD 
Type:                       incorrect functionality 
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             2012-12-04 08:39 EST
Last Modified:              2012-12-04 08:39 EST
====================================================================== 
Summary:                    Bug in Wrapping/Python/setup_install_paths.py
Description: 
Handling of options is in Wrapping/Python/setup_install_paths.py is buggy.

In line 38 of Wrapping/Python/setup_install_paths.py in Vtk 5.10, there is
`options[option] = 1` to handle command line options that do not contain a "=". 
However, "option" is not set or set to the value from the previous command arg
if an ValueError in the  `option, value = string.split(arg,"=")` operation is
raised.

The line 38 should contain `options[arg] = 1` because `arg` is the right thing
here.

To see the bug call `python  Wrapping/Python/setup_install_paths.py purelib
--prefix=/homebrew/Cellar/vtk/5.10.0 --single-version-externally-managed`.
You'll find that `options['--prefix']==1`.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-12-04 08:39 Samuel John    New Issue                                    
======================================================================




More information about the vtk-developers mailing list