Skip to main content
Known Participant
February 6, 2012
Question

Variable Data Set has only one thing but the error asks for more

  • February 6, 2012
  • 2 replies
  • 2127 views

Hi -

I have a PSD (CS5, Win7) where I've defines 5 layers with variable names. One of them is the Heading layer with the variable named varHeading.  The Data Set I'm importing is very simple in that only the Heading layer will change. I'm gone over the construction of this text file a number of times but when I try to Import it as a Data Set I get the error:

"Could not parse the file contents as a data set.  There were not enough variable names in the first line of the text file."

varHeading

"BABY CAR SEAT AECC0841"

"BABY CAR SEAT AECC0842"

"BABY CAR SEAT AECC0843"

"BABY CAR SEAT AECC0844"

"BABY CAR SEAT AECC0845"

My first question is - does the number of variables stored in the PSD file have to match the variable names in the first line of the text file??

If NOT - can someone please help me figure out what I'm doing wrong?

TIA your expert input.

j2

This topic has been closed for replies.

2 replies

Known Participant
February 7, 2012

When you say you have defined 5 layers with variable names are you trying to attach the data set, that has one column, to each one at the same time? Did you create the data set in the Photoshop Data Sets Dialog ? The error that you are getting pops up when you have defined more variables than you have in your data set.

JLUCCAuthor
Known Participant
February 6, 2012

Here's the rule I found in the Help file:

"All variables defined in the PSD document must be defined in the text file. An error is displayed if the number of variables in the text file does not match the number in the document."

That's the answer.