<?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: ArcPro crash calling arcpy.mp.Table in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/arcpro-crash-calling-arcpy-mp-table/m-p/239329#M18643</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;rather than using the workspace, did you try the ful path to the table&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;addTab = arcpy.mp.Table(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #c41a16;"&gt;r"C:\Projects\YosemiteNP\Data_Vector\YosemiteData.gdb\NHDFCode"&lt;/SPAN&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;from the 2nd example in the help topic&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/arcpy/mapping/table-class.htm" title="https://pro.arcgis.com/en/pro-app/arcpy/mapping/table-class.htm"&gt;Table—ArcPy | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Jan 2020 22:26:35 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2020-01-09T22:26:35Z</dc:date>
    <item>
      <title>ArcPro crash calling arcpy.mp.Table</title>
      <link>https://community.esri.com/t5/python-questions/arcpro-crash-calling-arcpy-mp-table/m-p/239327#M18641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ArcPro crashes every time I try to run the very trivial program below. I've tried it in the ArcPro python pane (both 2.4.2 and 2.4.3) and under Spyder IDE - and using many variations to the code below.&amp;nbsp; It does throw an error (as expected) if I feed it a bogus table datasource. The table doesn't appear corrupt since I can open it from the catalog pane. Is anybody else using this API call?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;import arcpy&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;arcpy.env.workspace = r'C:\Users\dmorri28\Documents\ArcGIS\Projects\MyProject\CC-SQL2k16-ERC-SDE.sde'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;arcpy.mp.Table('FieldShareLevel')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;I'm running this with arcpy that got installed with ArcPro (currently at 2.4.3 but also failed on 2.4.2)&amp;nbsp; and Python 3.6.8 and Advanced license.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jan 2020 20:54:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpro-crash-calling-arcpy-mp-table/m-p/239327#M18641</guid>
      <dc:creator>DonMorrison1</dc:creator>
      <dc:date>2020-01-09T20:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: ArcPro crash calling arcpy.mp.Table</title>
      <link>https://community.esri.com/t5/python-questions/arcpro-crash-calling-arcpy-mp-table/m-p/239328#M18642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In Catalog -&amp;gt; History does it create a log for the run?&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jan 2020 22:15:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpro-crash-calling-arcpy-mp-table/m-p/239328#M18642</guid>
      <dc:creator>MatthewDriscoll</dc:creator>
      <dc:date>2020-01-09T22:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: ArcPro crash calling arcpy.mp.Table</title>
      <link>https://community.esri.com/t5/python-questions/arcpro-crash-calling-arcpy-mp-table/m-p/239329#M18643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;rather than using the workspace, did you try the ful path to the table&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;addTab = arcpy.mp.Table(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #c41a16;"&gt;r"C:\Projects\YosemiteNP\Data_Vector\YosemiteData.gdb\NHDFCode"&lt;/SPAN&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;from the 2nd example in the help topic&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/arcpy/mapping/table-class.htm" title="https://pro.arcgis.com/en/pro-app/arcpy/mapping/table-class.htm"&gt;Table—ArcPy | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jan 2020 22:26:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpro-crash-calling-arcpy-mp-table/m-p/239329#M18643</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2020-01-09T22:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: ArcPro crash calling arcpy.mp.Table</title>
      <link>https://community.esri.com/t5/python-questions/arcpro-crash-calling-arcpy-mp-table/m-p/239330#M18644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nope - it crashes right away and leaves no trace as far as I can see. There is a .dmp file created but I'd rather not try to figure out how to view and interpret that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jan 2020 22:19:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpro-crash-calling-arcpy-mp-table/m-p/239330#M18644</guid>
      <dc:creator>DonMorrison1</dc:creator>
      <dc:date>2020-01-10T22:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: ArcPro crash calling arcpy.mp.Table</title>
      <link>https://community.esri.com/t5/python-questions/arcpro-crash-calling-arcpy-mp-table/m-p/239331#M18645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the suggestion Dan. Yes, I had tried&amp;nbsp;that but it got me to go back and look at the full name and did lead me to find the problem, which was my fault. I was specifying the "short name" ('FieldShareLevel) instead of the full name (&lt;SPAN&gt;ROW_Habitat.SDE.FieldShareLevel). It seems a bit severe to be crashing for such a mistake, but... once I fixed that it works as expected - at least when called from the Python pane in ArcPro.&amp;nbsp; Thanks again for the help.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jan 2020 22:33:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpro-crash-calling-arcpy-mp-table/m-p/239331#M18645</guid>
      <dc:creator>DonMorrison1</dc:creator>
      <dc:date>2020-01-10T22:33:56Z</dc:date>
    </item>
    <item>
      <title>Re: ArcPro crash calling arcpy.mp.Table</title>
      <link>https://community.esri.com/t5/python-questions/arcpro-crash-calling-arcpy-mp-table/m-p/239332#M18646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree that crashing is a defect.&amp;nbsp; If the name isn't complete, it should generate an error that can be recovered just like when you supply a non-existent name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jan 2020 22:53:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpro-crash-calling-arcpy-mp-table/m-p/239332#M18646</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2020-01-10T22:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: ArcPro crash calling arcpy.mp.Table</title>
      <link>https://community.esri.com/t5/python-questions/arcpro-crash-calling-arcpy-mp-table/m-p/239333#M18647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Spent 11 years only scripting for file geodatabases.&amp;nbsp; Last three in sde.&amp;nbsp; This still trips me up often.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jan 2020 22:57:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpro-crash-calling-arcpy-mp-table/m-p/239333#M18647</guid>
      <dc:creator>MatthewDriscoll</dc:creator>
      <dc:date>2020-01-10T22:57:59Z</dc:date>
    </item>
  </channel>
</rss>

