POST
|
I find this : arcgis desktop - Python script fails on stand alone but works in ArcMap as a toolbox - Geographic Information Systems St… and https://community.esri.com/thread/102747 But didn't help...
... View more
03-06-2018
02:21 AM
|
0
|
0
|
966
|
POST
|
On my machine : desc.dataElementType ==> DEWorkspace On the Server : desc.dataElementType ==> DEFile Same sde file. Same User. I am lost 😞
... View more
03-06-2018
02:18 AM
|
0
|
0
|
966
|
POST
|
"Appuyez sur une touche pour continuer..." appears when the batch is finished ("pause") call "C:\PROGRA~1\ArcGIS\Pro\bin\Python\Scripts\propy" D:\temp\test.py pause It is "normal" I have Pro 2.1 on the two machines.
... View more
02-28-2018
07:00 AM
|
0
|
0
|
966
|
POST
|
#-*- coding: utf-8 -*- import arcpy arcpy.env.workspace = r"D:\temp\cnx\PROD_donvdr_DC.sde" print(arcpy.env.workspace) fcList = arcpy.ListFeatureClasses() for fc in fcList: print(fc) Result : D:\temp>call "C:\PROGRA~1\ArcGIS\Pro\bin\Python\Scripts\propy" D:\temp\test.py D:\temp\cnx\PROD_donvdr_DC.sde Appuyez sur une touche pour continuer... I can connect to D:\temp\cnx\PROD_donvdr_DC.sde from ArcCatalog It's the same user.
... View more
02-28-2018
06:45 AM
|
0
|
2
|
966
|
POST
|
Hi! Here is a script that works on my machine : #-*- coding: utf-8 -*- import arcpy arcpy.env.workspace = r"\\nassig\service$\geomatique\archi\6-Traitements\2-Python-36\2-Execution\cnx\PROD_donvdr_DC.sde" print(arcpy.env.workspace) fcList = arcpy.ListFeatureClasses() for fc in fcList: print(fc) call "C:\PROGRA~1\ArcGIS\Pro\bin\Python\Scripts\propy" \\NASSIG\service$\geomatique\archi\6-Traitements\2-Python-36\1-Scripts\tests\test.py It doesn't work on my server. I have no error. Any idea ? Thanks for help ! Python 3.6.2
... View more
02-28-2018
04:46 AM
|
0
|
7
|
1102
|
POST
|
Hi ! I made a script in Python 3.6.2. It works fine on my computer but when i want to execute since my server i have the error (my parameters are exactely the same): "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\management.py", line 6582, in MakeQueryLayer
raise e
File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\management.py", line 6579, in MakeQueryLayer
retval = convertArcObjectToPythonObject(gp.MakeQueryLayer_management(*gp_fixargs((input_database, out_layer_name, query, oid_fields, shape_type, s
rid, spatial_reference), True)))
File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\geoprocessing\_base.py", line 506, in <lambda>
return lambda *args: val(*gp_fixargs(args, True))
arcgisscripting.ExecuteError: Failed to execute. Parameters are not valid.
ERROR 000368: Invalid input data.
Failed to execute (MakeQueryLayer).
Where can I look ? Configuration ? Thanks for help
... View more
02-28-2018
02:26 AM
|
0
|
2
|
1873
|
POST
|
Hello. Oracle 12c R1 (64 bits) 12.1.0.2 No I don't have ArcGis Pro installer on the ArcGIS Server Machine. I contacted the support. It may be user rigths into Oracle. When we put the rights "dba" it works. As it was a temporary solution before migration, we stop searching and will choose another solution. Thanks for the help.
... View more
01-03-2018
10:33 PM
|
1
|
0
|
1282
|
POST
|
Hi Rex, I tested on ArcGis Server. Client 64 bit Oracle is installed, appears first in the path. With ArcCatalog I have this error : Thanks for help.
... View more
01-02-2018
11:23 PM
|
1
|
2
|
1282
|
POST
|
Hi! Is it possible to connect to an Oracle Database 12c from ArcMap 10.2.2 ? I tried and Arcmap closed without any error message.
Steps :
- Add database 12c addresse in the tnsnames.ora
- Arcmap > Gis Servers > Connect to my GIS server 10.2
- Server Properties > Datastore > Register Database 12c
- Ok => Arcmap closed Thank you for help.
... View more
12-27-2017
05:43 AM
|
0
|
8
|
3584
|
POST
|
Hi, Since I update arcgis 104.1 to 10.5.1, I have an issue when i want to generate token : parameters = urllib.urlencode({'username' : username,
'password' : password,
'client' : 'referer',
'referer': portalUrl,
'expiration': 60,
'f' : 'json'})
response = urllib.urlopen(portalUrl + '/sharing/rest/generateToken?', parameters).read()
try:
jsonResponse = json.loads(response)
if 'token' in jsonResponse:
self.token = jsonResponse['token']
return self.token
elif 'error' in jsonResponse:
print(jsonResponse['error']['message'])
for detail in jsonResponse['error']['details']:
print(detail)
sys.exit(2)
except ValueError, e:
print('An unspecified error occurred.')
print(e) IOError: [Errno socket error] [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:661) Do you have any idea to solve this issue ? Thx.
... View more
12-11-2017
01:13 AM
|
0
|
3
|
3056
|
POST
|
Hi! I am testing the story map tour with a web map. The service is created with a feature class and an attribute table joined by ID. When I create the story map, picture are not available but i can diplay the pictures from the Web Map. What am I do wrong ? Is this due to the fact that the name of the field in the service is prefixed by the datatable name? Thanks for help !
... View more
06-15-2017
11:45 PM
|
0
|
0
|
639
|
BLOG
|
Hi! Can you get all items of a particulary type like "Web Map" for a organisation portal ?
... View more
02-10-2017
01:55 AM
|
0
|
0
|
1998
|
POST
|
Robert, I use winmerge : the Widget coordinate is the same in server/apps/[numapp]/widgets/coordinate and stemap/widgets/coordinate. I use the modified widget coordinate : Can I display current scale in web app builder application? Other imports (apps create before) works well without this "external" widget. Maybe it's the cause...
... View more
12-07-2016
05:28 AM
|
0
|
1
|
508
|
POST
|
For my test, I have copied all the sources in another machine, so yes, it's the same version...
... View more
12-06-2016
10:19 PM
|
0
|
3
|
508
|
Title | Kudos | Posted |
---|---|---|
1 | 08-31-2023 06:56 AM | |
1 | 05-26-2021 02:26 AM | |
2 | 02-20-2019 05:01 AM | |
1 | 01-03-2018 10:33 PM | |
1 | 01-02-2018 11:23 PM |
Online Status |
Offline
|
Date Last Visited |
01-24-2024
08:10 AM
|