<?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 Import arcpy hangs on Linux in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/import-arcpy-hangs-on-linux/m-p/532575#M41716</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm trying to run a script that has successfully run on my test machine, but is not running on my production box.&amp;nbsp; I've narrowed it down to arcpy not importing.&amp;nbsp; I've added some print statements and when it gets to import arcpy it just hangs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I am logged in as root, and source /var/arcgis/server10.0/python26/setenv_python.sh, launch python and then try to import arcpy, I get this error at import arcgisscripting:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ImportError: libappinitializerlib.so: cannot open shared object file: No such file or directory&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I then source /var/arcgis/server10.0/servercore/.Server/init_server_sh (which should solve the previous error), launch python and import arcpy it just hangs - same as when I run my full script.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not sure where to start troubleshooting - the path names all seem to be correct in the shell scripts - so I'm hoping that somebody here will have some ideas.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks-&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Jul 2012 16:38:51 GMT</pubDate>
    <dc:creator>AllisonAnderson</dc:creator>
    <dc:date>2012-07-12T16:38:51Z</dc:date>
    <item>
      <title>Import arcpy hangs on Linux</title>
      <link>https://community.esri.com/t5/python-questions/import-arcpy-hangs-on-linux/m-p/532575#M41716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm trying to run a script that has successfully run on my test machine, but is not running on my production box.&amp;nbsp; I've narrowed it down to arcpy not importing.&amp;nbsp; I've added some print statements and when it gets to import arcpy it just hangs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I am logged in as root, and source /var/arcgis/server10.0/python26/setenv_python.sh, launch python and then try to import arcpy, I get this error at import arcgisscripting:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ImportError: libappinitializerlib.so: cannot open shared object file: No such file or directory&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I then source /var/arcgis/server10.0/servercore/.Server/init_server_sh (which should solve the previous error), launch python and import arcpy it just hangs - same as when I run my full script.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not sure where to start troubleshooting - the path names all seem to be correct in the shell scripts - so I'm hoping that somebody here will have some ideas.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks-&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2012 16:38:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/import-arcpy-hangs-on-linux/m-p/532575#M41716</guid>
      <dc:creator>AllisonAnderson</dc:creator>
      <dc:date>2012-07-12T16:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: Import arcpy hangs on Linux</title>
      <link>https://community.esri.com/t5/python-questions/import-arcpy-hangs-on-linux/m-p/532576#M41717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;A simple restart of ArcGIS Server seemed to do the trick.&amp;nbsp; There were some sockets that were stuck and the restart seems to have cleared everything out.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2012 16:01:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/import-arcpy-hangs-on-linux/m-p/532576#M41717</guid>
      <dc:creator>AllisonAnderson</dc:creator>
      <dc:date>2012-07-18T16:01:23Z</dc:date>
    </item>
  </channel>
</rss>

