laptop and a wrench

Bug

A script that uses ArcGIS API for Python to log into a portal fails to publish if the target portal is the same as the one referenced in the script.

Zuletzt veröffentlicht: July 29, 2019 ArcGIS Pro
Bug-ID-Nummer BUG-000123517
EingereichtJuly 5, 2019
Zuletzt geändertNovember 12, 2024
Gilt fürArcGIS Pro
Gefunden in Version2.3
BetriebssystemWindows OS
Betriebssystemversion10.0
Behoben in Version3.5
StatusNon-Reproducible

Zusätzliche Informationen

This issue is not longer reproducible in the versions 3.4 and 11.4.

Workaround

 

  1. Publish a placeholder script to the intended target portal. This could be nothing in particular or the complete script with the GIS set to a portal which is not the active one in ArcGIS Pro.
  2. The script creates a gp.server folder on the Hosting server. It is possible to modify the script after the fact, by locating it on the server. Here's an example location: C:\arcgisserver\directories\arcgissystem\arcgisinput\LoginGPWin.GPServer\extracted\p20\sym\login.py
  3. Update the script to point to the intended portal. Click Save.

Schritte zur Reproduzierung

Bug-ID: BUG-000123517

Software:

  • ArcGIS Pro

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln