cwarnold

ERROR 001242 when calling arcpy.CreateGPSDDraft with result from .pyt toolbox

Discussion created by cwarnold on Feb 19, 2014
Latest reply on Sep 4, 2015 by dastewart
I am unable to successfully call arcpy.CreateGPSDDraft with a result object from a tool that's defined in a python toolbox. 

I always get the following error:

 
  rl = [tool() for tool in tools] # calls each tool and stores the result objects in "rl"
    arcpy.CreateGPSDDraft(rl, r'S:\source\git\testpyt\test_gp_create.sddraft', 'test_gp')
    Out[4]:
    {'errors': {(u'ERROR 001242: Tool test1 is missing item description summary',
       80): [],
      (u'ERROR 001242: Tool test2 is missing item description summary', 80): [],
      (u'ERROR 001242: Tool test3 is missing item description summary',
       80): [], ..


Anyone had any success with this?

Outcomes