View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003218 | Slicer4 | Core: Extensions | public | 2013-07-10 10:43 | 2017-06-07 23:27 |
Reporter | lassoan | Assigned To | jcfr | ||
Priority | low | Severity | major | Reproducibility | sometimes |
Status | closed | Resolution | fixed | ||
Product Version | |||||
Target Version | Fixed in Version | Slicer 4.5.0-1 | |||
Summary | 0003218: Loadable module loading from extension fails on linux | ||||
Description | Loading of loadable modules from extensions fail on certain linux computers. CLI modules work fine. See details below. From: slicer-devel-bounces@bwh.harvard.edu [mailto:slicer-devel-bounces@bwh.harvard.edu] On Behalf Of Andras Lasso I also have this error, it is reproducible with the LoadableExtensionTemplate extension (and MatlabBridge and probably with all other loadable modules distributed in an extension). After installing the LoadableExtensionTemplate extension and restarting Slicer this error is logged: “Error(s): Cannot load library /data/image/home/usr/staff/lasso/.config/NA-MIC/Extensions-22162/LoadableExtensionTemplate/lib/Slicer-4.2/qt-loadable-modules/libqSlicerLoadableModuleTemplateModule.so: (libvtkSlicerLoadableModuleTemplateModuleLogic.so: cannot open shared object file: No such file or directory)”, and the module is not loaded. This may be related to the OS version, permissions, or other configuration settings, as I can reproduce the error on a server running Ubuntu 10.04.4 LTS, but not on a virtual machine with running Ubuntu 12.04 LTS. Andras From: slicer-devel-bounces@bwh.harvard.edu [mailto:slicer-devel-bounces@bwh.harvard.edu] On Behalf Of Ryan Eckbo Yesterday I had the UKF module working on Mac and Linux as a slicer build and extension build. Now this morning on Linux the extension gives any ideas? Also there was no mac build last night. | ||||
Tags | No tags attached. | ||||
The problem is the same with the stable (Slicer 4.2.2-1) release. |
|
If I manually add the /data/image/home/usr/staff/lasso/.config/NA-MIC/Extensions-22162/LoadableExtensionTemplate/lib/Slicer-4.2/qt-loadable-modules directory to the LD_LIBRARY_PATH path before starting Slicer then everything works. |
|
Fixed in r22170 |
|
Unfortunately, this issue is still present in Slicer-4.3.1. It fails exactly the same way on my linux computer and also reported by a user (http://na-mic.org/Mantis/view.php?id=3456). If I add the following lines to the SlicerLauncherSettings.ini file's [LibraryPaths] section then everything works well: 15\path=/data/image/home/usr/staff/lasso/.config/NA-MIC/Extensions-22599/MatlabBridge/lib/Slicer-4.3/qt-loadable-modules This may be related to the OS version, permissions, or other configuration settings, as I can reproduce the error on a server running Ubuntu 10.04.4 LTS, but not on a virtual machine with running Ubuntu 12.04 LTS. |
|
Extension install fails for one more linux user: It might not be the highest priority but probably should not be set to low priority. |
|
Reports keep coming... From: slicer-users-bounces@bwh.harvard.edu [mailto:slicer-users-bounces@bwh.harvard.edu] On Behalf Of Csaba Pinter Hi Matthew, I have the same problem, see Please try to apply the workaround as explained here: Let me know how it goes! Cheers, From: slicer-users-bounces@bwh.harvard.edu [mailto:slicer-users-bounces@bwh.harvard.edu] On Behalf Of Csaba Pinter Re-including the Slicer users mailing list... SlicerRT have worked on Ubuntu 12.04 and we didn’t release a new version since then, so I don’t have an obvious answer. I’ll check tomorrow on my Linux computer in the lab. Cheers, From: Strugari, Matthew SCA [mailto:Matthew.Strugari@saskcancer.ca] Hi Csaba, The Radiotherapy category does not show up and none of the of modules are present within the entire loaded module list. Matthew -----Original Message----- Re-including the Slicer users mailing list... The SlicerRT extension does not show up as an individual module, but as several modules in the Radiotherapy category. See module descriptions here: csaba From: Strugari, Matthew SCA [mailto:Matthew.Strugari@saskcancer.ca] I am using the Linux platform. Specifically Ubuntu 12.04. I have not been able to use SlicerRT since the March 14th nightly build. The module is displayed as installed and enabled but it does not show up anywhere within Slicer. Matthew -----Original Message----- Which platform are you on? In the last several days the nightly builds got unstable due to migration from VTK version 5 to 6, so in any case I suggest using the nightly for April 24 (when the last successful Windows build happened). csaba From: slicer-users-bounces@bwh.harvard.edu<mailto:slicer-users-bounces@bwh.harvard.edu> [mailto:slicer-users-bounces@bwh.harvard.edu] On Behalf Of Strugari, Matthew SCA How can I get the SlicerRT module to load in the Slicer nightly builds? I have installed it through the Extensions Manager but I have not been able to load and use it on the last few nightly builds. Thanks. Matthew |
|
Another probable occurrence: On Mon, May 12, 2014 at 5:43 AM, elena bresciani wrote: |
|
Another occurrence: |
|
Apparently, many users have this issue (the above cases are just those that we hear about). It might not be the highest priority issue right now, but probably this issue should not stay at low priority. |
|
Fix committed to 2145-support-for-installing-extension-from-file branch. |
|
Slicer: 2145-support-for-installing-extension-from-file a12652fe 2013-07-12 12:47:38 Details Diff |
BUG: Fix launcher settings to allow loading of extension in unix build tree This commit restores the correct loading of extension installed in a Slicer build tree. It contains a fix related to ITKv4 transition and fix related to transition from DCMTK static libraries to shared libraries (r21914) Following the transition to ITKv4, the libraries (*.so) were built in the lib directory [1] whereas in ITKv3, the libraries were built in the bin directory [2]. [1] https://github.com/Kitware/ITK/blob/1839b74bacfd455dd917b086466c882ed29606ba/CMakeLists.txt#L164-174 [2] https://github.com/Kitware/ITK/blob/v3.20.1/CMakeLists.txt#L93-99 Following the transition to using DCMTK shared libraries (r21914 [3]), a follow-up commit (r21942 [4]) has been pushed to ensure Slicer could be started from a build tree on windows. [3] http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=21914 [4] http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=21942 In both case (ITKv4 and DCMTK), Slicer could be started successfully from a build tree on Windows (thanks to the launcher settings), and started successfully on Unix system (thanks to rpath). On the other hand, since the launcher settings were incorrect on unix system, the loading of installed extensions (having rpath stripped) in a unix build tree was failing. Fixes 0003218 git-svn-id: http://svn.slicer.org/Slicer4/trunk@22170 3bd1e089-480b-0410-8dfb-8563597acbee |
||
mod - CMake/SlicerBlockCTKAppLauncherSettings.cmake | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2013-07-10 10:43 | lassoan | New Issue | |
2013-07-10 10:43 | lassoan | Status | new => assigned |
2013-07-10 10:43 | lassoan | Assigned To | => jcfr |
2013-07-10 10:52 | lassoan | Note Added: 0008991 | |
2013-07-10 11:09 | lassoan | Note Added: 0008992 | |
2013-07-10 11:12 | jcfr | Priority | normal => high |
2013-07-10 11:12 | jcfr | Target Version | => Slicer 4.3.0 |
2013-07-12 08:48 | jcfr | Note Added: 0009025 | |
2013-07-12 08:48 | jcfr | Status | assigned => resolved |
2013-07-12 08:48 | jcfr | Fixed in Version | => Slicer 4.3.0 |
2013-07-12 08:48 | jcfr | Resolution | open => fixed |
2013-10-23 21:29 | lassoan | Note Added: 0010214 | |
2013-10-23 21:30 | lassoan | Status | resolved => assigned |
2014-03-07 09:48 | jcfr | Priority | high => low |
2014-03-07 09:48 | jcfr | Status | assigned => acknowledged |
2014-03-07 09:48 | jcfr | Fixed in Version | Slicer 4.3.0 => |
2014-03-07 09:48 | jcfr | Target Version | Slicer 4.3.0 => |
2014-04-24 18:48 | lassoan | Note Added: 0011667 | |
2014-05-12 07:04 | lassoan | Note Added: 0011719 | |
2014-05-12 07:08 | lassoan | Note Added: 0011720 | |
2014-07-18 09:41 | pinter | Note Added: 0012194 | |
2014-07-18 11:05 | lassoan | Note Added: 0012196 | |
2014-07-22 11:06 | jcfr | Relationship added | related to 0003730 |
2014-07-22 13:50 | jcfr | Relationship added | related to 0003771 |
2017-03-30 15:06 | inorton | Status | acknowledged => closed |
2017-03-30 15:06 | inorton | Fixed in Version | => Slicer 4.5.0-1 |
2017-06-07 23:27 | jcfr | Changeset attached | => Slicer 2145-support-for-installing-extension-from-file a12652fe |
2017-06-07 23:27 | jcfr | Note Added: 0014638 |