<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: arcpy.sa.Spline issues in BETA2 in ArcGIS Runtime SDK for WPF (Retired) Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/arcpy-sa-spline-issues-in-beta2/m-p/561477#M2846</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can somebody at Esri confirm this issue with the SA Spline method ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Mar 2012 12:02:07 GMT</pubDate>
    <dc:creator>BKuiper</dc:creator>
    <dc:date>2012-03-06T12:02:07Z</dc:date>
    <item>
      <title>arcpy.sa.Spline issues in BETA2</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/arcpy-sa-spline-issues-in-beta2/m-p/561464#M2833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;the arcpy.sa.Spline function in BETA 2 has some issues:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- the %scratchworkspace% variable is not populated. The %scratchworkspace% value is not replaced with the actual location of your scratchworkspace.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- A temporary file is created (spline_selecXX) in the parent directory of the specified input file. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Not sure if the later can be really considered a bug, but i was surprised to see this behavior.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you confirm these issues ? I can send you an example, but this should be really easy to replicate.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ps: I'm running arcpy.sa.Spline through a python script, in ArcCatalog.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2012 17:22:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/arcpy-sa-spline-issues-in-beta2/m-p/561464#M2833</guid>
      <dc:creator>BKuiper</dc:creator>
      <dc:date>2012-02-27T17:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.sa.Spline issues in BETA2</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/arcpy-sa-spline-issues-in-beta2/m-p/561465#M2834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you can send an example that would be much appreciated. Either attach to this thread or send to &lt;/SPAN&gt;&lt;A href="mailto:mbranscomb@esri.com"&gt;mbranscomb@esri.com&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2012 08:23:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/arcpy-sa-spline-issues-in-beta2/m-p/561465#M2834</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2012-02-28T08:23:28Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.sa.Spline issues in BETA2</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/arcpy-sa-spline-issues-in-beta2/m-p/561466#M2835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm running the following script&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;--- SplineExample.py&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# -*- coding: utf-8 -*-&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# ---------------------------------------------------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# SplineExampleScript.py&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# Created on: 2012-02-28 10:11:31.00000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#&amp;nbsp;&amp;nbsp; (generated by ArcGIS/ModelBuilder)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# Description:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# ---------------------------------------------------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Import arcpy module&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;import arcpy&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;from arcpy import env&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;from arcpy.sa import *&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Check out any necessary licenses&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.CheckOutExtension("spatial")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Local variables:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;selection0 = "selection0"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Z_value_field = "inmval"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Weight = "0.1"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Number_of_points = "12"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Output_raster = "C:\\YourDirectory\\Spline_selec3"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dstfile = "%scratchworkspace%\\Spline_selec3"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;outSpline = Spline(selection0, "inmval", weight="0.1", number_points=24, spline_type="REGULARIZED")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;outSpline.save(dstfile)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;---&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just save it somewhere and include it in a Toolbox.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I use the attached shapefile and run it from ArcMap or ArcCatalog to demonstrate the problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is that the %scratchworkspace% will not be populated with the value as specified in Geoprocessing-&amp;gt;Environments-&amp;gt;Workspace&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2012 13:27:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/arcpy-sa-spline-issues-in-beta2/m-p/561466#M2835</guid>
      <dc:creator>BKuiper</dc:creator>
      <dc:date>2012-02-28T13:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.sa.Spline issues in BETA2</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/arcpy-sa-spline-issues-in-beta2/m-p/561467#M2836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here is an example what goes wrong:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Executing: Spline&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Start Time: Tue Feb 28 10:14:00 2012&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Running script Spline...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Traceback (most recent call last):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "C:\MyDirectory\Toolbox\SplineExampleScript.py", line 28, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; outSpline = Spline(selection0, "inmval", weight="0.1", number_points=24, spline_type="REGULARIZED")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;RuntimeError: ERROR 000875: Output raster: c:\windows\system32\%scratchworkspace%\Spline_selec3's workspace is an invalid output workspace.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Failed to execute (Spline).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Failed at Tue Feb 28 10:14:02 2012 (Elapsed Time: 2.00 seconds)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;normally %scratchworkspace% should be replaced with the directory specified in the geoprocessing environment and the c:\windows\system32 shouldn't be there.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2012 13:28:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/arcpy-sa-spline-issues-in-beta2/m-p/561467#M2836</guid>
      <dc:creator>BKuiper</dc:creator>
      <dc:date>2012-02-28T13:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.sa.Spline issues in BETA2</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/arcpy-sa-spline-issues-in-beta2/m-p/561468#M2837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;(I'm coming at this from the GP side - not so much the Runtime side)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you try replacing the %scratchworkspace% variable with %scratchFolder% and re-creating your gpk?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We've had issues (and I dont recall when we've fixed them exactly) where inline variables, like scratchworkspace were not being evaluated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Even though scratchFolder is derived from scratchworkspace, they are handled in slightly different ways during the package creation process, thus might be behave differently on consumption.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2012 14:42:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/arcpy-sa-spline-issues-in-beta2/m-p/561468#M2837</guid>
      <dc:creator>KevinHibma</dc:creator>
      <dc:date>2012-02-28T14:42:22Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.sa.Spline issues in BETA2</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/arcpy-sa-spline-issues-in-beta2/m-p/561469#M2838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Kevin,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You are right, this is not really a ArcGIS Runtime problem i guess. You mention changing the scratchworkspace to scratchFolder and then recreating the GPK, but actually i didn't create a GPK yet. I'm experiencing this problem when just running the Script from a Toolbox within ArcMap and/or ArcCatalog.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Changing it to scratchFolder doesn't solve the issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Executing: Spline&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Start Time: Tue Feb 28 11:50:21 2012&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Running script Spline...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Traceback (most recent call last):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "C:\AEDT_Repository\Developers\Foliage\ATMP\INMWeb\MAIN\Toolbox\SplineExampleScript.py", line 22, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; outSpline = Spline(selection0, "inmval", weight="0.1", number_points=24, spline_type="REGULARIZED")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;RuntimeError: ERROR 000875: Output raster: c:\windows\system32\%scratchFolder%\Spline_selec3's workspace is an invalid output workspace.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Failed to execute (Spline).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Failed at Tue Feb 28 11:50:22 2012 (Elapsed Time: 1.00 seconds)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note that i'm still running BETA 2 as i'm waiting for Runtime to hit Pre-release.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the script that i tried:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# -*- coding: utf-8 -*-&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# ---------------------------------------------------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# SplineExampleScript.py&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# Created on: 2012-02-28 10:11:31.00000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#&amp;nbsp;&amp;nbsp; (generated by ArcGIS/ModelBuilder)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# Description:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# ---------------------------------------------------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Import arcpy module&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;import arcpy&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;from arcpy import env&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;from arcpy.sa import *&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Check out any necessary licenses&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.CheckOutExtension("spatial")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Local variables:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;selection0 = "selection0"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dstfile = "%scratchFolder%\\Spline_selec3"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;outSpline = Spline(selection0, "inmval", weight="0.1", number_points=24, spline_type="REGULARIZED")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;outSpline.save(dstfile)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2012 14:51:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/arcpy-sa-spline-issues-in-beta2/m-p/561469#M2838</guid>
      <dc:creator>BKuiper</dc:creator>
      <dc:date>2012-02-28T14:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.sa.Spline issues in BETA2</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/arcpy-sa-spline-issues-in-beta2/m-p/561470#M2839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Its obvious I havent had enough coffee yet... I just assumed this was on the consumption of the GPK.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My machine is updating, so I cant test your exact scenario right now, but the following code should work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Notice the line I commented out and replaced with "almost" the same thing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
