Help get this topic noticed by sharing it on Twitter, Facebook, or email.

Error Opening Illustrator File = Offending operator: "Bg"

I have an Illustrator file that I created and I made a change to a gradient and then saved the file. When I tried to reopen the file I got the error message listed below:

Offending operator: Bg

-293.6436 3.81445 -303.502 -12.5605 -314.9639 -24.0186 c


1 (Unnamed gradient 2) 0 0 90 1 1 0 0 1 0 0 Bg

Is there a way to repair this file by editing the PostScript code? This is a logo file that I spent quite a few hours on and I would hate to have to recreate it from scratch. Unfortunately, the project is due in a couple of weeks. If I need to start over from scratch I would like to know right away, please. Thanks.
1 person has
this question
  • 1
    I did come across your suggestion and tried that with no success. With the urgency of finding out if this file was a total loss or not, I continued to research while waiting for a response on here. I was actually able to salvage the file after finding out some key information. The error message I listed above clued me in on what exactly to look for in the PostScript. Upon further research I found that a major setback in being able to fix it in the PostScript was the fact that I had the file saved as an .AI with file compression. The data compression set to the file did not allow me to find the offending operator in a text editor since it was all part of the compressed encoding. So the real trick was finding out a way to get the code decompressed. I found the savior to my file in this posting on the technet:
  • (some HTML allowed)
    How does this make you feel?
    Add Image

    e.g. kidding, amused, unsure, silly happy, confident, thankful, excited sad, anxious, confused, frustrated indifferent, undecided, unconcerned