<?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: row.setValue in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/row-setvalue/m-p/503411#M16749</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I have several working scripts that are updating the value of attribute tables using the row.setValue(attribute_Field, New_Value) syntax.&lt;BR /&gt;&lt;BR /&gt;However, with a new script I am writing I get the following error:&amp;nbsp; "'NoneType' object has no attribute 'setValue'"&lt;BR /&gt;&lt;BR /&gt;Has anyone else run into this problem?&amp;nbsp; The previous script still run on the same machine.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;The error message tells you that row isn't a row but None. To find out why, look for assignements saying &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;row = whatever&lt;/SPAN&gt;&lt;SPAN&gt; that are executed before the setValue line.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 07 Nov 2010 06:10:40 GMT</pubDate>
    <dc:creator>NiklasNorrthon</dc:creator>
    <dc:date>2010-11-07T06:10:40Z</dc:date>
    <item>
      <title>row.setValue</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/row-setvalue/m-p/503410#M16748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have several working scripts that are updating the value of attribute tables using the row.setValue(attribute_Field, New_Value) syntax.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, with a new script I am writing I get the following error:&amp;nbsp; "'NoneType' object has no attribute 'setValue'"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone else run into this problem?&amp;nbsp; The previous script still run on the same machine.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Nov 2010 23:46:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/row-setvalue/m-p/503410#M16748</guid>
      <dc:creator>JosephSheffield</dc:creator>
      <dc:date>2010-11-06T23:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: row.setValue</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/row-setvalue/m-p/503411#M16749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I have several working scripts that are updating the value of attribute tables using the row.setValue(attribute_Field, New_Value) syntax.&lt;BR /&gt;&lt;BR /&gt;However, with a new script I am writing I get the following error:&amp;nbsp; "'NoneType' object has no attribute 'setValue'"&lt;BR /&gt;&lt;BR /&gt;Has anyone else run into this problem?&amp;nbsp; The previous script still run on the same machine.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;The error message tells you that row isn't a row but None. To find out why, look for assignements saying &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;row = whatever&lt;/SPAN&gt;&lt;SPAN&gt; that are executed before the setValue line.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Nov 2010 06:10:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/row-setvalue/m-p/503411#M16749</guid>
      <dc:creator>NiklasNorrthon</dc:creator>
      <dc:date>2010-11-07T06:10:40Z</dc:date>
    </item>
    <item>
      <title>Re: row.setValue</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/row-setvalue/m-p/503412#M16750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I figured it out last night.&amp;nbsp; I was trying to write the attribute in the same for loop as the feature(s) were being added to the feature classes.&amp;nbsp; To fix it, I created 1 for loop to add the feature geometries and a second for loop, that ran after all the features were added to the feature class, that would write all of the attribute information.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Nov 2010 20:32:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/row-setvalue/m-p/503412#M16750</guid>
      <dc:creator>JosephSheffield</dc:creator>
      <dc:date>2010-11-07T20:32:01Z</dc:date>
    </item>
  </channel>
</rss>

