Bug 689926 - Unable to convert .ai (Adobe Illustrator) file to PDF or any other supported file type.
Summary: Unable to convert .ai (Adobe Illustrator) file to PDF or any other supported ...
Status: RESOLVED DUPLICATE of bug 626464
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: PS Interpreter (show other bugs)
Version: 8.61
Hardware: All Linux
: P4 normal
Assignee: Default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-27 12:22 UTC by Dan Bruns
Modified: 2008-06-27 14:58 UTC (History)
0 users

See Also:
Customer:
Word Size: ---


Attachments
test.ai (57.12 KB, application/postscript)
2008-06-27 12:23 UTC, Dan Bruns
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Bruns 2008-06-27 12:22:44 UTC
#
$ convert test.ai test.pdf
#
Error: /undefined in Adobe_level2_AI5
#
Operand stack:
#
 
#
Execution stack:
#
   %interp_exit   .runexec2   --nostringval--   --nostringval--  
--nostringval--   2   %stopped_push   --nostringval--   --nostringval--  
--nostringval--   false   1   %stopped_push   1905   1   3   %oparray_pop   1904
  1   3   %oparray_pop   1888   1   3   %oparray_pop   1771   1   3  
%oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--  
--nostringval--   --nostringval--   2   %stopped_push   --nostringval--
#
Dictionary stack:
#
   --dict:1156/1684(ro)(G)--   --dict:0/20(G)--   --dict:93/200(L)--
#
Current allocation mode is local
#
Current file position is 1211
#
GPL Ghostscript 8.61: Unrecoverable error, exit code 1
#
Error: /undefined in Adobe_level2_AI5
#
Operand stack:
#
 
#
Execution stack:
#
   %interp_exit   .runexec2   --nostringval--   --nostringval--  
--nostringval--   2   %stopped_push   --nostringval--   --nostringval--  
--nostringval--   false   1   %stopped_push   1905   1   3   %oparray_pop   1904
  1   3   %oparray_pop   1888   1   3   %oparray_pop   1771   1   3  
%oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--  
--nostringval--   --nostringval--   2   %stopped_push   --nostringval--
#
Dictionary stack:
#
   --dict:1156/1684(ro)(G)--   --dict:0/20(G)--   --dict:93/200(L)--
#
Current allocation mode is local
#
Current file position is 1211
#
GPL Ghostscript 8.61: Unrecoverable error, exit code 1
#
convert: Postscript delegate failed `test.ai': No such file or directory.
#
convert: missing an image filename `test.pdf'.
#
Comment 1 Dan Bruns 2008-06-27 12:23:54 UTC
Created attachment 4165 [details]
test.ai
Comment 2 Ralph Giles 2008-06-27 12:33:55 UTC
I've confirmed the error with HEAD. The file is Postscript, not PDF, The
reporter claims it opens in Illustrator.
Comment 3 Marcos H. Woehrmann 2008-06-27 12:44:22 UTC
I'm traveling and don't have Illustrator on my laptop, but Apple Preview and Adobe Photoshop CS3 won't 
open the file and Adobe Distiller reports and error:

%%[ Error: undefined; OffendingCommand: Adobe_level2_AI5 ]%%
%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
%%[ Warning: PostScript error. No PDF file produced. ] %%

I'm closing as invalid since 3 strikes and your out.
Comment 4 Alex Cherepanov 2008-06-27 13:13:32 UTC

*** This bug has been marked as a duplicate of 626464 ***

*** This bug has been marked as a duplicate of 626464 ***
Comment 5 Ray Johnston 2008-06-27 14:58:07 UTC
Adobe Illustrator files prior to whenever they started using PDF were PS
subsets that require the "AI ProcSet" that defines all of the operators used
in the .ai portion. You can observe this ProcSet if you look at the start of
a PostScript file saved for 'export' using the older Adobe Illustrators.

If you strip off the ProcSet and use it as a prefix for a .ai file, you should
be able to open the combined file with Ghostscript.