RTNeuron icon indicating copy to clipboard operation
RTNeuron copied to clipboard

Circuit viewer crahes when trying to display morphologies from a dataset without any

Open alex4200 opened this issue 6 years ago • 2 comments

When I select to show only somas and play around with the graphics (work Linux box Ubuntu 16.04), then sometimes the app crashes and I have an error like follows:

terminate called after throwing an instance of 'std::runtime_error'
  what():  Could not open morphology file /home/adietz/Work/60_Other/62_RTNeuron/AppImage/shared_components/morphologies/Scnn1a_473845048_m.h5: Unable to open file /home/adietz/Work/60_Other/62_RTNeuron/AppImage/shared_components/morphologies/Scnn1a_473845048_m.h5 (File accessibilty) Unable to open file
/tmp/.mount_rtneurk1ttII/AppRun: line 5: 15873 Aborted                 LD_LIBRARY_PATH=${HERE}/usr/local/lib:${HERE}/usr/local/lib64:${HERE}/usr/local/lib/python3.7/site-packages/PyQt5/Qt/lib:$LD_LIBRARY_PATH PYTHONHOME=${HERE}/usr/local PYTHONPATH=${HERE}/usr/local/lib/python3.7/site-packages ${HERE}/usr/local/bin/python3.7 ${HERE}/usr/local/bin/rtneuron $@

Step to repduce:

  1. Load only the soma
  2. Start rotating the cells so they rotate automatically 3 Stop rotation (left click) with mouse over a soma.

It looks like the application if looking for some morphology information (axon/dendrites) although only the SOMA is selected.

Strange: When I do the same selecting the correct config file (which have all the morphologies available), then when I stop the rotation (step 3) a single cell with morphology is shown.

alex4200 avatar Jan 14 '19 10:01 alex4200

Andrew explained that this is actually a feature. As the crash happens when I use incorrect data, I will close this ticket

alex4200 avatar Jan 14 '19 10:01 alex4200

Yes, that's a feature, whether it's a desirable feature or not, that's another story. I have been tempted to remove it because I don't think it's useful. The application shouldn't crash anyway. So I will reopen the ticket and rephrase it.

hernando avatar Jan 14 '19 12:01 hernando