laptop and a wrench

Bogue

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.

Dernière publication: July 29, 2019 ArcGIS Pro
Numéro d’ID de bogue BUG-000123517
EnvoiJuly 5, 2019
Dernière modificationNovember 12, 2024
S’applique àArcGIS Pro
Version trouvée2.3
Système d’exploitationWindows OS
Version du système d’exploitation10.0
Version de correction3.5
StatutNon-Reproducible

Informations supplémentaires

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

Solution de contournement

 

  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.

Étapes pour reproduire

ID de bogue: BUG-000123517

Logiciel:

  • ArcGIS Pro

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement