laptop and a wrench

不具合

Following the documented Esri example returns the error message, "AttributeError: 'GIS' object has no attribute 'servers'".

最後に公開された状態: December 17, 2021 ArcGIS API for Python
不具合 ID 番号 BUG-000137276
送信されましたFebruary 5, 2021
最終更新日June 27, 2025
適用対象ArcGIS API for Python
見つかったバージョン1.8.3
オペレーティング システムWindows OS
オペレーティング システムのバージョン10.0 64 Bit
修正されたバージョン2.0.0
ステータスFixed

対処法

Follow instructions instead of the example provided (i.e. use either the get() or list() functions for the module arcgis.gis.server.ServerManager)

  • For example:
    • gis = GIS(profile="your_ent_admin_profile")
    • hosting_server = arcgis.gis.server.ServerManager(gis).get(role="HOSTING_SERVER")
  • Refer to the documentation of the ServerManager module, https://developers.arcgis.com/python/api-reference/arcgis.gis.server.html#arcgis.gis.server.ServerManager

再現の手順

不具合 ID: BUG-000137276

ソフトウェア:

  • ArcGIS API for Python

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

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

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

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

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

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

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