import arceditor does not set proper license level

9221
28
Jump to solution
12-23-2014 04:46 PM
XanderBakker
Esri Esteemed Contributor

I recently upgraded a system from ArcGIS 10.1 tot ArcGIS 10.3. The system is pointing to a concurrent licence server with Advanced and Standard licenses. In version 10.1, I am convinced that when using the import arceditor before the import arcpy statement (in the standalone IDE PyScripter), would force the license to Standard and not grab the highest available license what import arcpy normally does.

At 10.3 it grabs the Advanced license even though I have the import arceditor statement before the import arcpy statement.

Has anyone else noticed this, or is this just me?

I am not supposed to grab the advanced license and I don't want to create an ARCGIS.opt to reserve the advanced license, which would make it totally inflexible.

Thanx in advance for any insights you may provide...

Kind regards, Xander

0 Kudos
28 Replies
AlexanderNohe1
Occasional Contributor III

The status of this bug is assigned according to the following documentation:

http://support.esri.com/en/bugs/nimbus/role/beta10_1/QlVHLTAwMDA4NDI0Ng==

KevinHibma
Esri Regular Contributor

Also note: This should be fixed in the upcoming 10.3.1 release.

XanderBakker
Esri Esteemed Contributor

Thanx Kevin! I can't wait!

0 Kudos
KevinHibma
Esri Regular Contributor

I'm sorry to report that we did not fix this in 10.3.1. We had attempted a fix but were not happy with the results, as such the issue still present.

We are committed to fixing this issue and will try to it addressed in the next release (10.4)

XanderBakker
Esri Esteemed Contributor

Hi Kevin Hibma , thanks for the update.

Would be good if a solution could be provided before (SP or hotfix). For 10.4 we still have to wait till Q1 2016 and due to this issue I frequently consume more than 1 license (desktop a Basic and pyscripter consuming Advanced).

0 Kudos
XanderBakker
Esri Esteemed Contributor

mmm... I thought this was fixed at 10.4, but while taking a closer look I noticed something odd...

In PyScripter I  write:

import arcview
import arcpy
print arcpy.ProductInfo()

At the end of writing "arcpy" it starts to claim a license of ... yes "ARC/INFO"

ARC/INFO

xbakker LPATERNI2 !;DSo)Rkuf+g={bK# (v10.1) (EPM-APP25/27000 4233), start Wed 5/4 11:51

When I execute the script and revise the current licenses in use I notice that there is a... yes "Viewer" license in use

Viewer

xbakker LPATERNI2 !;DSo)Rkuf+g={bK# (v10.1) (EPM-APP25/27000 7983), start Wed 5/4 11:52

The result prints the expected:

>>> 
ArcView
>>>

However, instead of claiming a single Basic license it occupies an Advanced and Basic license... This is worse than before

Is this due to PyScripter or does this occur with other IDE's?

CC: Alexander Nohe , Kevin Hibma , Dan Patterson

DanPatterson_Retired
MVP Emeritus

can't help this time... I am in limbo until the single use license for ArcGIS PRO gets figured out with my University ( no time to fix it myself either)... didn't notice that I couldn't import arcpy at all since I only use python 3.X... good luck

0 Kudos
XanderBakker
Esri Esteemed Contributor

Thanx Dan! Good luck to you too. Hope it gets resolved soon!

0 Kudos
XanderBakker
Esri Esteemed Contributor

When I run it as a Python script from the DOS shell it does not claim the Advanced license, just the Basic as it should. I guess it is caused by the IDE. I wonder if there is any way to avoid this...

Waan
by
Occasional Contributor

Hey Xander, did you ever sort this out? Thinking about an upgrade to 10.5....

0 Kudos