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

Trouble installing CMTK on MacOS #22

Open
kaixinchua opened this issue Jul 26, 2024 · 0 comments
Open

Trouble installing CMTK on MacOS #22

kaixinchua opened this issue Jul 26, 2024 · 0 comments

Comments

@kaixinchua
Copy link

kaixinchua commented Jul 26, 2024

Hi jefferis,

I've been using this cmtk GUI for quite sometime, but recently had to install Fiji and CMTK onto a new Mac. I've run into problems trying to install. I've followed all the instructions that worked for me earlier this year, where I installed the plugins via Fiji's Update.. > CMTK. I've also installed IMCF Unibas as previously advised on this forum. My problem comes from trying to install CMTK when I go to Plugins > CMTK > Install CMTK.

This is the error message that I've been getting from imageJ's console:

[ERROR] Traceback (most recent call last):
File "CMTK_Registration/Install_CMTK.py", line 81, in
File "/Applications/Fiji.app/plugins/CMTK_Registration/cmtkgui.py", line 336, in download_and_untar_url
u = urllib2.urlopen(download_url)
File "/Applications/Fiji.app/jars/jython-slim-2.7.2.jar/Lib/urllib2.py", line 154, in urlopen
File "/Applications/Fiji.app/jars/jython-slim-2.7.2.jar/Lib/urllib2.py", line 435, in open
File "/Applications/Fiji.app/jars/jython-slim-2.7.2.jar/Lib/urllib2.py", line 547, in http_response
File "/Applications/Fiji.app/jars/jython-slim-2.7.2.jar/Lib/urllib2.py", line 473, in error
File "/Applications/Fiji.app/jars/jython-slim-2.7.2.jar/Lib/urllib2.py", line 407, in _call_chain
File "/Applications/Fiji.app/jars/jython-slim-2.7.2.jar/Lib/urllib2.py", line 556, in http_error_default
urllib2.HTTPError: HTTP Error 400: Bad Request

