<?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 Issue Uploading to ArcGIS Online via Python Script in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/issue-uploading-to-arcgis-online-via-python-script/m-p/862715#M4248</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I recently updated to ArcGIS Pro v2.4.0 with package arcgis v1.6.2. At the moment this script used to work, but currently does not.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/454443_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get this error...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/454444_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions would be greatly appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Jul 2019 22:29:51 GMT</pubDate>
    <dc:creator>ChrisMowry1</dc:creator>
    <dc:date>2019-07-25T22:29:51Z</dc:date>
    <item>
      <title>Issue Uploading to ArcGIS Online via Python Script</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/issue-uploading-to-arcgis-online-via-python-script/m-p/862715#M4248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I recently updated to ArcGIS Pro v2.4.0 with package arcgis v1.6.2. At the moment this script used to work, but currently does not.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/454443_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get this error...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/454444_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions would be greatly appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jul 2019 22:29:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/issue-uploading-to-arcgis-online-via-python-script/m-p/862715#M4248</guid>
      <dc:creator>ChrisMowry1</dc:creator>
      <dc:date>2019-07-25T22:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: Issue Uploading to ArcGIS Online via Python Script</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/issue-uploading-to-arcgis-online-via-python-script/m-p/862716#M4249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think I found a work around. There appears to be a bug in the arcgis python module in the gis\__init__.py file in the&amp;nbsp;_add_by_part&amp;nbsp;method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it seems that in line&amp;nbsp;3128, the script attempts to delete the split.part file before the thread completes.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/454501_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I added a try block and it appears to run properly and appears to remove all split.part files in the temp directory. I acknowledge this isn't a clean solution, but allows the script to execute.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/454505_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jul 2019 16:04:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/issue-uploading-to-arcgis-online-via-python-script/m-p/862716#M4249</guid>
      <dc:creator>ChrisMowry1</dc:creator>
      <dc:date>2019-07-26T16:04:35Z</dc:date>
    </item>
  </channel>
</rss>

