Page 1 of 1
Error during convert
Posted: 2015-06-29T03:30:02-07:00
by miller
Hi to everybody,
i try to convert a image from jpg to pcl on my AIX-System. (preparing for printing)
my cmdline: convert ec10430039.jpg ec10430039.pcl
I got this errors from convert:
AnErrorHasOccurredReadingFromFile `ec10430039.jpg': A system call received a parameter that is not valid. @ error/constitute.c/ReadImage/637.
no images defined `ec10430039.pcl' @ error/convert.c/ConvertImageCommand/3066.
My version ov ImageMagick (Output from convert -version):
Version: ImageMagick 6.8.1-10 %F Q16
http://www.imagemagick.org
Copyright: Copyright (C) 1999-2013 ImageMagick Studio LLC
Features: DPC OpenMP
Delegates: bzlib fontconfig freetype jbig jng jp2 jpeg lcms lzma png ps tiff x x
ml zlib
Does anybody know what to do in this case?
Re: Error during convert
Posted: 2015-06-29T03:56:03-07:00
by dlemstra
Can you reproduce the issue with the latest version of ImageMagick?
Re: Error during convert
Posted: 2015-06-29T04:50:00-07:00
by miller
It is not easy to get the latest version for AIX.
My repository for 'freeware' related to AIX is perzl.org.
On this repository-website my installed version of ImageMagick is the newest one.
I'm sorry,I have no idea where to get a newer version von ImageMagick.
If there is anybody in the forum using a newer version on AIX pls. let me know.
Thank you.
Re: Error during convert
Posted: 2015-06-29T04:50:40-07:00
by magick
The "AnErrorHasOccurredReadingFromFile" exception message typically means ImageMagick was not installed properly or the configuration files have improper permissions. Look for the folders that includes delegates.xml and english.xml. Do they have read permissions enabled? You can determine where ImageMagick is looking for its configuration files with this command:
- convert -debug configure ec10430039.jpg ec10430039.pcl
Re: Error during convert
Posted: 2015-06-29T05:55:37-07:00
by miller
This is where the files are installed:
313 og: rs:/opt/freeware> find . -name delegates.xml
./etc/ImageMagick/delegates.xml
./share/doc/ImageMagick-6.8.1/www/source/delegates.xml
314 og: rs:/opt/freeware> find . -name magic.xml
./etc/ImageMagick/magic.xml
./share/doc/ImageMagick-6.8.1/www/source/magic.xml
315 og: rs:/opt/freeware> find . -name english.xml
./share/ImageMagick-6.8.1/english.xml
./share/doc/ImageMagick-6.8.1/www/source/english.xml
316 og: rs:/opt/freeware>
The directorys and files do have 'read-access'.
Owner is 'root'.
Output of the 'debug'-command:
287 og: rs:/users/rs> convert -debug configure ec10430039.jpg ec10430039.pcl
2015-06-29T14:40:53+02:00 0:00.010 0.000u 6.8.1 Configure rs[42663974]: utility.c/ExpandFilenames/936/Configure Command line: convert {-debug} {configure} {ec10430039.jpg} {ec10430039.pcl}
2015-06-29T14:40:53+02:00 0:00.020 0.000u 6.8.1 Configure rs[42663974]: configure.c/GetConfigureOptions/589/Configure Searching for configure file: "/opt/freeware/share/ImageMagick-6.8.1/magic.xml"
2015-06-29T14:40:53+02:00 0:00.020 0.000u 6.8.1 Configure rs[42663974]: configure.c/GetConfigureOptions/589/Configure Searching for configure file: "/opt/freeware/lib/ImageMagick-6.8.1//config-Q16/magic.xml"
2015-06-29T14:40:53+02:00 0:00.020 0.000u 6.8.1 Configure rs[42663974]: configure.c/GetConfigureOptions/589/Configure Searching for configure file: "/opt/freeware/etc/ImageMagick/magic.xml"
2015-06-29T14:40:53+02:00 0:00.030 0.010u 6.8.1 Configure rs[42663974]: configure.c/GetConfigureOptions/589/Configure Searching for configure file: "/opt/freeware/share/doc/ImageMagick-6.8.1/magic.xml"
2015-06-29T14:40:53+02:00 0:00.030 0.010u 6.8.1 Configure rs[42663974]: configure.c/GetConfigureOptions/589/Configure Searching for configure file: "/users/rs/.magick/magic.xml"
2015-06-29T14:40:53+02:00 0:00.030 0.010u 6.8.1 Configure rs[42663974]: magic.c/LoadMagicList/681/Configure Loading magic configure file "/opt/freeware/etc/ImageMagick/magic.xml" ...
2015-06-29T14:40:53+02:00 0:00.090 0.060u 6.8.1 Configure rs[42663974]: locale.c/LoadLocaleList/1092/Configure Loading locale configure file "/opt/freeware/share/ImageMagick-6.8.1/locale.xml" ...
2015-06-29T14:40:53+02:00 0:00.100 0.060u 6.8.1 Configure rs[42663974]: locale.c/LoadLocaleList/1092/Configure Loading locale configure file "/opt/freeware/share/ImageMagick-6.8.1/english.xml" ...
rs: AnErrorHasOccurredReadingFromFile `ec10430039.jpg': A system call received a parameter that is not valid. @ error/constitute.c/ReadImage/637.rs: no images defined `ec10430039.pcl' @error/convert.c/ConvertImageCommand/3066.
288 og: rs:/users/rs>
Re: Error during convert
Posted: 2015-06-29T06:12:05-07:00
by miller
Additional info:
chmod 777 to dir /opt/freeware/etc/ImageMagick and
chmod 666 to all files in /opt/freeware/etc/ImageMagick/* (inluding delegates.xml)
has no positive effect.