[MacPorts] #20618: ImageMagick: Strange symptom: non-error error
#20618: ImageMagick: Strange symptom: non-error error ----------------------------------------+----------------------------------- Reporter: objectivecanine@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: ImageMagick, color profile | Port: ----------------------------------------+----------------------------------- Running ImageMagick via MacPorts on a Mac Pro, I've discovered a bizarre symptom. I don't see the same issue on other ImageMagick builds on other systems here, even oame-version builds. tiger:~ keanu$ convert -monitor Scans/Input/scan-00000349.tif -profile Metadata/Profiles/Epson\ V500.icc -intent perceptual -profile Metadata/Profiles/ColorMatch\ RGB.icc test.tif Load/Image//Volumes/rottweiler/Scans/Input: 100% [scan-00000349.tif] Save image: 100% [test.tif] convert: unable to get registry ID `cache:/Volumes/rottweiler/Metadata/Profiles/ColorMatch RGB.icc' @ registry.c/GetImageRegistry/224. tiger:~ keanu$ identify -ping test.tif test.tif TIFF 13600x17760 13600x17760+0+0 16-bit DirectClass 1.3498gb Despite the error message (and the nonzero exit status), the file was created successfully, contains the correct profile, everything's fine... However, to say the nonzero exit is confusing every script I've written that checks for errors is an understatement. Given that I don't get this problem on a Debian Linux system (with the same ImageMagick version, rather than the prepackaged but woefully old Debian-shipped version) I suspect this may not be an upstream bug and am reporting it here. -- Ticket URL: <http://trac.macports.org/ticket/20618> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20618: ImageMagick: Strange symptom: non-error error ---------------------------------------+------------------------------------ Reporter: objectivecanine@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: color profile | Port: ImageMagick ---------------------------------------+------------------------------------ Changes (by blb@…): * keywords: ImageMagick, color profile => color profile * owner: macports-tickets@… => ryandesign@… * port: => ImageMagick Old description:
Running ImageMagick via MacPorts on a Mac Pro, I've discovered a bizarre symptom. I don't see the same issue on other ImageMagick builds on other systems here, even oame-version builds.
tiger:~ keanu$ convert -monitor Scans/Input/scan-00000349.tif -profile Metadata/Profiles/Epson\ V500.icc -intent perceptual -profile Metadata/Profiles/ColorMatch\ RGB.icc test.tif Load/Image//Volumes/rottweiler/Scans/Input: 100% [scan-00000349.tif] Save image: 100% [test.tif] convert: unable to get registry ID `cache:/Volumes/rottweiler/Metadata/Profiles/ColorMatch RGB.icc' @ registry.c/GetImageRegistry/224.
tiger:~ keanu$ identify -ping test.tif test.tif TIFF 13600x17760 13600x17760+0+0 16-bit DirectClass 1.3498gb
Despite the error message (and the nonzero exit status), the file was created successfully, contains the correct profile, everything's fine...
However, to say the nonzero exit is confusing every script I've written that checks for errors is an understatement.
Given that I don't get this problem on a Debian Linux system (with the same ImageMagick version, rather than the prepackaged but woefully old Debian-shipped version) I suspect this may not be an upstream bug and am reporting it here.
New description: Running ImageMagick via MacPorts on a Mac Pro, I've discovered a bizarre symptom. I don't see the same issue on other ImageMagick builds on other systems here, even oame-version builds. {{{ tiger:~ keanu$ convert -monitor Scans/Input/scan-00000349.tif -profile Metadata/Profiles/Epson\ V500.icc -intent perceptual -profile Metadata/Profiles/ColorMatch\ RGB.icc test.tif Load/Image//Volumes/rottweiler/Scans/Input: 100% [scan-00000349.tif] Save image: 100% [test.tif] convert: unable to get registry ID `cache:/Volumes/rottweiler/Metadata/Profiles/ColorMatch RGB.icc' @ registry.c/GetImageRegistry/224. tiger:~ keanu$ identify -ping test.tif test.tif TIFF 13600x17760 13600x17760+0+0 16-bit DirectClass 1.3498gb }}} Despite the error message (and the nonzero exit status), the file was created successfully, contains the correct profile, everything's fine... However, to say the nonzero exit is confusing every script I've written that checks for errors is an understatement. Given that I don't get this problem on a Debian Linux system (with the same ImageMagick version, rather than the prepackaged but woefully old Debian-shipped version) I suspect this may not be an upstream bug and am reporting it here. -- Comment: Did you build ImageMagick with +lcms variant, perhaps that would help? -- Ticket URL: <http://trac.macports.org/ticket/20618#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20618: ImageMagick: Strange symptom: non-error error ---------------------------------------+------------------------------------ Reporter: objectivecanine@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: color profile | Port: ImageMagick ---------------------------------------+------------------------------------ Comment(by objectivecanine@…): Replying to [comment:1 blb@…]:
Did you build ImageMagick with +lcms variant, perhaps that would help?
ImageMagick @6.5.4-0_0+gs+jpeg2+lcms+mpeg+perl+q16+rsvg+universal Yes, I need a lot of goodies. :) -- Ticket URL: <http://trac.macports.org/ticket/20618#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20618: ImageMagick: Strange symptom: non-error error ---------------------------------------+------------------------------------ Reporter: objectivecanine@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: color profile | Port: ImageMagick ---------------------------------------+------------------------------------ Comment(by objectivecanine@…): I just noticed, also: In the command output I shortened a couple paths, and missed one. So while it doesn't look like they match up, they actually do. Oops. -- Ticket URL: <http://trac.macports.org/ticket/20618#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20618: ImageMagick: Strange symptom: non-error error ---------------------------------------+------------------------------------ Reporter: objectivecanine@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: color profile | Port: ImageMagick ---------------------------------------+------------------------------------ Comment(by ryandesign@…): According to [http://www.imagemagick.org/discourse- server/viewtopic.php?f=2&t=14154 the ImageMagick forum] you can safely ignore this warning, and it should be gone in a later version of ImageMagick. I just [changeset:55330 updated the port to 6.5.4-9]; does that make the warning go away? -- Ticket URL: <http://trac.macports.org/ticket/20618#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20618: ImageMagick: Strange symptom: non-error error ---------------------------------------+------------------------------------ Reporter: objectivecanine@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: color profile | Port: ImageMagick ---------------------------------------+------------------------------------ Comment(by objectivecanine@…): Yes, that seems to have done the trick. Though it wasn't just the fact it spat out a warning, it also exited with a nonzero status, which pretty badly broke all my scripts... And rewriting them to ignore errors would have left a really bad taste in my mouth. :) But the current revision seems to have fixed that problem, and I put six scans through my processing workflow just to be sure, so it looks like all is well now. Thank you very much for your prompt effort! -- Ticket URL: <http://trac.macports.org/ticket/20618#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20618: ImageMagick: Strange symptom: non-error error ----------------------------------------+----------------------------------- Reporter: objectivecanine@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: fixed | Keywords: color profile Port: ImageMagick | ----------------------------------------+----------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: You're welcome! Glad that fixed it. -- Ticket URL: <http://trac.macports.org/ticket/20618#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts