Questions tagged [error-999999]

"Error 999999: Error executing function" - a generic error in Esri ArcGIS products without a specific error ID. Basically it means "uh-oh something bad happened".

Filter by
Sorted by
Tagged with
1
vote
1answer
93 views

Wrong Data Type for my Python Script Tool?

I've got the following script and want to run it in the ModelBuilder. import arcpy, os dem = r'C:\folder\dem.tif' out_folder = r'C:\outfolder' epsgs = range(32601,32661) + range(32701,32761) for epsg ...
1
vote
1answer
343 views

Error 999999 in Zonal Statistics estimation using ArcPy?

I have multiple rasters saved in "Zonal.gdb". All the rasters in "Zonal.gdb" and "TownWilson_PrjUTM" have projected coordinates "WGS_1984_UTM_Zone_15N". I want to clip each raster to the extent in the ...
1
vote
2answers
56 views

What is syntax of bool in arcpy.sa.ExtractByAttributes?

I want to extract specific values of raster layer. Use codes as follows: attExtract=arcpy.sa.ExtractByAttributes(outraster,'VALUE==8 | \ VALUE==9 | VALUE==...
1
vote
2answers
249 views

Error 999999 exporting table view?

ArcGIS 10.1. When I try to export a table view with CopyRows_management, I get an invalid sql error. However, the sql statement by all accounts work fine. When I perform a GetCount_management, the ...
1
vote
1answer
406 views

Debugging error 999999 from Python Script using feature layer?

I'm attempting run a calculate field for a feature layer that I'm creating in this tutorial. I can't seem to set it up to run though. ERROR ...
1
vote
1answer
275 views

Update Cursor with Date Issue [closed]

My dates (maxDate, minDate, avgDate) all print out with the correct datetime format, but I am unsure if the problem is how the loop is written to update the cursor. Error: line 102, in updateRow ...
1
vote
1answer
4k views

Error 999999 “The table already exists” “No spatial reference exists” when using “import arcserver”

I'm hoping someone can help me understand why I'm getting this error. I have a python script tool that throws this error when it is run through the task scheduler: Traceback (most recent call last):...
1
vote
2answers
245 views

Using 'if' function to set field value based on various other field values gives ERROR 999999?

I am trying to populate a field with a value from another field in the same row, the condition I have set for this to take place is if a third field is equal to 0. In order to achieve this I have ...
1
vote
2answers
78 views

Creating a Polyline from a CSV File

I am creating a shapefile based on three columns in my CSV File - Latitude, Longitude, and Laps. For the most part, I understand how to loop through the data and create the many points based on the ...
1
vote
1answer
65 views

Creating file geodatabases in script tool after specifying path and names as GetParameterAsText

I am trying to create a script tool in ArcGIS Pro that uses 2 clipping feature classes to clip multiple other feature classes and save them to two new geodatabases I create in the script. I use 6 ...
1
vote
2answers
374 views

CreateTable_management as part of a script tool fail

I am trying to create a table as part of a script tool, and it always fails with error 999999. The general idea of the script is that it is calculating proportional coverage of things in a series of ...
1
vote
1answer
448 views

Getting ERROR 999999 when trying to use arcpy.UploadServiceDefinition_server()?

Here is my code def upload(name, client, working_dir): arcpy.env.overwriteOutput = True arcpy.SignInToPortal('https://www.arcgis.com', username, password) outdir = working_dir + "\\PROJECTS\\" +...
1
vote
1answer
116 views

Move to next iteration in event of empty feature class

I'm working on a model that processes lidar data from a public layer file, one quadrangle at a time, as I don't have a powerful enough machine, or enough storage to do it all at once. I am looking for ...
1
vote
1answer
303 views

ERROR 999999 when mosaicing GeoTIFFs in ArcGIS

I have been trying to use the mosaic tool in ArcMAP to merge several GeoTIFFs together, using BLEND as Mosaic Operator and LAST as Mosaic Colormap Mode. I placed all files that I want to merge in the ...
1
vote
1answer
233 views

Passing File from Python Script to ModelBuilder tool?

I have a script that produces a text file. The name of the text file it creates is determined by the input parameters chosen by the user. The user chooses what Layer, Stress Period, and Time Step to ...
1
vote
1answer
545 views

Failure to Iteratively Calculate Zonal Statistics as Table ArcGIS

I want to calculate mean luminosity for a district using several rasters and a shapefile with administrative borders. Since I have many files, I want to do the operation iteratively using a model ...
1
vote
1answer
73 views

Performing Project_management in batch using ArcPy?

import arcpy import os fc = [] walk = arcpy.da.Walk('C:/Wiley/P1/gis/OSM.gdb') outdir = "C:/Wiley/P1/gis/HK80.gdb/osm" for root, dirs, datasets in walk: for ds in datasets: fc.append(...
1
vote
3answers
962 views

ArcGIS: Error 999999 in spatial join

I am trying to assign attributes from one point layer to another point layer based on closest location. So I am trying to use a spatial join and generate the ArcPy code in order to ensure ...
1
vote
1answer
155 views

Adding join to table from Microsoft Access in ModelBuilder gives ERROR 999999?

I am working on a model in ArcMap (10.4.1) that calculates habitat suitability over a series of timesteps. The data needed to calculate habitat suitability at each timestep is stored in a specific ...
1
vote
1answer
214 views

Renaming feature classes in model builder gives error 999999

I've a simple model to iterate through a feature dataset and rename all the feature classes, adding "geo." before the original filenames. The output of Rename tool looks like "geo.%Name%", but running ...
1
vote
1answer
852 views

Polygon to Raster Error

I am trying to create a raster from a polygon (ie polygon to raster conversion tool) in ArcGIS 10.3 but I receive a 999999 ERROR message. The raster is at 1km from a 1km fishnet/mesh polygon for the ...
1
vote
1answer
224 views

Deleting features with arcpy on ArcGis SDE 10.0 SP5

I am new to ArcGIS and arcpy and am learning largely through trial and error. Anyway, the overall task is to delete, edit and add rows to feature classes. I thought it would be good to start with ...
1
vote
1answer
578 views

Minimum bounding geometry with “group” option gives error in ArcMap

The minimum bounding geometry tool is working fine on my data, but when I try using the "group" option, I get ERROR 999999: Error executing function. I would like generate two polygons, A and B, ...
1
vote
1answer
162 views

ArcGIS Server Geoprocessing Service fail to run a WeightedOverlay process

I have a simple python script that runs a Weighted Overlay process. This script runs fine locally but when I publish it to ArcGIS Server and submit the job through the REST service page, it gave me ...
1
vote
1answer
508 views

Point to raster conversion works as a tool in arcmap but fails when attempted with identical parameters in a script

I'm working on a script that will automate a stream delineation protocol given a DEM and a culvert layer. I was having difficulty troubleshooting problems with the point to raster conversion tool so I ...
1
vote
1answer
254 views

Merging USGS DEM files in ArcMap? [closed]

I'm trying to merge my DEM files into 2 separate files, one will have 4 files and the other will have 3. I've been reading every post from when someone asked this before for over an hour and I'm still ...
1
vote
1answer
503 views

Arc error executing function Skyline with surface

Trying to get a skyline for a set of 3D points based on a DEM (LiDAR based raster), but get the catch all error 999999. The surface is optional and the function works when no surface is assigned. All ...
1
vote
1answer
495 views

Iso Cluster tool in script failing to open clip raster?

I have been coding in Python for only a few months, so maybe I'm just overlooking a minor detail as a newbie. I have written the script below for a class project. It is supposed to clip two rasters, ...
1
vote
1answer
299 views

Trying to modify records from one shapefile to another gives Error 999999?

I am trying to update the atrribute data of a feature class with respect to another one by matching a common field. But it is returning an error for the setValue command. My code looks like: import ...
1
vote
1answer
1k views

Using ArcPy to set field values for all features within each polygon of separate feature class?

I am trying to set a field value in one feature class (TRU) based on the value of a field in a separate feature class (DerivedBoundaries) that contains the first, using python in ArcGIS 10.1. I have ...
1
vote
1answer
32 views

PackageMap script failed to execute in IDLE but runs in ArcMap Python window?

This runs in the ArcGIS Python window but not from the IDLE command prompt. import arcpy import os from arcpy import env env.overwriteOutput = True arcpy.env.workspace = "D:/Production/...
1
vote
0answers
27 views

Using project on point shape file to change coordinate system using ModelBuilder

I have created a model using ModelBuilder in ArcMap 10.8 to do the following: Project point shape file to change coordinate system from A to B Add a field (X) Calculate field: !SHAPE.CENTROID.X! ...
1
vote
0answers
126 views

Feature Class to Feature Class error: 999999 (ArcGIS Pro 2.5)

I've tried this with the new ArcGIS Pro 2.5 Python Notebook and the Python compiler from within Pro. I have about 15 layers that I'm reading in from a couple different external servers. I can read in ...
1
vote
0answers
81 views

ArcGIS ModelBuilder and Inline Variable Substitution Error

I have a feature class consisting of about 100 or so lines. I'm trying to use ModelBuilder to generate a profile table for each line so that I can generate elevation profiles for each one. My model is ...
1
vote
0answers
65 views

Error in ArcPy script building network

I am trying to use the network analysis toolset to build a route. I made the the tool in model builder initially and have tried to edit it to make it a script. When I try to build the network I get ...
1
vote
0answers
444 views

999999 error when executing StageService_Server to create service definition file in ArcGIS Pro

Oh, the dredded 999999 error. I am trying to create a service definition in arcpy for ArcGIS Pro. I succeed in creating a .sddraft but I fail to create a .sd sharing_draft = mlist[0]....
1
vote
0answers
738 views

KeyError: “The name 'ImageTensor:0' refers to a Tensor which does not exist. The operation, 'ImageTensor', does not exist in the graph.”

I'm trying to use ArcGIS Pro 2.3 and this tutorial (https://medium.com/geoai/high-resolution-land-cover-mapping-using-deep-learning-7126fee571dd) to use the function "Classify Pixels Using Deep ...
1
vote
0answers
43 views

Getting error from Arcpy Tabulate_area

I am trying to get the area of land use in each pixel of the fishnet file. I used the following script: arcpy.gp.TabulateArea_sa("fishnet_layer","FID","lulc.tif","Value","lulc_tab","1.1E-3") Here ...
1
vote
0answers
335 views

arcpy.SummarizeWithin_analysis error: error in executing tool

I am trying to identify and sum the lengths of line segments within a polygon boundary using the arcpy tool: arcpy.SummarizeWithin_analysis('my_gdb.DBO.gridzones', 'my_gdb.DBO.lines', 'my_gdb....
1
vote
0answers
72 views

Region group tool gives ERROR 999999?

I have an issue with the tool "region group". When I run my model, it always fails because of the region group tools. The error state this: ERROR 999999: Error executing function. The table was ...
1
vote
0answers
169 views

Zonal Statistics as Table: Generic 99999 Error on Some Features [closed]

I'm running Zonal Statistics as Table on three separate feature classes. These feature classes represent travel walk bands from various locations. These travel bands are my zone data, I have a regular ...
1
vote
0answers
202 views

Reclassification and Con(0 not working arcpy [closed]

I have a raster that has three pixel values=0,1,2. I want all pixels of value 2 to be 1. The raster is in tif format, 32 bit signed type. Below is my arcpy script- inRaster1="path address/input.tif" ...
1
vote
0answers
606 views

Reclassify raster error 999999 [closed]

I need to reclassify unsigned integer raster data. I ran Calculate Statistics on the Raster, tried Reclassify, but keep getting Error 999999: Error Executing Function. The description for the error ...
1
vote
1answer
3k views

A column was specified that does not exist - Error when running Select Layer By Attribute tool

I have shapefiles in a folder that were created by using the Raster to Polygon tool to convert reclassified rasters to polygon shapefiles. Each has a field named 'GRIDCODE'. I now want to select ...
1
vote
0answers
23 views

problem to execute overlay analysis for multiple layer in python script [duplicate]

I wrote the code to get a series of weighted overly result for multiple layer in python script. But it showed some error massage. What can be the solution? import arcpy input1 = "D:\work\helath.gdb\...
1
vote
0answers
105 views

Error 'DBMS Table not found' when sharing some shapefiles as Runtime Content [closed]

I have a collection of shapefiles that I want to "Share as > ArcGIS Runtime Content". In this collection there are a few shapefiles that cause an error. If I access this function through ...
1
vote
0answers
164 views

ExtractSubDataset in ArcPy loop giving ERROR 999999? [closed]

In ArcMap, I've created a layer group that I would like to add extracted subdatasets from a file to. It is a .grb file and I've successfully done this with the provided "Extract Subdataset" tool. Is ...
1
vote
1answer
406 views

Clip a Multipoint Feature Class (50 million points) with another feature class to get single xyz files [closed]

I have a very big multipoint feature class (in ArcGIS 10 imported from XYZ .txt files) and I have a shapefile which contains 50 polygons. (If I look at the attribute table, the 50 polygons are ...
1
vote
0answers
112 views

PointsToLine Failed to execute [closed]

Using this article as a guide, I've been trying to connect points to the nearest location on a line road feature class. This works until the last step, the Points To Line tool. It consistently gives a ...
1
vote
0answers
588 views

ArcGIS Dissolve failing with small polygons [duplicate]

I have an arcpy script which clips (Clip_analysis) a shapefile of polygons to a grid square, converts any multipart polygons created to singlepart polygons (MultipartToSinglepart_management), runs ...