Page 1 of 1
convert: UnableToOpenConfigureFile `delegates.xml'
Posted: 2010-01-14T18:15:24-07:00
by demirci
When I say
it gives the following error
Code: Select all
convert: UnableToOpenConfigureFile `delegates.xml' @ configure.c/GetConfigureOptions/589.
Does anyone know why?
I tried everything. I reinstalled imagemagick, libmagick, etc...
Nothing changes the situation.
I am using Ubuntu 9.10.
(By the way I searched a lot on the internet. But there is no solution.)
Re: convert: UnableToOpenConfigureFile `delegates.xml'
Posted: 2010-01-14T18:26:07-07:00
by magick
Type
- convert -debug configure file1.ps file2.pdf
It will tell you where ImageMagick is looking for its configuration files. Perhaps there is a permission problem.
Re: convert: UnableToOpenConfigureFile `delegates.xml'
Posted: 2010-01-16T20:09:14-07:00
by demirci
OK. I did it. But I cannot figure out what is the problem, just from this output.
Code: Select all
2010-01-16T22:06:44-05:00 0:00.000 0.000u 6.5.8 Configure convert[5200]: utility.c/ExpandFilenames/868/Configure
Command line: convert {-debug} {configure} {Cover-1.jpg} {deneme.pdf}
2010-01-16T22:06:44-05:00 0:00.000 0.000u 6.5.8 Configure convert[5200]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "/usr/local/share/ImageMagick-6.5.8/config/coder.xml"
2010-01-16T22:06:44-05:00 0:00.000 0.000u 6.5.8 Configure convert[5200]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "/usr/local/lib/ImageMagick-6.5.8/config/coder.xml"
2010-01-16T22:06:44-05:00 0:00.000 0.000u 6.5.8 Configure convert[5200]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "/usr/local/share/doc/ImageMagick-6.5.8/coder.xml"
2010-01-16T22:06:44-05:00 0:00.000 0.000u 6.5.8 Configure convert[5200]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "/usr/local/share/ImageMagick-6.5.8/coder.xml"
2010-01-16T22:06:44-05:00 0:00.000 0.000u 6.5.8 Configure convert[5200]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "/home/demirci/.magick/coder.xml"
2010-01-16T22:06:44-05:00 0:00.000 0.000u 6.5.8 Configure convert[5200]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "coder.xml"
2010-01-16T22:06:44-05:00 0:00.000 0.000u 6.5.8 Configure convert[5200]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "/usr/local/share/ImageMagick-6.5.8/config/magic.xml"
2010-01-16T22:06:44-05:00 0:00.010 0.000u 6.5.8 Configure convert[5200]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "/usr/local/lib/ImageMagick-6.5.8/config/magic.xml"
2010-01-16T22:06:44-05:00 0:00.010 0.000u 6.5.8 Configure convert[5200]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "/usr/local/share/doc/ImageMagick-6.5.8/magic.xml"
2010-01-16T22:06:44-05:00 0:00.010 0.000u 6.5.8 Configure convert[5200]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "/usr/local/share/ImageMagick-6.5.8/magic.xml"
2010-01-16T22:06:44-05:00 0:00.010 0.000u 6.5.8 Configure convert[5200]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "/home/demirci/.magick/magic.xml"
2010-01-16T22:06:44-05:00 0:00.010 0.000u 6.5.8 Configure convert[5200]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "magic.xml"
2010-01-16T22:06:44-05:00 0:00.010 0.000u 6.5.8 Configure convert[5200]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "/usr/local/share/ImageMagick-6.5.8/config/delegates.xml"
2010-01-16T22:06:44-05:00 0:00.010 0.000u 6.5.8 Configure convert[5200]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "/usr/local/lib/ImageMagick-6.5.8/config/delegates.xml"
2010-01-16T22:06:44-05:00 0:00.010 0.000u 6.5.8 Configure convert[5200]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "/usr/local/share/doc/ImageMagick-6.5.8/delegates.xml"
2010-01-16T22:06:44-05:00 0:00.010 0.000u 6.5.8 Configure convert[5200]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "/usr/local/share/ImageMagick-6.5.8/delegates.xml"
2010-01-16T22:06:44-05:00 0:00.010 0.000u 6.5.8 Configure convert[5200]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "/home/demirci/.magick/delegates.xml"
2010-01-16T22:06:44-05:00 0:00.010 0.000u 6.5.8 Configure convert[5200]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "delegates.xml"
2010-01-16T22:06:44-05:00 0:00.010 0.000u 6.5.8 Configure convert[5200]: delegate.c/LoadDelegateList/1222/Configure
Loading delegate configuration file "built-in" ...
convert: UnableToOpenConfigureFile `delegates.xml' @ configure.c/GetConfigureOptions/589.
convert: NoDecodeDelegateForThisImageFormat `Cover-1.jpg' @ constitute.c/ReadImage/531.
convert: MissingAnImageFilename `deneme.pdf' @ convert.c/ConvertImageCommand/2838.
There can be no permission issue because there is no such directory at all:
Code: Select all
/usr/local/share/ImageMagick-6.5.8
The problem is really weird. I am using Ubuntu and I installed ImageMagick and libmagick by using "aptitude", the standard package manager of Ubuntu.
In the past I installed this way and eveything was OK.
Re: convert: UnableToOpenConfigureFile `delegates.xml'
Posted: 2010-01-16T20:20:32-07:00
by magick
Its possible the package is broken. Normally, the ImageMagick configuration files would be in /usr/local/share/ImageMagick-6.5.8/config.
Re: convert: UnableToOpenConfigureFile `delegates.xml'
Posted: 2010-01-16T20:24:58-07:00
by demirci
Sorry for posting again.
Now I realized that, there is a directory
but "convert" is looking for the directory
which doesn't exist. Is the problem with me, or with the Ubuntu packages?
Re: convert: UnableToOpenConfigureFile `delegates.xml'
Posted: 2010-01-16T20:36:13-07:00
by magick
It looks like you may have two versions of ImageMagick installed. One for version 6.5.1 and one for version 6.5.8. We can't say if the problem is you or the distribution package. You could try downloading the source and typing:
- tar xvfz ImageMagick-6.5.9-0.tar.gz
cd ImageMagick-6.5.9-0
./configure --with-modules
make
make install
That should get you a working version of ImageMagick in /usr/local/bin.
Re: convert: UnableToOpenConfigureFile `delegates.xml'
Posted: 2010-01-16T23:23:16-07:00
by demirci
Unfortunately, after removing everything, even the config files, by
sudo aptitude purge [package]
for whatever I can find related to ImageMagick, the problem is still the same. I know that I can install from source, but I prefer package manager, because that way maintenance becomes much easier.
Anyway. I hope somebody by chance having the same problem posts the solution here.
Re: convert: UnableToOpenConfigureFile `delegates.xml'
Posted: 2012-05-01T08:07:25-07:00
by sharifu
i have followed this and i get the following error
Code: Select all
./.convert.bin cdps5715a.tiff -resize 480x480 /opt/alfresco/tomcat/temp/Alfresco/ImageMagickContentTransformerWorker_target_4809025644968969038.png
.convert.bin: UnableToOpenConfigureFile `delegates.xml' @ configure.c/GetConfigureOptions/553.
.convert.bin: NoDecodeDelegateForThisImageFormat `cdps5715a.tiff' @ constitute.c/ReadImage/526.
.convert.bin: MissingAnImageFilename `/opt/alfresco/tomcat/temp/Alfresco/ImageMagickContentTransformerWorker_target_4809025644968969038.png' @ convert.c/ConvertImageCommand/2775.
this is bundled in with alfresco 3.4d, on centos 64bit 5.5
Re: convert: UnableToOpenConfigureFile `delegates.xml'
Posted: 2012-09-12T12:43:13-07:00
by marsanyi
I believe it's a packaging issue. I had the same problem: see
http://ubuntuforums.org/showthread.php?p=12234817
--rbt