Silly-V / Adobe-Illustrator

Some useful Adobe Illustrator scripts
418 stars 298 forks source link

Error importing script (VariableImporter.jsx) #6

Closed pjanusc85 closed 8 years ago

pjanusc85 commented 8 years ago

Adobe Illustrator 2015.3.1 Release 20.1.0

Error Message: Error 60: Not well-formed (invalid token). Line 631: ->

Silly-V commented 8 years ago

XML-related error. Can you send your csv file to my email at vasily.hall@gmail.com ?

u2junk commented 8 years ago

Sorry, I think you replied to the wrong email address. I don't remember having a XML-related error.

Sent from Yahoo Mail on Android

On Mon, Oct 24, 2016 at 9:26 PM, Silly-Vnotifications@github.com wrote:
XML-related error. Can you send your csv file to my email at vasily.hall@gmail.com ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

Silly-V commented 8 years ago

I didn't reply to any email address, I post comments back on the github Issue. So for some reason you're subscribed to this thread - maybe try to unsubscribe.

hsawires commented 8 years ago

The error occurred before importing and CSV after restarting Illustrator File > scripts > VariableImporter then the error

Error 60: Not well-formed (invalid token).
Line 631:
->
Silly-V commented 8 years ago

So, it's actually when you try to run the script at all? Well, let me ask - which method do you use to download the script to your machines? You may not be getting a correct format if you don't go to the Raw tab to save the entire contents as ".jsx" format.

Silly-V commented 8 years ago
  1. Went to website: https://github.com/Silly-V/Adobe-Illustrator/tree/master/Variable%20Importer
  2. Downloaded file by right clicking and clicking save as: Variableimporter.jsx

This is incorrect: after you go to this website, do not stop there - you have to go to the Raw button to view the raw text. Only then, use Save As to save the raw text as .jsx. When you click Save As on the web page, you are saving the entire github webpage as HTML which is the cause of your error.