Skip to content

Instantly share code, notes, and snippets.

@JoaoVagner
Created January 15, 2019 19:33
Show Gist options
  • Save JoaoVagner/32792102d982c5b1900a9ad8eea2b8c1 to your computer and use it in GitHub Desktop.
Save JoaoVagner/32792102d982c5b1900a9ad8eea2b8c1 to your computer and use it in GitHub Desktop.
barretinho
19:25:59
images path: [ '/application/uploads/imagesToConvert/Screenshot_from_2019-01-15_14-23-27-1547580358994.png',
19:25:59
'/application/uploads/imagesToConvert/Screenshot_from_2019-01-15_14-12-30-1547580359755.png' ]
19:25:59
image: /application/uploads/imagesToConvert/Screenshot_from_2019-01-15_14-23-27-1547580358994.png outputDicomPath: /application/uploads/imagesToConvert/Screenshot_from_2019-01-15_14-23-27-1547580358994.png_1547580359780.dcm
19:25:59
image: /application/uploads/imagesToConvert/Screenshot_from_2019-01-15_14-12-30-1547580359755.png outputDicomPath: /application/uploads/imagesToConvert/Screenshot_from_2019-01-15_14-12-30-1547580359755.png_1547580359791.dcm
19:26:01
19:26:01 - error: Python script error message: message=/usr/local/lib/python2.7/dist-packages/dicom/__init__.py:53: UserWarning:
19:26:01
This code is using an older version of pydicom, which is no longer
19:26:01
maintained as of Jan 2017. You can access the new pydicom features and API
19:26:01
by installing `pydicom` from PyPI.
19:26:01
See 'Transitioning to pydicom 1.x' section at pydicom.readthedocs.org
19:26:01
for more information.
19:26:01
warnings.warn(msg)
19:26:01
, stack=Error: /usr/local/lib/python2.7/dist-packages/dicom/__init__.py:53: UserWarning:
19:26:01
This code is using an older version of pydicom, which is no longer
19:26:01
maintained as of Jan 2017. You can access the new pydicom features and API
19:26:01
by installing `pydicom` from PyPI.
19:26:01
See 'Transitioning to pydicom 1.x' section at pydicom.readthedocs.org
19:26:01
for more information.
19:26:01
warnings.warn(msg)
19:26:01
at PythonShell.parseError (/application/node_modules/python-shell/index.js:190:17)
19:26:01
at terminateIfNeeded (/application/node_modules/python-shell/index.js:98:28)
19:26:01
at ChildProcess.<anonymous> (/application/node_modules/python-shell/index.js:88:9)
19:26:01
at emitTwo (events.js:126:13)
19:26:01
at ChildProcess.emit (events.js:214:7)
19:26:01
at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12), executable=python, options=null, script=/application/node_modules/nuvem-core/kitchen/convertJPGtoDICOM.py, args=[2019/1/15, 192559, CT, Joao Teste, asdasdads, 1547580359775, 20160202, M, 1547580359770, asddasads, 2 ano(s), 11 mes(es) e 13 dia(s), saddsdsa, 213123132, dssdaasd, Crânio e Face, /application/uploads/imagesT
19:26:01
19:26:01 - error: message=ENOENT: no such file or directory, open '/application/uploads/imagesToConvert/Screenshot_from_2019-01-15_14-23-27-1547580358994.png_1547580359780.dcm', stack=Error: ENOENT: no such file or directory, open '/application/uploads/imagesToConvert/Screenshot_from_2019-01-15_14-23-27-1547580358994.png_1547580359780.dcm'
19:26:01
at Object.fs.openSync (fs.js:646:18)
19:26:01
at Object.fs.readFileSync (fs.js:551:33)
19:26:01
at PythonShell.run (/application/node_modules/nuvem-core/helpers/uploadToOrthancHelper.js:62:34)
19:26:01
at PythonShell._endCallback (/application/node_modules/python-shell/index.js:165:25)
19:26:01
at terminateIfNeeded (/application/node_modules/python-shell/index.js:116:35)
19:26:01
at ChildProcess.<anonymous> (/application/node_modules/python-shell/index.js:88:9)
19:26:01
at emitTwo (events.js:126:13)
19:26:01
at ChildProcess.emit (events.js:214:7)
19:26:01
at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12), errno=-2, code=ENOENT, syscall=open, path=/application/uploads/imagesToConvert/Screenshot_from_2019-01-15_14-23-27-1547580358994.png_1547580359780.dcm
19:26:01
(node:39) UnhandledPromiseRejectionWarning: ReferenceError: reject is not defined
19:26:01
at PythonShell.run (/application/node_modules/nuvem-core/helpers/uploadToOrthancHelper.js:66:11)
19:26:01
at PythonShell._endCallback (/application/node_modules/python-shell/index.js:165:25)
19:26:01
at terminateIfNeeded (/application/node_modules/python-shell/index.js:116:35)
19:26:01
at ChildProcess.<anonymous> (/application/node_modules/python-shell/index.js:88:9)
19:26:01
at emitTwo (events.js:126:13)
19:26:01
at ChildProcess.emit (events.js:214:7)
19:26:01
at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
19:26:01
(node:39) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 411)
19:26:01
(node:39) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
19:26:01
19:26:01 - error: Python script error message: message=/usr/local/lib/python2.7/dist-packages/dicom/__init__.py:53: UserWarning:
19:26:01
This code is using an older version of pydicom, which is no longer
19:26:01
maintained as of Jan 2017. You can access the new pydicom features and API
19:26:01
by installing `pydicom` from PyPI.
19:26:01
See 'Transitioning to pydicom 1.x' section at pydicom.readthedocs.org
19:26:01
for more information.
19:26:01
warnings.warn(msg)
19:26:01
, stack=Error: /usr/local/lib/python2.7/dist-packages/dicom/__init__.py:53: UserWarning:
19:26:01
This code is using an older version of pydicom, which is no longer
19:26:01
maintained as of Jan 2017. You can access the new pydicom features and API
19:26:01
by installing `pydicom` from PyPI.
19:26:01
See 'Transitioning to pydicom 1.x' section at pydicom.readthedocs.org
19:26:01
for more information.
19:26:01
warnings.warn(msg)
19:26:01
at PythonShell.parseError (/application/node_modules/python-shell/index.js:190:17)
19:26:01
at terminateIfNeeded (/application/node_modules/python-shell/index.js:98:28)
19:26:01
at ChildProcess.<anonymous> (/application/node_modules/python-shell/index.js:88:9)
19:26:01
at emitTwo (events.js:126:13)
19:26:01
at ChildProcess.emit (events.js:214:7)
19:26:01
at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12), executable=python, options=null, script=/application/node_modules/nuvem-core/kitchen/convertJPGtoDICOM.py, args=[2019/1/15, 192559, CT, Joao Teste, asdasdads, 1547580359775, 20160202, M, 1547580359770, asddasads, 2 ano(s), 11 mes(es) e 13 dia(s), saddsdsa, 213123132, dssdaasd, Crânio e Face, /application/uploads/imagesT
19:26:01
19:26:01 - error: message=ENOENT: no such file or directory, open '/application/uploads/imagesToConvert/Screenshot_from_2019-01-15_14-12-30-1547580359755.png_1547580359791.dcm', stack=Error: ENOENT: no such file or directory, open '/application/uploads/imagesToConvert/Screenshot_from_2019-01-15_14-12-30-1547580359755.png_1547580359791.dcm'
19:26:01
at Object.fs.openSync (fs.js:646:18)
19:26:01
at Object.fs.readFileSync (fs.js:551:33)
19:26:01
at PythonShell.run (/application/node_modules/nuvem-core/helpers/uploadToOrthancHelper.js:62:34)
19:26:01
at PythonShell._endCallback (/application/node_modules/python-shell/index.js:165:25)
19:26:01
at terminateIfNeeded (/application/node_modules/python-shell/index.js:116:35)
19:26:01
at ChildProcess.<anonymous> (/application/node_modules/python-shell/index.js:88:9)
19:26:01
at emitTwo (events.js:126:13)
19:26:01
at ChildProcess.emit (events.js:214:7)
19:26:01
at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12), errno=-2, code=ENOENT, syscall=open, path=/application/uploads/imagesToConvert/Screenshot_from_2019-01-15_14-12-30-1547580359755.png_1547580359791.dcm
19:26:01
(node:39) UnhandledPromiseRejectionWarning: ReferenceError: reject is not defined
19:26:01
at PythonShell.run (/application/node_modules/nuvem-core/helpers/uploadToOrthancHelper.js:66:11)
19:26:01
at PythonShell._endCallback (/application/node_modules/python-shell/index.js:165:25)
19:26:01
at terminateIfNeeded (/application/node_modules/python-shell/index.js:116:35)
19:26:01
at ChildProcess.<anonymous> (/application/node_modules/python-shell/index.js:88:9)
19:26:01
at emitTwo (events.js:126:13)
19:26:01
at ChildProcess.emit (events.js:214:7)
19:26:01
at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
19:26:01
(node:39) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 412)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment