laptop and a wrench

Error

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.

Última publicación: July 29, 2019 ArcGIS Pro
Número de ID del error BUG-000123517
EnviadoJuly 5, 2019
Última modificaciónNovember 12, 2024
Relacionado conArcGIS Pro
Versión encontrada2.3
Sistema operativoWindows OS
Versión de sistema operativo10.0
Versión corregida3.5
EstadoNon-Reproducible

Información adicional

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

Solución alternativa

 

  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.

Pasos para reproducir

ID del error: BUG-000123517

Software:

  • ArcGIS Pro

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga