View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002649 | Slicer4 | Core: Scripting (Wrapping, Python) | public | 2012-10-15 14:07 | 2017-06-07 23:27 |
Reporter | mgrauer | Assigned To | jcfr | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Product Version | |||||
Target Version | Slicer 4.2.0 | Fixed in Version | Slicer 4.2.0 | ||
Summary | 0002649: Allow distribute to be installed directly using Slicer executable | ||||
Description | 1) curl -O http://python-distribute.org/distribute_setup.py Number of registered modules: 1 | ||||
Tags | No tags attached. | ||||
Fixed in r21208 |
|
I tested this with the nightly binary build 10-24-2012 on Linux and it worked correctly. |
|
Fix committed to 1683-launcher-with-output branch. |
|
Slicer: 1683-launcher-with-output 9bbd0780 2012-10-15 18:28:52 Details Diff |
COMP: Install pyconfig.h required to install distribute in an installed tree It will fix the following error: error: invalid Python installation: unable to open /home/jchris/Projects/Slicer4-Superbuild-Debug/Slicer-build/_CPack_Packages/linux-amd64/TGZ/Slicer-4.1.0-2012-10-15-linux-amd64/lib/Python/include/python2.6/pyconfig.h (No such file or directory) Something went wrong during the installation. occurring when install distribute applying the following steps: 1) curl -O http://python-distribute.org/distribute_setup.py 2) ./Slicer --launch /usr/bin/python2.6 distribute_setup.py Note: A different error occurs when "distribute_setup.py" is executed directly using Slicer executable: Traceback (most recent call last): File "<string>", line 1, in <module> File "setup.py", line 8, in <module> os.chdir(os.path.dirname(os.path.abspath(__file__))) NameError: name '__file__' is not defined This is tracked by issue 0002649 See http://www.na-mic.org/Bug/view.php?id=2636 Fixes 0002636 git-svn-id: http://svn.slicer.org/Slicer4/trunk@21191 3bd1e089-480b-0410-8dfb-8563597acbee |
||
mod - CMake/SlicerBlockInstallPython.cmake | Diff File | ||
Slicer: 1683-launcher-with-output 53e2875d 2012-10-17 18:48:19 Details Diff |
BUG: Ensure __file__ attribute is defined when running python script See http://www.na-mic.org/Bug/view.php?id=2649 Fixes 0002649 git-svn-id: http://svn.slicer.org/Slicer4/trunk@21208 3bd1e089-480b-0410-8dfb-8563597acbee |
||
mod - Base/QTGUI/qSlicerScriptedLoadableModule.cxx | Diff File | ||
mod - Base/QTGUI/qSlicerScriptedLoadableModuleWidget.cxx | Diff File | ||
mod - SuperBuild/External_CTK.cmake | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-10-15 14:07 | jcfr | New Issue | |
2012-10-15 14:07 | jcfr | Status | new => assigned |
2012-10-15 14:07 | jcfr | Assigned To | => jcfr |
2012-10-15 14:08 | jcfr | Target Version | => Slicer 4.2.0 - coming release |
2012-10-15 14:08 | jcfr | Relationship added | related to 0002636 |
2012-10-17 09:44 | jcfr | Reporter | jcfr => mgrauer |
2012-10-17 14:49 | jcfr | Note Added: 0006606 | |
2012-10-17 14:49 | jcfr | Status | assigned => resolved |
2012-10-17 14:49 | jcfr | Fixed in Version | => Slicer 4.2.0 - coming release |
2012-10-17 14:49 | jcfr | Resolution | open => fixed |
2012-10-29 06:17 | mgrauer | Note Added: 0006833 | |
2012-10-29 06:17 | mgrauer | Status | resolved => closed |
2017-06-07 23:27 | jcfr | Changeset attached | => Slicer 1683-launcher-with-output 53e2875d |
2017-06-07 23:27 | jcfr | Changeset attached | => Slicer 1683-launcher-with-output 9bbd0780 |
2017-06-07 23:27 | jcfr | Note Added: 0014544 |