MantisBT - VTK | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0013699 | VTK | (No Category) | public | 2012-12-04 08:39 | 2012-12-04 09:41 |
| Reporter | Samuel John | ||||
| Assigned To | David Gobbi | ||||
| Priority | high | Severity | minor | Reproducibility | have not tried |
| Status | closed | Resolution | fixed | ||
| Platform | OS | OS Version | |||
| Product Version | 5.8.0 | ||||
| Target Version | Fixed in Version | ||||
| Project | TBD | ||||
| Type | incorrect functionality | ||||
| Summary | 0013699: 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`. | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2012-12-04 08:39 | Samuel John | New Issue | |||
| 2012-12-04 09:10 | David Gobbi | Assigned To | => David Gobbi | ||
| 2012-12-04 09:10 | David Gobbi | Status | backlog => tabled | ||
| 2012-12-04 09:17 | David Gobbi | Note Added: 0029829 | |||
| 2012-12-04 09:21 | Samuel John | Note Added: 0029830 | |||
| 2012-12-04 09:41 | David Gobbi | Status | tabled => closed | ||
| 2012-12-04 09:41 | David Gobbi | Resolution | open => fixed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||