# Import arcpy module
import arcpy
from arcpy import env
from arcpy.sa import *

# Check out any necessary licenses
arcpy.CheckOutExtension("spatial")


# Local variables:
selection0 = "selection0"
dstfile = arcpy.env.scratchFolder + "Spline_selec3"
#dstfile = "%scratchFolder%\\Spline_selec3"

outSpline = Spline(selection0, "inmval", weight="0.1", number_points=24, spline_type="REGULARIZED")
outSpline.save(dstfile) 


&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 00:13:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/arcpy-sa-spline-issues-in-beta2/m-p/561470#M2839</guid>
      <dc:creator>KevinHibma</dc:creator>
      <dc:date>2021-12-12T00:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.sa.Spline issues in BETA2</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/arcpy-sa-spline-issues-in-beta2/m-p/561471#M2840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Actually, this would be better than constructing paths with "+"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;dstfile = os.path.join(arcpy.env.scratchFolder, "Spline_selec3")&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2012 14:56:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/arcpy-sa-spline-issues-in-beta2/m-p/561471#M2840</guid>
      <dc:creator>KevinHibma</dc:creator>
      <dc:date>2012-02-28T14:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.sa.Spline issues in BETA2</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/arcpy-sa-spline-issues-in-beta2/m-p/561472#M2841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Great, that works. Both scratchWorkspace and scratchFolder can be used.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Nice workaround/trick for now.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;here is the final example script:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# -*- coding: utf-8 -*-&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# ---------------------------------------------------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# SplineExampleScript.py&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# Created on: 2012-02-28 10:11:31.00000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#&amp;nbsp;&amp;nbsp; (generated by ArcGIS/ModelBuilder)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# Description:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# ---------------------------------------------------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Import arcpy module&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;import arcpy, os&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;from arcpy import env&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;from arcpy.sa import *&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Check out any necessary licenses&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.CheckOutExtension("spatial")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Local variables:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;selection0 = "selection0"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Z_value_field = "inmval"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Weight = "0.1"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Number_of_points = "12"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Output_raster = "C:\\YourDirectory\\Spline_selec3"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#dstfile = "%scratchFolder%\\Spline_selec3"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#dstfile = os.path.join(arcpy.env.scratchFolder, "Spline_selec3")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dstfile = os.path.join(arcpy.env.scratchWorkspace, "Spline_selec3")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;outSpline = Spline(selection0, "inmval", weight="0.1", number_points=24, spline_type="REGULARIZED")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;outSpline.save(dstfile)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2012 19:02:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/arcpy-sa-spline-issues-in-beta2/m-p/561472#M2841</guid>
      <dc:creator>BKuiper</dc:creator>
      <dc:date>2012-02-28T19:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.sa.Spline issues in BETA2</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/arcpy-sa-spline-issues-in-beta2/m-p/561473#M2842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was just made aware this is logged, heres the tracking number:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NIM077457 - Raster save errors when using "%scratchworkspace%"&amp;nbsp; in output path.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note - this is &lt;/SPAN&gt;&lt;STRONG&gt;not&lt;/STRONG&gt;&lt;SPAN&gt; fixed in the pre-release. You'll have to continue using the workaround till final. Sorry for the inconvenience, but big thanks on testing and reporting!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2012 19:30:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/arcpy-sa-spline-issues-in-beta2/m-p/561473#M2842</guid>
      <dc:creator>KevinHibma</dc:creator>
      <dc:date>2012-02-28T19:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.sa.Spline issues in BETA2</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/arcpy-sa-spline-issues-in-beta2/m-p/561474#M2843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Great, thanks for the feedback. I love what Esri does on these forums.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2012 22:29:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/arcpy-sa-spline-issues-in-beta2/m-p/561474#M2843</guid>
      <dc:creator>BKuiper</dc:creator>
      <dc:date>2012-02-28T22:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.sa.Spline issues in BETA2</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/arcpy-sa-spline-issues-in-beta2/m-p/561475#M2844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok, next step. Now i'm trying to run my GPK, Geoprocessing Package, within ArcGIS Runtime, but it fails with the following error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;description=ERROR 000856: An error was encountered while executing Spline.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Failed to execute (Spline).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It works correctly within ArcMap and/or ArcCatalog.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;First of all, an error message like that is not really helpful:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;000856 : An error was encountered while executing &amp;lt;value&amp;gt;.&lt;BR /&gt;Resource Center&lt;BR /&gt;Description&lt;BR /&gt;There was a problem encountered while executing the specified tool. There are several possible causes for this situation, so you might need to investigate several possibilities to resolve it.&lt;BR /&gt;Solution&lt;BR /&gt;Check that the syntax is correct, the input datasets exist as specified and are valid, and that you are able to write to the output location.&lt;BR /&gt;Ensure that you have sufficient resources on your machine to complete the process.&lt;BR /&gt;Check the documentation for any notes or usage tips that may apply.&lt;BR /&gt;Contact technical support for assistance if you still cannot resolve the problem.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I thought it might be a license issue, so i used the Local Runtime License Viewer to generate my "Testing C#, Spatial Extension license" and copy/paste that into my app. This didn't change anything.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any idea on what could be the problem ? The input file exists. Could it be that Spline is not supported correctly although the BETA 2 documentation suggests it is ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;this is against BETA 2.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 17:03:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/arcpy-sa-spline-issues-in-beta2/m-p/561475#M2844</guid>
      <dc:creator>BKuiper</dc:creator>
      <dc:date>2012-03-01T17:03:35Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.sa.Spline issues in BETA2</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/arcpy-sa-spline-issues-in-beta2/m-p/561476#M2845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here is the code that i use against the selection file that was already supplied in this thread.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;# -*- coding: utf-8 -*-
