Bug 131708
| Summary: | ImageMagick convert missing file | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Sammy <sait.a.umar> | ||||||
| Component: | ImageMagick | Assignee: | Jonathan Blandford <jrb> | ||||||
| Status: | CLOSED RAWHIDE | QA Contact: | |||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | medium | ||||||||
| Version: | rawhide | CC: | ddumas, dm, taj, tjb, twaugh | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2004-09-15 19:06:44 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Bug Depends On: | |||||||||
| Bug Blocks: | 123268 | ||||||||
| Attachments: |
|
||||||||
Created attachment 103434 [details]
spec file
This is not just convert. I get this from all ImageMagick tools since last update (6.0.6.2-1, updating from 5.5.7.15-1.3). While at it we should go to 6.0.7-1 stable since it fixes a few other problems. According to imagemagick.org, convert and other commands search for 2 configuration files. When I linked /usr/share/ImageMagick-6.0.6 to existing /usr/share/ImageMagick directory, convert command seems to work well. So the question is: should ImageMagick be looking in /usr/share/ImageMagick-6.0.6/ or /usr/share/ImageMagick/? Created attachment 103527 [details]
ImageMagick spec diff file
I found that /usr/lib/ImageMagick-6.0.6/config directory ( which is included in rpm ) is also the search path of convert etc. , and almost all .mgk file are already in the directory. So, moving all .mgk files in /usr/share/ImageMagick directory to that directory will meet the demand. I made the diff file for spec file (which I previously sent.. sorry) which seems to work for me. This is related to 132007. I was going to mark it a duplicate of this bug. But Momoru's comment (#7) is contradictory to what I saw. Perhaps he is mistaken. rpm -qli ImageMagick |grep conf && rpm -q ImageMagick /usr/bin/Wand-config /usr/lib64/ImageMagick-6.0.6/config /usr/lib64/ImageMagick-6.0.6/config/colors.mgk /usr/lib64/ImageMagick-6.0.6/config/configure.mgk /usr/lib64/ImageMagick-6.0.6/config/delegates.mgk /usr/lib64/ImageMagick-6.0.6/config/english.mgk /usr/lib64/ImageMagick-6.0.6/config/locale.mgk /usr/lib64/ImageMagick-6.0.6/config/type-ghostscript.mgk /usr/lib64/ImageMagick-6.0.6/config/type-solaris.mgk /usr/lib64/ImageMagick-6.0.6/config/type-windows.mgk /usr/lib64/ImageMagick-6.0.6/config/type.mgk /usr/share/ImageMagick/configure.mgk /usr/share/man/man1/Magick++-config.1.gz /usr/share/man/man1/Magick-config.1.gz /usr/share/man/man1/Wand-config.1.gz ImageMagick-6.0.6.2-1 The application is looking for usr/lib64/ImageMagick/* which looks consistant with other packages. Please make sure the RPM places the file there instead of /usr/lib64/ImageMagick-6.0.6 With that, I'll mark 132007 a duplicate of this bug. But I think Mamoru mispoke. More details in 132007 *** Bug 132007 has been marked as a duplicate of this bug. *** I suppose that taj is using x86_64 package , where I am using i386 package. That seems to be the reason the directory of library differ. I checked both rpm packages and those directory differed. Then, it may be more preferable that all the mgk file in /usr/share/ImageMagick directory to /usr/share/ImageMagick-6.0.6 directory rather than to /usr/lib*/ImageMagick-6.0.6/config directory as taj previously commented. The searching directory is also checked by the command: convert -debug configure logo: image.pnm which imagemagick.org introduces. convert et al look for the files in: /usr/share/ImageMagick/config/* Current RPMs (ImageMagick.i386 0:6.0.6.2-2) are broken in this respect because they link the *.mgk files into /usr/share/ImageMagick but not into /usr/share/ImageMagick/config Hmm, I lied, that doesn't fix it... ImageMagick-6.0.7.1-3 fixes the config file stuff. It just leaves an empty /usr/share/ImageMagick, this is fixed in CVS. |
From Bugzilla Helper: User-Agent: Mozilla/5.0 (compatible; Konqueror/3.2; Linux; X11; en_US, en_US.UTF-8, en) (KHTML, like Gecko) Description of problem: when I try to convert a postscript file using convert i.e. convert fig3.ps f.eps I get an error: convert: UnableToOpenConfigureFile. convert: missing an image filename `f.eps'. some config file or perhaps some delagate is not where it is supposed to be. I have been building my 6.0.6 rpms for a long time and they are working fine. I am attaching my spec file (may not be perfect!) Version-Release number of selected component (if applicable): ImageMagick-6.0.6.2 How reproducible: Always Steps to Reproduce: 1. upgrade to 6.0.6.2 2. use convert to convert a file 3. Additional info: