Skip to content

Instantly share code, notes, and snippets.

@JoaoVagner
Created January 16, 2019 18:49
Show Gist options
  • Save JoaoVagner/77421d73563c2bf384ec5b01e9fd8f0c to your computer and use it in GitHub Desktop.
Save JoaoVagner/77421d73563c2bf384ec5b01e9fd8f0c to your computer and use it in GitHub Desktop.
images path: [ '/application/uploads/imagesToConvert/cha-bebe-1547664505387.jpg',
'/application/uploads/imagesToConvert/carrinho-1547664505514.png' ]
image: /application/uploads/imagesToConvert/cha-bebe-1547664505387.jpg outputDicomPath: /application/uploads/imagesToConvert/cha-bebe-1547664505387.jpg_1547664505677.dcm
image: /application/uploads/imagesToConvert/carrinho-1547664505514.png outputDicomPath: /application/uploads/imagesToConvert/carrinho-1547664505514.png_1547664505725.dcm
18:48:27 - error: message=ENOENT: no such file or directory, open '/application/uploads/imagesToConvert/carrinho-1547664505514.png_1547664505725.dcm', stack=Error: ENOENT: no such file or directory, open '/application/uploads/imagesToConvert/carrinho-1547664505514.png_1547664505725.dcm'
at Object.fs.openSync (fs.js:646:18)
at Object.fs.readFileSync (fs.js:551:33)
at PythonShell.run (/application/node_modules/nuvem-core/helpers/uploadToOrthancHelper.js:62:34)
at PythonShell._endCallback (/application/node_modules/python-shell/index.js:166:16)
at terminateIfNeeded (/application/node_modules/python-shell/index.js:116:35)
at ChildProcess.<anonymous> (/application/node_modules/python-shell/index.js:88:9)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12), errno=-2, code=ENOENT, syscall=open, path=/application/uploads/imagesToConvert/carrinho-1547664505514.png_1547664505725.dcm
(node:29) Warning: a promise was rejected with a non-error: [object String]
(node:29) Warning: a promise was rejected with a non-error: [object String]
18:48:27 - error: message=ENOENT: no such file or directory, open '/application/uploads/imagesToConvert/cha-bebe-1547664505387.jpg_1547664505677.dcm', stack=Error: ENOENT: no such file or directory, open '/application/uploads/imagesToConvert/cha-bebe-1547664505387.jpg_1547664505677.dcm'
at Object.fs.openSync (fs.js:646:18)
at Object.fs.readFileSync (fs.js:551:33)
at PythonShell.run (/application/node_modules/nuvem-core/helpers/uploadToOrthancHelper.js:62:34)
at PythonShell._endCallback (/application/node_modules/python-shell/index.js:166:16)
at terminateIfNeeded (/application/node_modules/python-shell/index.js:116:35)
at ChildProcess.<anonymous> (/application/node_modules/python-shell/index.js:88:9)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12), errno=-2, code=ENOENT, syscall=open, path=/application/uploads/imagesToConvert/cha-bebe-1547664505387.jpg_1547664505677.dcm
(node:29) Warning: a promise was rejected with a non-error: [object String]
(node:29) Warning: a promise was rejected with a non-error: [object String]
18:48:27 - error: ENOENT: no such file or directory, open '/application/uploads/imagesToConvert/carrinho-1547664505514.png_1547664505725.dcm'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment