<?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: ERROR 000732: Input Features in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/error-000732-input-features/m-p/214857#M16559</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found the solution for the problem. When python scripts run remotely via SSH and require the arcpy library and where you have .sde files with direct connections, it is important to consider the environment variables that are loaded when you run the script remotely. In this case the problem was that when the session was created remote work regardless ORACLE variables through SSH, which is why to solve this is parameterized on the remote server as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. The environment file is created in the route ~ home / .ssh / enviroment&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; For my case this is the required configuration&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ORACLE_HOME=/opt/app/oracle/product/11.2.0/dbhome_1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PATH=/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/opt/app/oracle/product/11.2.0/dbhome_1/bin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. enable the sshd server passing variables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Yes PermitUserEnvironment&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A you see this is set to proceed with the restart of the SSH server.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Jul 2015 20:01:18 GMT</pubDate>
    <dc:creator>ANDRÉS_FERNANDO_CHALARCA_LÓPEZ</dc:creator>
    <dc:date>2015-07-22T20:01:18Z</dc:date>
    <item>
      <title>ERROR 000732: Input Features</title>
      <link>https://community.esri.com/t5/python-questions/error-000732-input-features/m-p/214852#M16554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the following problem. I'm trying to remotely run a script in python, but when setting the workspace that is not capable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next to this locally made script execution in the geographical server and runs smoothly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;someone could help me with this error or guide.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the command I am trying to run remotely&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[ags@serverA ~]$ ssh ags@servergeo nohup /home/ags/arcgis/server/tools/python /app/ovc_prod_gdoc/shapes/export_shape.py "790" "2" "-1" "29" "Veredas" "vereda in \('0002','0003'\)"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the error I get&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR 000732: Input Features: Dataset Veredas does not exist or is not supported&lt;/P&gt;&lt;P&gt;Failed to execute (MakeFeatureLayer).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2015 16:33:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/error-000732-input-features/m-p/214852#M16554</guid>
      <dc:creator>ANDRÉS_FERNANDO_CHALARCA_LÓPEZ</dc:creator>
      <dc:date>2015-07-22T16:33:22Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 000732: Input Features</title>
      <link>https://community.esri.com/t5/python-questions/error-000732-input-features/m-p/214853#M16555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using the full file path to the dataset Veredas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2015 16:35:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/error-000732-input-features/m-p/214853#M16555</guid>
      <dc:creator>IanMurray</dc:creator>
      <dc:date>2015-07-22T16:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 000732: Input Features</title>
      <link>https://community.esri.com/t5/python-questions/error-000732-input-features/m-p/214854#M16556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the answer, suggesting the action and did, but I get the same error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2015 16:39:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/error-000732-input-features/m-p/214854#M16556</guid>
      <dc:creator>ANDRÉS_FERNANDO_CHALARCA_LÓPEZ</dc:creator>
      <dc:date>2015-07-22T16:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 000732: Input Features</title>
      <link>https://community.esri.com/t5/python-questions/error-000732-input-features/m-p/214855#M16557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think Ian Murray is right. How did you format your full file path? Back slashes are special characters in Python and have to be escaped by using a double backslash \\. Alternatively, you could use a single forward slash instead of backslash or prefix the string with r using single backslashes.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;"c:\\temp\\myGDB.gdb\\Veredas"&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;"c:/temp/myGDB.gdb/Veredas"&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;r"c:\temp\myGDB.gdb\Veredas"&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2015 16:46:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/error-000732-input-features/m-p/214855#M16557</guid>
      <dc:creator>BlakeTerhune</dc:creator>
      <dc:date>2015-07-22T16:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 000732: Input Features</title>
      <link>https://community.esri.com/t5/python-questions/error-000732-input-features/m-p/214856#M16558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Thanks for the answer,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If so does it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem I have is when I run the script remotely.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I run this locally on the geographical server it is operating correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[ags@&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;servergeo &lt;/SPAN&gt; ~]$ /home/ags/arcgis/server/tools/python /app/ovc_prod_gdoc/shapes/export_shape.py "790" "2" "-1" "29" "Veredas" "vereda in ('0002','0003')"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2015 16:52:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/error-000732-input-features/m-p/214856#M16558</guid>
      <dc:creator>ANDRÉS_FERNANDO_CHALARCA_LÓPEZ</dc:creator>
      <dc:date>2015-07-22T16:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 000732: Input Features</title>
      <link>https://community.esri.com/t5/python-questions/error-000732-input-features/m-p/214857#M16559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found the solution for the problem. When python scripts run remotely via SSH and require the arcpy library and where you have .sde files with direct connections, it is important to consider the environment variables that are loaded when you run the script remotely. In this case the problem was that when the session was created remote work regardless ORACLE variables through SSH, which is why to solve this is parameterized on the remote server as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. The environment file is created in the route ~ home / .ssh / enviroment&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; For my case this is the required configuration&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ORACLE_HOME=/opt/app/oracle/product/11.2.0/dbhome_1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PATH=/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/opt/app/oracle/product/11.2.0/dbhome_1/bin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. enable the sshd server passing variables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Yes PermitUserEnvironment&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A you see this is set to proceed with the restart of the SSH server.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2015 20:01:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/error-000732-input-features/m-p/214857#M16559</guid>
      <dc:creator>ANDRÉS_FERNANDO_CHALARCA_LÓPEZ</dc:creator>
      <dc:date>2015-07-22T20:01:18Z</dc:date>
    </item>
  </channel>
</rss>

