# $ 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'. #
Created attachment 4165 [details] test.ai
I've confirmed the error with HEAD. The file is Postscript, not PDF, The reporter claims it opens in Illustrator.
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.
*** This bug has been marked as a duplicate of 626464 *** *** This bug has been marked as a duplicate of 626464 ***
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.