ddsm icon indicating copy to clipboard operation
ddsm copied to clipboard

./get-ddsm-mammo not working on Ubuntu 19.04

Open ananda1996ai opened this issue 6 years ago • 1 comments

I am trying to download a DDSM image using this software on Ubuntu 19.04 machine. Encountered the following error:

run-detectors: unable to find an interpreter for ./jpeg.exe
Traceback (most recent call last):
2: from ./get-ddsm-mammo:328:in `<main>'
1: from ./get-ddsm-mammo:278:in `main'
./get-ddsm-mammo:233:in `ljpeg_to_pnm': Could not convert from LJPEG to raw. (RuntimeError)

Both jpeg and jpeg.exe files are given execution permission. Why is the jpeg.exe being executed instead of the jpeg (appropriate for Linux)? Are there any fixes/workarounds to this issue?

Any help would be appreciated.

ananda1996ai avatar Oct 18 '19 18:10 ananda1996ai

I am running on Windows so I can't test your setup directly, BUT I note that the tool is trying to run 'jpeg.exe', which the documentation says is for a Windows setup. Thus, I believe you want to change this exec to just the 'jpeg' unix exec (line 227 in get-ddsm-mammo).

Ideally there'd be an 'if Windows' switch in there to determine the right exec, but prob good enough :).

aamailhot avatar Apr 27 '20 17:04 aamailhot