Image Magick not functioning

   369   6   2
User Avatar
Member
1 posts
Joined: Sept. 2017
Offline
I am getting an error of Could not find executable ‘CPROGRA~1/SIDEEF~1/Houdini’ when attempting to use the image magick nodes. I have installed the program and set up my env variables as so:
PDG_IMAGEMAGICK=“C:\Program Files\ImageMagick-7.0.8-Q16\magick.exe”
PDG_FFMPEG=“CProgram Files/ImageMagick-7.0.8-Q16/ffmpeg.exe”

FFMPEG isa functioning as expected its just image magick that is failing.
User Avatar
Staff
268 posts
Joined: Aug. 2017
Offline
That all looks fine to me – the only difference between the two that I see is the forward/backslashes. Can you try forward slashes for the ImageMagick path?
User Avatar
Member
327 posts
Joined: Feb. 2016
Offline


I'm also having trouble with imagemagick and when I hit the info, no error messages are being displayed.
I'm with hou 17.5.286 and ImageMagick-7.0.8-Q16 on Win10 machine.


this is my env:
PDG_IMAGEMAGICK = "C:/ADN/houdini new tests/ImageMagick-7.0.8-Q16/magick.exe"
PDG_FFMPEG = "C:/ADN/houdini new tests/ImageMagick-7.0.8-Q16/ffmpeg.exe"

I tried also to specify a custom path in the node itself but it still fails.
Edited by Andr - June 15, 2019 06:52:59
User Avatar
Staff
268 posts
Joined: Aug. 2017
Offline
If you double click on the failed work item, it should show a log with the error message and more information. Can you post the log here?
User Avatar
Member
327 posts
Joined: Feb. 2016
Offline
oh thanks, I was not aware of this log.
It turns out that Hou was looking for imagemagick in the `program files` directory even if the $PDG_IMAGEMAGICK variable was set to another directory.
I re-installed imagemagick in the program files directory. Now it's working fine.


This is the log:

montage: UnableToOpenConfigureFile `colors.xml' @ warning/configure.c/GetConfigureOptions/699.
montage: UnableToOpenConfigureFile `delegates.xml' @ warning/configure.c/GetConfigureOptions/699.
montage: UnableToOpenModuleFile ‘C:\Program Files\ImageMagick-7.0.8-Q16\modules\coders\IM_MOD_RL_EXR_.dll’: No such file or directory @ warning/module.c/GetMagickModulePath/675.
montage: NoDecodeDelegateForThisImageFormat `EXR' @ error/constitute.c/ReadImage/556.
montage: UnableToOpenModuleFile ‘C:\Program Files\ImageMagick-7.0.8-Q16\modules\coders\IM_MOD_RL_EXR_.dll’: No such file or directory @ warning/module.c/GetMagickModulePath/675.
montage: NoDecodeDelegateForThisImageFormat `EXR' @ error/constitute.c/ReadImage/556.
montage: UnableToOpenModuleFile ‘C:\Program Files\ImageMagick-7.0.8-Q16\modules\coders\IM_MOD_RL_EXR_.dll’: No such file or directory @ warning/module.c/GetMagickModulePath/675.
montage: NoDecodeDelegateForThisImageFormat `EXR' @ error/constitute.c/ReadImage/556.
montage: UnableToOpenModuleFile ‘C:\Program Files\ImageMagick-7.0.8-Q16\modules\coders\IM_MOD_RL_EXR_.dll’: No such file or directory @ warning/module.c/GetMagickModulePath/675.
montage: NoDecodeDelegateForThisImageFormat `EXR' @ error/constitute.c/ReadImage/556.
montage: MissingAnImageFilename `CADN/houdini new tests/PDG_exp/tops_lesson_start/images/city_01.imagemagick20.png' @ error/montage.c/MontageImageCommand/1754.
Executing command: “CADN/houdini new tests/ImageMagick-7.0.8-Q16/magick.exe” montage -background black -mode concatenate “CADN/houdini new tests/PDG_exp/tops_lesson_start/render/city_01.overlaytext1.0.exr” “CADN/houdini new tests/PDG_exp/tops_lesson_start/render/city_01.overlaytext1.1.exr” “CADN/houdini new tests/PDG_exp/tops_lesson_start/render/city_01.overlaytext1.2.exr” “CADN/houdini new tests/PDG_exp/tops_lesson_start/render/city_01.overlaytext1.3.exr” “CADN/houdini new tests/PDG_exp/tops_lesson_start/images/city_01.imagemagick20.png”
User Avatar
Staff
268 posts
Joined: Aug. 2017
Offline
Hi Andr,

Based on that log, it looks like $PDG_IMAGEMAGICK was successfully finding the Imagemagick executable, as those error messages are coming from Imagemagick itself.

I'm wondering if you perhaps installed Imagemagick using the Windows binary installer?
User Avatar
Member
507 posts
Joined: Oct. 2016
Offline
You need to install a self-contained ImageMagick, one that does fall back to built-in settings (like color.xml). I haven't used IM inside Houdini (mostly because I tend to use openCV instead of IM), so I am not sure which installation package comes with H's IM.

You could rebuild your IM and define MAGICKCORE_ZERO_CONFIGURATION_SUPPORT, which should sufficiently take care of such fall-backs.


Marc

Software Sewers Service (aka Pipeline Problems Solver)
https://vimeo.com/marcalbrecht [vimeo.com] - https://www.marc-albrecht.de [www.marc-albrecht.de]
  • Quick Links