<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Create Replica python script gives error 00582 in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/create-replica-python-script-gives-error-00582/m-p/202936#M11640</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Try adding the data you want to replicate to ArcMap, and then using the Create Replica command off the Distributed Geodatabase toolbar instead of the GP tool.&amp;nbsp; The error messages it provides are more complete than when using the GP tool.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Open ArcMap and add the Distributed Geodatabase toolbar&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Add your data to the map&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) Open the Create Replica wizard and attempt to create your replica ....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I anticipate you will still get an error, however hopefully it will be more informative and help you isolate the issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Let me know how it goes,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Heather&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 May 2012 16:24:09 GMT</pubDate>
    <dc:creator>HeatherMcCracken</dc:creator>
    <dc:date>2012-05-25T16:24:09Z</dc:date>
    <item>
      <title>Create Replica python script gives error 00582</title>
      <link>https://community.esri.com/t5/data-management-questions/create-replica-python-script-gives-error-00582/m-p/202934#M11638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to schedule a python script to synchronize changes.&amp;nbsp; I created a model first with one command in it -- the create replica tool from ArcToolbox.&amp;nbsp; I exported the model to a python script and made a few changes.&amp;nbsp; One fix was to change "arceditor" to "arcinfo" because we don't have arceditor.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I try to run the python script at the command prompt, I get the following error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;----------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Traceback (most recent call last):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "C:\Temp\MyCreateReplicaScript.py", line 28, in module&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.CreateReplica_management("'Database Connections\\SQL14 - BBCov - Loader.sde\\BBCov.L.BroadBand';'Database Connections\\SQL14 - BBCov - Loader.sde\\BBCov.L.AddPt';'Database Connections\\SQL14 - BBCov - Loader.sde\\BBCov.L.CAI';'Database Connections\\SQL14 - BBCov - Loader.sde\\BBCov.L.MidMile';'Database Connections\\SQL14 - BBCov - Loader.sde\\BBCov.L.ratetiers';'Database Connections\\SQL14 - BBCov - Loader.sde\\BBCov.L.SCAN_PTS';'Database Connections\\SQL14 - BBCov - Loader.sde\\BBCov.L.VALIDATION'", "CHECK_OUT", BroadBandMapping2_gdb__2_, "TodaysCheckOut5", "FULL", "CHILD_DATA_SENDER", "USE_DEFAULTS", "DO_NOT_REUSE", "GET_RELATED", "", "DO_NOT_USE_ARCHIVING")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "c:\program files (x86)\arcgis\engine10.0\ArcPy\arcpy\management.py", line 708, in CreateReplica&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; raise e&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcgisscripting.ExecuteError: ERROR 000582: Error occurred during execution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Failed to execute (CreateReplica).[/CODE&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;----------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I looked up the error 00582 and it said to look at the values of the parameters because the tool first does a check on the input parameters.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But it doesn't tell me which parameter value to fix. But hold on, didn't I export the script directly from a model?&amp;nbsp; You would think the code would work "as-is", but no.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone have any ideas on how to fix this or work around it?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2012 19:45:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/create-replica-python-script-gives-error-00582/m-p/202934#M11638</guid>
      <dc:creator>TimTeaford</dc:creator>
      <dc:date>2012-05-23T19:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: Create Replica python script gives error 00582</title>
      <link>https://community.esri.com/t5/data-management-questions/create-replica-python-script-gives-error-00582/m-p/202935#M11639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This error can occur if one or more of the feature classes and datasets are not versioned or don't have GlobalIDs. Is your data versioned with GlobalIDs?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If yes, I would test creating a replica on each individual dataset to see which one is causing the error. The code is probably correct but it finds one of the datasets as invalid for replication.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2012 19:49:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/create-replica-python-script-gives-error-00582/m-p/202935#M11639</guid>
      <dc:creator>PaulKroseman</dc:creator>
      <dc:date>2012-05-24T19:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: Create Replica python script gives error 00582</title>
      <link>https://community.esri.com/t5/data-management-questions/create-replica-python-script-gives-error-00582/m-p/202936#M11640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Try adding the data you want to replicate to ArcMap, and then using the Create Replica command off the Distributed Geodatabase toolbar instead of the GP tool.&amp;nbsp; The error messages it provides are more complete than when using the GP tool.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Open ArcMap and add the Distributed Geodatabase toolbar&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Add your data to the map&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) Open the Create Replica wizard and attempt to create your replica ....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I anticipate you will still get an error, however hopefully it will be more informative and help you isolate the issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Let me know how it goes,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Heather&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2012 16:24:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/create-replica-python-script-gives-error-00582/m-p/202936#M11640</guid>
      <dc:creator>HeatherMcCracken</dc:creator>
      <dc:date>2012-05-25T16:24:09Z</dc:date>
    </item>
  </channel>
</rss>

