Page 1 of 1

Unrecoverable error: invalidaccess in put

Posted: 2013-08-27T09:33:03-07:00
by Gaploid
Hi,
Just found that using ImageMagick-6.8.6-9 (convert.exe) on Windows 7 I`v receive this error:

Code: Select all

C:\Users\Gaploid\Desktop\ImageMagick-6.8.6-9>convert.exe butterfly.ai but.jpeg
Unrecoverable error: invalidaccess in put
Operand stack:
    true  false  --nostringval--  --nostringval--  --nostringval--  --nostringva
l--  --nostringval--  OutputAttributes  --nostringval--  --nostringval--  Output
Attributes  --nostringval--
convert.exe: `%s': %s "C:/Program Files (x86)/gs/gs9.09/bin/gswin32c.exe" -q -dQ
UIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=
0 -dGridFitTT=2 "-sDEVICE=pamcmyk32" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r
72x72" -dUseCIEColor  "-sOutputFile=C:/Users/Gaploid/AppData/Local/Temp/magick-4
340UDuA61IlJi8F2662000" "-fC:/Users/Gaploid/AppData/Local/Temp/magick-4340sv56LW
Wve0DA" "-fC:/Users/Gaploid/AppData/Local/Temp/magick-4340T-JfppzSvhCt" @ error/
pdf.c/InvokePDFDelegate/205.
convert.exe: Postscript delegate failed `butterfly.ai': No such file or director
y @ error/pdf.c/ReadPDFImage/682.
convert.exe: no images defined `but.jpeg' @ error/convert.c/ConvertImageCommand/
3127.
Its clear that IM using Ghostscript here and I`v installed it correctly the latest version 9.09. I can convert some files but have a problem with that. If I convert this .ai file using ghostscript:

Code: Select all

C:\Program Files (x86)\gs\gs9.09\bin>gswin32c.exe -dNOPAUSE -sDEVICE=jpeg -r144
-sOutputFile=c:\temp\example.jpeg C:\Users\Gaploid\Desktop\ImageMagick-6.8.6-9\b
utterfly.ai
GPL Ghostscript 9.09 (2013-08-21)
Copyright (C) 2012 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Processing pages 1 through 1.
Everything is going nice. And the result file can be found here https://dl.dropboxusercontent.com/u/739 ... ample.jpeg
The .AI file can be found here https://dl.dropboxusercontent.com/u/739 ... tterfly.ai

Looks like there is something wrong with params in IM.

Re: Unrecoverable error: invalidaccess in put

Posted: 2013-08-28T08:26:42-07:00
by pgn674
I think the problem is with Ghostscript. I had installed ImageMagick-6.8.6-9-Q16-x64-dll.exe and gs909w64.exe, and I could not convert a certain PDF. I got an error similar to yours. Then I tried uninstalling Ghostscript and installing gs907w64.exe, and now I am able to convert that PDF. Try using Ghostscript 9.07 from here: http://sourceforge.net/projects/ghostsc ... ript/9.07/

Maybe someone should report a bug with Ghostscript?

Re: Unrecoverable error: invalidaccess in put

Posted: 2013-08-30T02:43:33-07:00
by Gaploid
Thanks the old version is really work fine

Re: Unrecoverable error: invalidaccess in put

Posted: 2013-09-16T13:01:09-07:00
by pgn674
Ghostscript 9.10 has been released. I tested it, and it did not cause this problem for me.