So I have to generate flyers for 10 different laptops (and more in the future). I decided to set up variables. I’ve created an XML Map for MS-Excel which allows me to save the ‘XML Data’ type file. I have to make small amendments to the XML File, e.g. rename ‘v_sampleDataSets’ to ‘v:sampleDataSets’ for the file to be valid in Illustrator. Once that’s done, I use the Variables menu from Illustrator to load the variables.
It was working fine… I loaded, changed and reloaded the variables file (generated from MS-Excel) several times without any problems. Then I started to update the Illustrator layout. I had to move some images, re-size some text boxes and reduce some font sizes. At some point during these changes, the variables got an error:
The filter cannot complete because of an unknown error.
At that point, only 1 image file link wasn’t being dynamically changed, however all of the text was still changing according to the variables.
I’ve taken these steps to try to resolve the issue:
- Deleted the images, deleted image variable, replaced the image, relinked to a new variable, reset variable name to same as XML structure had previously. Reloaded the variables file. (Same error)
- Unlinked ALL variables. Deleted all variables. Started over. (Same error)
- Delete Illustrator CS6 Settings folder (preferences folder). Tried to load again… (Same error)
Nothing I tried worked; in fact now the problem is worse because the text is not updating.
What should I do now? I don’t think reinstalling Illustrator would do any good since I’ve already cleared the settings file and had the same problem.
If there is no solution, is there an alternative solution to dynamically created these files? I have to get them done by tomorrow morning :/
Answer
I encountered the same issue though mine was not related specifically to images. I isolated it to the fact that I was referencing a single variable multiple times in my report.
For example, I had the variable “ReportTitle” and linked it to a text box at the top of three different pages. I would see this in the variables panel:
Variables Objects
——— ——-
ReportTitle MY TITLE
ReportTitle MY TITLE
ReportTitle MY TITLE
I would receive the error any time I tried to load an updated variable library XML file.
The only way I could avoid the error was to create a unique variable for every instance in the report. Now I see this in the variable panel:
Variables Objects
——— ——-
ReportTitle1 MY TITLE
ReportTitle2 MY TITLE
ReportTitle3 MY TITLE
Attribution
Source : Link , Question Author : Community , Answer Author : Nate B