Page 1 of 1

IMdisplay error

Posted: 2017-04-17T16:41:14-07:00
by advlaser
I'm trying just the most basic imdisplay command,

Code: Select all

IMdisplay wizard.jpg
and I get the error
IMDisplayDoc function [DoReadImage] reported a warning imdisplay.exe: UnableToOpenConfigureFile 'magic.xml' @ warning/configure.c/GetConfigureOptions/715
I get this when I display any file. Any ideas?

Re: IMdisplay error

Posted: 2017-04-17T19:22:01-07:00
by fmw42
What is your IM version and platform? Please always provide that when asking questions. How did you install IM -- from binary or from source and which version of binary? Is it compatible with your Windows OS?

Re: IMdisplay error

Posted: 2017-04-19T18:35:00-07:00
by advlaser
I'm running Windows 7, 32bit with ImageMagick-7.0.5-4-Q16-x86-static - installed binary. So I'm pretty sure it's compatible.

Re: IMdisplay error

Posted: 2017-04-20T01:48:48-07:00
by snibgo
advlaser wrote:UnableToOpenConfigureFile 'magic.xml'
This suggests a major problem. Perhaps IM files have been deleted or moved. Do other IM commands work? Eg:

Code: Select all

magick rose: r.png
magick r.png r.jpg
A re-installation would probably fix the problem.

Re: IMdisplay error

Posted: 2017-04-20T17:57:56-07:00
by advlaser
I tried your example above and I get the same error. I deleted my initial installation and reinstalled imagemajick. Still the same error.

K:\ImageMagick>magick rose: r.png
magick: UnableToOpenConfigureFile `magic.xml' @ warning/configure.c/GetConfigureOptions/715.

Magic.xml is in the imagemagick directory and I can edit it via notepad and save changes. Any other ideas?

Re: IMdisplay error

Posted: 2017-04-21T03:21:58-07:00
by snibgo
I suggest you try:

Code: Select all

magick -debug all rose: r.png
This should write a load of text, including an error message. This will include something about where it is looking to find your config files. Then try:

Code: Select all

magick -debug all rose: r.png >dbg.txt
This will write that text to a file dbg.txt. Paste the contents of that file here.

Re: IMdisplay error

Posted: 2017-04-23T16:10:24-07:00
by advlaser
I tried your example above and I get the same error. I deleted my initial installation and reinstalled imagemajick. Still the same error.

K:\ImageMagick>magick rose: r.png
magick: UnableToOpenConfigureFile `magic.xml' @ warning/configure.c/GetConfigureOptions/715.

Magic.xml is in the imagemagick directory and I can edit it via notepad and save changes. Any other ideas?

Re: IMdisplay error

Posted: 2017-04-23T17:14:15-07:00
by snibgo
I gave you one: "-debug all"