Error - Code 68 - Script Extract Data contains broken project data source: gdb
Warning - Code 24032 - Data source used by Script Extract Data is not registered with the server and will be copied to the server: gdb
Hi Steffen,
Sorry for the delay in returning to this thread. I was pulled to another project that took my attention away.
The issue lies in the strict scanning of python scripts when publishing as a geoprocessing service. According to Authoring Geoprocessing Tasks with Python Scripts, "when your script is scanned, every quoted string (either single- or double-quotes) used in a Python variable or as an argument to a function is tested to see if it is a path to data that exists."
Line 135 in ExtractData.py is the culprit. I changed "gdb" to "file geodatabase" so it wouldn't look like part of a path when passed to getTempLocationPath, and it published. I'll be curious to see how the script has changed in SP1.
Hope this helps,
GG