Reconcile ArcPy Not Working

572
4
04-03-2020 04:55 PM
DevinUnderwood3
New Contributor III

When I run the Reconcile tool it works fine. Subsequently, I export the results as a python snippet and run it as a standalone script. The script processes and doesn't return an error but the version doesn't reconcile nor delete. I have come across suggestions that the version name should be in Unicode and that this is a known possible bug. Why wouldn't the script work when it obviously ran just fine when using the tool?

Tags (2)
0 Kudos
4 Replies
DanPatterson_Retired
MVP Emeritus

arcmap or Pro?

Reconcile Version (Deprecated) or Reconcile Versions (replacement)

There is a list of bugs depending on what you are using in your code vs the tool

https://support.esri.com/en/Search-Results#search?q=%22reconcile%20version%22&content-type=Bugs

PS  when running a tool inside ArcWhatever, there are things that are known (permissions, ownership etc) whereas a standalone script doesn't

DevinUnderwood3
New Contributor III

I didn't realize that there were 2 different Reconcile tools to chose from, I didn't take notice.

I  will certainly look at the bugs document.

I ran the tool in ArcMap. Interesting concept about permissions and ownership.

0 Kudos
DevinUnderwood3
New Contributor III

I believe the following applies to me.

Synopsis
Arcpy.ReconcileVersions_management() fails to reconcile version created by operating system authenticated users.

Add [] around the version, so for example: ["AVWORLD\cont_joglekar".R1"]

0 Kudos
DanPatterson_Retired
MVP Emeritus

hard to tell since you didn't share your code

I will mark it closed

0 Kudos