neuroanatomy / BrainBox

BrainBox is a web application that lets you annotate and segment 3D brain imaging data in real time, collaboratively.
https://brainbox.pasteur.fr
Other
96 stars 46 forks source link

1st time a brain is queried from FIIND, BrainBox crashed. 2nd time everything's fine #265

Open r03ert0 opened 3 years ago

r03ert0 commented 3 years ago

This is what you see in the server log:

apiMriPost
url: https://zenodo.org/record/893587/files/sub-01_age-Adult_T2.nii.gz
/var/www/html/brainbox/controller/atlasmakerServer/atlasmakerServer.js:1792
      const brainPath = sourceUS.User.dirname + sourceUS.User.mri;
                                      ^

TypeError: Cannot read property 'dirname' of undefined
    at Object.receiveRequestSliceMessage (/var/www/html/brainbox/controller/atlasmakerServer/atlasmakerServer.js:1792:39)
    at Object._handleUserWebSocketMessage (/var/www/html/brainbox/controller/atlasmakerServer/atlasmakerServer.js:2479:12)
    at Object._handleWebSocketMessage (/var/www/html/brainbox/controller/atlasmakerServer/atlasmakerServer.js:2622:10)
    at WebSocket.<anonymous> (/var/www/html/brainbox/controller/atlasmakerServer/atlasmakerServer.js:2710:12)
    at WebSocket.emit (events.js:210:5)
    at Receiver.receiverOnMessage (/var/www/html/brainbox/node_modules/ws/lib/websocket.js:720:20)
    at Receiver.emit (events.js:210:5)
    at Receiver.dataMessage (/var/www/html/brainbox/node_modules/ws/lib/receiver.js:414:14)
    at Receiver.getData (/var/www/html/brainbox/node_modules/ws/lib/receiver.js:346:17)
    at Receiver.startLoop (/var/www/html/brainbox/node_modules/ws/lib/receiver.js:133:22)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! brainbox@0.1.0 start: `node ./bin/www`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the brainbox@0.1.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/rto/.npm/_logs/2021-04-24T15_03_13_024Z-debug.log
SERVER CRASHED WITH CODE 1. RESPAWNING