View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003075 | Slicer4 | Core: Base Code | public | 2013-04-16 21:43 | 2017-06-07 23:27 |
Reporter | bmoloney | Assigned To | jcfr | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | Slicer 4.2.2-1 | ||||
Target Version | Slicer 4.3.0 | Fixed in Version | Slicer 4.3.0 | ||
Summary | 0003075: Can't launch program through symlink | ||||
Description | I have symbolic links for Slicer3, Slicer4, and Slicer (currently defaults to Slicer4). This worked with version 4.1 but as of 4.2 launching through a symbolic links results in the error: "Failed to obtain launcher executable name" | ||||
Tags | No tags attached. | ||||
Hi, Would it be possible to provide more details ? I just tried on Linux using 4.2.2-1 and on both Linux and MacOSX using the Nightly and it worked without any issue. cd Projects Which platform / OS are you using ? The launcher code in charge of resolving the symlink target is the following: https://github.com/commontk/AppLauncher/blob/c1ba69aa0b7cfccbc59e4fc430bb8d63f8ef750c/Base/ctkAppLauncher.cpp#L383-408 |
|
Hmm, it seems this only happens when the symlink already exists and after a while it goes away. I am guessing it is some sort of NFS caching issue. You can go ahead and close the issue. Thank you and sorry for the noise. |
|
Hmm, scratch that. I still have the issue but for some reason it was masked by having created a symlink in my current working directory while testing (even though I was calling the one on my PATH). Your test case does not cause the problem for me, however I can reliably recreate this with: $ mkdir /path/to/test_bin This is on Linux. |
|
This bug also prevents adding "Slicer" binary to the PATH variable (with or without symlinks). It's especially problematic if one would like to use CLI modules using the "Slicer --launch" syntax. |
|
Yes, I think the primary issue is launching Slicer through the PATH and symlinks are not actually the problem. |
|
I've just tested symliking and it works - it is only the problem with PATH. |
|
Here is a topic that is addressing the problem: https://github.com/jcfr/AppLauncher/compare/commontk:master...39-support-launcher-symlink-in-path Associated issue: https://github.com/commontk/AppLauncher/issues/39 This will soon be integrated to CTKAppLauncher master. Then, after releasing a new set of launcher packages and updated Slicer to use these ... the problem should be fixed. |
|
Fixed in r22389 |
|
Closing resolved issues that have not been updated in more than 3 months |
|
Fix committed to 2145-support-for-installing-extension-from-file branch. |
|
Slicer: 2145-support-for-installing-extension-from-file 6fbd582a 2013-09-03 01:58:20 Details Diff |
BUG: With "--launch" arg - Add symlink support / Do not show splashscreen Fixes 0002356 Fixes 0003075 git-svn-id: http://svn.slicer.org/Slicer4/trunk@22389 3bd1e089-480b-0410-8dfb-8563597acbee |
||
mod - SuperBuild/External_CTKAPPLAUNCHER.cmake | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2013-04-16 21:43 | bmoloney | New Issue | |
2013-04-16 21:43 | bmoloney | Status | new => assigned |
2013-04-16 21:43 | bmoloney | Assigned To | => jcfr |
2013-04-18 07:29 | jcfr | Note Added: 0008434 | |
2013-04-18 07:29 | jcfr | Status | assigned => feedback |
2013-04-18 07:29 | jcfr | Target Version | => Slicer 4.3.0 |
2013-04-18 12:20 | bmoloney | Note Added: 0008438 | |
2013-04-18 12:37 | bmoloney | Note Added: 0008440 | |
2013-04-18 13:20 | jcfr | Note Edited: 0008440 | |
2013-05-07 01:38 | ChrisG | Note Added: 0008566 | |
2013-05-09 12:25 | bmoloney | Note Added: 0008603 | |
2013-05-10 01:34 | ChrisG | Note Added: 0008606 | |
2013-05-13 18:48 | jcfr | Note Added: 0008634 | |
2013-09-02 21:58 | jcfr | Note Added: 0009813 | |
2013-09-02 21:58 | jcfr | Status | feedback => resolved |
2013-09-02 21:58 | jcfr | Fixed in Version | => Slicer 4.3.0 |
2013-09-02 21:58 | jcfr | Resolution | open => fixed |
2014-03-06 05:00 | jcfr | Note Added: 0010858 | |
2014-03-06 05:02 | jcfr | Status | resolved => closed |
2017-06-07 23:27 | jcfr | Changeset attached | => Slicer 2145-support-for-installing-extension-from-file 6fbd582a |
2017-06-07 23:27 | jcfr | Note Added: 0014596 |