auboiron

[arcpy] shell on linux "X connection" pb

Discussion created by auboiron on Sep 16, 2011
Latest reply on Sep 19, 2011 by auboiron
Hello,

I'm trying to run a shell which executes a simple python script.

My shell :
source /usr/local/arcgis/server10.0/servercore/.Server/init_server.sh
source /usr/local/arcgis/server10.0/python26/setenv_python.sh
python script.py


My python script
import arcpy
sourcesPath = "\\home\\arcgis\\script\\"


As you seen, my script is very simple, but I've this error message.
X connection to localhost:10.0 broken (explicit kill or server shutdown).


To avoid this message I can rue a "windows manager" as xming.

But my goal, is to cron this shell every night without xming.

So if you have any idea ...

Thanx

Outcomes