Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CaPTk 1.9.0 linux installer fails #1498

Open
MarkBergman-cbica opened this issue Jun 1, 2022 · 6 comments
Open

CaPTk 1.9.0 linux installer fails #1498

MarkBergman-cbica opened this issue Jun 1, 2022 · 6 comments

Comments

@MarkBergman-cbica
Copy link
Collaborator

Describe the bug
The CaPTk 1.9.0 Linux installer fails.

To Reproduce

Download from NITRC.

Call the installed with bash /path/to/installer or chmod the installer to be executable and call it directly.

Same behavior on CentOS7 (multiple environments) Fedora 34

bash ./CaPTk_1.9.0_Installer.bin 
Verifying archive integrity...  100%   All good.
Uncompressing CaPTk Linux Installer  100%  
By installing the Cancer and Phenomics Toolkit (CaPTk), the user agrees to the following licenses, which pertain to the code and its different constituents:

1. CBICA Software License - https://www.med.upenn.edu/cbica/software-agreement.html
2. CBICA Non-Commercial Software License (applies to PHI Estimator) - https://www.med.upenn.edu/cbica/software-agreement-non-commercial.html
3. Insight Toolkit License (Apache 2.0) - https://itk.org/about/#license
4. Visualization Toolkit License (BSD) - https://vtk.org/about/#license
5. Qt Open Source License - https://doc.qt.io/qt-5.10/qtcore-index.html#licenses-and-attributions; our copy can be found at https://github.com/CBICA/qt
6. SRI24 Atlas License (CC Attribution-ShareAlike) - https://creativecommons.org/licenses/by-sa/3.0/us/legalcode 
7. MRIcroGL License (BSD) - https://github.com/rordenlab/MRIcroGL12/blob/master/license.txt
8. YAML-CPP License (MIT) - https://opensource.org/licenses/MIT
9. Eigen License (MPL2) - https://www.mozilla.org/en-US/MPL/2.0/
I accept the terms of the licenses above [Y/N] Y
./linux-makeself: line 280: break: only meaningful in a `for', `while', or `until' loop
Installing to: /datil/home/bergman/Work/Penn/tmp
Creating /datil/home/bergman/Work/Penn/tmp/CaPTk/...
Creating /datil/home/bergman/Work/Penn/tmp/CaPTk/1.9.0/...
Checking disk space...
Checking for FUSE...
fusermount version: 2.9.9
./linux-makeself: line 109: [: !=: unary operator expected
chmod: cannot access '/datil/home/bergman/Work/Penn/tmp/CaPTk/1.9.0/CaPTk-1.9.0.bin': No such file or directory
WARNING: It appears as if something is wrong with your installation. Please make sure there is enough room on your disk, and that CaPTk-1.9.0.bin is present under ./CaPTk

Note that the "missing" file referenced in the error message ('/datil/home/bergman/Work/Penn/tmp/CaPTk/1.9.0/CaPTk-1.9.0.bin': No such file or directory) does exist and is executable and can be run successfully.

@waltman
Copy link

waltman commented Oct 31, 2022

I just hit this same error in Ubuntu 20.04:

% ./CaPTk_1.9.0_Installer.bin     
Verifying archive integrity...  100%   All good.
Uncompressing CaPTk Linux Installer  100%  
By installing the Cancer and Phenomics Toolkit (CaPTk), the user agrees to the following licenses, which pertain to the code and its different constituents:

1. CBICA Software License - https://www.med.upenn.edu/cbica/software-agreement.html
2. CBICA Non-Commercial Software License (applies to PHI Estimator) - https://www.med.upenn.edu/cbica/software-agreement-non-commercial.html
3. Insight Toolkit License (Apache 2.0) - https://itk.org/about/#license
4. Visualization Toolkit License (BSD) - https://vtk.org/about/#license
5. Qt Open Source License - https://doc.qt.io/qt-5.10/qtcore-index.html#licenses-and-attributions; our copy can be found at https://github.com/CBICA/qt
6. SRI24 Atlas License (CC Attribution-ShareAlike) - https://creativecommons.org/licenses/by-sa/3.0/us/legalcode 
7. MRIcroGL License (BSD) - https://github.com/rordenlab/MRIcroGL12/blob/master/license.txt
8. YAML-CPP License (MIT) - https://opensource.org/licenses/MIT
9. Eigen License (MPL2) - https://www.mozilla.org/en-US/MPL/2.0/
I accept the terms of the licenses above [Y/N] y
./linux-makeself: line 280: break: only meaningful in a `for', `while', or `until' loop
Installing to: /home/walt/Downloads
Creating /home/walt/Downloads/CaPTk/...
Creating /home/walt/Downloads/CaPTk/1.9.0/...
Checking disk space...
Checking for FUSE...
fusermount3 version: 3.10.5
./linux-makeself: line 109: [: !=: unary operator expected
chmod: cannot access '/home/walt/Downloads/CaPTk/1.9.0/CaPTk-1.9.0.bin': No such file or directory
WARNING: It appears as if something is wrong with your installation. Please make sure there is enough room on your disk, and that CaPTk-1.9.0.bin is present under ./CaPTk
% ls -l /home/walt/Downloads/CaPTk/1.9.0/CaPTk-1.9.0.bin
-rwxr-xr-x 1 walt walt 1641435112 May 28 04:36 /home/walt/Downloads/CaPTk/1.9.0/CaPTk-1.9.0.bin*

@mitchellxh
Copy link

Has there been any update to this? Anybody find a fix?

@xupengfei1009
Copy link

I had the same problem. Does anyone have a solution to the problem?

@mitchellxh
Copy link

mitchellxh commented Feb 11, 2023

Yes, here's how I installed it on Linux (CentOS 7):

INSTALL_DIR="/my/shared/filesystem"

--open execute permission on appimage and run
chmod +x CaPTk_1.9.0_Installer.bin
./CaPTk_1.9.0_Installer.bin --target $INSTALL_DIR

--will get fail statements on line #83 and #109
--remove the entire if statements line #83 and #109 and rerun ./linux_makeself
cd $INSTALL_DIR
./linux_makeself

--add execute permissions for the CaPTk dir
chmod +rx $INSTALL_DIR/CaPTk -R

--test install
captk

@Alhonainy21
Copy link

Hello,

I'm experiencing the same problem on Linux 20.04 as discussed. The current solution isn't fully working for me. Has anyone resolved this recently?

Thanks!

@rizvi-ha
Copy link

Any updates on this? Also experiencing this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants