<?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: In_Memory Featureclass Writing in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/in-memory-featureclass-writing/m-p/1034853#M33075</link>
    <description>&lt;P&gt;ah OK.&amp;nbsp; That's not an API.&lt;/P&gt;&lt;P&gt;Can you share you full code as it's difficult to know what could be going on with an unknown object called ftre.&lt;/P&gt;</description>
    <pubDate>Wed, 10 Mar 2021 11:56:54 GMT</pubDate>
    <dc:creator>DavidPike</dc:creator>
    <dc:date>2021-03-10T11:56:54Z</dc:date>
    <item>
      <title>In_Memory Featureclass Writing</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/in-memory-featureclass-writing/m-p/1034696#M33059</link>
      <description>&lt;P&gt;I am not whaat changed between 2.6 and 2.7 of ArcPro and the related Python API but the script that run without fail is crashing miserably at the "in_memory" save location .&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;rteFCSel = fcrte.save('in_memory','rtesel') # a temporary save of a feature class queried&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Traceback (most recent call last):&lt;BR /&gt;File "D:\MyFiles\HWYAP\WebUpdate\UniqueProjectIdsSocrataMap.py", line 585, in &amp;lt;module&amp;gt;&lt;BR /&gt;rteFCSel = fcrte.save('in_memory','rtesel')&lt;BR /&gt;File "D:\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\features\feature.py", line 1113, in save&lt;BR /&gt;temp_file = os.path.join(temp_dir, "%s.json" % uuid.uuid4().hex)&lt;BR /&gt;File "D:\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\uuid.py", line 761, in uuid4&lt;BR /&gt;return UUID(bytes=os.urandom(16), version=4)&lt;BR /&gt;File "D:\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\uuid.py", line 153, in __init__&lt;BR /&gt;if [hex, bytes, bytes_le, fields, int].count(None) != 4:&lt;BR /&gt;File "D:\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\uuid.py", line 153, in __init__&lt;BR /&gt;if [hex, bytes, bytes_le, fields, int].count(None) != 4:&lt;BR /&gt;File "D:\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\bdb.py", line 88, in trace_dispatch&lt;BR /&gt;return self.dispatch_line(frame)&lt;BR /&gt;File "D:\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\bdb.py", line 112, in dispatch_line&lt;BR /&gt;self.user_line(frame)&lt;BR /&gt;File "D:\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\idlelib\debugger.py", line 24, in user_line&lt;BR /&gt;self.gui.interaction(message, frame)&lt;BR /&gt;AttributeError: 'UUID' object has no attribute 'int'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This has never happened before. Would someone please help with this issue.&amp;nbsp; As a workaround, may have to set a side a directory but wanted to ensure the code to be flexible and write to whatever scratch or temp space available on a computer instead of looking for a specific place or directory locally.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is welcome.&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2021 21:14:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/in-memory-featureclass-writing/m-p/1034696#M33059</guid>
      <dc:creator>MaazaMekuria</dc:creator>
      <dc:date>2021-03-09T21:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: In_Memory Featureclass Writing</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/in-memory-featureclass-writing/m-p/1034729#M33062</link>
      <description>&lt;P&gt;try the 'memory' workspace e.g.&lt;/P&gt;&lt;LI-CODE lang="python"&gt;rteFCSel = fcrte.save('memory','rtesel')&lt;/LI-CODE&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/analysis/geoprocessing/basics/the-in-memory-workspace.htm" target="_blank"&gt;Write geoprocessing output to memory—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Where is the Python API being used?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2021 22:30:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/in-memory-featureclass-writing/m-p/1034729#M33062</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2021-03-09T22:30:52Z</dc:date>
    </item>
    <item>
      <title>Re: In_Memory Featureclass Writing</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/in-memory-featureclass-writing/m-p/1034791#M33068</link>
      <description>&lt;P&gt;David, thank you, but I am not sure what you mean? The API is installed at&amp;nbsp;&lt;STRONG&gt;D:\ArcGIS\Pro\bin\Python\envs\arcgispro-py3&amp;nbsp; &lt;/STRONG&gt;just as all the other scripts. I am now also confused because the same &lt;STRONG&gt;'in_memory'&lt;/STRONG&gt; setup works on other scripts that run on the same computer and this one is failing with some very cryptic errors&amp;nbsp; (see attached image below)&amp;nbsp; .&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Mar 2021 03:11:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/in-memory-featureclass-writing/m-p/1034791#M33068</guid>
      <dc:creator>MaazaMekuria</dc:creator>
      <dc:date>2021-03-10T03:11:03Z</dc:date>
    </item>
    <item>
      <title>Re: In_Memory Featureclass Writing</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/in-memory-featureclass-writing/m-p/1034853#M33075</link>
      <description>&lt;P&gt;ah OK.&amp;nbsp; That's not an API.&lt;/P&gt;&lt;P&gt;Can you share you full code as it's difficult to know what could be going on with an unknown object called ftre.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Mar 2021 11:56:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/in-memory-featureclass-writing/m-p/1034853#M33075</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2021-03-10T11:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: In_Memory Featureclass Writing</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/in-memory-featureclass-writing/m-p/1094140#M36850</link>
      <description>&lt;P&gt;Sorry, David:&lt;/P&gt;&lt;P&gt;Very late but I was able to make the in_memory buffer file name to be random so if there was some latency problem it would not have a name clash.&amp;nbsp;&lt;/P&gt;&lt;P&gt;x = random.randrange(0,1000,1)&lt;/P&gt;&lt;P&gt;outFeatseed = "EvTbl"&lt;BR /&gt;lrsGeoPTbl = """LRS_{}{}""".format(outFeatseed,x) # DynaSeg result feature table created from LRS points location along routes&lt;BR /&gt;outfeatbl = """Rt{}""".format(outFeatseed)&lt;BR /&gt;lrsGeoPTbl = """LRS_{}{}""".format(outFeatseed,x) # DynaSeg result feature table created from LRS points location along routes&lt;BR /&gt;&amp;nbsp;geoPtFC = arcpy.CreateFeatureclass_management("in_memory", lrsGeoPTbl, geotype,spatial_reference=arcpy.SpatialReference(spref['wkid']))&lt;/P&gt;&lt;P&gt;is a snippet that i used to generate unique buffer files.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for responding.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Aug 2021 19:17:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/in-memory-featureclass-writing/m-p/1094140#M36850</guid>
      <dc:creator>MaazaMekuria</dc:creator>
      <dc:date>2021-08-31T19:17:47Z</dc:date>
    </item>
  </channel>
</rss>

