Open LuisRguezEsriSpain opened 2 years ago
Hi,
I've created a new ArcGIS PRO project. When I execute "ElevationTools.pyt", it works properly, but then I run the tool again and it fails. I have to close and open the ArcGIS PRO project so that the tool works.
On the other hand, when I share the correct execution of the tool as Web Tool, I get this error:
Elevation 65 WebTool ArcGIS Enterprise https://persplataforma1081.esrilab.es/server admin 2022-07-19 09:26:43 Status: InProgress StatusMessage: Successfully wrote sharing info file
Elevation 65 WebTool ArcGIS Enterprise https://persplataforma1081.esrilab.es/server admin 2022-07-19 09:26:43 Status: InProgress StatusMessage: Loading manifest
Elevation 65 WebTool ArcGIS Enterprise https://persplataforma1081.esrilab.es/server admin 2022-07-19 09:26:43 Status: InProgress StatusMessage: Creating thumbnail from map
Elevation 65 WebTool ArcGIS Enterprise https://persplataforma1081.esrilab.es/server admin 2022-07-19 09:26:43 Status: Pending StatusMessage: Sharing process started
Elevation 65 WebTool ArcGIS Enterprise https://persplataforma1081.esrilab.es/server admin 2022-07-19 09:26:44 Status: Pending StatusMessage: Sharing process started
Elevation 65 WebTool ArcGIS Enterprise https://persplataforma1081.esrilab.es/server admin 2022-07-19 09:26:48 Status: InProgress StatusMessage: Sharing process started
Elevation 65 WebTool ArcGIS Enterprise https://persplataforma1081.esrilab.es/server admin 2022-07-19 09:26:48 Status: InProgress StatusMessage: Sharing process started
Elevation 65 WebTool ArcGIS Enterprise https://persplataforma1081.esrilab.es/server admin 2022-07-19 09:26:49 Status: InProgress StatusMessage: Loading manifest
Elevation 65 WebTool ArcGIS Enterprise https://persplataforma1081.esrilab.es/server admin 2022-07-19 09:26:49 Status: InProgress StatusMessage: Creating thumbnail from map
Elevation 65 WebTool ArcGIS Enterprise https://persplataforma1081.esrilab.es/server admin 2022-07-19 09:26:50 Status: InProgress StatusMessage: Publishing process started
Elevation 65 WebTool ArcGIS Enterprise https://persplataforma1081.esrilab.es/server admin 2022-07-19 09:26:50 Status: InProgress StatusMessage: Preparing data references and staging web tool
Elevation 65 WebTool ArcGIS Enterprise https://persplataforma1081.esrilab.es/server admin 2022-07-19 09:26:59 Status: InProgress StatusMessage: Using ArcGIS Version 12.8 for staging (Source for version: GP Staging Parameters)
Elevation 65 WebTool ArcGIS Enterprise https://persplataforma1081.esrilab.es/server admin 2022-07-19 09:26:59 Status: InProgress StatusMessage: Stage Tool initialized
Elevation 65 WebTool ArcGIS Enterprise https://persplataforma1081.esrilab.es/server admin 2022-07-19 09:27:00 Status: InProgress StatusMessage: Consolidate data
Elevation 65 WebTool ArcGIS Enterprise https://persplataforma1081.esrilab.es/server admin 2022-07-19 09:27:01 Status: InProgress StatusMessage: Staging GP service
Elevation 65 WebTool ArcGIS Enterprise https://persplataforma1081.esrilab.es/server admin 2022-07-19 09:28:06 Status: Failed ErrorMessage: Consolidation failed
Elevation 65 WebTool ArcGIS Enterprise https://persplataforma1081.esrilab.es/server admin 2022-07-19 09:28:07 Status: Failed ErrorMessage: ERROR 001707: Data cannot be opened: Shape File(C:\ViewshedUtil\elevation-gp-python-master\Users\xugu4526\Documents\ArcGIS\scratch) Viewshedpoly.
Elevation 65 WebTool ArcGIS Enterprise https://persplataforma1081.esrilab.es/server admin 2022-07-19 09:28:07 Status: Failed ErrorMessage: Failed to execute (StageService).
Elevation 65 WebTool ArcGIS Enterprise https://persplataforma1081.esrilab.es/server admin 2022-07-19 09:28:09 Status: Failed ErrorMessage: Staging failed
Why does the staging step try to open "C:\ViewshedUtil\elevation-gp-python-master\Users\xugu4526\Documents\ArcGIS\scratch" shape file? In "ElevationTools.pyt" there isn't any reference to this shape file.
Hi,
By using the last versión of "ElevationTools.pyt" I can publish this tool as a Web Tool.
Thank you Xuguang
Hi,
I've followed the steps in "Setting up the viewshed geoprocessing service (ArcGIS Pro).pdf".
But when I excute "ElevationTools.pyt" I get these errors:
In addition to the previous error. I have this questions, Is it necessary an ArcGIS Image Server license to publish the viewshed script tool?