Esri / collector-tools

A set of python scripts and geoprocessing tools to automate common tasks and workflows in conjunction with Collector for ArcGIS
Apache License 2.0
74 stars 35 forks source link

Add GNSS Metadata Field (Pro) - Hosted Feature Service Failed #16

Closed srkiley closed 7 years ago

srkiley commented 7 years ago

I;m getting the error below when trying to run the Add GNSS Metadata Field (Pro) - Hosted Feature Service tool on a feature layer in our ArcGIS Online site:

image

Start Time: Thursday, August 10, 2017 11:33:36 AM Running script AddGNSSFieldsPythonAPI... Failed script AddGNSSFieldsPythonAPI... Traceback (most recent call last): File "C:\ArcGIS\ArcGIS_Desktop_Tools\collector-tools-master\CollectorUtils\add_update_gnss_fields_python_api.py", line 17, in from arcgis.gis import GIS ImportError: No module named 'arcgis' Failed to execute (AddGNSSFieldsPythonAPI). Failed at Thursday, August 10, 2017 11:33:37 AM (Elapsed Time: 0.88 seconds

danmaps commented 7 years ago

@srkiley Please make sure that you have the ArcGIS API for Python installed. Here are instructions to do this through ArcGIS Pro.

srkiley commented 7 years ago

Thanks @danmaps, That worked. I had this working at the previous version of ArcGIS Pro. I don;t remember adding the Python package, but must have. I apologize for submitting this as an issue. I should have read the documentation closer.