at org.python.core.PyException.doRaise(PyException.java:239)
at org.python.core.Py.makeException(Py.java:1638)
at org.python.core.Py.makeException(Py.java:1642)
at org.python.core.Py.makeException(Py.java:1646)
at urllib2$py.http_error_default$49(/Applications/Fiji.app/jars/jython-slim-2.7.2.jar/Lib/urllib2.py:556)
at urllib2$py.call_function(/Applications/Fiji.app/jars/jython-slim-2.7.2.jar/Lib/urllib2.py)
at org.python.core.PyTableCode.call(PyTableCode.java:173)
at org.python.core.PyBaseCode.call(PyBaseCode.java:306)
at org.python.core.PyBaseCode.call(PyBaseCode.java:197)
at org.python.core.PyFunction.__call__(PyFunction.java:485)
at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:237)
at org.python.core.PyMethod.__call__(PyMethod.java:228)
at org.python.core.PyMethod.__call__(PyMethod.java:223)
at org.python.core.PyObject._callextra(PyObject.java:589)
at urllib2$py._call_chain$36(/Applications/Fiji.app/jars/jython-slim-2.7.2.jar/Lib/urllib2.py:404)
at urllib2$py.call_function(/Applications/Fiji.app/jars/jython-slim-2.7.2.jar/Lib/urllib2.py)
at org.python.core.PyTableCode.call(PyTableCode.java:173)
at org.python.core.PyBaseCode.call(PyBaseCode.java:306)
at org.python.core.PyBaseCode.call(PyBaseCode.java:197)
at org.python.core.PyFunction.__call__(PyFunction.java:485)
at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:237)
at org.python.core.PyMethod.__call__(PyMethod.java:228)
at org.python.core.PyMethod.__call__(PyMethod.java:223)
at org.python.core.PyObject._callextra(PyObject.java:589)
at urllib2$py.error$39(/Applications/Fiji.app/jars/jython-slim-2.7.2.jar/Lib/urllib2.py:473)
at urllib2$py.call_function(/Applications/Fiji.app/jars/jython-slim-2.7.2.jar/Lib/urllib2.py)
at org.python.core.PyTableCode.call(PyTableCode.java:173)
at org.python.core.PyBaseCode.call(PyBaseCode.java:306)
at org.python.core.PyBaseCode.call(PyBaseCode.java:197)
at org.python.core.PyFunction.__call__(PyFunction.java:485)
at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:237)
at org.python.core.PyMethod.__call__(PyMethod.java:228)
at org.python.core.PyMethod.__call__(PyMethod.java:218)
at urllib2$py.http_response$47(/Applications/Fiji.app/jars/jython-slim-2.7.2.jar/Lib/urllib2.py:550)
at urllib2$py.call_function(/Applications/Fiji.app/jars/jython-slim-2.7.2.jar/Lib/urllib2.py)
at org.python.core.PyTableCode.call(PyTableCode.java:173)
at org.python.core.PyBaseCode.call(PyBaseCode.java:168)
at org.python.core.PyFunction.__call__(PyFunction.java:437)
at org.python.core.PyMethod.__call__(PyMethod.java:156)
at urllib2$py.open$37(/Applications/Fiji.app/jars/jython-slim-2.7.2.jar/Lib/urllib2.py:437)
at urllib2$py.call_function(/Applications/Fiji.app/jars/jython-slim-2.7.2.jar/Lib/urllib2.py)
at org.python.core.PyTableCode.call(PyTableCode.java:173)
at org.python.core.PyBaseCode.call(PyBaseCode.java:187)
at org.python.core.PyFunction.__call__(PyFunction.java:449)
at org.python.core.PyMethod.__call__(PyMethod.java:171)
at urllib2$py.urlopen$1(/Applications/Fiji.app/jars/jython-slim-2.7.2.jar/Lib/urllib2.py:154)
at urllib2$py.call_function(/Applications/Fiji.app/jars/jython-slim-2.7.2.jar/Lib/urllib2.py)
at org.python.core.PyTableCode.call(PyTableCode.java:173)
at org.python.core.PyBaseCode.call(PyBaseCode.java:306)
at org.python.core.PyBaseCode.call(PyBaseCode.java:126)
at org.python.core.PyFunction.__call__(PyFunction.java:416)
at cmtkgui$py.download_and_untar_url$26(/Applications/Fiji.app/plugins/CMTK_Registration/cmtkgui.py:370)
at cmtkgui$py.call_function(/Applications/Fiji.app/plugins/CMTK_Registration/cmtkgui.py)
at org.python.core.PyTableCode.call(PyTableCode.java:173)
at org.python.core.PyBaseCode.call(PyBaseCode.java:306)
at org.python.core.PyBaseCode.call(PyBaseCode.java:176)
at org.python.core.PyFunction.__call__(PyFunction.java:449)
at org.python.pycode._pyx6.f$0(CMTK_Registration/Install_CMTK.py:81)
at org.python.pycode._pyx6.call_function(CMTK_Registration/Install_CMTK.py)
at org.python.core.PyTableCode.call(PyTableCode.java:173)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.Py.runCode(Py.java:1687)
at org.python.core.__builtin__.eval(__builtin__.java:497)
at org.python.core.__builtin__.eval(__builtin__.java:501)
at org.python.util.PythonInterpreter.eval(PythonInterpreter.java:255)
at org.python.jsr223.PyScriptEngine.eval(PyScriptEngine.java:57)
at org.python.jsr223.PyScriptEngine.eval(PyScriptEngine.java:31)
at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:264)
at org.scijava.script.ScriptModule.run(ScriptModule.java:173)
at org.scijava.module.ModuleRunner.run(ModuleRunner.java:165)
at org.scijava.module.ModuleRunner.call(ModuleRunner.java:125)
at org.scijava.module.ModuleRunner.call(ModuleRunner.java:64)
at org.scijava.thread.DefaultThreadService.lambda$wrap$2(DefaultThreadService.java:247)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:750)

I would really appreciate any help on this, thanks!

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

1 participant