kevinthebright
June 11, 2019 14:10:09
I thought
PDG_IMAGEMAGICK = /Applications/ImageMagick/bin;&
would do the trick but no luck. I'm lousy at environmental variables - anyone see an obvious error assuming the file path is correct?
chrisgreb
June 18, 2019 09:12:55
Is this in your houdini.env file? What error message are you getting?
kevinthebright
June 18, 2019 11:45:27
Yes, that's my .env file. I also use Renderman and Megascans. I set their .env paths by copying and pasting their examples and changing the file paths but couldn't find an explicit example in the help docs for Houdini or ImageMagick this time.
No error message other than the red fail cross on the node. I installed ImageMagick and ran the TOP Wedge example script.
BrookeA
June 20, 2019 13:56:31
Hi there,
If you double click on the failed work item, it will show the log. Can you post the log for one of the failed items for us to examine?
kevinthebright
June 20, 2019 14:19:24
Attached screen grab. It isn't finding Imagick. I used to MacPorts to install with no problems but something went sideways. If you have any ideas, I'll try them but no rush, I was just giving PDG a test run.
BrookeA
June 20, 2019 15:38:20
I'm not familiar with MacPorts so I can't comment on the installation, but it does look like the path to Imagemagick is incorrect in the log.
Is your PDG_IMAGEMAGICK variable pointing directly at the executable?
For example, mine looks like this:
PDG_IMAGEMAGICK=C:\ImageMagick\magick.exe
kevinthebright
June 20, 2019 18:39:40
Thanks but .exe files are Windows executables. On a Mac, its usually a .app package. ImageMagick doesn't wrap into a .app file so I thought I should point to the /bin but that hassn't worked.
BrookeA
June 20, 2019 18:46:04
There should be a file called “magick” under the bin folder that can be pointed to on MacOS.
edit: this was installed with Homebrew, however, so there may be differences.
kevinthebright
June 21, 2019 14:04:27
Thanks. I pointed the file path to magick but it generates an error as well, that one of the dylib is missing. The dylib file is installed so I'll try to reinstall ImageMagick and see if that fixes it.
kevinthebright
Aug. 5, 2019 14:12:27
Didn't get ImageMagick installed with either MacPorts or Homebrew installs with
PDG_IMAGEMAGICK=/Applications/ImageMagick-7.0.8/bin/magick
Not a big deal but disappointing. I would love it if SideFX wouldn't go the plug-in route. Modo went that route and you just end up feeling like an IT Dept maintaing updates all the time. Or at least make it as easy as the GameTools.
BrookeA
Aug. 6, 2019 11:57:14
Are you getting an error message? That setup looks like it is correct to me.
kevinthebright
Aug. 6, 2019 12:17:13
Yes, it is:
dyld: Library not loaded: /ImageMagick-7.0.8/lib/libMagickCore-7.Q16HDRI.6.dylib
Referenced from: /Applications/ImageMagick-7.0.8/bin/magick
Reason: image not found
Executing command: “/Applications/ImageMagick-7.0.8/bin/magick” -label ‘mymontage1’ -background black -mode concatenate “/Applications/Houdini/Houdini17.5.293/Frameworks/Houdini.framework/Versions/Current/Resources/houdini/help/examples/nodes/top/imagemagick/terrain_images/inputs/ridges-inputs-001.png” “/Applications/Houdini/Houdini17.5.293/Frameworks/Houdini.framework/Versions/Current/Resources/houdini/help/examples/nodes/top/imagemagick/terrain_images/targets/ridges-targets-001.png” “/Users/io/Projects/PDG/images/imagemagick11.jpg”
libMagickCore-7.Q16HDRI.6.dylib is installed in that location.
Hip file attached. It is the PDG example file from the help.
BrookeA
Aug. 6, 2019 12:29:16
Can you try running the command from your terminal and see if that works?
kevinthebright
Aug. 6, 2019 12:33:49
Sure.
I ran both PDG_IMAGEMAGICK=/Applications/ImageMagick-7.0.8/bin/magick and PDG_IMAGEMAGICK=/Applications/ImageMagick-7.0.8/bin/magick/montage but nothing happened, i.e., the terminal returned to the command prompt.
kevinthebright
Aug. 6, 2019 12:35:44
Screen shot of file structure on my end
BrookeA
Aug. 6, 2019 12:36:09
Hi, sorry I should have clarified – I meant to run this command in your terminal:
“/Applications/ImageMagick-7.0.8/bin/magick” -label ‘mymontage1’ -background black -mode concatenate “/Applications/Houdini/Houdini17.5.293/Frameworks/Houdini.framework/Versions/Current/Resources/houdini/help/examples/nodes/top/imagemagick/terrain_images/inputs/ridges-inputs-001.png” “/Applications/Houdini/Houdini17.5.293/Frameworks/Houdini.framework/Versions/Current/Resources/houdini/help/examples/nodes/top/imagemagick/terrain_images/targets/ridges-targets-001.png” “/Users/io/Projects/PDG/images/imagemagick11.jpg”
kevinthebright
Aug. 6, 2019 12:38:09
I get:
-bash: “/Applications/ImageMagick-7.0.8/bin/magick”: No such file or directory
BrookeA
Aug. 6, 2019 12:49:56
Can you try this amended command from your Terminal:
“/Applications/ImageMagick-7.0.8/bin/montage” -label ‘mymontage1’ -background black -mode concatenate “/Applications/Houdini/Houdini17.5.293/Frameworks/Houdini.framework/Versions/Current/Resources/houdini/help/examples/nodes/top/imagemagick/terrain_images/inputs/ridges-inputs-001.png” “/Applications/Houdini/Houdini17.5.293/Frameworks/Houdini.framework/Versions/Current/Resources/houdini/help/examples/nodes/top/imagemagick/terrain_images/targets/ridges-targets-001.png” “/Users/io/Projects/PDG/images/imagemagick11.jpg”
kevinthebright
Aug. 6, 2019 12:52:51
Same, no such file or directory.
BrookeA
Aug. 6, 2019 14:06:50
Is it definitely installed at the location in the command? It seems that the location does not exist.
If you can, I would recommend filing a question or bug with support and we can continue investigating your issue from there.