CreateGPSDDraft with multiple results issue

1019
2
03-28-2013 09:11 AM
AlexanderKhoroshun
New Contributor
I'm trying to call CreateGPSDDraft function (new 10. SP1 ArcPy function) with multiple results parameter as described in this help topic:

http://resources.arcgis.com/en/help/main/10.1/index.html#//018v0000008z000000

toolOneResultFullPath = "C:/SCRIPTSTEST/ToolOneResult.rlt"
toolTwoResultFullPath = "C:/SCRIPTSTEST/ToolTwoResult.rlt"
arcpy.CreateGPSDDraft([toolOneResultFullPath , toolTwoResultFullPath ], "output.sddraft", "myservice")


But, I'm getting "Value Error: C:/SCRIPTSTEST/ToolOneResult.rlt" (Line 481 in "_base.py").

There's no errors if I'm calling  CreateGPSDDraft function with any single result.

Any advice from Esri team?
Tags (2)
0 Kudos
2 Replies
AlexanderKhoroshun
New Contributor
Unfortunately, it seems like CreateGPSDDraft function doesn't work with multiple results if results are taken from saved files.
The only workaround I was able to find it's run tools in Python script and get results 'on the fly'.
CreateGPSDDraft function works with multiple results I got in the script.

Hopefully this issue's going to be fixed because for some workflows it's necessary to run CreateGPSDDraft function with multiple saved results as parameter.
0 Kudos
ShaneBuscher
Occasional Contributor

ESRI?

0 Kudos