View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003052 | Slicer4 | Core: Building (CMake, Superbuild) | public | 2013-04-05 06:23 | 2017-06-07 23:27 |
Reporter | pieper | Assigned To | jcfr | ||
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | |||||
Target Version | Slicer 4.3.0 | Fixed in Version | Slicer 4.3.0 | ||
Summary | 0003052: cannot load any sample data - urllib not build correctly | ||||
Description | With a fresh mac build that uses the new cmakeified python I cannot download sample data | ||||
Steps To Reproduce | Start slicer | ||||
Additional Information | Here's the info in the terminal where I started slicer: Show module (name): "SampleData" | ||||
Tags | No tags attached. | ||||
Note the same issue prevents SimpleITK's python wrapping from building. The following build error occurred after enabling SimpleITK on a build of slicer that otherwise completed and ran. Scanning dependencies of target SimpleITK_PYTHON CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. 0000006 Slicer-superbuild $ |
|
Fixed in r21869 BUG: Fix import of urllib MacOsx by updating CMake'ified python Thanks to Steve Pieper for reporting the issue. Following Slicer commit r21863 and commit r21867, CMake'ified python is // --------- File "/Users/pieper/slicer4/latest/Slicer-superbuild/Slicer-build/lib/Slicer-4.2/qt-scripted-modules/SampleData.py", line 192, in downloadFile The associated commit in CMake'ified python is: |
|
Thanks for the quick fix! |
|
Fix committed to 2145-support-for-installing-extension-from-file branch. |
|
Slicer: 2145-support-for-installing-extension-from-file 9a1d72e0 2013-04-05 12:09:51 Details Diff |
BUG: Fix import of urllib MacOsx by updating CMake'ified python Thanks to Steve Pieper for reporting the issue. Following Slicer commit r21863 and commit r21867, CMake'ified python is used to build Slicer. This commit update the python project so that the python extension _scproxy is also built. // --------- The error being fixed was: File "/Users/pieper/slicer4/latest/Slicer-superbuild/Slicer-build/lib/Slicer-4.2/qt-scripted-modules/SampleData.py", line 192, in downloadFile import urllib File "/Users/pieper/slicer4/latest/Slicer-superbuild/python-install/lib/python2.7/urllib.py", line 1379, in <module> from _scproxy import _get_proxy_settings, _get_proxies ImportError: No module named _scproxy // --------- The associated commit in CMake'ified python is: https://github.com/davidsansome/python-cmake-buildsystem/commit/a813b59647eb40b8c6a3411eee83268ae98c9452 See http://na-mic.org/Bug/view.php?id=3052 Fixes 0003052 git-svn-id: http://svn.slicer.org/Slicer4/trunk@21869 3bd1e089-480b-0410-8dfb-8563597acbee |
||
mod - SuperBuild/External_python.cmake | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2013-04-05 06:23 | pieper | New Issue | |
2013-04-05 06:23 | pieper | Status | new => assigned |
2013-04-05 06:23 | pieper | Assigned To | => jcfr |
2013-04-05 06:51 | pieper | Note Added: 0008317 | |
2013-04-05 08:10 | jcfr | Note Added: 0008319 | |
2013-04-05 08:10 | jcfr | Status | assigned => resolved |
2013-04-05 08:10 | jcfr | Fixed in Version | => Slicer 4.3.0 |
2013-04-05 08:10 | jcfr | Resolution | open => fixed |
2013-04-05 10:21 | pieper | Relationship added | related to 0003055 |
2013-04-05 10:21 | pieper | Note Added: 0008322 | |
2013-04-05 10:21 | pieper | Status | resolved => closed |
2017-06-07 23:27 | jcfr | Changeset attached | => Slicer 2145-support-for-installing-extension-from-file 9a1d72e0 |
2017-06-07 23:27 | jcfr | Note Added: 0014651 |