-
Notifications
You must be signed in to change notification settings - Fork 5
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
Report files missing when using MCR Linux CAT12 version #27
Comments
I'm noticing the same issue (with a different container). Would be happy to dig into this, but do you have any recommendations about troubleshooting? For example, is there a "verbose" option that could lead to a more helpful error log? |
Bumping in case there are any ideas. For what it's worth, using MATLAB 2024a (Update 5), I can compile a standalone version of CAT v12.9 that runs and produces the report outside of a container, but when it is run inside the container the pdf is not produced (as reported above, there are no errors except for the message about a lack of pdf and jpg outputs). Any help troubleshooting would be appreciated. |
Some progress: the issue is around here Lines 1608 to 1625 in 57ca3e8
Inside the containers, the renderer is Lines 276 to 288 in 57ca3e8
In the containers that I'm testing,
Since |
Also, the check for |
Hi @psadil, sorry for the long hiatus in responding. I am glad you have put some work/willingness on trying to fix this problem, it's a blocking issue for us so we are still using an older working release. To be honest I haven't done much since I posted the issue and I am afraid I cannot help much debugging the code, my expertise in MATLAB is rather limited. That said, I find it very interesting and does make sense that only container executions are somehow affected but I cannot see how the finding you posted above on |
It's a blocking issue for a project that I'm working on, so I'm also very motivated to come up with a solution. I think it only affects containers because of a difference in renderers, and that the renderer used by containers does not result in a call to Line 1510 in 57ca3e8
So, when the renderer is When I am working outside of a container on my linux machine (MATLAB R2024a), the renderer is
This is the same when I run the standalone version outside of a container. But when I run that inside of a container
So, inside the container the renderer is not I'm not familiar enough with the package to be confident about a solution. Maybe @ChristianGaser has input? |
Possibilities I can think of include
|
FWIW, I haven't found a way to set the default renderer inside a container to What was that |
FWIW, it is possible to compile a standalone version of CAT12 and package it into a container such that the renderer is MATLAB's documentation on creating standalone applications describes calling docker with a few extra arguments
So, it still seems like there is a bug in cat12 when the renderer is |
Thanks @psadil for all the work put on understanding and disentangling this issue. In my opinion, this task requires direct action from main developers of CAT12 (cc @ChristianGaser) to be properly fixed. Otherwise the solutions we might come up with at a posteriori are mere patches. |
Just following up on this -- it seems like the bug (relating to the |
At running the Segmentation module from the latest standalone release (12.9 r2556, see CAT12.9_R2017b_MCR_Linux.zip), CAT12 complains about missing some of the QC report output files. See trace below:
Any ideas of what might be going on?
The text was updated successfully, but these errors were encountered: