When i run the following script in the python window in ArcGIS Pro, ArcGIS Pro crashes.
import arcpy, arcgis, numpy, os
proxyHost = "http://some.proxy.some-company.de"
proxyPort = "80"
cloudUrl = "https://www.some-company.de/arcgis"
cloudUser = "contentcreator"
cloudPwd = "somepassword"
cloudPortal = arcgis.GIS(url=cloudUrl, username=cloudUser, password=cloudPwd, proxy_host=proxyHost, proxy_port=proxyPort)
ArcGIS Pro crashes on the last line of my code.
The portal i like to call is a local installed ArcGIS Enterprise instance with Portal for ArcGIS (version 10.9) behind a webadaptor. ArcGIS Pro is version 2.9.2. Windows eventdata on the crash:
Aim of my script is an automated upload of created mmpk files to the portal like here:
Has anyone some suggestions why ArcGIS Pro crashes and how can i solve this?
I have this same problem - did you ever find a solution?