laptop and a wrench

Erro

The error message, "AttributeError: module <module> has no attribute <attribute>" is returned when running Network Analysis (Ready To Use) tools with the Security Assertion Markup Language (SAML) login on ArcGIS Notebooks.

Última Publicação: October 6, 2022 ArcGIS Pro
Número de ID do Erro BUG-000151170
EnviadoJuly 29, 2022
Última ModificaçãoJune 5, 2024
Aplica-se àArcGIS Pro
Versão encontrada2.9.1
Sistema OperacionalWindows OS
Versão do Sistema Operacional10.0 64 Bit
StatusKnown Limit

Informações Adicionais

The issue is not prioritized due to the availability of the provided workaround. Using the ArcGIS Pro's portal connection rather than the Security Assertion Markup Language (SAML) authenticated token allows the script to run both, inside ArcGIS Notebooks, or outside the app in stand-alone Python or Notebook as long as the credentials are saved when logging in the portal.

Solução Provisória

1. Log in to ArcGIS Pro with the Security Assertion Markup Language (SAML) login.

2. In ArcGIS Notebooks, import the necessary modules.

3. Do not need to pass through the script signing in to ArcGIS Online.

4. When importing 'od_service' as a toolbox, modify to the following (If not signed in to ArcGIS Pro with the SAML login at the beginning, this step prompts the login dialog box.):

>> od_service = "https://logistics.arcgis.com/arcgis/services;World/OriginDestinationCostMatrix;UseSSOIdentityIfPortalOwned"

>> arcpy.ImportToolbox(od_service)

5. Run all the remaining scripts.

Etapas para Reproduzir

ID do Erro: BUG-000151170

Software:

  • ArcGIS Pro

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download