不具合
| 不具合 ID 番号 | BUG-000123589 |
|---|---|
| 送信されました | July 9, 2019 |
| 最終更新日 | February 7, 2025 |
| 適用対象 | ArcGIS Pro |
| 見つかったバージョン | 2.4 |
| オペレーティング システム | Windows OS |
| オペレーティング システムのバージョン | 10.0 64 Bit |
| 修正されたバージョン | 2.4.2 |
| ステータス | Fixed |
Manually delete the addition line:
arcpy.env.workspace = arcpy.arcpy.env.packageWorkspacepy.env.packageWorkspace.scratchGDB
Publish the following simplified script to ArcGIS Server after registering a folder with server:
import arcpy
arcpy.env.workspace = r'C:\Users\<username>\Documents\ArcGIS\Projects\PythonWorkspace'
scratchWorkspace = arcpy.env.scratchGDB
arcpy.AddMessage(arcpy.env.workspace)
ArcGIS Server changed this to:
import arcpy
arcpy.env.workspace = arcpy.env.packageWorkspace
scratchWorkspace = arcpy.env.scratchGDB
arcpy.AddMessage(arcpy.env.workspace)
This script does run.
不具合 ID: BUG-000123589
ソフトウェア:
ArcGIS エキスパートのサポートを受ける
Esri Support アプリのダウンロード