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
21
votes
5answers
21k views

Including variable in where clause of arcpy.Select_analysis()?

I am trying to loop through a shapefile, selecting each feature in turn and copying it to a temporary shapefile to by included in a union analysis. I'm using a cursor to find the ID name for each ...
18
votes
7answers
11k views

Listing feature classes with active domains?

I have an Esri file geodatabase with attribute domains defined. I need to delete some of the attribute domains but can't because "The domain is used by an attribute rule.". How might I discover which ...
10
votes
2answers
19k views

Invalid Topology [Topoengine error] from ArcGIS for Desktop?

Using ArcGIS 10.1 for Desktop, I'm trying to run the Identity function on two large data sets but it fails every time. I don't think it is a lack of hardware as I can run other processes on the same ...
9
votes
4answers
14k views

Dissolve not working in ArcGIS 10

The dissolve tool is not working for me when I use ArcGIS 10. It works perfectly when I use version 9.3. Any help?
9
votes
2answers
9k views

Why Intersect gives ERROR 999999: Error executing function Invalid Topology [Too many lineseg endpoints]?

I am trying to run an Intersect process in arcgis 10 sp 3 with 2 file sets (aspect and slope) from up to a 1m DEM across an area of 65,000sq km. The aspect has 9,930,384 records and the slope has 31,...
8
votes
7answers
12k views

Geometry is not M-Aware?

When using the Erase geoprocessing tool from the Analyst Toolbox I get the following error "ERROR 999999: Error executing function. The geometry is not M-aware Failed to execute (Erase)." With small ...
8
votes
1answer
5k views

Problem with setValue() function in ArcGIS 10

I'm trying to add data to an attribute table in ArcGIS 10 using the following code: def make_floor_no( shapefile ): "Makes header for number of Floors (FLO) and calculates value" fieldName = ...
8
votes
3answers
6k views

Setting parameters in Script Tool using Python?

I hate to bug you all with the same problem over and over again but I run into a new problem everytime I make a slight change to the code. All I did to the code below was to replace field names to ...
7
votes
3answers
14k views

Clearing cache memory using python?

In this script I use 2 nested 'for' loops to extract a series of variables by month (month = 0 - 11) from 5 netcdf files and then mosaic together each extracted variable. The script runs but after ...
6
votes
4answers
2k views

Debugging ERROR 999999 in Raster to Polygon Scripting?

I am trying to make a script which selects every .png file in a folder beginning with the letters "LG". I then want the scipt create a shapefile, replacing the "LG" with "SH", and then i want the ...
6
votes
6answers
2k views

Dissolving polygons fails on computers with small amount of RAM

When I'm trying to dissolve a polygon through an arcpy script the operation fails with the 999999 error on computers with small amount of RAM [~3 GB] (known issue). Unfortunately neither: arcpy....
6
votes
1answer
6k views

Extract Values to Point from Raster Issue

I am trying to use the tool Extract Values to Points on a File Geodatabase raster, but I am getting some weird errors. I've used this tool multiple times before with no issue, but not since I ...
6
votes
1answer
2k views

ArcObjects C#: Create Random Points fails with ERROR 999999: Error executing function

I am having trouble running some ArcObjects C# code that calls create random points. I would not be doing this in ArcObjects, but I am suffering with the same issue using Arcpy as seen here: http://...
5
votes
5answers
5k views

ExecutING SQL script in ArcGIS field calculator?

I am trying to transfer over row data from a table to columns in a shapefile table. There is a common "SA" variable between the two (i.e. the study area number) but there is more than one land use ...
5
votes
1answer
2k views

Calculate Field in ModelBuilder gives General error executing calculator. ERROR 999999: Error executing function. Expected end of statement?

I am attempting to do zonal statistics for multiple images and I need to add an extra field that will have the name of each raster file in each row to the finally appended file. I have added a field ...
5
votes
1answer
3k views

How to Make a New Shapefile Based on Attributes of an Existing Shapefile?

