<?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: Import Error libarcgisscripting_pluginstub.so in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/import-error-libarcgisscripting-pluginstub-so/m-p/745858#M24472</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The script works fine in a windows environment with ArcGIS Server 9.3.1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help please!!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 May 2010 13:38:06 GMT</pubDate>
    <dc:creator>PrashanthSukumaran</dc:creator>
    <dc:date>2010-05-04T13:38:06Z</dc:date>
    <item>
      <title>Import Error libarcgisscripting_pluginstub.so</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/import-error-libarcgisscripting-pluginstub-so/m-p/745857#M24471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to execute a python geoprocessing script in my unix environment. We have ArcGIS server 9.3 installed on Sun Solaris 9. Python was installed along with the server install.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When i execute the script i get the following error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Traceback (most recent call last):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;File "GeocodeShops.py", line 8, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;import arcgisscripting&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ImportError: ld.so.1: python: fatal: libarcgisscripting_pluginstub.so: open failed: No such file or directory&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My Python script is simple.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
# ---------------------------------------------------------------------------
# GeocodeShops.py
# Created on: Thu Dec 17 2009 04:23:29 PM
#&amp;nbsp;&amp;nbsp; (generated by ArcGIS/ModelBuilder)
# ---------------------------------------------------------------------------
 
# Import system modules
import arcgisscripting
 
# Create the Geoprocessor object
gp = arcgisscripting.create(9.3)
try :
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gp.AddMessage("Started the Geocode Script for Shops.")
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gp.AddMessage("Done geocoding addresses ........")
except:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print gp.GetMessages(2)
 
&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I printed the PYTHONPATH to check if bin was present. "/export/project/gisapp/arcgis93/arcgis/bin" is in the path. I also found that libarcgisscripting_pluginstub.so is in that folder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What could be causing this error?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for you help&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 May 2010 21:35:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/import-error-libarcgisscripting-pluginstub-so/m-p/745857#M24471</guid>
      <dc:creator>PrashanthSukumaran</dc:creator>
      <dc:date>2010-05-03T21:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: Import Error libarcgisscripting_pluginstub.so</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/import-error-libarcgisscripting-pluginstub-so/m-p/745858#M24472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The script works fine in a windows environment with ArcGIS Server 9.3.1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help please!!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 May 2010 13:38:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/import-error-libarcgisscripting-pluginstub-so/m-p/745858#M24472</guid>
      <dc:creator>PrashanthSukumaran</dc:creator>
      <dc:date>2010-05-04T13:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: Import Error libarcgisscripting_pluginstub.so</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/import-error-libarcgisscripting-pluginstub-so/m-p/745859#M24473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What version of python are you running the script with?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;just type:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;python&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And it will say the version + if its 64bit or not.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 May 2010 15:01:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/import-error-libarcgisscripting-pluginstub-so/m-p/745859#M24473</guid>
      <dc:creator>FrankPerks</dc:creator>
      <dc:date>2010-05-04T15:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: Import Error libarcgisscripting_pluginstub.so</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/import-error-libarcgisscripting-pluginstub-so/m-p/745860#M24474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Before running any python scripts on unix, you must first set the proper environment. This can be accomplished by sourcing the init files provided with ArcGIS Server install on unix.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;These init files are present in &amp;lt;arcgis install dir&amp;gt;/servercore/.Server . There are init files for different shells. So if you are using bash shell, you can use&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;source /arcgis/servercore/.Server/init_server.sh&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now if you run your python script, it should work fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Deelesh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 May 2010 19:05:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/import-error-libarcgisscripting-pluginstub-so/m-p/745860#M24474</guid>
      <dc:creator>DeeleshMandloi</dc:creator>
      <dc:date>2010-05-04T19:05:49Z</dc:date>
    </item>
  </channel>
</rss>

