DOI-USGS / gems-tools-pro

GeMS Tools for ArcGIS Pro
Creative Commons Zero v1.0 Universal
47 stars 15 forks source link

Create Database Crashes #3

Closed rcrow closed 1 year ago

rcrow commented 3 years ago

An edmap collaborator reach out to me with the following error when trying to create a GeMS database in ArcPro: " Traceback (most recent call last): File "D:\OneDrive\Tim_Grad School\Research\Thesis\GeMS_ThesisWork\gems-tools-pro-master\gems-tools-pro-master\Scripts\GeMS_CreateDatabase_AGP2.py", line 397, in trackEdits = False File "D:\OneDrive\Tim_Grad School\Research\Thesis\GeMS_ThesisWork\gems-tools-pro-master\gems-tools-pro-master\Scripts\GeMS_CreateDatabase_AGP2.py", line 274, in main arcpy.AddCodedValueToDomain_management(thisDB,'ExIDConfidenceValues',code,code) RuntimeError: Cannot find field 'URL' " He could only get it to run my turning off "add standard confidence values". I tried to duplicate the error and had the same problem but a slightly different error message: " Traceback (most recent call last): File "C:\Users\rcrow\Downloads\gems-tools-pro-master\Scripts\GeMS_CreateDatabase_AGP2.py", line 430, in main(thisDB,coordSystem,nCrossSections) File "C:\Users\rcrow\Downloads\gems-tools-pro-master\Scripts\GeMS_CreateDatabase_AGP2.py", line 297, in main cursor.insertRow(('FGDC-STD-013-2006','Federal Geographic Data Committee [prepared for the Federal Geographic Data Committee by the U.S. Geological Survey], 2006, FGDC Digital Cartographic Standard for Geologic Map Symbolization: Reston, Va., Federal Geographic Data Committee Document Number FGDC-STD-013-2006, 290 p., 2 plates.','https://ngmdb.usgs.gov/fgdc_gds/geolsymstd.php')) RuntimeError: Cannot find field 'URL' Failed to execute (CreateDatabase)." I dug a bit into the code and could not find a quick solution. He was able to create a database using Map and then use it in Pro, which will work for now....