<?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: Python crash when connecting to AGOL on unattended machine in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/python-crash-when-connecting-to-agol-on-unattended/m-p/1404639#M55916</link>
    <description>&lt;P&gt;Installing Pro on this machine is not an option.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is a VM if that makes any difference.&lt;/P&gt;&lt;P&gt;Work around would be to write the data to a local file with another process then read it with my script. Not ideal though.&lt;/P&gt;</description>
    <pubDate>Tue, 02 Apr 2024 15:05:30 GMT</pubDate>
    <dc:creator>JohnHuillery1</dc:creator>
    <dc:date>2024-04-02T15:05:30Z</dc:date>
    <item>
      <title>Python crash when connecting to AGOL on unattended machine</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/python-crash-when-connecting-to-agol-on-unattended/m-p/1404585#M55898</link>
      <description>&lt;P&gt;I'm attempting to run an unattended Power Automate Desktop flow that calls a Python script that uses the ArcGIS Python API. The script works fine in attended mode, but when set to unattended it crashes on the line that connects to AGOL:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;from arcgis.gis import GIS
gis = GIS(username='&amp;lt;username&amp;gt;',password='&amp;lt;password&amp;gt;')&lt;/LI-CODE&gt;&lt;P&gt;No errors are produced, just crashes.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 13:55:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/python-crash-when-connecting-to-agol-on-unattended/m-p/1404585#M55898</guid>
      <dc:creator>JohnHuillery1</dc:creator>
      <dc:date>2024-04-02T13:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: Python crash when connecting to AGOL on unattended machine</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/python-crash-when-connecting-to-agol-on-unattended/m-p/1404615#M55904</link>
      <description>&lt;P&gt;Better way to do it is login to Pro then use this line instead and it grabs the credentials from Pro even if it is not open.&amp;nbsp; Never want to hardcode a password.&amp;nbsp; Plus it works for 2 factor, etc.&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;gis&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;GIS&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'pro'&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 02 Apr 2024 14:32:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/python-crash-when-connecting-to-agol-on-unattended/m-p/1404615#M55904</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2024-04-02T14:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: Python crash when connecting to AGOL on unattended machine</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/python-crash-when-connecting-to-agol-on-unattended/m-p/1404618#M55906</link>
      <description>&lt;P&gt;Unfortunately I do not have Pro on this machine.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 14:34:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/python-crash-when-connecting-to-agol-on-unattended/m-p/1404618#M55906</guid>
      <dc:creator>JohnHuillery1</dc:creator>
      <dc:date>2024-04-02T14:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: Python crash when connecting to AGOL on unattended machine</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/python-crash-when-connecting-to-agol-on-unattended/m-p/1404626#M55908</link>
      <description>&lt;P&gt;You are going to need it.&amp;nbsp; It will install all the python packages you need also.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 14:44:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/python-crash-when-connecting-to-agol-on-unattended/m-p/1404626#M55908</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2024-04-02T14:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: Python crash when connecting to AGOL on unattended machine</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/python-crash-when-connecting-to-agol-on-unattended/m-p/1404629#M55911</link>
      <description>&lt;P&gt;I have all the packages I need. It works fine in this env when I'm signed in. Only crashes when I run it through an unattanded flow.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 14:49:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/python-crash-when-connecting-to-agol-on-unattended/m-p/1404629#M55911</guid>
      <dc:creator>JohnHuillery1</dc:creator>
      <dc:date>2024-04-02T14:49:15Z</dc:date>
    </item>
    <item>
      <title>Re: Python crash when connecting to AGOL on unattended machine</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/python-crash-when-connecting-to-agol-on-unattended/m-p/1404635#M55914</link>
      <description>&lt;P&gt;My guess is something is still missing in the packages that did not get over properly.&amp;nbsp; I would try Pro and see if it fixes it if possible.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 15:01:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/python-crash-when-connecting-to-agol-on-unattended/m-p/1404635#M55914</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2024-04-02T15:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: Python crash when connecting to AGOL on unattended machine</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/python-crash-when-connecting-to-agol-on-unattended/m-p/1404639#M55916</link>
      <description>&lt;P&gt;Installing Pro on this machine is not an option.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is a VM if that makes any difference.&lt;/P&gt;&lt;P&gt;Work around would be to write the data to a local file with another process then read it with my script. Not ideal though.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 15:05:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/python-crash-when-connecting-to-agol-on-unattended/m-p/1404639#M55916</guid>
      <dc:creator>JohnHuillery1</dc:creator>
      <dc:date>2024-04-02T15:05:30Z</dc:date>
    </item>
  </channel>
</rss>

