<?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 ArcGISRuntime 100.14 gpkx fails but the script runs fine with arcgispro-py3 from ArcGIS Pro in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/arcgisruntime-100-14-gpkx-fails-but-the-script/m-p/1201742#M11251</link>
    <description>&lt;P&gt;Because my gpkx fails under local GP service at &lt;STRONG&gt;arcpy.JSONToFeatures_conversion()&lt;/STRONG&gt;, I tried with Visual Studio 2022 with Pyson Environment pointed to arcgispro-py3 under &lt;STRONG&gt;ArcGIS Pro 2.9.4&lt;/STRONG&gt;.&amp;nbsp;&amp;nbsp; The script ran fine with the same inputs.&amp;nbsp; I wanted to try the script with Visual Studio 2022 using &lt;STRONG&gt;Local Server arcgispro-py3&lt;/STRONG&gt;.&amp;nbsp; It fails with permission denied.&amp;nbsp; Is there any way to do this?&amp;nbsp;&amp;nbsp; I really want to debug to identify why Local GP server fails but runs fine under Visual Studio.&amp;nbsp; Interesting thing I found was that &lt;STRONG&gt;Local Server arcpy version is 10.9.1&lt;/STRONG&gt; vs. &lt;STRONG&gt;ArcGIS Pro 2.9.4 arcpy version is 2.9.4&lt;/STRONG&gt;.&amp;nbsp; The version should be the same?&lt;/P&gt;</description>
    <pubDate>Thu, 11 Aug 2022 03:20:01 GMT</pubDate>
    <dc:creator>noodle</dc:creator>
    <dc:date>2022-08-11T03:20:01Z</dc:date>
    <item>
      <title>ArcGISRuntime 100.14 gpkx fails but the script runs fine with arcgispro-py3 from ArcGIS Pro</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/arcgisruntime-100-14-gpkx-fails-but-the-script/m-p/1201742#M11251</link>
      <description>&lt;P&gt;Because my gpkx fails under local GP service at &lt;STRONG&gt;arcpy.JSONToFeatures_conversion()&lt;/STRONG&gt;, I tried with Visual Studio 2022 with Pyson Environment pointed to arcgispro-py3 under &lt;STRONG&gt;ArcGIS Pro 2.9.4&lt;/STRONG&gt;.&amp;nbsp;&amp;nbsp; The script ran fine with the same inputs.&amp;nbsp; I wanted to try the script with Visual Studio 2022 using &lt;STRONG&gt;Local Server arcgispro-py3&lt;/STRONG&gt;.&amp;nbsp; It fails with permission denied.&amp;nbsp; Is there any way to do this?&amp;nbsp;&amp;nbsp; I really want to debug to identify why Local GP server fails but runs fine under Visual Studio.&amp;nbsp; Interesting thing I found was that &lt;STRONG&gt;Local Server arcpy version is 10.9.1&lt;/STRONG&gt; vs. &lt;STRONG&gt;ArcGIS Pro 2.9.4 arcpy version is 2.9.4&lt;/STRONG&gt;.&amp;nbsp; The version should be the same?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 03:20:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/arcgisruntime-100-14-gpkx-fails-but-the-script/m-p/1201742#M11251</guid>
      <dc:creator>noodle</dc:creator>
      <dc:date>2022-08-11T03:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGISRuntime 100.14 gpkx fails but the script runs fine with arcgispro-py3 from ArcGIS Pro</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/arcgisruntime-100-14-gpkx-fails-but-the-script/m-p/1202573#M11259</link>
      <description>&lt;P&gt;Here is the message from Local Server exception.&amp;nbsp; I'm passing in_json_file as string which contains the file path (the extension of the file is .json).&amp;nbsp;&amp;nbsp; What does "Parameters are invalid" mean?&lt;/P&gt;&lt;P&gt;Traceback (most recent call last):&lt;BR /&gt;File "&amp;lt;string&amp;gt;", line 60,&lt;BR /&gt;in main File "C:\Program Files\ArcGIS SDKs\LocalServer100.14\64\Pro\Resources\ArcPy\arcpy\conversion.py", line 1169,&lt;BR /&gt;in JSONToFeatures raise e File "C:\Program Files\ArcGIS SDKs\LocalServer100.14\64\Pro\Resources\ArcPy\arcpy\conversion.py", line 1166,&lt;BR /&gt;in JSONToFeatures retval = convertArcObjectToPythonObject(gp.&lt;STRONG&gt;JSONToFeatures_conversion&lt;/STRONG&gt;(*gp_fixargs((in_json_file, out_features, geometry_type), True)))&lt;BR /&gt;File "C:\Program Files\ArcGIS SDKs\LocalServer100.14\64\Pro\Resources\ArcPy\arcpy\geoprocessing\_base.py", line 512,&lt;BR /&gt;in &amp;lt;lambda&amp;gt; return lambda *args: val(*gp_fixargs(args, True))&lt;BR /&gt;arcgisscripting.ExecuteError: Failed to execute.&lt;STRONG&gt; Parameters are not valid.&lt;/STRONG&gt;&lt;BR /&gt;ERROR 000814: Invalid file type Failed to execute (JSONToFeatures).&lt;BR /&gt;During handling of the above exception, another exception occurred:&lt;BR /&gt;Traceback (most recent call last): File "&amp;lt;string&amp;gt;", line 82,&lt;BR /&gt;in &amp;lt;module&amp;gt; File "&amp;lt;string&amp;gt;", line 63,&lt;BR /&gt;in main File "C:\AEDT\Temp\NETLOC~1\Documents\ArcGIS\Pkgs\jsonconversion_98A0\p20\jsonconversion\aedt.py", line 101,&lt;BR /&gt;in handleExceptions arcpy.AddError(e.message)&lt;BR /&gt;AttributeError: 'ExecuteError' object has no attribute 'message'&lt;BR /&gt;Message type esriJobMessageTypeInformative&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2022 21:05:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/arcgisruntime-100-14-gpkx-fails-but-the-script/m-p/1202573#M11259</guid>
      <dc:creator>noodle</dc:creator>
      <dc:date>2022-08-12T21:05:44Z</dc:date>
    </item>
  </channel>
</rss>

