1st time a brain is queried from FIIND, BrainBox crashed. 2nd time everything's fine
Opened this issue · 0 comments
r03ert0 commented
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