In my last post I had an issue where I wanted to create multiple shapefiles based on only one attribute field (years). How to do it was answered in that post. I want to make that tool more dynamic so ...
5
votes
1answer
133 views

Comparing ArcGIS Desktop configuration on two pieces of hardware?

I have two PCS with ostensibly the same configuration (i.e. both ArcGIS Desktop 10.0 SP5, both 4Gb RAM) yet when I load the same file geodatabase onto both and run the same large (400 element) model ...
5
votes
1answer
42 views

Error in reclassifying with ArcPy

I am trying to reclassify DEM using arcpy.sa.Reclassify and it is showing an error. Following are my commands: dem_re=arcpy.sa.Reclassify("dem_extfish.tif","VALUE",arcpy.sa.RemapRange([[391, 677, 1],...
4
votes
2answers
15k views

Replacing NULL value with Zero in geodatabase table using Python parser of ArcGIS field calculator?

I am having some difficulties to change "NULL" values to zero in geodatabase. I have tried the following python code in ArcGIS 10.1 ("Field Calculator") to change it but did not work. Pre-Logic ...
4
votes
3answers
3k views

Avoiding Extract by mask error 999999?

I am iterating through ~300 raster tiles, using a polygon feature class to extract by mask. The model successfully processes the first ~100 tiles and then I get the following error on the same tile ...
4
votes
2answers
606 views

Script (ArcPy) vs field calculator (Python Parser) behaviour of getPart in ArcGIS for Desktop?

From time to time I have to access geometry field and shuffle through points in it. Process is simple: Get shape Get it's part Iterate through part's points This is how it looks like in a script ...
4
votes
1answer
209 views

Generic error on an “if” in arcpy

My code has to check if a value in a shapefile attribute table belongs to a certain group of landuses. Below I paste my code: cursor = arcpy.SearchCursor(buf_intersect) fields = ["GTYS_Branc", "...
4
votes
1answer
393 views

Extract Multi Values to point error table was not found

Newbie to arcpy. Tried using this tool after successfully using Extract Value to Point tool with same data. I received the correct data appended to the attributes table. I would like to use the ...
4
votes
2answers
110 views

Splitting worldwide roads into multiple road datasets with less than threshold number of features?

I want to split a worldwide 'road dataset' into multiple grids/blocks-extents, depending on the amount of features resides in that block-extent. If the amount of features(inside that block) is still ...
3
votes
2answers
3k views

GetParameterAsText() error in python script

i have a huge problem with an error . when i use getparameterastext and use it for searchcursor , i encounter to an error .for example the below code import arcpy featureClass = arcpy....
3
votes
5answers
2k views

Python loop Polygon to raster not working?

I want to convert a large number of different shp polygons to raster in ArcGIS 10.1, using an existing field column "class" for the new raster classes. I am not very fluent in python but I thought ...
3
votes
2answers
4k views

Get extent of Georeferenced Rasters in Python and output to polygon shapefile

I would like to create a shapefile containing the extents of each of the rasters in a directory. Is it possible to capture the extent of a raster using Python? I have tried extent1=...
3
votes
3answers
2k views

Error when Projecting Rasters using ArcPy?

Using ArcGIS 10.3 I'm receiving the dreaded 'ERROR 999999' when attempting to project a geodatabase full of rasters from WGS84_UTM_zone_10N to Nad83_BC_Environment_Albers import arcpy InRasterGDB = ...
3
votes
1answer
217 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: ...
3
votes
3answers
696 views

Is there Shape Metrics Toolbox or equivalent for ArcGIS 10?

I need to compute the geometric properties (e.g. contiguity index, dispersion index etc.) of a series of polygons and I would like to use the Shape Metrics Toolbox. I am using ArcGis 10 and the ...
3
votes
2answers
484 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 ...
3
votes
2answers
191 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
1answer
198 views

XYToLine and Error 999999

When attempting to convert this text file to lines using the XYToLine tool I keep getting the generic ERROR 999999. What is going on? ID SrcX SrcY DstX DstY 1 905653.9545 ...
3
votes
1answer
56 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 ...
3
votes
1answer
233 views

Calculating raster area by converting to points to account for latitude changes?

I am looking at a large geographic area (e.g., continental Africa). I generated a raster of modeled habitat (using MaxEnt) defined in WGS 1984 depicting the hypothetical distribution of an organism at ...
3
votes
1answer
1k views

How to test for 'if arcpy.exists' with RemoveFeatureClassFromTopology stand-alone script?

I have some dataset topologies that I want to loop through, but I need to test for the assignment of feature classes so the scripts don't fail. (Using Win 7, ArcGIS 10.2, Python 2.7.5 and a file GDB) ...
3
votes
1answer
1k views

Inserting DATAFRAME_ELEMENT value into dynamically generated shapefile containing its extent?

This is for ArcGIS 10, Python 2.65. I have code which captures the extent of dataframes within all mxd's in a directory. I also want it to add the dataframe name, scale and the name of the MXD it ...
3
votes
1answer
482 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
0answers
148 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 ...
3
votes
0answers
58 views

Testing if ArcPy script will work with lower license level? [duplicate]

I was looking at the question Exporting feature class to SQLite database using ArcPy with ArcGIS Pro? which states at the end The problem is that I cannot use feature class to feature class ...
3
votes
0answers
136 views

ArcMap Crashes with ArcGIS has encountered serious error when Accessing Classified Symbology [duplicate]

Whenever I select classified symbology for a raster layer ArcMap will crash/close and give the message/ prompt to send error report: "ArcGIS has encountered a serious error.." The problem is not ...
3
votes
0answers
81 views

Error inserting new column in ArcSDE table (ERROR 999999) [closed]

I am using a python script to populate a table with values I get from rasters files. I use arcpy.AddField_management to add a new column and arcpy.CalculateField_management to insert the values for ...
3
votes
0answers
503 views

Multiple ring buffer on point-shape error [duplicate]

I need to calculate multiple ring-buffers, but every time I try, arcgis produces a failure: Executing (Multiple Ring Buffer): MultipleRingBuffer Y:\GIS\RDY\clip\sn_clip.shp Y:\GIS\RDY\sn_clip_ring....
2
votes
2answers
140 views

Converting none to zero (0) in geodatabase table using ArcPy?

I have an attribute table looks like this How do I convert Nulls into 0? I've tried to set this table non nullable type but got this: while the official doc says this: At least one of them is ...
2
votes
2answers
170 views

PackageLayer_management failing within script, needs to run outside of an ArcMap session

I'm automating a workflow that requires outputting a layer package, it throws the general ERROR 999999 when executing and breaks. It does, however, generate a folder in the correct directory, with ...
2
votes
1answer
122 views

Cannot import CSV to dbase via Table_to_Table in ArcMap

I have a CSV file with greater than 5 million records. When I imported it to dbase via the Table_to_Table function in ArcMap, it raised ERROR(99999). As a result, only 2 million or so records were ...
2
votes
3answers
3k views

Error when creating insert cursor in ArcPy?

I've written several scripts that copy data from MS Access db into a new, empty ESRI Geodatabase. I've pretty much copied the code and changed it for each table -- the first two scripts have worked ...
2
votes
2answers
7k views

Joining Fields from Multiple Tables to One Table in ModelBuilder?

I have 40 tables with about 2000 row with a shared ID that I want to merge into 1 table with 2000 rows. I only want to retain a distance field calculated within each table. The distance field is ...
2
votes
1answer
347 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 ...
2
votes
1answer
95 views

ExecuteError: ERROR 999999 with “PointsToLine” function with a Point Feature class created by “MakeRouteEventLayer_lr”

I have an issue with the "PointsToLine" function in Python arcpy and in the tool dialog, the problem comes everytimes I use a POINT Feature Class (FC) created from the "Make Route Event Layer" ...