<?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: Functions arcpy don't retrieve data in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/functions-arcpy-don-t-retrieve-data/m-p/872809#M4769</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You might want to use some of several options to validate/normalize path names, for instance&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; os

pth &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"d:/geodb\\any.gdb"&lt;/SPAN&gt;

os&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;path&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;normpath&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;pth&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;

&lt;SPAN class="string token"&gt;'d:\\geodb\\any.gdb'&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 10:55:00 GMT</pubDate>
    <dc:creator>DanPatterson</dc:creator>
    <dc:date>2021-12-12T10:55:00Z</dc:date>
    <item>
      <title>Functions arcpy don't retrieve data</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/functions-arcpy-don-t-retrieve-data/m-p/872806#M4766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try to run python script with these functions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;arcpy.ListTables()&lt;/P&gt;&lt;P&gt;, arcpy.ListFeatureClasses()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;,arcpy.ListWorkspaces("*", "FileGDB")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but all the functions return right results on one computer and return "None"&amp;nbsp; on another.&lt;/P&gt;&lt;P&gt;Folder with GDB files was copied to both of these computers and has access by ArcCatalog correctly from the both computers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What might be the problem? May be any security?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2020 12:02:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/functions-arcpy-don-t-retrieve-data/m-p/872806#M4766</guid>
      <dc:creator>VsevU</dc:creator>
      <dc:date>2020-06-02T12:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: Functions arcpy don't retrieve data</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/functions-arcpy-don-t-retrieve-data/m-p/872807#M4767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The original ArcPy listing functions (ListTables, ListFeatureClasses, etc...) all depend on having the arcpy.env.workspace set.&amp;nbsp; Make sure the workspace is set to the same location on each machine, or the location it needs to be to see what you have copied over.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2020 13:50:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/functions-arcpy-don-t-retrieve-data/m-p/872807#M4767</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2020-06-02T13:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: Functions arcpy don't retrieve data</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/functions-arcpy-don-t-retrieve-data/m-p/872808#M4768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, of course the arcpy.env.workspace the same. But the problem solved.The path "d:\geodb\any.gdb" was specified in the configuration file. This representation of the path is correct for arcpy for the first computer, but invalid for the second computer. The path was rewritten in the following form&amp;nbsp;"d:/geodb\\any.gdb" (backslash and two slashes) for the second computer. The both computers have the same OS version (windows 10). I don't know what settings do this depend on.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2020 06:44:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/functions-arcpy-don-t-retrieve-data/m-p/872808#M4768</guid>
      <dc:creator>VsevU</dc:creator>
      <dc:date>2020-06-03T06:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: Functions arcpy don't retrieve data</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/functions-arcpy-don-t-retrieve-data/m-p/872809#M4769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You might want to use some of several options to validate/normalize path names, for instance&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; os

pth &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"d:/geodb\\any.gdb"&lt;/SPAN&gt;

os&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;path&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;normpath&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;pth&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;

&lt;SPAN class="string token"&gt;'d:\\geodb\\any.gdb'&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 10:55:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/functions-arcpy-don-t-retrieve-data/m-p/872809#M4769</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-12-12T10:55:00Z</dc:date>
    </item>
  </channel>
</rss>

