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
2answers
257 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 ...
2
votes
1answer
42 views

Adding spatial reference to many shapefiles in loop using ArcPy? [duplicate]

AST folder has 5 shapefiles. This code tries to pass the 2100 coordinate system to these shapefiles. But it gives error 999999: arcpy.env.workspace = r"C:\Users\user\Desktop\roads\AST" for i in ...
1
vote
0answers
175 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" ...
0
votes
0answers
153 views

error 999999 add rule to topology management

I was trying to create a topology with some rule, but I have problems with the rule "Must Be Covered By Feature Class Of". I get the error "999999: Error executing function." This is the code: WU =...
1
vote
0answers
1k views

ArcGIS Repair geometry doesn't solve “Incomplete void poly” error

I'm working with 8 shapefiles at approximately 63 mb in size total and I am trying to use ArcGIS/arcpy's Union to combine them into one single dataset. Each time I run this, I get the error: ...
0
votes
0answers
45 views

Error 999999 when using minus tool to extract elevation difference between two rasters

I have two raster DEMs in tif format. They both have the same cell size and spatial reference. I want to subtract the elevation from the 2nd picture from that of the same area in the 1st picture. When ...
1
vote
0answers
164 views

Using ModelBuilder to Automatically Import Excel, Display XY and Append to Master Shapefile?

I'm trying to automate a daily workflow using ModelBuilder. I have several tasks that I do daily in this order: Import an Excel file that contains 16 fields including two fields with x and y ...
0
votes
0answers
267 views

Field calculator executing error 999999 field is not nullable?

I've succeeded running such code in the pycharm. but I failed when I just copied the code to the code block of the field calculator. I am quite puzzled. What is wrong? the code is: def calVB(appeal,...
1
vote
1answer
328 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
344 views

Creating loop to reproject multiple rasters in ArcPy gives ERROR 999999?

I am trying to batch reproject multiple raster files using arcpy. Here is the code I have so far: # Import system modules import arcpy import os # Set environment settings arcpy.env.workspace = "H:...
1
vote
1answer
69 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 ...
0
votes
1answer
102 views

Executing CostDistance Function in ArcPy gives Error 999999?

I am attempting to create a least cost path using ArcPy for automation. I have the starting/end points and cost surface raster already assembled, so I am just using ArcPy to automate through my ...
1
vote
2answers
86 views

Locate LAS Points By Proximity gives ERROR 999999?

I am trying to locate LAS points which is within a specific distance (25cm or 50cm) from the 3D points in a feature class. This is exactly what the Locate LAS Points By Proximity tool should do. My ...
0
votes
0answers
64 views

Versioning error when creating a Topology on a File GDB

Im having an issue with the 99999 Error. Im creating a Topology dataset for each of the featureclasses within a GDB. For some reason my script works for some feature classes and errors on others. I ...
0
votes
0answers
255 views

Keep getting ERROR 999999: Error executing function when invoking ReclassByASCIIFile

This error has puzzled me for days, as I can run this on my raster within Arcmap with no issues. My snippet of code is: # Process: Average FFPI cells to sub basins using Zonal Average technique ...
0
votes
1answer
68 views

Running reclassify and Int tools on raster?

I am trying to do a very simple thing - convert a raster to a polygon where positive values are one set of polygons, and negative values are another set of polygons. The raster ranges from a minimum ...
1
vote
1answer
43 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
173 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 ...
0
votes
1answer
1k views

ModelBuilder: Error 999999 “Failed to copy raster dataset”

I want to run the "Project Raster" tool in the ModelBuilder of ArcMap but I get the "ERROR 999999: Error executing function. Failed to copy raster dataset." and I have no reason why. Input is a ...
0
votes
1answer
203 views

Unable to open feature class - Failed to execute (Raster to Polyline)

I'm working in ArcGIS 10.4.1 in the ModelBuilder with the iterate feature selection iterator. Everything works out just fine. But in the end I would like to convert my raster-output via "Raster to ...
-1
votes
1answer
264 views

ArcPy convert raster TIFF to PNG

ArcGIS 10.2 and I use ArcPy and I have create a ArcPy script. I want my final raster from script to create two raster datasets with different extensions, a TIFF extension and a PNG extension. Here is ...
-1
votes
1answer
682 views

Error 999999 with topo to raster

I'm trying to create a raster from contours and some points with an elevation field but when I excecute I get this error : Executing: TopoToRaster "pts_drones ELEVATION PointElevation;courbes_5m ...
0
votes
1answer
41 views

Image segmentation error 999999 with NAIP in ArcMap?

I'm trying to do object-based image analysis on a portion of the NAIP 2016 aerial imagery for Washington (4-band, 8-bit unsigned). Image: The NAIP file I'm using is accessed through a USDA server. To ...
0
votes
1answer
142 views

Topology error in ArcGis

I am trying to intersect a large feature class (118692 elements) with a grid (58000 elements) but I get an error message. Traceback (most recent call last): File "Path/InterJoin.py", line 24, in &...
3
votes
1answer
59 views

