<?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: RuntimeError: [blank] when trying to add a standalone table to a map with python in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/runtimeerror-blank-when-trying-to-add-a-standalone/m-p/1214335#M67767</link>
    <description>&lt;P&gt;python 3.9 is used by arcpy.&amp;nbsp; Is this a new install in a clone?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 20 Sep 2022 19:04:39 GMT</pubDate>
    <dc:creator>DanPatterson</dc:creator>
    <dc:date>2022-09-20T19:04:39Z</dc:date>
    <item>
      <title>RuntimeError: [blank] when trying to add a standalone table to a map with python</title>
      <link>https://community.esri.com/t5/python-questions/runtimeerror-blank-when-trying-to-add-a-standalone/m-p/1214240#M67766</link>
      <description>&lt;P&gt;I am simply trying to add a standalone table to a map, but when I attempt to create the table object I get a blank runtime error ('RuntimeError: '). This error occurs when running the arcpy.mp.Table() line. The same error occurs with all tables, I have attempted to enter different table files.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is my understanding of how to do it:&lt;/P&gt;&lt;P&gt;import arcpy&lt;/P&gt;&lt;P&gt;aprx = arcpy.mp.ArcGISProject('CURRENT')&lt;/P&gt;&lt;P&gt;map = aprx.listMaps()[0]&lt;/P&gt;&lt;P&gt;table_path = 'C:\\users\\xyz\\Folder\\file.csv'&lt;/P&gt;&lt;P&gt;tabl_ = arcpy.mp.Table(table_path)&lt;/P&gt;&lt;P&gt;map.addTable(tabl_)&lt;/P&gt;&lt;P&gt;ARCGIS VERSION: 3.0.1&lt;/P&gt;&lt;P&gt;PYTHON VERSION: 3.10&lt;/P&gt;&lt;P&gt;I've attached a screenshot of the error with more details. I'm totally stumped on this, any and all help would be greatly appreciated&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2022 15:52:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/runtimeerror-blank-when-trying-to-add-a-standalone/m-p/1214240#M67766</guid>
      <dc:creator>DylanPederson</dc:creator>
      <dc:date>2022-09-20T15:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: RuntimeError: [blank] when trying to add a standalone table to a map with python</title>
      <link>https://community.esri.com/t5/python-questions/runtimeerror-blank-when-trying-to-add-a-standalone/m-p/1214335#M67767</link>
      <description>&lt;P&gt;python 3.9 is used by arcpy.&amp;nbsp; Is this a new install in a clone?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2022 19:04:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/runtimeerror-blank-when-trying-to-add-a-standalone/m-p/1214335#M67767</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2022-09-20T19:04:39Z</dc:date>
    </item>
  </channel>
</rss>

