-
Notifications
You must be signed in to change notification settings - Fork 4
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
Problem with Install CMTK on windows machine #12
Comments
PS @mkunst23, Can I check that you are using the Fiji gui installer/updater? |
Hi @mkunst23 I've just pushed a possible workaround. Can you try running: Plugins ... CMTK Registration ... Developer ... Update To Developer Version (just persist if you get an err message about contacting github) and then re-running Plugins ... CMTK Registration ... Install CMTK. Let me know how it goes. Best, Greg. |
Hey Greg, Thanks for the quick response. To answer your first question. Yes I used the Fiji gui installer/updater. I tried to update jython but that wasn't the problem. I also did this step recommended by you in an earlier post Again, no difference When I tried to update to the developer version I get the error message: "Unable to read github repository" When I click that away Fiji quits on me. I don't think Fiji has any problems installing CMTK because I can find the cmtk folder in the Fiji.app/bin folder. A more naive question, when I want to install CMTK via Fiji, I can't find the windows version of CMTK in the pull down menu, probably because it only displays the most recent version of CMTK (3.2.3) and the most current version for Windows is 3.2.2, could this be the problem? I have no problem running CMTK from the command line on this computer, so in theory it should work with Fiji as well. When I try to run the CMTL GUI I get the following messages: Upon start of CMTK GUI The system cannot find the path specified. When I run CMTK Traceback (most recent call last): Best, |
Hi Michael, Thanks for going through these steps. Comments inline below.
OK
Was that the link you meant?
There is something strange with github there, possibly because I haven't registered for an application token and github refuses to accept repeated API requests. If you try again in a minute it should work.
I have now fixed the quitting Fiji error with Update to Developer version (see #13).
You are right that this problem does not prevent CMTK from being installed, but rather produces a crash on cleanup.
In terms of windows versus cygwin versions, I am a bit handicapped because I do not have a Windows machine to test on. I think that I would need to produce a different script file to run directly on Windows versus with cygwin (what the app presently expects). The general idea of this GUI is that it tries to write a script that can call CMTK installed underneath Fiji. For Windows I guess this needs to be a bat file, but at the moment it writes a .sh file for use with the cygwin shell.
Actually this tool installs a separate installation of CMTK underneath the Fiji app to ensure that it knows the location/version of CMTK. So the system CMTK is not relevant. I have an open ticket to use the system CMTK (see #6) but this is actually slightly involved.
Can you give any more details here?
The run option is still experimental and will not work on Windows at the moment because the resultant sh script is a unix/linux/cygwin style schell script rather than a bat file. I have marked this in the GUI app in commit 41047c4
this is the relevant bit. Indeed Sorry not to have an immediate answer, but debugging Windows is difficult for me. Best, Greg. |
Hey Greg, thanks for your response. It helped clarify things to me. Judging from what you said it is probably the easiest to use Cygwin and not worry about the Windows version. I'll let you know if I run into any problems there. Best, |
Hi,
I'm trying to install CMTK using the "CMTK install" plugin of the CMTK registration.
I'm not quite sure which CMTK version I should download. I used the "CMTK-3-2-3-CYGWIN-x86_64.tar.gz" since I couldn't find the windows version in the drop-down menu. When I try that I get the following error message
Traceback (most recent call last):
File "C:\Users\mkunst\Desktop\Fiji.app\plugins\CMTK_Registration\Install_CMTK.py", line 77, in
cmtkgui.download_and_untar_url(download_url,cmtkgui.install_dir(),untar_binaries,download_file)
File "pyclasspath/cmtkgui$py.class", line 370, in download_and_untar_url
File "C:\Users\mkunst\Desktop\Fiji.app\jars\jython-shaded-2.5.3.jar\Lib\tempfile.py", line 411, in close
OSError: unlink(): an unknown error occuredc:\users\mkunst\appdata\local\temp\tmp31zxdkCMTK-3.2.3-CYGWIN-x86_64.tar.gz
Best,
Michael
The text was updated successfully, but these errors were encountered: