Select to view content in your preferred language

Execute Data Load Warning 001156: Could not write value 'NULL' to output field f_7864070e49f14ae5a76a09237e7e2ed4

1731
8
Jump to solution
02-29-2024 11:48 AM
BryanMay531
Regular Contributor

Can anyone remind me how identify the field? :

f_7864070e49f14ae5a76a09237e7e2ed4

there is somewhere to crossreference to a real field name but I can't find it today

ExecuteDataLoadWarning.png

0 Kudos
1 Solution

Accepted Solutions
RobertKrisher
Esri Regular Contributor

@BryanMay531 I just noticed that you're running the 3.1 version of the data loading tools using a 3.2 version of ArcGIS Pro. The data loading tools were incorporated into the core geoprocessing framework of ArcGIS Pro in 3.2, so I'd recommend you try this again using the Data Management > Data Loading toolbox. Even if it doesn't succeed, you should see some more informative error messages.

View solution in original post

0 Kudos
8 Replies
RobertKrisher
Esri Regular Contributor

The target field column in your data mapping sheet should be the literal field name (e.g. TargetField), the expression column should be a python expression to evaluate to your value (e.g. !SOURCEFIELD!). Check out this tutorial (https://learn.arcgis.com/en/projects/load-data-into-the-arcgis-utility-network/) for the basics of data mappings, along with a few more advanced scenarios like value lookups.

0 Kudos
BryanMay531
Regular Contributor

I'mjust trying to figure out what that temp field name relates to in my data.  Here is the  mapping page in my WS

 

SECSERV_WS.png

0 Kudos
RobertKrisher
Esri Regular Contributor

@BryanMay531 I'm not sure actually, but my guess would be one of the fields that is using the EmptyStringtoNull method. Can you post the snippet for that method? I suspect it is returning something other than the Python representation of null (None).

BryanMay531
Regular Contributor

Sure.  I attached the script.

 

thanks

0 Kudos
PierreloupDucroix
Frequent Contributor

Each time I wrote a custom python function in the base.py script and referenced this function in the Mapping sheet, I had this behavior. The name of the field in error logs is not the original name, but something like f_7864070e49f14ae5a76a09237e7e2ed4 which make it really difficult to debug

CEO of MAGIS
BryanMay531
Regular Contributor

Agreed,  I swear I found a temp gdb somewhere that had the f_.78..... for the field name and the alias was the true field name a few months ago.  Can't find it now though

0 Kudos
RobertKrisher
Esri Regular Contributor

The temporary gdb is created in a temporary directory, but is cleaned up after running. To see where this is you can run this python code: 

import tempfile

tempfile.gettempdir()

0 Kudos
RobertKrisher
Esri Regular Contributor

@BryanMay531 I just noticed that you're running the 3.1 version of the data loading tools using a 3.2 version of ArcGIS Pro. The data loading tools were incorporated into the core geoprocessing framework of ArcGIS Pro in 3.2, so I'd recommend you try this again using the Data Management > Data Loading toolbox. Even if it doesn't succeed, you should see some more informative error messages.

0 Kudos