# ---------------------------------------------------------------------------
# SplineExampleScript.py
# Created on: 2012-03-01 14:43:43.00000
#&amp;nbsp;&amp;nbsp; (generated by ArcGIS/ModelBuilder)
# Usage: SplineExampleScript &amp;lt;selection0&amp;gt; &amp;lt;Z_value_field&amp;gt; &amp;lt;Spline_sele37&amp;gt; 
# Description: 
# ---------------------------------------------------------------------------

# Import arcpy module
import arcpy, os

# Check out any necessary licenses
arcpy.CheckOutExtension("spatial")

# Script arguments
selection0 = arcpy.GetParameterAsText(0)
if selection0 == '#' or not selection0:
&amp;nbsp;&amp;nbsp;&amp;nbsp; selection0 = "selection0" # provide a default value if unspecified

Z_value_field = arcpy.GetParameterAsText(1)
if Z_value_field == '#' or not Z_value_field:
&amp;nbsp;&amp;nbsp;&amp;nbsp; Z_value_field = "inmval" # provide a default value if unspecified

# overwrite existing files
arcpy.gp.overwriteOutput = 1


# Local variables:
Spline_sele37 = os.path.join(arcpy.env.scratchWorkspace, "scratch.gdb\\result")

# Process: Spline
try:
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.gp.Spline_sa(selection0, "inmval", Spline_sele37)
except Exception as e:
&amp;nbsp;&amp;nbsp;&amp;nbsp; msgs = arcpy.GetMessages(2)
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.AddError(msgs)
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.AddError(e.message)
&amp;nbsp;&amp;nbsp;&amp;nbsp; sys.exit()

