<?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: script tool in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/script-tool/m-p/281338#M21686</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think server is running 64bit.&lt;/P&gt;&lt;P&gt;What is this tool using which is trying to execute something in 32bit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Having had some recent experience getting GP services to run, its a bit of an art. Stuff can work perfectly as a tool in Desktop, but then just do nothing at all running as a service on the server.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Dec 2016 13:08:16 GMT</pubDate>
    <dc:creator>NeilAyres</dc:creator>
    <dc:date>2016-12-08T13:08:16Z</dc:date>
    <item>
      <title>script tool</title>
      <link>https://community.esri.com/t5/python-questions/script-tool/m-p/281337#M21685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created script tool which uses cx_oracle and able to add in arcgis tool box. This tool executed fine in arcgis.&lt;BR /&gt;Then i have created gp service using this script and the service is created successfully on arcgis server.&lt;BR /&gt;But when i try to execute this gp service from arcgis, there is following error from server logs.&lt;BR /&gt;Any suggestions on how to resolve this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SEVERE Dec 8, 2016 5:40:27 PM Error executing tool. test/test.GPServer&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;SEVERE Dec 8, 2016 5:40:27 PM Traceback (most recent call last): &lt;BR /&gt;File "C:\arcgisserver\directories\arcgissystem\arcgisinput\test\test.GPServer\extracted\v101\pmms\module1.py", &lt;BR /&gt;line 19, in import cx_Oracle ImportError: DLL load failed: &lt;BR /&gt;%1 is not a valid Win32 application. &lt;BR /&gt;Failed to execute (Script). Failed to execute (Script). test/test.GPServer &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2016 12:21:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/script-tool/m-p/281337#M21685</guid>
      <dc:creator>jayasudha</dc:creator>
      <dc:date>2016-12-08T12:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: script tool</title>
      <link>https://community.esri.com/t5/python-questions/script-tool/m-p/281338#M21686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think server is running 64bit.&lt;/P&gt;&lt;P&gt;What is this tool using which is trying to execute something in 32bit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Having had some recent experience getting GP services to run, its a bit of an art. Stuff can work perfectly as a tool in Desktop, but then just do nothing at all running as a service on the server.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2016 13:08:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/script-tool/m-p/281338#M21686</guid>
      <dc:creator>NeilAyres</dc:creator>
      <dc:date>2016-12-08T13:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: script tool</title>
      <link>https://community.esri.com/t5/python-questions/script-tool/m-p/281339#M21687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Python is installed with ArcGIS ( i think both are 32 bit).&lt;/P&gt;&lt;P&gt;Any work around for this ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2016 08:51:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/script-tool/m-p/281339#M21687</guid>
      <dc:creator>jayasudha</dc:creator>
      <dc:date>2016-12-09T08:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: script tool</title>
      <link>https://community.esri.com/t5/python-questions/script-tool/m-p/281340#M21688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to make sure that the &lt;A href="https://pypi.python.org/pypi/cx_Oracle/5.2.1"&gt;64 bit version of the cx_oracle module&lt;/A&gt; is available on the Server. &amp;nbsp;Once you do that, try to import it using the version of Python included with the Server install, (you can use Idle). &amp;nbsp;If it imports in Idle, your service will work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2016 20:22:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/script-tool/m-p/281340#M21688</guid>
      <dc:creator>JonathanQuinn</dc:creator>
      <dc:date>2016-12-09T20:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: script tool</title>
      <link>https://community.esri.com/t5/python-questions/script-tool/m-p/281341#M21689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;I have installed 64 bit cx_Oracle as mentioned in your link.&lt;/P&gt;&lt;P&gt;&lt;A href="https://pypi.python.org/packages/52/71/b4d90ee0c21002559562e0749e0c127017d58cfa37cc0d7c240e8ff2448c/cx_Oracle-5.2.1-11g.win-amd64-py2.7.exe#md5=9bcbfdf42102cb5d7c1f53f932756d02" style="color: #551a8b; background-color: #efefef;"&gt;cx_Oracle-5.2.1-11g.win-amd64-py2.7.exe&lt;/A&gt;&lt;SPAN style="color: #333333; background-color: #efefef;"&gt; (&lt;/SPAN&gt;&lt;A href="https://pypi.python.org/pypi?:action=show_md5&amp;amp;digest=9bcbfdf42102cb5d7c1f53f932756d02" style="color: #551a8b; background-color: #efefef;" title="MD5 Digest"&gt;md5&lt;/A&gt;&lt;SPAN style="color: #333333; background-color: #efefef;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Then i set path variable to refer&amp;nbsp;C:\Python27\ArcGISx6410.1;C:\Python27\ArcGISx6410.1\Lib\site-packages.&lt;/P&gt;&lt;P&gt;I started IDLE from server install and tried to import cx_Oracle. There is error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Traceback (most recent call last):&lt;BR /&gt; File "&amp;lt;pyshell#0&amp;gt;", line 1, in &amp;lt;module&amp;gt;&lt;BR /&gt; import cx_Oracle&lt;BR /&gt;ImportError: No module named cx_Oracle&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;SPAN style="color: #333333; background-color: #efefef; text-decoration: underline;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Dec 2016 06:04:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/script-tool/m-p/281341#M21689</guid>
      <dc:creator>jayasudha</dc:creator>
      <dc:date>2016-12-10T06:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: script tool</title>
      <link>https://community.esri.com/t5/python-questions/script-tool/m-p/281342#M21690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you verify that the cx_oracle package exists in the C:\Python27\ArcGISx6410.5\Lib\site-packages folder?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Dec 2016 20:02:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/script-tool/m-p/281342#M21690</guid>
      <dc:creator>JonathanQuinn</dc:creator>
      <dc:date>2016-12-12T20:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: script tool</title>
      <link>https://community.esri.com/t5/python-questions/script-tool/m-p/281343#M21691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;C:\Python27\ArcGISx6410.1\Lib\site-packages folder contains following.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;cx_Oracle.pyd --&amp;gt; PYD file&lt;/P&gt;&lt;P&gt;cx_Oracle-5.2.1-py2.7.egg-info --&amp;gt; folder&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;dependency_links&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;PKG-INFO&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;SOURCES&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;top_level&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2016 04:16:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/script-tool/m-p/281343#M21691</guid>
      <dc:creator>jayasudha</dc:creator>
      <dc:date>2016-12-13T04:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: script tool</title>
      <link>https://community.esri.com/t5/python-questions/script-tool/m-p/281344#M21692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hm, to be honest, I don't really understand how that module installs. &amp;nbsp;Perhaps someone else with more knowledge on it can help out. &amp;nbsp;After installing, I was expecting to see a cx_oracle folder, (or something to that effect), with the associated scripts, (_init_.py, etc) in it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2016 18:37:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/script-tool/m-p/281344#M21692</guid>
      <dc:creator>JonathanQuinn</dc:creator>
      <dc:date>2016-12-13T18:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: script tool</title>
      <link>https://community.esri.com/t5/python-questions/script-tool/m-p/281345#M21693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How did you install cx_Oracle?&amp;nbsp; If you are getting an import error, then it isn't installed correctly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2016 18:45:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/script-tool/m-p/281345#M21693</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2016-12-13T18:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: script tool</title>
      <link>https://community.esri.com/t5/python-questions/script-tool/m-p/281346#M21694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I downloaded the .exe and ran through the setup wizard. &amp;nbsp;It created the folders the OP described, so it sounds like the OP did the same thing. &amp;nbsp;Not sure if the installer is funny or there are other steps required.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2016 18:48:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/script-tool/m-p/281346#M21694</guid>
      <dc:creator>JonathanQuinn</dc:creator>
      <dc:date>2016-12-13T18:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: script tool</title>
      <link>https://community.esri.com/t5/python-questions/script-tool/m-p/281347#M21695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/people/JQuinn-esristaff"&gt;JQuinn-esristaff&lt;/A&gt;‌, my apologies, my question was directed at the OP.&amp;nbsp; If the OP is getting an import error, the module didn't install correctly.&amp;nbsp; I wonder if the OP has multiple Python installations on the same machine and the installer is getting mixed up and either installing in the wrong place or mixing up configuration parameters.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2016 19:42:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/script-tool/m-p/281347#M21695</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2016-12-13T19:42:38Z</dc:date>
    </item>
    <item>
      <title>Re: script tool</title>
      <link>https://community.esri.com/t5/python-questions/script-tool/m-p/281348#M21696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pypi.python.org/packages/52/71/b4d90ee0c21002559562e0749e0c127017d58cfa37cc0d7c240e8ff2448c/cx_Oracle-5.2.1-11g.win-amd64-py2.7.exe#md5=9bcbfdf42102cb5d7c1f53f932756d02" title="https://pypi.python.org/packages/52/71/b4d90ee0c21002559562e0749e0c127017d58cfa37cc0d7c240e8ff2448c/cx_Oracle-5.2.1-11g.win-amd64-py2.7.exe#md5=9bcbfdf42102cb5d7c1f53f932756d02"&gt;https://pypi.python.org/packages/52/71/b4d90ee0c21002559562e0749e0c127017d58cfa37cc0d7c240e8ff2448c/cx_Oracle-5.2.1-11g.…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I installed cx_Oracle 64 bit using above link.&lt;/P&gt;&lt;P&gt;Both ArcGIS and ArcGIS server are in same machine.&lt;/P&gt;&lt;P&gt;The folder&amp;nbsp;C:\Python27 contains&amp;nbsp;ArcGIS10.1,&amp;nbsp;ArcGISx6410.1&lt;/P&gt;&lt;P&gt;The environment variables are as below.&lt;/P&gt;&lt;P&gt;C:\Python27\ArcGIS10.1;&lt;/P&gt;&lt;P&gt;C:\Python27\ArcGISx6410.1\Lib\site-packages;&lt;/P&gt;&lt;P&gt;C:\Program Files\ArcGIS\Server\arcpy\arcpy;&lt;/P&gt;&lt;P&gt;C:\Program Files (x86)\ArcGIS\Desktop10.1\arcpy\arcpy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2016 08:01:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/script-tool/m-p/281348#M21696</guid>
      <dc:creator>jayasudha</dc:creator>
      <dc:date>2016-12-14T08:01:02Z</dc:date>
    </item>
    <item>
      <title>Re: script tool</title>
      <link>https://community.esri.com/t5/python-questions/script-tool/m-p/281349#M21697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;your software is quite old... check to see if some of your issues have been addressed in more recent versions of your software or combinations of it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2016 08:52:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/script-tool/m-p/281349#M21697</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-12-14T08:52:13Z</dc:date>
    </item>
  </channel>
</rss>

