I am using arcpy.JoinField_management to join the table "arcpy.JoinField_management" to a layer , but it gives me an error: arcgisscripting.ExecuteError: ERROR 000258: Output Temp_Parition_File_j01xx0 already exists Failed to execute (JoinField). I am not sure why there appears "_j01xx0" in my table, but I am pretty sure this code does not have any problems because I have used it in ArcGIS Pro 2.8 for a long time. This error only occurs after I upgrade the ArcGIS Pro to 3.1.2. Is there anyone having some ideas how to address it? Thanks a lot.
This sounds like BUG-000156435 - "In IDLE when two Join Field operations are performed on the same feature class or the Join Feature Class tool is used twice the process fails on the second attempt."
Are you running the script in IDLE or ArcGIS Pro? It is in the product plan to be fixed.
Do we know when they will resolve this?
I recently upgraded to 3.2.1 to resolve an issue I was having with overwriting referenced feature services within our Portal, as advised by ESRI staff. However I am getting this error again.
Does this occur in other software, or just in IDLE?
Yes, this BUG has been fixed for the ArcGIS Pro 3.3 release.
Great, when will that be release? I am only seeing 3.2 in my download options.
Likely sometime Q2 2024 from what I'm seeing. ArcGIS Pro 3.2.x is the current public version.
I just upgraded to 3.1.2 and am now getting the same error that ChangzhenWang reported.
Is there a work around or do I have to go back to the older version of ArcGIS Pro until the bug is fixed?
Wasn't expecting that to happen when upgrading.
I have a handful of scripts that run multiple times a day...
You can uninstall ArcGIS 3.1.2 by going to the Control Panel->Programs->Uninstall a program->(top left) View installed updates-> and click on the ArcGIS Pro 3.1 Patch (3.1.2) and uninstall. Test your workflow again. Does it fail or proceed normally?
Thanks, I had gone further back to an older version so make sure it worked.
Do we know for sure that it worked prior to 3.1.2?
I just tried the latest 3.1.3 and had the same issue.
I will try to go back to 3.1.1.
Thanks
I ran into this same problem with JoinField - running with the python 3.9.16 that came with ArcGIS Pro 3.1.1. The documented workaround is to run the script in ArcGIS Pro but that really isn't an option for me.... Maybe I can accomplish what I need using a different type of Join.