Hello all
I'm running a perl script that calls dcmdump.exe. I'm doing this in cygwin. The dump has an error that says: "dcmdump: Error: Normal: Reading file:".
However the same command can be run successfully on command line. The syntax I use is:
$PATH/dcmdump.exe image.dimg
Does anyone have any good insight?
THanks
perl and binary executable dcmdump
Moderator: Moderator Team
-
- OFFIS DICOM Team
- Posts: 1446
- Joined: Tue, 2004-11-02, 17:22
- Location: Oldenburg, Germany
- Contact:
The stupid message "Error: Normal: Reading file" is caused by the fact that on Windows platforms some system functions do not set the errno variable, whereas their Posix counterparts do. In a few cases DCMTK will produce error messages containing the text from strerror(errno) which in these cases contain useless information. Nevertheless in this case dcmdump just failed to open the file.
Who is online
Users browsing this forum: Baidu [Spider], Google [Bot] and 1 guest