<?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: ListFeatureClasses : no result in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/listfeatureclasses-no-result/m-p/662415#M4522</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;#-*- coding: utf-8 -*-&lt;BR /&gt;import arcpy&lt;BR /&gt;arcpy.env.workspace = r"D:\temp\cnx\PROD_donvdr_DC.sde"&lt;BR /&gt;print(arcpy.env.workspace)&lt;BR /&gt;fcList = arcpy.ListFeatureClasses()&lt;BR /&gt;for fc in fcList:&lt;BR /&gt; print(fc)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Result :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;D:\temp&amp;gt;call "C:\PROGRA~1\ArcGIS\Pro\bin\Python\Scripts\propy" D:\temp\test.py&lt;BR /&gt;D:\temp\cnx\PROD_donvdr_DC.sde&lt;BR /&gt;Appuyez sur une touche pour continuer...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can connect to&amp;nbsp;D:\temp\cnx\PROD_donvdr_DC.sde from ArcCatalog&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's the same user.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Feb 2018 14:45:45 GMT</pubDate>
    <dc:creator>MagalyClément-Zaber</dc:creator>
    <dc:date>2018-02-28T14:45:45Z</dc:date>
    <item>
      <title>ListFeatureClasses : no result</title>
      <link>https://community.esri.com/t5/developers-questions/listfeatureclasses-no-result/m-p/662413#M4520</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;Here is a script that works on my machine :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px;"&gt;#-*- coding: utf-8 -*-&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 13px;"&gt;import arcpy&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 13px;"&gt;arcpy.env.workspace = r"\\nassig\service$\geomatique\archi\6-Traitements\2-Python-36\2-Execution\cnx\PROD_donvdr_DC.sde"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 13px;"&gt;print(arcpy.env.workspace)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 13px;"&gt;fcList = arcpy.ListFeatureClasses()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 13px;"&gt;for fc in fcList:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 13px;"&gt; print(fc)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px;"&gt;call "C:\PROGRA~1\ArcGIS\Pro\bin\Python\Scripts\propy" \\NASSIG\service$\geomatique\archi\6-Traitements\2-Python-36\1-Scripts\tests\test.py&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It doesn't work on my server. I have no error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for help !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Python 3.6.2&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2018 12:46:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/listfeatureclasses-no-result/m-p/662413#M4520</guid>
      <dc:creator>MagalyClément-Zaber</dc:creator>
      <dc:date>2018-02-28T12:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: ListFeatureClasses : no result</title>
      <link>https://community.esri.com/t5/developers-questions/listfeatureclasses-no-result/m-p/662414#M4521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Given the path, it looks like there is a network file share containing the SDE connection file.&amp;nbsp; If so, are the same user credentials being used on your machine and server to run the script?&amp;nbsp; To eliminate the network file share as a potential problem, copy the SDE connection file local to the server and point the script to the local copy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2018 14:36:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/listfeatureclasses-no-result/m-p/662414#M4521</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2018-02-28T14:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: ListFeatureClasses : no result</title>
      <link>https://community.esri.com/t5/developers-questions/listfeatureclasses-no-result/m-p/662415#M4522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;#-*- coding: utf-8 -*-&lt;BR /&gt;import arcpy&lt;BR /&gt;arcpy.env.workspace = r"D:\temp\cnx\PROD_donvdr_DC.sde"&lt;BR /&gt;print(arcpy.env.workspace)&lt;BR /&gt;fcList = arcpy.ListFeatureClasses()&lt;BR /&gt;for fc in fcList:&lt;BR /&gt; print(fc)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Result :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;D:\temp&amp;gt;call "C:\PROGRA~1\ArcGIS\Pro\bin\Python\Scripts\propy" D:\temp\test.py&lt;BR /&gt;D:\temp\cnx\PROD_donvdr_DC.sde&lt;BR /&gt;Appuyez sur une touche pour continuer...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can connect to&amp;nbsp;D:\temp\cnx\PROD_donvdr_DC.sde from ArcCatalog&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's the same user.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2018 14:45:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/listfeatureclasses-no-result/m-p/662415#M4522</guid>
      <dc:creator>MagalyClément-Zaber</dc:creator>
      <dc:date>2018-02-28T14:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: ListFeatureClasses : no result</title>
      <link>https://community.esri.com/t5/developers-questions/listfeatureclasses-no-result/m-p/662416#M4523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am stumped.&amp;nbsp; I can't understand why it is asking for user input, 'Appuyez sur une touche pour continuer," when run from the server.&amp;nbsp; Nothing I see in the code snippet indicates you should see that.&amp;nbsp; You have Pro installed on the server and configured the same way as on your local machine?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2018 14:55:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/listfeatureclasses-no-result/m-p/662416#M4523</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2018-02-28T14:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: ListFeatureClasses : no result</title>
      <link>https://community.esri.com/t5/developers-questions/listfeatureclasses-no-result/m-p/662417#M4524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;"&lt;SPAN style="background-color: #ffffff;"&gt;Appuyez sur une touche pour continuer..." appears when the batch is finished ("pause")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;call "C:\PROGRA~1\ArcGIS\Pro\bin\Python\Scripts\propy" D:\temp\test.py&lt;BR /&gt;pause&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;It is "normal"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;I have Pro 2.1 on the two machines.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2018 15:00:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/listfeatureclasses-no-result/m-p/662417#M4524</guid>
      <dc:creator>MagalyClément-Zaber</dc:creator>
      <dc:date>2018-02-28T15:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: ListFeatureClasses : no result</title>
      <link>https://community.esri.com/t5/developers-questions/listfeatureclasses-no-result/m-p/662418#M4525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On my machine :&lt;/P&gt;&lt;P&gt;desc.dataElementType ==&amp;gt; &lt;STRONG&gt;DEWorkspace&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the Server :&lt;/P&gt;&lt;P&gt;desc.dataElementType ==&amp;gt; &lt;STRONG&gt;DEFile&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Same sde file.&lt;/P&gt;&lt;P&gt;Same User.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am lost &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2018 10:18:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/listfeatureclasses-no-result/m-p/662418#M4525</guid>
      <dc:creator>MagalyClément-Zaber</dc:creator>
      <dc:date>2018-03-06T10:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: ListFeatureClasses : no result</title>
      <link>https://community.esri.com/t5/developers-questions/listfeatureclasses-no-result/m-p/662419#M4526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I find this :&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://gis.stackexchange.com/questions/112280/python-script-fails-on-stand-alone-but-works-in-arcmap-as-a-toolbox" title="https://gis.stackexchange.com/questions/112280/python-script-fails-on-stand-alone-but-works-in-arcmap-as-a-toolbox"&gt;arcgis desktop - Python script fails on stand alone but works in ArcMap as a toolbox - Geographic Information Systems St…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/102747"&gt;https://community.esri.com/thread/102747&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But didn't help...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2018 10:21:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/listfeatureclasses-no-result/m-p/662419#M4526</guid>
      <dc:creator>MagalyClément-Zaber</dc:creator>
      <dc:date>2018-03-06T10:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: ListFeatureClasses : no result</title>
      <link>https://community.esri.com/t5/developers-questions/listfeatureclasses-no-result/m-p/662420#M4527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found the solution : uninstalling Oracle 64&lt;/P&gt;&lt;P&gt;Installation Oracle 64&lt;/P&gt;&lt;P&gt;I works fine &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;PRE data-fulltext="" data-placeholder="Traduction" dir="ltr"&gt;&lt;SPAN lang="en"&gt;In my opinion, there was a problem installing Oracle 64-bit&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2018 13:48:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/listfeatureclasses-no-result/m-p/662420#M4527</guid>
      <dc:creator>MagalyClément-Zaber</dc:creator>
      <dc:date>2018-03-06T13:48:05Z</dc:date>
    </item>
  </channel>
</rss>

