Select to view content in your preferred language

ERROR 160276: A row with this OID already exists. Failed to execute (BuildNetwork).

4521
13
Jump to solution
07-27-2023 12:15 AM
SOTIRIOSTRIANTOS
Regular Contributor

i am gettting a random error, when building a network dataset using ArcGIS Pro 3.1.2 and arcpy. The error message is: ERROR 160276: A row with this OID already exists. Failed to execute (BuildNetwork). Failed at Wednesday, July 26, 2023 5:04:01 PM (Elapsed Time: 3.42 seconds)

If i rerun the process it doesnt occur. 

Below is the Build.txt log. No error is logged in the BuildErrors.txt. Any ideas?

 

 

Building Network: 0.0 seconds (0.0 total) - 0 MB memory   [5:03:59 PM]

Refine Cleaning Area: 0.2 seconds (0.2 total) - 0 MB memory   [5:03:59 PM]

Extract Geometry and Attribute Values: 0.1 seconds (0.3 total) - 4094 MB memory   [5:03:59 PM]
  Extracting GreeceRoadNetwork: 0.0 seconds (0.3 total) - 4094 MB memory   [5:03:59 PM]
         0 features: 0.0 seconds (0.3 total) - 4094 MB memory
  Extracted GreeceRoadNetwork, 166 features, 390 vertices (min/max hierarchy values = 1/4): 1.4 seconds (1.7 total) - 4094 MB memory
Extracting Geometry and Attribute Values Is Done: 0.0 seconds (1.7 total) - 4094 MB memory

Deleting Network Elements: 0.0 seconds (1.7 total) - 4094 MB memory   [5:04:00 PM]
  Deleted 163 edge elements: 0.0 seconds (1.7 total) - 4094 MB memory
  Deleted 78 junction elements: 0.0 seconds (1.8 total) - 4094 MB memory
Network Elements Deleted: 0.0 seconds (1.8 total) - 4094 MB memory

Matching connectivity: 0.0 seconds (1.8 total) - 7877 MB memory   [5:04:00 PM]
         0 vertices: 0.0 seconds (1.8 total) - 7877 MB memory
Matching connectivity done

  Node Count:                   390
  Nodes Thrown Out:              58
  System Junctions Created:      76

       0.0 seconds (1.8 total) - 7877 MB memory

Creating Junctions: 0.0 seconds (1.8 total) - 7877 MB memory   [5:04:00 PM]
Created 76 Junctions: 0.0 seconds (1.8 total) - 7877 MB memory

Defining Edges: 0.0 seconds (1.8 total) - 9924 MB memory   [5:04:00 PM]
Defined 166 Edges: 0.0 seconds (1.8 total) - 9924 MB memory

Creating Edges: 0.0 seconds (1.8 total) - 9924 MB memory   [5:04:00 PM]
Created 166 Edges: 0.1 seconds (1.9 total) - 9924 MB memory
Populated hyperedge system weights: 0.0 seconds (1.9 total) - 9924 MB memory

Extracting Turns: 0.1 seconds (2.0 total) - 9924 MB memory   [5:04:01 PM]
  Extracting RestrictedTurns: 0.0 seconds (2.0 total) - 9924 MB memory   [5:04:01 PM]
  Extracted RestrictedTurns, 0 features: 0.0 seconds (2.0 total) - 9924 MB memory
Turns Extracted:  0.0 seconds (2.0 total) - 9924 MB memory


Network Built: 0.0 seconds (2.0 total) - 9924 MB memory   [5:04:01 PM]

 

 

 

 

 

 

 

13 Replies
MelindaMorang
Esri Regular Contributor

Okay, if that's the case, please describe your workflow in more detail.  It sounds like it's different from what the original user described. Please also share your data, if you're able.  That would be very helpful in diagnosing and fixing the issue.

0 Kudos
ZachBodenner
MVP Regular Contributor

I wish I could say it was particularly specific - all I'm doing is running an append, from a egdb feature class into a fgdb feature class. The schemas are similar but not identical, and I'm running the append using the field map. The append takes a while and seems to finish before throwing the error and resulting in no records appended. The target has attribute rules applied, but I have successfully appended into this feature class before. This seems to be a new issue.

Happy mapping,
- Zach
0 Kudos
MelindaMorang
Esri Regular Contributor

To make sure I understand: You are not running the Build Network tool, correct?  You're running the Append geoprocessing tool to append records from an egdb feature class to an fgdb feature class.  Are these feature classes part of a network dataset?  (The data you shared does not involve a network dataset.)

If your workflow has nothing to do with Network Analyst or topology, then it's unlikely to be related to the problem the original creator of this thread reported.  It's not related to Network Analyst, so this isn't really the right area within Esri Community to get help for that.  It's outside my area of expertise, so I can't really help you.  Sorry!  I recommend posting your question to the general ArcGIS Pro page at https://community.esri.com/t5/arcgis-pro-questions/bd-p/arcgis-pro-questions.  Or, call Support.  That may be a faster way to get help.

0 Kudos
ZachBodenner
MVP Regular Contributor

I will do that thank you.

Happy mapping,
- Zach
0 Kudos