不具合
| 不具合 ID 番号 | BUG-000141231 |
|---|---|
| 送信されました | July 6, 2021 |
| 最終更新日 | June 5, 2024 |
| 適用対象 | ArcGIS API for Python |
| 見つかったバージョン | 1.8.3 |
| オペレーティング システム | Windows OS |
| オペレーティング システムのバージョン | 10.0 64 Bit |
| 修正されたバージョン | 1.9.2 |
| ステータス | Fixed |
The main offending line (line 270 in arcgis\gis\server\admin\_logs.py) reads:
with open(name=out_path, mode='wb') as f:
Edit it to:
with open(file=out_path, mode='w') as f:
While the output after changing this is successful, there is a new line after each entry. This is a Windows specific issue. To resolve this, change line 270 to:
with open(name=out_path, mode='w', newline='') as f:Exporting the logs for Notebook Server after making the same adjustments to the respective code (in arcgis\gis\nb\_logs.py) requires additional 2 lines to be added in order for it to successfully run. The following import statements are added in line 4:
from datetime import datetime
import csv
不具合 ID: BUG-000141231
ソフトウェア:
ArcGIS エキスパートのサポートを受ける
Esri Support アプリのダウンロード