I am also getting this Error.
Offending Operator: '%AI3_EndEncoding TrueType'
[/_C&CRedAlert[LAN] 0 0 0 TZ
The stupid thing is, I didn't like the font, so I stopped using it in the document. It shouldn't even be in the file anymore, but still managed to corrupt it.
I opened the file in textEdit but I can't find the string for that font.
I can't even find the '%AI3_EndEncoding TrueType' string.
I have placed the file into a new illustrator document, but it breaks apart all of my layers into a million groups.
So Im trying to leave that as a last resort.
Any body else have any luck?
This just happened to me on a huge project! I was able to recover everything, except for the fonts were no longer in text boxes, and the clipping paths had to be recreated. Here's what I did:
Open a new doc in illustrator. Place the corrupted file into the new document. Select the file that is placed and choose Object, Flatten Transparency. Leave all of the defaults. Then remove the clipping mask on the flattened object by clicking command shift 7. You should then be able to click into the group, or simply ungroup to get at your design.
I hope this helps!
Design Scout, your advice solved my problem and allowed me to re-open my file that was throwing the illegal operand error. Thank you SO much!! The layer names are all messed up and there are a few fixes I need to make, but man is it better than doing that whole thing over again. I was so scared I lost at least 8 hours of work from this! Thanks again!!
Try placing the file in a new document; click on Embed on the horizontal toolbar; ungroup; then your artwork will be editable. The text boxes will have to be reconstructed, so that's a bummer.
If you think the problem is a font, try this ... open a new document, type a few characters of text, assign the text the font that you think is the problem. Click off the text. Your screen will flicker once. Then try to open the problem file. At least this works on my equipment. Illustrator I guess loses connection with a font sometimes. This happened in CS4 and CS5..
Not to discredit Design Scout's glorious solution, of which partially worked for me. It basically recovered what was visible. Great for recovering what i most recently worked on, not so great for everything else. But another solution that worked 100% for me was found here: http://daxxter.wordpress.com/2009/04/16/how-to-recover-a-corrupted-ill ustrator-ai-file/
I noticed after researching this problem, there are different types of operand errors. I had the one with ((((((((((((( in it like Ben, the original poster. There are others involving fonts and other stuff. The solution in the url I provided seems to be for the font one, but I was able to fix my problem by following all steps except the last couple.
When the _recoveredFile.ai was opened in text edit and after searching for something in the error message (I used a "-24.33 456.5" that was in my error message instead of the ((((((((((( because my dislexia prevented me from getting an exact count of ('s), I had two lines with the bunch of ((((('s in them. I removed all the ((((((( from both lines, saved the file and opened back up in AI. And bingo!! 2 months of work 100% recovered Hope this can help anyone else.
First. Can't tell you how helpful this forum post/thread has been today. I successfully recovered two files that had "illegal operand" due to a corrupted Font, despite every Adobe tech support person writing me off – writing my files "gone".
Second. For anyone interested my "offending operator" was:
Specifically, the context:
[/_[-Andvari-]-Regular/[-Andvari-]-Regular 0 0 0 TZ
%AI3_EndEncoding True Type
The did exactly as explained here (below, by Levitikon).
However, my Library/ and Preferences/ were hidden...which made it frustrating because I had to find how to make them visible. Well, here's the link to explain how to do that : http://osxdaily.com/2011/07/22/access-user-library-folder-in-os-x-lion /
WARNING: Coogweaver's method (a good one indeed) about ceating a new document so you can File/Place the corrupted one helps IF (and only if) your artwork is completely done on the "art board" (i.e. doc size = letter, tabloid, etc.). If you're like me and work through a lot of iterations and creative business all around...then bring it into the the "art board" well – it WILL be lost. The "workspace" is not considered by any option (even though their are 5 to choose from) during "File/Place". This seems to be because the Place feature treats an AI (.ai) file as a PDF (.pdf) which only see the art board dimension (not the entire working space of your document).
So, the lesson learned is:
a. Work on the art board (or at least move artwork of importance to it PRIOR to saving your documents)
b. If you need more room, the goto File/Document Setup/Edit Artboard to create more space that woudl be salvageable (in case of a corrupted file) – if you rely on Coogweaver's rescue op.
c. If not, then you have to use Leviticon's method (see above), because it WILL recover the entire working space
Good luck everyone!
That technique Levitikon forwarded (at daxxter.wordpress.com) worked best for me when I had a file go mysteriously corrupt on me today; although it didn't recover everything, it got plenty and saved me a LOT of heartache and recovery time. Both the corrupted file and the recovery one are missing content from layers above a certain point, but the recovery file had a lot more still available in there. As I've scoured the text-only contents of both the recovery and the original file, I'm finding that it's likely the content that's missing was lost in the process of the last save, the one which corrupted it, so it truly is _gone._ Then again, possibly not: opening the .ai file in Acrobat Pro X, I see a few items that are on a layer that didn't survive into the recovery file, but they're the only relics remaining.
Probably the biggest thing I learned in the process (aside from the importance of saving backup copies along the way, which I am eternally guilty of not doing) was that everything independently on the pasteboard (i.e., not atop something which also straddles the artboard edge) got lost, so in the future I'll not keep temporarily extraneous things there but rather in a separate file or hidden layer. THANK YOU Levitikon for posting that!
p.s. I tried many other techniques suggested here, as well as opening the various files in Illustrator CS6 (my file was CS3), and all of the other results were makeshift at best and all-but-useless at worst...still, if I needed to get just *something* recovered from the corrupted file, I'd be glad for any of it. I was surprised that opening the .ai file in Acrobat X and saving it as a PDF didn't quite work -- neither Illustrator CS3 nor CS6 would open the resulting PDF unless I saved it as an Optimized one, and in any case it was the usual all-layers-combined mess the other techniques yielded as well.