arcpy.SetParameter(2, Spline_sele37)&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Attached is the Spline.gpk&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 00:13:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/arcpy-sa-spline-issues-in-beta2/m-p/561476#M2845</guid>
      <dc:creator>BKuiper</dc:creator>
      <dc:date>2021-12-12T00:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.sa.Spline issues in BETA2</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/arcpy-sa-spline-issues-in-beta2/m-p/561477#M2846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can somebody at Esri confirm this issue with the SA Spline method ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2012 12:02:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/arcpy-sa-spline-issues-in-beta2/m-p/561477#M2846</guid>
      <dc:creator>BKuiper</dc:creator>
      <dc:date>2012-03-06T12:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.sa.Spline issues in BETA2</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/arcpy-sa-spline-issues-in-beta2/m-p/561478#M2847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately I have not been able to successfully test your Spline script example but I can confirm that the Spline tool (Spatial Analyst &amp;gt; Interpolation) is a supported tool and has been successfully tested.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2012 15:10:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/arcpy-sa-spline-issues-in-beta2/m-p/561478#M2847</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2012-03-06T15:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.sa.Spline issues in BETA2</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/arcpy-sa-spline-issues-in-beta2/m-p/561479#M2848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Attached is an complete example that shows it is not working on ArcGIS Runtime BETA 2.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, to summarize, it works as a Python script in ArcCatalog but as soon as it is packaged and run through Runtime I get the following error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Submitted.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Executing...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Executing (Script): Script C:\..\PoCSplineRuntime\shapefile\selection\selection0.shp&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Start Time: Thu Mar 08 10:21:23 2012&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Executing (Script): Script C:\..\PoCSplineRuntime\shapefile\selection\selection0.shp&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Start Time: Thu Mar 08 10:21:23 2012&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Executing (Script): Script C:\..\PoCSplineRuntime\shapefile\selection\selection0.shp&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Start Time: Thu Mar 08 10:21:23 2012&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Running script Script...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Workspace: c:\users\..\appdata\local\temp\arcgisruntime_7212\script\jobs\script_gpserver\jb9264a9300464798a84f4c3ef0b687d3\scratch&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Output file: c:\users\..\appdata\local\temp\arcgisruntime_7212\script\jobs\script_gpserver\jb9264a9300464798a84f4c3ef0b687d3\scratch\result&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ERROR 000856: An error was encountered while executing Spline.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Failed to execute (Spline).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2012 13:22:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/arcpy-sa-spline-issues-in-beta2/m-p/561479#M2848</guid>
      <dc:creator>BKuiper</dc:creator>
      <dc:date>2012-03-08T13:22:33Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.sa.Spline issues in BETA2</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/arcpy-sa-spline-issues-in-beta2/m-p/561480#M2849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry for the delay in getting back to you on this. Thanks for the excellent reproducer. I have tested with the latest ArcGIS Runtime local server and the latest WPF client assemblies and (without modification) your app produces the output below and [I think] a valid spline result (see attached screenshot of the result back in ArcMap). I believe this indicates you should be able to retest successfully in pre-release. You may just need to play around with the script to get the right output parameter (GPRasterData / GPDataFile) - or better would be a map server result which would then allow you to add the raster directly to the map as a dynamic map service layer. Alternatively, the dynamic layers functionality you were testing previously could be used to dynamically add rasters to an existing map service at runtime.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Submitted.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Executing...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Executing (Script): Script C:\WORK\PROJECTS\ArcGISRuntimeCRs\SplineTest\PoCSplineRuntime\shapefile\selection\selection0.shp&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Start Time: Tue Mar 13 14:54:47 2012&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Executing (Script): Script C:\WORK\PROJECTS\ArcGISRuntimeCRs\SplineTest\PoCSplineRuntime\shapefile\selection\selection0.shp&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Start Time: Tue Mar 13 14:54:47 2012&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Executing (Script): Script C:\WORK\PROJECTS\ArcGISRuntimeCRs\SplineTest\PoCSplineRuntime\shapefile\selection\selection0.shp&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Start Time: Tue Mar 13 14:54:47 2012&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Running script Script...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Workspace: c:\users\mbrans~1\appdata\local\temp\arcgisruntime_5020\script\jobs\script_gpserver\j38850bacf654422babed8dc177344f58\scratch&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Output file: c:\users\mbrans~1\appdata\local\temp\arcgisruntime_5020\script\jobs\script_gpserver\j38850bacf654422babed8dc177344f58\scratch\result&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Completed script Script...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Succeeded at Tue Mar 13 14:54:48 2012 (Elapsed Time: 1.00 seconds)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Succeeded at Tue Mar 13 14:54:48 2012 (Elapsed Time: 1.00 seconds)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Succeeded at Tue Mar 13 14:54:48 2012 (Elapsed Time: 1.00 seconds)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Invalid return value: c:\users\mbrans~1\appdata\local\temp\arcgisruntime_5020\script\jobs\script_gpserver\j38850bacf654422babed8dc177344f58\scratch\result&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Failed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2012 14:05:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/arcpy-sa-spline-issues-in-beta2/m-p/561480#M2849</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2012-03-13T14:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.sa.Spline issues in BETA2</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/arcpy-sa-spline-issues-in-beta2/m-p/561481#M2850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks. looking forward to ArcGIS Runtime Prerelease.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2012 13:28:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/arcpy-sa-spline-issues-in-beta2/m-p/561481#M2850</guid>
      <dc:creator>BKuiper</dc:creator>
      <dc:date>2012-03-14T13:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.sa.Spline issues in BETA2</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/arcpy-sa-spline-issues-in-beta2/m-p/561482#M2851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Howzit All, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone got a solution for ArcGIS Server 10.1 to this issue?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We have a similar situation &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Geoprocssing Overview: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- create a Feature Layer from a sql expression&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- generate Kernel Density Layer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- set Layer into resulting Dynamic Map Service Layer as a Raster Layer&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If the feature layer returns no records, then no result is returned and the GP Service fails because it cannot add the "Invalid" null result to the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Setting arcpy.SetSeverityLevel(0) ensures the task completes. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think the problem occurs at the map services level because the task completes. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Susan&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;North South GIS&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Auckland, New Zealand&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2012 22:00:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/arcpy-sa-spline-issues-in-beta2/m-p/561482#M2851</guid>
      <dc:creator>SusanJones</dc:creator>
      <dc:date>2012-10-02T22:00:40Z</dc:date>
    </item>
  </channel>
</rss>

