<?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: Geoprocessing task not using provided file paths in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/geoprocessing-task-not-using-provided-file-paths/m-p/453332#M35547</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/3420"&gt;Joshua Bixby&lt;/A&gt;‌, in regards to this &lt;A _jive_internal="true" href="https://community.esri.com/thread/161047"&gt;thread&lt;/A&gt; I gave rw permissions to the ArcGIS Server account on the machine hosting the files the script is accessing. After doing so I was able to register the input/output folders in Server Manager, however I'm still getting the same error as before. While I'm sure I did need to do these steps, I'm still not sure why it is looking in that folder for the data when I have provided a completely different path.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Jan 2018 17:19:08 GMT</pubDate>
    <dc:creator>DevonCanady</dc:creator>
    <dc:date>2018-01-04T17:19:08Z</dc:date>
    <item>
      <title>Geoprocessing task not using provided file paths</title>
      <link>https://community.esri.com/t5/python-questions/geoprocessing-task-not-using-provided-file-paths/m-p/453330#M35545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a geoprocessing task on ArcGIS Server 10.1 that uses arcpy's Select By Location on a number of layers and writes a SQL file based on the results. For each iteration of the selection I'm passing a path to where the layer is located yet I'm getting this error:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;ERROR 000732: Input Features: Dataset C:\arcgisserver\directories\arcgissystem\arcgisinput\RegQueryBuilder2\RegQueryBuilder.GPServer\extracted\v101\tigerdata\Zips\esriZipsLayer_NAD83.shp does not exist or is not supported&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I'm wondering why the task is looking in this folder when I have hardcoded file paths (not env.workspace) in the script. I tried setting the workspace and scratch workspace environments in the initial execution of the script tool which was used for creating the geoprocessing package but I got the same error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: I had worked around this error by copying the layers to that folder location but since the layers are very large it won't work for production.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jan 2018 18:29:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/geoprocessing-task-not-using-provided-file-paths/m-p/453330#M35545</guid>
      <dc:creator>DevonCanady</dc:creator>
      <dc:date>2018-01-02T18:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: Geoprocessing task not using provided file paths</title>
      <link>https://community.esri.com/t5/python-questions/geoprocessing-task-not-using-provided-file-paths/m-p/453331#M35546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Regarding the hard coded paths you originally tried, were those paths accessible by ArcGIS Server:&amp;nbsp; &lt;A class="link-titled" href="http://resources.arcgis.com/en/help/main/10.1/index.html#//015400000505000000" title="http://resources.arcgis.com/en/help/main/10.1/index.html#//015400000505000000"&gt;About registering your data with the server - ArcGIS Help 10.1&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jan 2018 18:36:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/geoprocessing-task-not-using-provided-file-paths/m-p/453331#M35546</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2018-01-02T18:36:42Z</dc:date>
    </item>
    <item>
      <title>Re: Geoprocessing task not using provided file paths</title>
      <link>https://community.esri.com/t5/python-questions/geoprocessing-task-not-using-provided-file-paths/m-p/453332#M35547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/3420"&gt;Joshua Bixby&lt;/A&gt;‌, in regards to this &lt;A _jive_internal="true" href="https://community.esri.com/thread/161047"&gt;thread&lt;/A&gt; I gave rw permissions to the ArcGIS Server account on the machine hosting the files the script is accessing. After doing so I was able to register the input/output folders in Server Manager, however I'm still getting the same error as before. While I'm sure I did need to do these steps, I'm still not sure why it is looking in that folder for the data when I have provided a completely different path.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jan 2018 17:19:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/geoprocessing-task-not-using-provided-file-paths/m-p/453332#M35547</guid>
      <dc:creator>DevonCanady</dc:creator>
      <dc:date>2018-01-04T17:19:08Z</dc:date>
    </item>
  </channel>
</rss>

