On Mac AI4 I inherited files, that have 1000s of duplicate brushes in the library. Any copying is slow and pasting between documents fills the swatches palette with 1000s of Deleted Global Colors and brushes. The files are excessively large, slow and any copying is really slow. Can't load CS5 trial here at work(to try out that new cleanup command). This problem has been on the forums before (MAC/PC/CS3/CS4), but has not been solved. I started this as a new thread, as this problem is spreading out of control on other files.
Here is what I have tried so far that has not worked (as the files are slow/crashing and the brushes keep coming back)
The "deleted global colors"(see images below) problem has gotten better since cleaning up the code. The problem must lie in in the non-standard characters of the code, as I used search to flush out all items with "Deleted global" and "BeginPlugInObject" between start and ends tags. I also am getting the HUH error(see images below) when saving.
First do a save as using a different name you canalways change it back.
then close the document open the newly named document copy and do another save as close and open the document and do another save as.
Now close it again create a new blank document to the dimensions of the copied document. then place the last save as document in the empty document. Now try to delete the brushes then the coor swatches.
Do a save as three times again then close and see if it is still there.
Thanks for your reply. Tried doing the six save as and did not notice any change in filesize. DId a test afterwards with just the logo and you can see the change in filesize below. The filesize is not a problem just the SLOW copying and crashing, but that is what I am monitoring to help cleanse these files.
Is there anyone I can email this 5.5mb to. Was 22mb prior to pdf compatible.
I have been experiencing the exact same problem, you are describing above ( Deleted Global Colors/[HUH?] ). I feel your pain!
We have 4 imacs running in our studio and first encountered this issue about a year ago in CS3, we upgraed to CS4 in the vain hope it would go away, alas it stayed with us, I have now upgraded to CS5 and the probelem still exists. I have raised the issue with Adobe and they made me run through some exercises. Such as using the new action in AI "Delete unused panel items". This has made no difference and in fact we had been removing the panel items manually anyway.Once the problem exists within the file it gets transferred by copying and pasting between files. That's if you have nerves of steel, to let you wait the absolute age while trying to copy even just small vectors or even type! Then the pasting into the new document takes an age. Adobes temporary solution is a "work around" "Don't copy and paste!" Easy to say harder to put into practice!
I have sent an infected file to Adobe to test and they said they have about 20 such on going cases they are working on.
If you hear anything or find any solutions I would love to know. And in the mean time remember not to copy and paste!
Yes I found an answer to this and posted on a previous post.
Credit to this solution goes to Moluapple (from China I believe) who emailed me a corrected file and this:
What I have done is delete all lines between
MY FILES ARE SMALL AND FAST AGAIN THANKS AGAIN MOLUAPPLE!
If you struggle with this you can ftp me a file and I'll do one for you.
Wow this is great news. I must havemissed that previous posting.
It sounds a little bit complicated for someone not like me who is not that techie, we will have a go though for sure, I will get our Mac tech support guy to come in and help sort it for me.
Perhaps before I try it, if you would be kind enough to see if it does actually work on one of my files.
I have uploaded a file for you to our ftp if that's ok, I really appreciate your help very much.
Sorry to have not seen your post earlier, not getting my updated post emails though I enabled them on this forum. I got the file, but did someone else fix it. Anyway I got the file down from 5.9mb to under 816k. Will try to private message you.
Mike If I delete the everthing between those two lines, there is not much left of my file after opening.
How far down in textwrangler should i dig? There are approx 14 of the %A15_End_NonPrinting lines in my file. Which one is causing the problem. Thousands of bogus brushes and symbols keep regenerating as well as deleted global colour
These damn files are really starting to be viruslike, I hope there is a real fix soon!!!!
In my problem, I deleted over 95% of my code, and the file got smaller, faster and functioned normally. Every case is different with how many you have so I can't give you a finite answer on how many to delete. You most likley can delete all of them.
Obviously keep a backup of your original, incase you delete too much. In worst case you might delete a brush or color, that you can recreate, just don't copy that from an infected file, or it comes back. Has been over 3 months now, and all is functioning well, and the infected files are fewer. We almost lost the entire Shurfine brand because of this problem.
I finally got the files cleaned up. Alot of experimental selections of in Text Wrangler paid off ...thanks!
I did notice quite a few references in the code to "ARTPRO" (which I removed)....Hmmmm could it be a careless use of plugins from a production shop?
Thanks to Mike for forwarding me to this thread. Unfortunately the prescribed cure hasn't worked for my nearly identical problem...
None of the infected files have any occurence of "%AI5_Begin_NonPrinting" or "%AI5_End_NonPrinting" or "ARTPRO" etc. They are client files, so I'd be unable to share them... any ideas?
After a couple of weeks there are still some painful anomalies in the files. Some text changing to black instead of K/O etc. Not sure if this is a result of removing critical data in textwrangler? Still scary moving forward and trying to keep infected files separate from finals. Hope we don’t have egg on our face at the printers!!!! Still no word as to a cause anyone???
This may help, i've try one of the infected file.
- open the infected file, select all
- create new document
- click the arrange documents on the infected document, choose 2-up
- drag over the selected all file to the new document, save it.
- close all document
- open the new saved file. check brushes, it should back to normal.
You should be good once this goes to print if you have corrected any spot colors/styles/ brushes, that got lost in the process. I've fixed quite a few files now since started working on this account. The worst that happens is some type goes missing, but doing a command Y shows it is there, and never had to spend more than 10 minutes proofing and recoloring lost spot colors. Prior to fixing this bad code, I lost 10 minutes on each copy/paste, so recoloring a few items was a small price to pay for clean files that won't infect other accounts.
Though we do packaging design here, they do not remember the Art Pro plug in, but will ask our weekly tech guy that comes in to see if he remembers.
Looks like there's still no real solution for this and we're at CS5 now. The real problem is when you copy and paste, all these deleted global colors get added to the swatches. Does anyone have a solution for the colors not being added at all? Cleaning up code is like a medicine for after you're already sick. We need a vaccine so this infection doesn't happen at all! Help us, Adobe! You're our only help!
hope my attached picture explain well.
1) open infected file, you can see all the brushes swatches and symbols duplicated.
2) Create New document.
3) click the arrange documents choose 2 up.
4) with the side by side documents, click the infected document. Then, select all. Drag the selected artworks Over to New document. As attached.
5) Check the brushes Swatches Symbols at the new document. The duplicated items has gone. Oh Yeah!
Now, save the new document. DELETE the infected file. Or you want to keep it.
Then, delete unwanted colors, then do the copy and paste in your new saved document. Check color swatches.
Is my solution fix your file?
yes, thank you! i would also add unchecking the "Embed ICC Profiles" box in the Illustration Options window when you save. this seems to keep those deleted global colors from coming back.
Unfortunately editing the code is the only way to rid your self completely of this if you have a typical infection.
In post #16 someone is suggesting copying and pasting to a new document, but that does not work as the nasties will come back.
You may get some temporary relief, as that will delete some of the code for you, but that part that replicates is still there lingering. Not embedding the color profiles is a good idea but the most recent the worked on I did not solve that.
I have had many cases of this ftp'ed to me as a result of this post from every continent but Antartica, and in none of them did copying and pasting completely solve the problem. There is a possibility for a less severe case, but for the havoc this causes I would recomend getting the job done right.
Just to clarify, the someone in post 16 was suggesting Drag Over. Not copy and paste. ( must be last paragraph misleading. i should write: try do a copy and paste and see any unusual time-consuming take, because infected file will slow and hang a while when you copy paste. )
I will update the attachment to make the message clear. Thank you.
p/s: I'm not familiar with the code editing.
image attached here:
so happy to heard that.
and thanks for your suggestion of unchecking the "Embed ICC Profiles" box.
So, would you like to try the Code Editing?
Seems like is a bugs inside CSAI series.
So far I'm using the drag over steps and solved those infected files, after all the files clean and clear. other users no problem to open it.
code editing should be the current solution as advised by Mike Gondek.
but for my case it just the file infected, not the software.
if some of your file included huge and complicated designs and drag over steps make your computer crazy then code editing is the way.
Adobe support team should consider Mike Gondek suggestion.
Sorry if I am going over old ground here, but the soloution I have been using as a work around for cleaning out infected files is this.
I run the pre set action in illustrator "delete unused Pallete items" I then Export the file as an adobe illustrator.eps file.
I then open a new illustrtor file and place the exported eps into this new file. I then embed the eps. Then when I save the file it is error free.
I will however look into trying the trick of unchecking the "Embed ICC Profiles" box in the Illustration Options window when I save.
Word of warning try and keep track of what old files contain the "huh" as if you copy any of these into clean files it will all start over again.
I hope that helps.
Glad to hear about other workarounds. I tried placing a .eps and embedding. I can live with layers getting lost, but gradients and drop shadows turned into a pandoras box of embedded graphics, are no longer in spot colors.
Is this a workaround for the HUH error, or can you get a fully editable .ai file restored?
Yes , my workaround is probably only fully useful when the files you are working on dont involve complex things like gradients etc.
I can't say for sure if the files I generate through using the method I described (post 26) are 100% free of the [HUH] error but they let me copy and paste as normal and they save in a normal time.
Quite often I have to create new versions of old artwoks that are infecected with the [HUH] and this is the method I employ now each time, and yes sometimes I do have to re build parts of the artworks, but it is quicker than starting from scratch.
Best, easiest and most elegant way to get rid of that stuff without loosing functionality is:
- open the infected file in illustrator
- menu: file -> save a copy -> choose .pdf
- within the option dialog box make sure you DESELECT(!) the **Preserve Illustrator Editing Capabilities** check box ! ! !
- close all documents
- open the freshly saved .pdf in illustrator
- save it as an illustrator (.ai) file again!
Done! All panels (swatches, symbols, graphic-styles) should be empty now.
To get back only the colors used within you objects just
- select all (ctrl + A)
- go to the swatches panel
- choose **from selected artwork** + **create global**
Nils Barner, ACI / ACE
This issue is solved now!
In September 2012 in corporation with Nils M. Barner (nmbdesign, Germany) and Lanter Design AG (Swiss), the amazing Adobe Illustrator engineers (special thanks to Varun!!) were able to finally fix this issue for ever! This basically is Illustrator Update Illustrator 16.0.1 (and just a part of 16.1.0 - for Creative Cloud user only!)
Please check the following *how to* tech note the engineers posted for you:
This is a brand new update of an already existing solution killing all the errors which might have remained in the structure of your *infected* files, so follow the steps and cleanup all of them.
Personal advice / tips 'n tricks:
This is a way to clean your files structures completely without any changes to your artwork at all. There will be no flattening, no additional clipping mask creation nor any other change to your stuff. It*s a brilliant solution to solve the HUH-issue for ever, so go a head and give it a try! The only reason why this correction is not set to auto-correct each file by default is the change of structure elements within the file. Engineers may not be allowed to change the structures of your files automatically but they added a script for you making it easyier to activate/deactivate auto-correction - you will love it ;-)
Here*s a 10 step work flow tip from Lanter Design who just have fixed hundreds of files:
PS. Please feel free to post your personal feedback, compliments and worship for the engineers for this solution:
So I am confused.... in Post 16 from kuongchin6600 on April 2011 is the procedure that our studio adapted to clean our files (as the code editing method was unreliable and time consuming), now a year and a half later some engineers are getting credit? Hmmmm....Kudos to chin6600
this method only works with less corrupt files and does not solve the structure damage completely because after dragging/dropping still corrupt code remains in the new file. So if this fits you well, just go ahead but if you belong to that part of users for whom none of the work flows worked out or if you really want to be sure to get rid of any corrupt part in your files structures you should take advantage of the described new possibility above.
Less corrupt files? Like a little bit pregnant? I can assure you we were on our knees at one point. Sorry Nils, I we just have a few other issues with illustrator in the studio right now, so I do appreciate your efforts. As I said...The 10 steps have been working great for us. And a $35,000 dollar investment to upgrade to AiCS6 to fix a bug is not a realistic approach.
Thanks again to all who have contributed to what may have been a game ender for some of our clients and suppliers affected.
If corrupt files are the same than pregnancy to you, you should stop watching films like "Alien" ;-)
I myself spotted 4 different kinds of corruptness with more or less damaged file structures...
BTW you*ll just need 1 machine to convert and save as a previous version file... even 30 day trial would do the job... if so, 12 machines will do for a whole year *lol*. It also works with CS5 or earlier, but as described in the tech note less confortable...
Hey Mike, see kuongchin6600's post in #13 and #16.
I've been using this method for the last 2 years and it works everytime with no hassles.
I don't have CS6 yet so I don't have the two up function but that doesn't matter much.
1. Open infected doc
2. Select all
3. Open new doc
4. DRAG (do not copy), all elements from infected doc to new doc.
5. Select all unused colours and delete
6. Save new file
It's that simple. I posted this solution over a year ago but can't find it so thought it was worth repeating.
Thanks Jeff. Great to see so much response to this post. The methods in 13 & 16 sped up files in some cases, but in each case they left residual infected useless code. Though deleting lines of code may take longer, and some appearance colors are lost, I feel more comfortable in erradicating this entirely. I have not had anyone send me files to fix since the CS6 patch has come out, but would definitely try that.
Though there is no way to cleanse all files on the planet of this permanently, as designs get sunsetted and people delete their old files, this "Deleted Global Name" problem should fade into a distant bad memory.