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
Program hangs indefinitely after importing NIFTI file with 'Import medical images' #174
Comments
Dear @juusokorhonen , |
Looks like is something related to linux. In windows it is working properly. @tfmoraes could you help with this issue? |
@juusokorhonen thanks for the report. In the last commit I updated the tooltip to say it only opens dicom files. About InVesalius being unresponsive I think the folder you selected has a lot of files and/or a very deep hierarchy of subfolders. We use GDCM lib to check every file in the folder you selected and in the subfolder for DICOM files, it may take a lot of time. |
Thanks for the suggestion. In this case, however, there is only the one nifti file in the folder and no subfolders. If you are interested, I could try to extract more information about the situation. Would there be something specific to check? |
@juusokorhonen you are running InVesalius from the source code, Ubuntu package, AppImage or Flatpak? What version? Could you share this file? |
I am using the version from the InVesalius download page, GNU/Linux Ubuntu 16.04 64 bits, InVesalius-3.1.1-Ubuntu-16.04-amd64.tar.gz.
I tried running from the command line with
|
I tested this a bit further.
If I create an empty file in the same folder, the hanging/crash goes away. |
@juusokorhonen , please, could you try with version 3.1.999992? You could try the flatpak version https://flathub.org/apps/details/br.gov.cti.invesalius |
It took me some time to install flatpak, but here are the results.
I can confirm that this version has the issue fixed. However, I had to give extra permissions to invesalius by running from command line: This is because my data resides outside my home directory. |
Ok. Thanks for testing. I'll close this issue and I'll take a look at this issue with flatpak. Thanks! |
System: Ubuntu LTS 16.04
InVesalius 3.1.1
Steps to reproduce:
--> Error message appears: "There are no DICOM files in the selected folder."
--> InVesalius hangs with window "Loading DICOM files"
This message cannot be dismissed, although pressing Cancel seems to refresh the sceen. Pressing 'X' on top left of window disables the Cancel button. Attempting to close InVesalius by right clicking the task bar icon and selecting 'Close' displays a confirmation dialog, but nothing happens after that. Attempting to kill the program with '$ kill ' gets rid of the process when viewed with '$ ps', but does nothing to the program window.
The only way to close the window is to use 'ps' to find the line 'python app.py' and kill that.
The text was updated successfully, but these errors were encountered: