<?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: error in arcpy sourcecode? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/error-in-arcpy-sourcecode/m-p/637700#M49689</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are you running on a 64-bit OS?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you have other python scripts that run as expected?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You may be running the 64-bit python version which could be causing the issue.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Jan 2014 13:04:37 GMT</pubDate>
    <dc:creator>MichaelVolz</dc:creator>
    <dc:date>2014-01-29T13:04:37Z</dc:date>
    <item>
      <title>error in arcpy sourcecode?</title>
      <link>https://community.esri.com/t5/python-questions/error-in-arcpy-sourcecode/m-p/637699#M49688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Trying to create any Geometry object results in this message:&lt;/SPAN&gt;&lt;BR /&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:\Data\Daten\Untersuchungsgebiete\FeatureClass ertstellen.py", line 15, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Point=arcpy.Point ([row[1],row[3]])&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; File "C:\Program Files (x86)\ArcGIS\Desktop10.2\arcpy\arcpy\arcobjects\mixins.py", line 1047, in __init__&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; setattr(self, attr, value)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "C:\Program Files (x86)\ArcGIS\Desktop10.2\arcpy\arcpy\arcobjects\_base.py", line 89, in _set&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return setattr(self._arc_object, attr_name, cval(val))&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas whats going wrong?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Seschat&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 12:58:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/error-in-arcpy-sourcecode/m-p/637699#M49688</guid>
      <dc:creator>BirteHegemann</dc:creator>
      <dc:date>2014-01-29T12:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: error in arcpy sourcecode?</title>
      <link>https://community.esri.com/t5/python-questions/error-in-arcpy-sourcecode/m-p/637700#M49689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are you running on a 64-bit OS?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you have other python scripts that run as expected?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You may be running the 64-bit python version which could be causing the issue.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 13:04:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/error-in-arcpy-sourcecode/m-p/637700#M49689</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2014-01-29T13:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: error in arcpy sourcecode?</title>
      <link>https://community.esri.com/t5/python-questions/error-in-arcpy-sourcecode/m-p/637701#M49690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You are passing a list object into arcpy.Point :&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
Point=arcpy.Point([row[1],row[3]])
&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Take out the extra [], try :&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
Point=arcpy.Point(row[1],row[3])
&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;assuming of course that row[1] &amp;amp; row[3] are both numeric.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Neil&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 03:06:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/error-in-arcpy-sourcecode/m-p/637701#M49690</guid>
      <dc:creator>NeilAyres</dc:creator>
      <dc:date>2021-12-12T03:06:46Z</dc:date>
    </item>
  </channel>
</rss>

