<?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: ListTables does not work... in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/listtables-does-not-work/m-p/450614#M35315</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Try using the &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://resources.arcgis.com/en/help/main/10.2/index.html#//00170000017p000000" rel="nofollow" target="_blank"&gt;Recover File Geodatabase&lt;/A&gt;&lt;SPAN&gt; tool, and then see if you can run the arcpy.ListTables function on the recovered FGD.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Aug 2013 12:47:39 GMT</pubDate>
    <dc:creator>JakeSkinner</dc:creator>
    <dc:date>2013-08-20T12:47:39Z</dc:date>
    <item>
      <title>ListTables does not work...</title>
      <link>https://community.esri.com/t5/python-questions/listtables-does-not-work/m-p/450611#M35312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am working with ArcGIS 10.1 SP1 and I try to list tables from within a file geodatabase. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I set the workspace to the specific geodatabase and write:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;lstTables = arcpy.ListTables() len(lstTables)&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The result of this is an empty list. I can reproduce this using external scripts, and when using the Python window within ArcMap or ArcCatalog. I can see all the tables in ArcCatalog and I can have a preview of them... However, to list them is impossible.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;it is also impossible to copy them into another FGDB. The attempt to copy the tables ends in crashing ArcMap or ArcCatalog.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I try to list all the feature classes in the same FGDB then I have no problem and I get the correct result.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any solution for this problem?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bests Tom&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Aug 2013 12:13:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/listtables-does-not-work/m-p/450611#M35312</guid>
      <dc:creator>TomGeo</dc:creator>
      <dc:date>2013-08-20T12:13:11Z</dc:date>
    </item>
    <item>
      <title>Re: ListTables does not work...</title>
      <link>https://community.esri.com/t5/python-questions/listtables-does-not-work/m-p/450612#M35313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ghost tables? Spooky.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you load them into ArcMap? ... and potentailly save as from there?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you find their properties with arcpy.describe()?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What does arcpy.Exist() say?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have you tried accessing them from a stand-alone python script (not in a python window)?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Aug 2013 12:24:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/listtables-does-not-work/m-p/450612#M35313</guid>
      <dc:creator>markdenil</dc:creator>
      <dc:date>2013-08-20T12:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: ListTables does not work...</title>
      <link>https://community.esri.com/t5/python-questions/listtables-does-not-work/m-p/450613#M35314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Mark,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;UL&gt;&lt;BR /&gt;&lt;LI&gt;yes, I can load them into ArcMap and also open them.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;yes, I can access their properties using arcpy.Describe()&lt;/LI&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;t1 = "path/to/fgdb/and/table"
desc = arcpy.Describe(t1)
print desc.DataType&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;results in u'Table'&lt;BR /&gt;&lt;BR /&gt;&lt;LI&gt;arcpy.Exists(t1) comes back with True&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;yes, I also did try to access them from a stand-alone script&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;I also did try to get the tables via arcpy.da.Walk, but there was nothing to append to a previous created list. &lt;/LI&gt;&lt;BR /&gt;&lt;/UL&gt;&lt;BR /&gt;&lt;SPAN&gt;Tom&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 20:07:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/listtables-does-not-work/m-p/450613#M35314</guid>
      <dc:creator>TomGeo</dc:creator>
      <dc:date>2021-12-11T20:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: ListTables does not work...</title>
      <link>https://community.esri.com/t5/python-questions/listtables-does-not-work/m-p/450614#M35315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Try using the &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://resources.arcgis.com/en/help/main/10.2/index.html#//00170000017p000000" rel="nofollow" target="_blank"&gt;Recover File Geodatabase&lt;/A&gt;&lt;SPAN&gt; tool, and then see if you can run the arcpy.ListTables function on the recovered FGD.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Aug 2013 12:47:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/listtables-does-not-work/m-p/450614#M35315</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2013-08-20T12:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: ListTables does not work...</title>
      <link>https://community.esri.com/t5/python-questions/listtables-does-not-work/m-p/450615#M35316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Jake,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;that worked. Does the company know why that can happen? Will ArcGIS 10.2 overcome the problem?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers Tom&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Aug 2013 13:14:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/listtables-does-not-work/m-p/450615#M35316</guid>
      <dc:creator>TomGeo</dc:creator>
      <dc:date>2013-08-20T13:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: ListTables does not work...</title>
      <link>https://community.esri.com/t5/python-questions/listtables-does-not-work/m-p/450616#M35317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Tom,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Most common cause of something like this is when someone deletes one or more files from the FGDB using windows (not ArcCatalog).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;R_&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Aug 2013 14:58:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/listtables-does-not-work/m-p/450616#M35317</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2013-08-20T14:58:22Z</dc:date>
    </item>
  </channel>
</rss>

