laptop and a wrench

不具合

The error message, "PermissionError: [Errno 13] Permission denied:" is returned when running a Python script to convert a file geodatabase to a ZIP file.

最後に公開された状態: January 6, 2022 ArcGIS Pro
不具合 ID 番号 BUG-000145328
送信されましたDecember 16, 2021
最終更新日March 28, 2025
適用対象ArcGIS Pro
見つかったバージョン2.7
オペレーティング システムWindows OS
オペレーティング システムのバージョン10.0 64 Bit
ステータスWill Not Be Addressed

参考情報

The .lock files are required for data access optimization. There is no reason to write .lock files into an archive. It is easy to update the code to accomplish this. In the innermost loop just before zipf.write, type `if os.path.splitext(file)[1] == ".lock": continue`.

対処法

  1. Run the script in the Python window or in ArcGIS Notebooks within ArcGIS Pro.
  2. Create the geodatabase within a separate process from the script to release the lock when the process closes.
  3. Zip the file within the same script.

再現の手順

不具合 ID: BUG-000145328

ソフトウェア:

  • ArcGIS Pro

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

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

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

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

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

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

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