laptop and a wrench

不具合

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.

最後に公開された状態: October 6, 2022 ArcGIS Pro
不具合 ID 番号 BUG-000151170
送信されましたJuly 29, 2022
最終更新日June 5, 2024
適用対象ArcGIS Pro
見つかったバージョン2.9.1
オペレーティング システムWindows OS
オペレーティング システムのバージョン10.0 64 Bit
ステータスKnown Limit

参考情報

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.

対処法

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.

再現の手順

不具合 ID: BUG-000151170

ソフトウェア:

  • ArcGIS Pro

バグのステータスが変更されたときに通知を受け取る

Esri Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動