AnsweredAssumed Answered

import arcserver fail when desktop is installed and has no license

Question asked by modybsystematics-co-il-esridist Employee on Jun 15, 2016
Latest reply on Jun 21, 2016 by modybsystematics-co-il-esridist

Hi all


I am running into a strange problem with Python on my machine.

I have desktop and server (10.3.1) installed on my machine.

In many cases I have no free license for desktop (using floating license).

So my first line in the script is "import arcserver"

This line works when desktop license is available (but does not take a desktop license).

You can see the error message in the screen shot.

When the desktop license available it runs with no errors.

I printed the sys.path in the screen shot, you can see that some desktop paths are still in the path, it must run some python modules from there and fail.

I found a work around, I recreate the sys.path without any item that contain the string "Desktop" but it still looks as a bug.


Anybody runs into this?