title: Value Error: Need more than 0 values to unpack
body: <p>I try to run the following Python script and I get the following error. Can anyone please help? Thanks.</p>
  <pre><code>sP=['','','']
  vP=['','','']
  for rows in range(len(data)):     # Repeat The Process for each set of data
      print rows
      # Read from the Data file :##
      sP[0], sP[1], sP[2], vP[0], vP[1], vP[2], SpotType, SpotDim, Overlap, Length, PressureMagnitude, PressureFWHM, FieldType, TempPressPro = data[rows][][][][][][][][][][][][][][]
  
      ##: Read Model and Part Name :##
      if ModelNm == '1st':
          ModelNm = mdb.models.keys(0)[0]             #: First Model Name
  
      if len(data[rows])==14:
          print 'No Extras'
          ##: Enter data into Row Function :##
          UStepLen, NewUltimateStep = LPRowBuilder(ModelNm,PartNm,sP,vP,SpotType.strip(), SpotDim, Overlap, Length, PressureMagnitude, PressureFWHM, FieldType.strip(), TempPressPro.strip())
  
      else:
          print 'Extras'
          Optionals=data[rows][14:]
  
          def dctBuild(X): return [X.split('=')[0].strip(), X.split('=')[1].strip()]
  
          Optionals=dict(map(dctBuild,data[rows][14:]))
          ##: Enter data into Row Function :##
  
          UStepLen, NewUltimateStep = LPRowBuilder(ModelNm,PartNm,sP,vP,SpotType.strip(), SpotDim, Overlap, Length, PressureMagnitude, PressureFWHM, FieldType.strip(), TempPressPro.strip(), **Optionals)
  
      if ModelNm == '1st':
          ModelNm = mdb.models.keys(0)[0]
  
  if NewUltimateStep != 'Yes':
      prevStepTime = mdb.models[ModelNm].steps['Load-Step'].timePeriod
      mdb.models[ModelNm].steps['Load-Step'].setValues(timePeriod=prevStepTime+UStepLen)
      del mdb.models[ModelNm].steps['Post-Load']
  </code></pre>
  <p>Error:</p>
  <blockquote>
  <p>sP[0], sP[1], sP[2], vP[0], vP[1], vP[2], SpotType, SpotDim, Overlap, Length, PressureMagnitude, PressureFWHM, FieldType, TempPressPro = data[rows][:14]</p>
  <p>ValueError: need more than 0 values to unpack</p>
  </blockquote>