laptop and a wrench

不具合

The Extract_Changes method in ArcGIS API for Python fails to return any changes.

最後に公開された状態: July 23, 2020 ArcGIS API for Python
不具合 ID 番号 BUG-000132126
送信されましたJuly 8, 2020
最終更新日June 29, 2025
適用対象ArcGIS API for Python
見つかったバージョン1.8.1
オペレーティング システムWindows OS
オペレーティング システムのバージョン2019 64 Bit
修正されたバージョン1.8.3
ステータスFixed

対処法

It seems to be an issue with the Python method not actually returning anything, despite the changes being identified correctly.

  1. Save a copy of the file C:\path\to\conda\envs\arcgispro-py3-clone\Lib\site-packages\arcgis\features\layer.py
  2. Open up the original file for editing with IDLE in ArcGIS Pro.
  3. Go to Line 2241 of the layer.py file, which is where the extract_changes method comes from.
  4. Instead of "return None", replace it with "return res".
  5. Save the .py file as "layer".
  6. Restart your IDE, and run the exact same code. The changes are now returned as desired.

Alternatively, use the extract_changes ArcGIS REST API method instead: https://developers.arcgis.com/rest/services-reference/extract-changes-feature-service-.htm

再現の手順

不具合 ID: BUG-000132126

ソフトウェア:

  • ArcGIS API for Python

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

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

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

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

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

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

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