CINPLA / neuronify

An educational neural network app using the integrate-and-fire method.
http://ovilab.net/neuronify
GNU General Public License v3.0
54 stars 12 forks source link

Crash when computer has no camera #171

Open andreavs opened 7 years ago

andreavs commented 7 years ago

On the latest version of Neuronify on snap, on Ubuntu 14.04, neuronify will crash when no camera is available, if the user attempts to create a photoreceptive cell.

/snap/neuronify/16$ ./neuronify Neuronify version "v1.0.8-9-gc81f828" started at 1495986286776 Making "/home/andreavs/.config/Ovilab/Neuronify" /savedata qml: Neuronify.qml load completed 1495986287203 qml: ApplicationWindow load completed 1495986287244 Load time: 468 qml: Load state called qml: Reading file qrc:/simulations/tutorial/tutorial_1_intro/tutorial_1_intro.nfy QFSFileEngine::open: No file name specified defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.camera" Setting renderer control Segmentation fault (core dumped)

dragly commented 7 years ago

@andreavs could you try to install the latest dev build with

sudo snap remove neuronify
sudo snap install --edge neuronify

and see if it works correctly now? The version should be v1.0.8-84-gee3631a or above.