Page 1 of 1
convert: UnableToOpenConfigureFile `delegates.xml'
Posted: 2014-05-15T23:56:17-07:00
by pion
Hi,
I am currently installing a script that is using ImageMagick's convert, on multiple computers. The script is using brew to install the latest version of ImageMagic. While trying to install it on a couple of computers this week, I've started getting the error: convert: UnableToOpenConfigureFile `delegates.xml'. I've tried multiple solutions posted online, but nothing worked until I realized that the version of ImageMagick had changed to 6.8.9-1 but the script was still working on computers with the last week's installed scripts. After manually downloading the 6.8.8-9 version from git and installing it, the script had started working again.
Here is the command I am running:
convert 1ImageName 2ImageName -compose difference -composite -colorspace Gray difference_gray.gif
Here is the setup of the systems:
Version: ImageMagick 6.8.8-9 Q16 x86_64 2014-05-11
http://www.imagemagick.org
Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC
Features: DPC Modules
Delegates: bzlib freetype jng jpeg ltdl png xml zlib
Re: convert: UnableToOpenConfigureFile `delegates.xml'
Posted: 2014-05-16T03:05:38-07:00
by magick
ImageMagick is unable to read its configuration files. Perhaps you have a permissions problem. Type
- convert -debug configure logo: null:
The debugging output tells you where ImageMagick expects to find the delegates.xml configuration file.
Re: convert: UnableToOpenConfigureFile `delegates.xml'
Posted: 2014-05-16T12:23:14-07:00
by pion
Here is the output:
Code: Select all
Command line: convert {-debug} {configure} {some info here} {some info here}
2014-05-15T16:59:55-07:00 0:00.010 0.000u 6.8.9 Configure convert[44187]: configure.c/GetConfigureOptions/679/Configure
Searching for configure file: "/usr/local/Cellar/imagemagick/6.8.9-1/share/ImageMagick-6/coder.xml"
2014-05-15T16:59:55-07:00 0:00.010 0.000u 6.8.9 Configure convert[44187]: configure.c/GetConfigureOptions/679/Configure
Searching for configure file: "/usr/local/Cellar/imagemagick/6.8.9-1/lib/ImageMagick//config-Q16/coder.xml"
2014-05-15T16:59:55-07:00 0:00.010 0.000u 6.8.9 Configure convert[44187]: configure.c/GetConfigureOptions/679/Configure
Searching for configure file: "/usr/local/Cellar/imagemagick/6.8.9-1/etc/ImageMagick-6/coder.xml"
2014-05-15T16:59:55-07:00 0:00.010 0.000u 6.8.9 Configure convert[44187]: configure.c/GetConfigureOptions/679/Configure
Searching for configure file: "/usr/local/Cellar/imagemagick/6.8.9-1/share/doc/ImageMagick-6/coder.xml"
2014-05-15T16:59:55-07:00 0:00.010 0.000u 6.8.9 Configure convert[44187]: configure.c/GetConfigureOptions/679/Configure
Searching for configure file: "/Users/<user>/.config/ImageMagick/coder.xml"
2014-05-15T16:59:55-07:00 0:00.010 0.000u 6.8.9 Configure convert[44187]: configure.c/GetConfigureOptions/679/Configure
Searching for configure file: "/Users/<user>/.magick/coder.xml"
2014-05-15T16:59:55-07:00 0:00.010 0.000u 6.8.9 Configure convert[44187]: coder.c/LoadCoderCache/795/Configure
Loading coder configuration file "/usr/local/Cellar/imagemagick/6.8.9-1/etc/ImageMagick-6/coder.xml" ...
2014-05-15T16:59:55-07:00 0:00.010 0.000u 6.8.9 Configure convert[44187]: configure.c/GetConfigureOptions/679/Configure
Searching for configure file: "/usr/local/Cellar/imagemagick/6.8.9-1/share/ImageMagick-6/magic.xml"
2014-05-15T16:59:55-07:00 0:00.010 0.000u 6.8.9 Configure convert[44187]: configure.c/GetConfigureOptions/679/Configure
Searching for configure file: "/usr/local/Cellar/imagemagick/6.8.9-1/lib/ImageMagick//config-Q16/magic.xml"
2014-05-15T16:59:55-07:00 0:00.010 0.000u 6.8.9 Configure convert[44187]: configure.c/GetConfigureOptions/679/Configure
Searching for configure file: "/usr/local/Cellar/imagemagick/6.8.9-1/etc/ImageMagick-6/magic.xml"
2014-05-15T16:59:55-07:00 0:00.010 0.000u 6.8.9 Configure convert[44187]: configure.c/GetConfigureOptions/679/Configure
Searching for configure file: "/usr/local/Cellar/imagemagick/6.8.9-1/share/doc/ImageMagick-6/magic.xml"
2014-05-15T16:59:55-07:00 0:00.010 0.000u 6.8.9 Configure convert[44187]: configure.c/GetConfigureOptions/679/Configure
Searching for configure file: "/Users/<user>/.config/ImageMagick/magic.xml"
2014-05-15T16:59:55-07:00 0:00.010 0.000u 6.8.9 Configure convert[44187]: configure.c/GetConfigureOptions/679/Configure
Searching for configure file: "/Users/<user>/.magick/magic.xml"
2014-05-15T16:59:55-07:00 0:00.010 0.000u 6.8.9 Configure convert[44187]: magic.c/LoadMagicCache/774/Configure
Loading magic configure file "/usr/local/Cellar/imagemagick/6.8.9-1/etc/ImageMagick-6/magic.xml" ...
Judging by the output above, I don't see any issues since all the .xml files on our computers are located under /usr/local/Cellar/imagemagick/6.8.9-1/etc/ImageMagick-6/
Here is the list of files under the above mention directory:
- coder.xml
colors.xml
delegates.xml
log.xml
magic.xml
mime.xml
policy.xml
quantization-table.xml
thresholds.xml
type-dejavu.xml
type-ghostscript.xml
type-windows.xml
type.xml
Hope this helps