<?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: arcpy.Append_management to Oracle (using direct connect) in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/arcpy-append-management-to-oracle-using-direct/m-p/15972#M810</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Problem resolved.&amp;nbsp; I was misled by the error message:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"ERROR 000372: Spatial Reference for output is invalid, Please update to allow output to become valid Failed to execute (Append)"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The actual problem was that my tablespace quota was being exceeded during the process.&amp;nbsp; Once we upped the quota, Append finishes with no error.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Dec 2012 15:24:28 GMT</pubDate>
    <dc:creator>WillAllender</dc:creator>
    <dc:date>2012-12-03T15:24:28Z</dc:date>
    <item>
      <title>arcpy.Append_management to Oracle (using direct connect)</title>
      <link>https://community.esri.com/t5/data-management-questions/arcpy-append-management-to-oracle-using-direct/m-p/15968#M806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN style="text-decoration:underline;"&gt;Environment&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcGIS 10.1 SP1, Python 2.7 (both using 32-bit, but running on a 64-bit PC)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Local file gdb&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;64-bit Oracle 11.2.0.3 on unix&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Using Direct Connect&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="text-decoration:underline;"&gt;Arcpy command&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.Append_management(r"C:\Batch\GISSTORE.gdb\Block",r"C:\Batch\SDEGISonGISD.sde\SDEGIS.Block","NO_TEST")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All features APPEND successfully, however I get the following message:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Runtime error&amp;nbsp; Traceback (most recent call last):&amp;nbsp;&amp;nbsp; File "&amp;lt;string&amp;gt;", line 1, in &amp;lt;module&amp;gt;&amp;nbsp;&amp;nbsp; File "c:\program files (x86)\arcgis\desktop10.1\arcpy\arcpy\management.py", line 3560, in Append&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; raise e ExecuteError: ERROR 000372: Spatial Reference for output is invalid, Please update to allow output to become valid Failed to execute (Append).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I follow the link to ERROR 000372, chase rabbits down several holes, and then discover that I do not have a spatial index on the target feature class.&amp;nbsp; While attempting to CREATE a spatial index (using the interface within ArcCatalog), I get a generic 999999 DBMS error and cannot create the spatial index while logged in as either the data owner, or as SDE.&amp;nbsp; The help file states:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"The Spatial Grid 1, 2, and 3 parameters apply only to file geodatabase and &lt;/SPAN&gt;&lt;STRONG&gt;certain&lt;/STRONG&gt;&lt;SPAN&gt; ArcSDE geodatabase feature classes. "&amp;nbsp; Emphasis added to "certain".&amp;nbsp; The help files that I have uncovered so far do not elaborate.&amp;nbsp; But I'm sure it's buried somewhere down in the bowels...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="text-decoration:underline;"&gt;Current plan&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Start working with our DBAs to get a tracelog to resolve the DBMS error&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Query the ArcGIS community on why all features load successfully, even the the original error message says that it failed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Help with #2 requested.&amp;nbsp; Insight on #1 would also be appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Happy Friday!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Will&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Nov 2012 16:00:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/arcpy-append-management-to-oracle-using-direct/m-p/15968#M806</guid>
      <dc:creator>WillAllender</dc:creator>
      <dc:date>2012-11-30T16:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.Append_management to Oracle (using direct connect)</title>
      <link>https://community.esri.com/t5/data-management-questions/arcpy-append-management-to-oracle-using-direct/m-p/15969#M807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you have not done so already, you might take a look at the Oracle system table 10.1 webhelp ref:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//002n0000008m000000"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#//002n0000008m000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have you executed the CREATE INDEX command in Oracle as in the example on that page - don't know if that will solve your problem, but worth a try.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;CREATE INDEX shape_idx1 ON SCOTT.PARCELS (shape) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;INDEXTYPE IS SDE.ST_SPATIAL_INDEX&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PARAMETERS('st_grids=1,0,0 st_srid=1');&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Nov 2012 16:16:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/arcpy-append-management-to-oracle-using-direct/m-p/15969#M807</guid>
      <dc:creator>T__WayneWhitley</dc:creator>
      <dc:date>2012-11-30T16:16:05Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.Append_management to Oracle (using direct connect)</title>
      <link>https://community.esri.com/t5/data-management-questions/arcpy-append-management-to-oracle-using-direct/m-p/15970#M808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Wayne,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for the quick reply and link.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I should add to my initial post that we have not migrated to st_geometry.&amp;nbsp; Our production geodatabase grew out of coverage, then Arc 8.x, and is now in 9.3.1.&amp;nbsp; Geometry storage type is SDEBINARY.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Nov 2012 17:27:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/arcpy-append-management-to-oracle-using-direct/m-p/15970#M808</guid>
      <dc:creator>WillAllender</dc:creator>
      <dc:date>2012-11-30T17:27:41Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.Append_management to Oracle (using direct connect)</title>
      <link>https://community.esri.com/t5/data-management-questions/arcpy-append-management-to-oracle-using-direct/m-p/15971#M809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;As it turns out, my above posts have several incorrect statements/assumptions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;a) We have not tested shp2sde at 10.1, since we are using direct connect and have not installed SDE on the unix server.&amp;nbsp; shp2sde does work at 9.3.1, and that is as far as I can confirm.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;b) It would appear that we are not using SDO geometry, but in fact, SDEBINARY geometry.&amp;nbsp; I am trying to confirm this but am struggling to find the definitive answer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help would be appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Closing in on beer-thirty... &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Nov 2012 19:06:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/arcpy-append-management-to-oracle-using-direct/m-p/15971#M809</guid>
      <dc:creator>WillAllender</dc:creator>
      <dc:date>2012-11-30T19:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.Append_management to Oracle (using direct connect)</title>
      <link>https://community.esri.com/t5/data-management-questions/arcpy-append-management-to-oracle-using-direct/m-p/15972#M810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Problem resolved.&amp;nbsp; I was misled by the error message:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"ERROR 000372: Spatial Reference for output is invalid, Please update to allow output to become valid Failed to execute (Append)"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The actual problem was that my tablespace quota was being exceeded during the process.&amp;nbsp; Once we upped the quota, Append finishes with no error.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2012 15:24:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/arcpy-append-management-to-oracle-using-direct/m-p/15972#M810</guid>
      <dc:creator>WillAllender</dc:creator>
      <dc:date>2012-12-03T15:24:28Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.Append_management to Oracle (using direct connect)</title>
      <link>https://community.esri.com/t5/data-management-questions/arcpy-append-management-to-oracle-using-direct/m-p/15973#M811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You've got to love ESRI's completely misleading error messages. After encountering the same problem as you, I'm just going to start ignoring the messages--I'll probably save a lot of wasted time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2016 20:34:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/arcpy-append-management-to-oracle-using-direct/m-p/15973#M811</guid>
      <dc:creator>ThomasLaxson</dc:creator>
      <dc:date>2016-02-18T20:34:06Z</dc:date>
    </item>
  </channel>
</rss>