Python code to count business days in ArcGIS field calculator gives ERROR 999999?

I'm trying to field calculate using a python script the number of business days between two given dates. Right now the dates are hard coded, but once I get the script working I will pass dates from ...
2
votes
0answers
112 views

ArcGIS Web Mapping Service Extract By Mask Give 99999 Error

The USDA used to provide four-band NAIP imagery as TIFF tiles for each township (6x6 miles) in the USA. The 2013 data only available as an ArcGIS web-mapping service. Not being a big fan of ...
1
vote
1answer
305 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 ...
3
votes
1answer
337 views

Complicated expression for Calculate Field for arcpy

I have a working formula that I can put in the Field Calculator which I'd like to use in my python code: .3-.001*Log ( [Field1]+1 )-.02*Log ( [Field2]+1 )-.04*Log ( [Field3]+1 ) My code: ...
0
votes
1answer
285 views

Creating TIN in standalone ArcPy script for ArcGIS Pro?

I'm trying to create a TIN from contour data. My program will actually create an empty TIN, but it will still give me an error. Below is my code: import arcpy arcpy.env.workspace = r"C:\Users\Aliza\...
1
vote
1answer
209 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
343 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 ...
3
votes
2answers
561 views

Writing Data Driven Pages' scale into driving layer's attribute table with arcpy

I want to write a scale value that is changing for every Data Driven Page (since using map extent best-fit so that each polygon in the driving layer would be whole in "its" exported map) to the table ...
0
votes
1answer
898 views

The table was not found. Reclassify Arcpy

I am new to Python and trying to determine what is wrong with the following code: -- error message -- arcgisscripting.ExecuteError: ERROR 999999: Error executing function. The table was not ...
2
votes
1answer
147 views

Debugging ModelBuilder Error 999999?

I have to build a model for my class midterm which requires us to take a .csv file and convert it to a table, then take the table and create an XY event layer which will be used to create a new ...
1
vote
1answer
150 views

ERROR 99999 during arcpy.Project_management

I have a script that I run in ArcMap 10.5.1 that iterates through feature classes in a file geodatabase and projects each one to a WGS84 shapefile. This works smoothly for most feature classes in the ...
1
vote
1answer
69 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(...
-2
votes
1answer
493 views

Search Cursor to count not null values records?

I am trying to achieve print all featureclass, total count, notNullvalues. I am trying hard on this code. but getting Error: suggest how can I code better and working. I am not regular python user. ...
2
votes
1answer
474 views

listing multiple files for a merge (arc)python

I have created a script to convert GPX into features with python. This script works but now I want to add all these separate feature classes (point features) in one featureclass/layer and convert it ...
1
vote
0answers
511 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
3answers
563 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 ...
2
votes
0answers
215 views

Why does order of commands in raster processing matter? [closed]

My company has recently changed to ArcGIS 10.5 (from 10.1) and now some arcpy scripts that worked fine before don't run anymore. I am not completetly convinced this is actually the reasons of the ...
0
votes
2answers
125 views

ArcPy: 999999 ERROR when using AddJoin_management

I want to execute three joins in total. The first two joins work, but when I'm trying to join both resulting datasets I get the beloved 999999 ERROR. # sr tables for joins sr1Table = sr1Path + ".dbf" ...
0
votes
1answer
192 views

Calculating a field error

I have this table: And I want to create a field called "COSN2" which after the creation I want to fill it with three characters from the field "COS207". Than I wrote the following script: import ...
0
votes
2answers
531 views

Selecting table records by attribute if in Python list

I would like to create a subset of a table based on values in a Python list that I created from a search cursor. I have not been able to get the where_clause correct and keep getting errors. Here is ...
0
votes
1answer
108 views

Re-projecting Multiple Shapefiles using ArcPy?

I decided to re-project shapefiles from one coordinate system to another. I wrote the following script but am getting the execution Error 999999. Here is the script: import arcpy # input data is ...
3
votes
1answer
706 views

Summary Statistics with multiple case fields not working [closed]

While trying to calculate summary statistics in a table in a GDB, i get the following error: ERROR 999999: Error executing function. The table was not found. [OutputStats] Failed to execute (Summary ...
3
votes
2answers
232 views

Executing arcpy.createTable_management with parameters from arcpy.GetParameterAsText?

I'm trying to create a script tool in ArcMap that creates an attachment match table. The script fails giving this: Traceback (most recent call last): File "H:\py\PhotoMatch_test.py", line 40, in &...
3
votes
0answers
180 views

Failure using inline variable %Name% as output file name in ModelBuilder [closed]

I am using the following model to iterate through ASCII files and then use the reclassify tool: The model works very well if I use a generic name as the output file name, or even using an inline ...
2
votes
0answers
113 views

Define Overviews Tool Error when Iterating through Mosaic Datasets [closed]

I have multiple mosaic datasets in a file geodatabase. I need to run the Define Overviews tool on all the mosaic datasets. However, when I try to iterate through the mosaic datasets with ModelBuilder ...
1
vote
2answers
49 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==...