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 ...
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
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,...
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 ...
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 ...
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 ...
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?
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 ...
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 ...
2
votes
2answers
8k 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 ...
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....
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 ...
1
vote
1answer
166 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
2answers
186 views

Error when creating data with special characters and numbers [duplicate]

My code will not project and store the feature layer in the scratch.gdb. "ERROR 999999 ... The table name is invalid. The table was not found. [17_5330_51961Lake]" The interpreter doesn't like "-" ...
0
votes
2answers
2k views

Batch Zonal Statistics as table?

I want to calculate zonal statistics as table for multiple rasters, but can't figure out how. What I am trying is: import arcpy, os arcpy.env.workspace=r'F:\Sheyenne\Atmospherically Corrected ...
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=...
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 ...
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
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 ...
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
0answers
463 views

Why does ArcGIS Upgrade Geodatabase tool throw ERROR 999999: Error executing function? [closed]

I am using ArcGIS 10.1 for Desktop to upgrade File Geodatabases using a Python script that runs fine until the step where it runs the Upgrade Geodatabase tool. The error is: ERROR 999999: Error ...
1
vote
1answer
1k 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
1answer
654 views

Am I over-complicating adding and then calculating fields? Suggestions for a better way? (Python)

I'm attempting to re-position a question I asked yesterday here. I am starting to think that the way I wrote my code just isn't the best way. Am I overcomplicating things? I know for a fact that ...
0
votes
2answers
866 views

Using ModelBuilder to Iterate and extract subdatasets with in hdf file and project subdatasets?

I have a large file of n-files. I am interested in using the model builder within GIS to extract subdataset fields within a Modis hdf file. I am particularly interested in extracting Aerosol data ...