BlueBrain / RTNeuron

Interactive visualization framework for geometrically detailed neuron simulations
GNU General Public License v3.0
30 stars 10 forks source link

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

Open alex4200 opened 5 years ago

alex4200 commented 5 years ago

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 commented 5 years ago

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

hernando commented 5 years ago

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.