<?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: Problem with creating InsertCursor in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/problem-with-creating-insertcursor/m-p/358487#M28299</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Christof,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe you are running your script with Python 64-bit, which no longer supports personal geodatabases (.mdb).&amp;nbsp; You will want to run the script with Python 32-bit.&amp;nbsp; Take a look at the section 'Python scripting' in the following link:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//002100000040000000" title="http://resources.arcgis.com/en/help/main/10.2/index.html#//002100000040000000"&gt;ArcGIS Help (10.2, 10.2.1, and 10.2.2)&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Sep 2014 11:08:47 GMT</pubDate>
    <dc:creator>JakeSkinner</dc:creator>
    <dc:date>2014-09-16T11:08:47Z</dc:date>
    <item>
      <title>Problem with creating InsertCursor</title>
      <link>https://community.esri.com/t5/python-questions/problem-with-creating-insertcursor/m-p/358486#M28298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;I want to write a small tool, which insert some data into an MS-Access database (.mdb). But i have a problem to initialize the cursor.&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;The Code is very simple :&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;/P&gt;&lt;PRE __default_attr="python" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14108496108185123 jive_text_macro" jivemacro_uid="_14108496108185123" modifiedtitle="true"&gt;
&lt;P&gt;strOutputPath = r"I:\Data\Test.mdb\FS_BASEMAP\FCL_B_COVERSHEET_A"&lt;/P&gt;
&lt;P&gt;icur = arcpy.InsertCursor(strOutputPath)&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is some more code but it stoped at this point and I get this error message:&lt;/P&gt;&lt;PRE __default_attr="info" __jive_macro_name="alert" alert="info" class="jive_macro_alert jive_text_macro" modifiedtitle="true"&gt;
&lt;P&gt;Traceback (most recent call last):&lt;/P&gt;
&lt;P&gt;&amp;nbsp; File "I:\Skript\AddFeatureSkript.py", line 70, in &amp;lt;module&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; icur = arcpy.InsertCursor(strOutputPath)&lt;/P&gt;
&lt;P&gt;&amp;nbsp; File "c:\program files (x86)\arcgis\desktop10.2\arcpy\arcpy\__init__.py", line 1214, in InsertCursor&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return gp.insertCursor(dataset, spatial_reference)&lt;/P&gt;
&lt;P&gt;&amp;nbsp; File "c:\program files (x86)\arcgis\desktop10.2\arcpy\arcpy\geoprocessing\_base.py", line 369, in insertCursor&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; self._gp.InsertCursor(*gp_fixargs(args, True)))&lt;/P&gt;
&lt;P&gt;RuntimeError: ERROR 999999: Fehler beim Ausführen der Funktion.&lt;/P&gt;
&lt;P&gt;COM-Komponente der Objektklassenerweiterung konnte nicht erstellt werden. [FCL_B_COVERSHEET_A]&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;The error message is in german so I translate it:&lt;/P&gt;&lt;P&gt;ERROR 999999: &lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;Error&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;when executing the function&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt; &lt;BR /&gt;&lt;SPAN class="hps"&gt;COM component&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;object class&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;extension&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;could not be created&lt;/SPAN&gt;. &lt;SPAN class="hps atn"&gt;[&lt;/SPAN&gt;&lt;SPAN&gt;FCL_B_COVERSHEET_A&lt;/SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;I don't know what the problem is, so hopefully some can help me.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;Thanks, Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2014 06:50:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/problem-with-creating-insertcursor/m-p/358486#M28298</guid>
      <dc:creator>ChristofLink</dc:creator>
      <dc:date>2014-09-16T06:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with creating InsertCursor</title>
      <link>https://community.esri.com/t5/python-questions/problem-with-creating-insertcursor/m-p/358487#M28299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Christof,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe you are running your script with Python 64-bit, which no longer supports personal geodatabases (.mdb).&amp;nbsp; You will want to run the script with Python 32-bit.&amp;nbsp; Take a look at the section 'Python scripting' in the following link:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//002100000040000000" title="http://resources.arcgis.com/en/help/main/10.2/index.html#//002100000040000000"&gt;ArcGIS Help (10.2, 10.2.1, and 10.2.2)&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2014 11:08:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/problem-with-creating-insertcursor/m-p/358487#M28299</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2014-09-16T11:08:47Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with creating InsertCursor</title>
      <link>https://community.esri.com/t5/python-questions/problem-with-creating-insertcursor/m-p/358488#M28300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Jake,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your answer, but I have only a 32 bit version of python installed on my computer and even the ArcGIS is 32 bit.&lt;/P&gt;&lt;P&gt;I just looked it up.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2014 11:46:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/problem-with-creating-insertcursor/m-p/358488#M28300</guid>
      <dc:creator>ChristofLink</dc:creator>
      <dc:date>2014-09-16T11:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with creating InsertCursor</title>
      <link>https://community.esri.com/t5/python-questions/problem-with-creating-insertcursor/m-p/358489#M28301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;*push*&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Sep 2014 13:13:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/problem-with-creating-insertcursor/m-p/358489#M28301</guid>
      <dc:creator>ChristofLink</dc:creator>
      <dc:date>2014-09-22T13:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with creating InsertCursor</title>
      <link>https://community.esri.com/t5/python-questions/problem-with-creating-insertcursor/m-p/358490#M28302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As a test, can you copy the data to a File Geodatabase and see if you receive the error?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Sep 2014 13:18:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/problem-with-creating-insertcursor/m-p/358490#M28302</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2014-09-22T13:18:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with creating InsertCursor</title>
      <link>https://community.esri.com/t5/python-questions/problem-with-creating-insertcursor/m-p/358491#M28303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the error message if you use arcpy.da.InsertCursor instead of arcpy.InsertCursor?&amp;nbsp; Do you have a requirement to use the older InsertCursor?&amp;nbsp; Besides better performance, the data access InsertCursor supports Python's with statement, which I find to be a big plus.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2014 19:54:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/problem-with-creating-insertcursor/m-p/358491#M28303</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2014-09-23T19:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with creating InsertCursor</title>
      <link>https://community.esri.com/t5/python-questions/problem-with-creating-insertcursor/m-p/358492#M28304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I use arcpy.da.InsertCursor. I get this error message:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Traceback (most recent call last):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; File "I:\Skripte\\AddFeatureSkriptv.py", line 70, in &amp;lt;module&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; icur = arcpy.da.InsertCursor(strOutputPath, ["SHAPE@"])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RuntimeError: cannot open 'I:\Test.mdb\FDS_BASEMAP\FCL_B_COVERSHEET_A'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 05:42:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/problem-with-creating-insertcursor/m-p/358492#M28304</guid>
      <dc:creator>ChristofLink</dc:creator>
      <dc:date>2014-09-24T05:42:28Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with creating InsertCursor</title>
      <link>https://community.esri.com/t5/python-questions/problem-with-creating-insertcursor/m-p/358493#M28305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I tried it with a .gdb and used arcpy.da.InsertCursor and I works. I get no error message there, but unsing a .gdb isn't an option because the provided data is in the .mdb format.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 06:14:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/problem-with-creating-insertcursor/m-p/358493#M28305</guid>
      <dc:creator>ChristofLink</dc:creator>
      <dc:date>2014-09-24T06:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with creating InsertCursor</title>
      <link>https://community.esri.com/t5/python-questions/problem-with-creating-insertcursor/m-p/358494#M28306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A few things come to mind.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;I: drive, mapped network drive or local storage?&amp;nbsp; If mapped network drive, have you tried copying the MDB to local storage and testing it.&lt;/LI&gt;&lt;LI&gt;Can you create a new MDB and copy the data into it?&amp;nbsp; If so, does that give same error messages?&lt;/LI&gt;&lt;LI&gt;Can you make an OLE DB connection to the MDB in question?&lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 01:40:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/problem-with-creating-insertcursor/m-p/358494#M28306</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2014-09-25T01:40:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with creating InsertCursor</title>
      <link>https://community.esri.com/t5/python-questions/problem-with-creating-insertcursor/m-p/358495#M28307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sry I was on vacation the last 2 weeks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. The I drive is a network drive but I also tried it with the local drive and I get the same error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. I creaded a new MDB but even this dosen't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Yes I can make a OLE DB connection to the MDB.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Oct 2014 13:30:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/problem-with-creating-insertcursor/m-p/358495#M28307</guid>
      <dc:creator>ChristofLink</dc:creator>
      <dc:date>2014-10-08T13:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with creating InsertCursor</title>
      <link>https://community.esri.com/t5/python-questions/problem-with-creating-insertcursor/m-p/358496#M28308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have another machine to try it on?&amp;nbsp; Does this happen with all machines you are working on or just one?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Oct 2014 15:40:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/problem-with-creating-insertcursor/m-p/358496#M28308</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2014-10-08T15:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with creating InsertCursor</title>
      <link>https://community.esri.com/t5/python-questions/problem-with-creating-insertcursor/m-p/358497#M28309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have two other virtual maschines running on a server. One of them has ArcGIS v.10.2.2 installed, the other ArcGIS v 10.1.1 . I tried it on both maschines but this doesn't work either. The same error message...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Oct 2014 05:57:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/problem-with-creating-insertcursor/m-p/358497#M28309</guid>
      <dc:creator>ChristofLink</dc:creator>
      <dc:date>2014-10-09T05:57:39Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with creating InsertCursor</title>
      <link>https://community.esri.com/t5/python-questions/problem-with-creating-insertcursor/m-p/358498#M28310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was really thinking it might be something specific to that machine, but obviously that isn't the case.&amp;nbsp; I would say or suggest opening Support case, but best case scenario would be a bug that will be very low in terms of priority since it involves personal geodatabases.&amp;nbsp; This is where I would just find a workaround and say c'est la vie.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Oct 2014 13:48:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/problem-with-creating-insertcursor/m-p/358498#M28310</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2014-10-09T13:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with creating InsertCursor</title>
      <link>https://community.esri.com/t5/python-questions/problem-with-creating-insertcursor/m-p/358499#M28311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok thank you very much for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will open a Support case and if I got an solution I will post it here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Oct 2014 13:55:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/problem-with-creating-insertcursor/m-p/358499#M28311</guid>
      <dc:creator>ChristofLink</dc:creator>
      <dc:date>2014-10-09T13:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with creating InsertCursor</title>
      <link>https://community.esri.com/t5/python-questions/problem-with-creating-insertcursor/m-p/358500#M28312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Christof,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Did you open a case and if you did is it a known bug?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2014 19:29:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/problem-with-creating-insertcursor/m-p/358500#M28312</guid>
      <dc:creator>RandyKreuziger</dc:creator>
      <dc:date>2014-12-11T19:29:55Z</dc:date>
    </item>
  </channel>
</rss>

