<?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.CalculateField_management Error in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/arcpy-calculatefield-management-error/m-p/651600#M50721</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I couldn't get it working with VB, but here is a valid python expression&lt;BR /&gt;&lt;BR /&gt;arcpy.CalculateField_management("us_eco_l4_no_st selection", "Test" , "!shape.area!", "PYTHON")&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When i use the python option, python crashes at the end of the script. I dont know why but i can only use VB&amp;nbsp; expressions&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Apr 2014 15:34:53 GMT</pubDate>
    <dc:creator>DanielJimenez2</dc:creator>
    <dc:date>2014-04-14T15:34:53Z</dc:date>
    <item>
      <title>arcpy.CalculateField_management Error</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-calculatefield-management-error/m-p/651598#M50719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm using the arcpy lib in arcgis 10.1 and to work on a script. When i use the arcpy.CalculateField_management i'm getting an error . Could someone help me identify whats wrong with the expression below. I'm using VB because when i use the python calculator, python crashes at the end of the calculation so VB is the only option i have. Notice that this expression work good when using python but like i mentioned, when the python option is used. python crashes at the end of the script. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.CalculateField_management("TAZ_un_Buffer_Dissolve.shp", "totalArea","[shape.area]", "VB", "")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;Traceback (most recent call last): &amp;nbsp; File "D:\CubeAlbuquerque\AlbuquerqueNewTAZ\02_Applications\02_Transit_walk_Acc ess\ptaccess_SM.py", line 55, in &amp;lt;module&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.CalculateField_management("TAZ_un_Buffer_Dissolve.shp", "totalArea","[ shape.area]", "VB", "") &amp;nbsp; File "C:\Program Files (x86)\ArcGIS\Desktop10.1\arcpy\arcpy\management.py", li ne 3128, in CalculateField &amp;nbsp;&amp;nbsp;&amp;nbsp; raise e arcgisscripting.ExecuteError: ERROR 999999: Error executing function. Failed to execute (CalculateField).&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2014 15:16:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-calculatefield-management-error/m-p/651598#M50719</guid>
      <dc:creator>DanielJimenez2</dc:creator>
      <dc:date>2014-04-14T15:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.CalculateField_management Error</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-calculatefield-management-error/m-p/651599#M50720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I couldn't get it working with VB, but here is a valid python expression&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.CalculateField_management("TAZ_un_Buffer_Dissolve.shp", "totalArea" , "!shape.area!", "PYTHON")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tested it on an existing file I had, and it calculated the same area that already existed for that shapefile.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2014 15:33:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-calculatefield-management-error/m-p/651599#M50720</guid>
      <dc:creator>IanMurray</dc:creator>
      <dc:date>2014-04-14T15:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.CalculateField_management Error</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-calculatefield-management-error/m-p/651600#M50721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I couldn't get it working with VB, but here is a valid python expression&lt;BR /&gt;&lt;BR /&gt;arcpy.CalculateField_management("us_eco_l4_no_st selection", "Test" , "!shape.area!", "PYTHON")&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When i use the python option, python crashes at the end of the script. I dont know why but i can only use VB&amp;nbsp; expressions&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2014 15:34:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-calculatefield-management-error/m-p/651600#M50721</guid>
      <dc:creator>DanielJimenez2</dc:creator>
      <dc:date>2014-04-14T15:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.CalculateField_management Error</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-calculatefield-management-error/m-p/651601#M50722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Daniel,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't think you can calculate area with VB. It might be better to use Python and try to figure out why it's crashing (what error are you getting?).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would use something like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;arcpy.CalculateField_management("TAZ_un_Buffer_Dissolve.shp","TotalArea","!Shape.area!","PYTHON","#")&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, one quick question, the field "TotalArea" exists before you calculate field right?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2014 15:39:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-calculatefield-management-error/m-p/651601#M50722</guid>
      <dc:creator>JoshuaChisholm</dc:creator>
      <dc:date>2014-04-14T15:39:27Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.CalculateField_management Error</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-calculatefield-management-error/m-p/651602#M50723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hello Daniel,&lt;BR /&gt;&lt;BR /&gt;I don't think you can calculate area with VB. It might be better to use Python and try to figure out why it's crashing (what error are you getting?).&lt;BR /&gt;&lt;BR /&gt;I would use something like:&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;arcpy.CalculateField_management("TAZ_un_Buffer_Dissolve.shp","TotalArea","!Shape.area!","PYTHON","#")&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;Also, one quick question, the field "TotalArea" exists before you calculate field right?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I was thinking the same thing, I'd rather know why my code is not working then try to find a run around for it.&amp;nbsp; Also, make sure the field names match up, it is case sensitive.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2014 15:42:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-calculatefield-management-error/m-p/651602#M50723</guid>
      <dc:creator>IanMurray</dc:creator>
      <dc:date>2014-04-14T15:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.CalculateField_management Error</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-calculatefield-management-error/m-p/651603#M50724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I was thinking the same thing, I'd rather know why my code is not working then try to find a run around for it.&amp;nbsp; Also, make sure the field names match up, it is case sensitive.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; This is what happens when i use the python expression.[ATTACH=CONFIG]33074[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The script works fine but when it finish, it gives me the error in the pic. I dont know how to debug when python crashes, i just know that when i use the VB expression, i dont get this problem.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2014 15:46:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-calculatefield-management-error/m-p/651603#M50724</guid>
      <dc:creator>DanielJimenez2</dc:creator>
      <dc:date>2014-04-14T15:46:45Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.CalculateField_management Error</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-calculatefield-management-error/m-p/651604#M50725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What is your datasource (e.g. sde feature class, file gdb feature class, personal gdb feature class, shapefile)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What is your version of ArcGIS Desktop?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What is your operating system?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2014 15:52:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-calculatefield-management-error/m-p/651604#M50725</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2014-04-14T15:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.CalculateField_management Error</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-calculatefield-management-error/m-p/651605#M50726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;What is your datasource (e.g. sde feature class, file gdb feature class, personal gdb feature class, shapefile)?&lt;BR /&gt;&lt;BR /&gt;What is your version of ArcGIS Desktop?&lt;BR /&gt;&lt;BR /&gt;What is your operating system?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The data source is just a shapefile. I'm using Arcgis 10.1(build 3035) basic license in a windows 8 machine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using this link as reference, if it is of any help&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//00170000004m000000"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#//00170000004m000000&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2014 15:54:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-calculatefield-management-error/m-p/651605#M50726</guid>
      <dc:creator>DanielJimenez2</dc:creator>
      <dc:date>2014-04-14T15:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.CalculateField_management Error</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-calculatefield-management-error/m-p/651606#M50727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I was thinking the same thing, I'd rather know why my code is not working then try to find a run around for it.&amp;nbsp; Also, make sure the field names match up, it is case sensitive.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, like i said when i used the caluclate filed python expression the script works, but it crashes when it finish working. I can open the shapefile and see all the fields and their values. Now i dont know why python crashes when i do this and i dont know how to debug something like this.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2014 15:58:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-calculatefield-management-error/m-p/651606#M50727</guid>
      <dc:creator>DanielJimenez2</dc:creator>
      <dc:date>2014-04-14T15:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.CalculateField_management Error</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-calculatefield-management-error/m-p/651607#M50728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Daniel,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Very tricky indeed. I couldn't see much from your screenshot (the resolution was too low), but I see how that is a hard problem to solve. If you comment out the &lt;/SPAN&gt;&lt;SPAN style="font-style: italic; text-decoration: underline;"&gt;arcpy.CalculateField_management&lt;/SPAN&gt;&lt;SPAN&gt; line, does it run successfully without crashing at the end?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2014 16:03:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-calculatefield-management-error/m-p/651607#M50728</guid>
      <dc:creator>JoshuaChisholm</dc:creator>
      <dc:date>2014-04-14T16:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.CalculateField_management Error</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-calculatefield-management-error/m-p/651608#M50729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Yes, like i said when i used the caluclate filed python expression the script works, but it crashes when it finish working. I can open the shapefile and see all the fields and their values. Now i dont know why python crashes when i do this and i dont know how to debug something like this.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yea, that's significantly uglier than I was expected, I didn't realize when you said "crash" you meant crash like that.&amp;nbsp; Reminds me of the time I had a script that would just stop in different places, it would process between 30-40 files (out of like 600) and then just stop, no error codes, no nothing, just would stop, and in a different place each time.&amp;nbsp; First time 25 files, next 40, next 32.&amp;nbsp; Finally got a computer with a better processer and more memory and it managed to do all of the files in one go.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2014 16:07:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-calculatefield-management-error/m-p/651608#M50729</guid>
      <dc:creator>IanMurray</dc:creator>
      <dc:date>2014-04-14T16:07:39Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.CalculateField_management Error</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-calculatefield-management-error/m-p/651609#M50730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hello Daniel,&lt;BR /&gt;&lt;BR /&gt;Very tricky indeed. I couldn't see much from your screenshot (the resolution was too low), but I see how that is a hard problem to solve. If you comment out the &lt;SPAN style="font-style: italic; text-decoration: underline;"&gt;arcpy.CalculateField_management&lt;/SPAN&gt; line, does it run successfully without crashing at the end?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;No, line 65 will also present a problem, but it also is related to the same topic. Im attaching a better pic just in case.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]33075[/ATTACH]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2014 16:15:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-calculatefield-management-error/m-p/651609#M50730</guid>
      <dc:creator>DanielJimenez2</dc:creator>
      <dc:date>2014-04-14T16:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.CalculateField_management Error</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-calculatefield-management-error/m-p/651610#M50731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you check to see if Background Geoprocessing is enabled (default value)?&amp;nbsp; If Background Geoprocessing is enabled, can you disable it and run your script with Python again.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2014 16:18:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-calculatefield-management-error/m-p/651610#M50731</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2014-04-14T16:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.CalculateField_management Error</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-calculatefield-management-error/m-p/651611#M50732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Can you check to see if Background Geoprocessing is enabled (default value)?&amp;nbsp; If Background Geoprocessing is enabled, can you disable it and run your script with Python again.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It was enabled. I disable it but im getting the same issue.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2014 16:20:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-calculatefield-management-error/m-p/651611#M50732</guid>
      <dc:creator>DanielJimenez2</dc:creator>
      <dc:date>2014-04-14T16:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.CalculateField_management Error</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-calculatefield-management-error/m-p/651612#M50733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you make a backup of your shapefile and then delete almost all records leaving just 2 or 3 and then run the script on that shapefile to see if it runs correctly with python?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2014 16:31:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-calculatefield-management-error/m-p/651612#M50733</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2014-04-14T16:31:17Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.CalculateField_management Error</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-calculatefield-management-error/m-p/651613#M50734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Can you make a backup of your shapefile and then delete almost all records leaving just 2 or 3 and then run the script on that shapefile to see if it runs correctly with python?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Same problem. For some reason i dont know why, the version of python that i have is not good. Seems like everyone can calculate fields using a python expression, but i cant and i dont know how to fix it&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2014 16:38:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-calculatefield-management-error/m-p/651613#M50734</guid>
      <dc:creator>DanielJimenez2</dc:creator>
      <dc:date>2014-04-14T16:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.CalculateField_management Error</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-calculatefield-management-error/m-p/651614#M50735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So just to confirm,&lt;/SPAN&gt;&lt;BR /&gt;&lt;OL&gt;&lt;BR /&gt;&lt;LI&gt;Will the script will work if you take out all the &lt;SPAN style="font-style:italic;"&gt;arcpy.CalculateField_management&lt;/SPAN&gt; lines?&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Will the script will work if you use VB on all the &lt;SPAN style="font-style:italic;"&gt;arcpy.CalculateField_management&lt;/SPAN&gt; lines? (even if you are just filling the field with 1's)&lt;/LI&gt;&lt;BR /&gt;&lt;/OL&gt;&lt;SPAN&gt;Also, can you try getting rid of the &lt;/SPAN&gt;&lt;SPAN style="text-decoration:underline;"&gt;"#"&lt;/SPAN&gt;&lt;SPAN&gt; at the end of the &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;arcpy.CalculateField_management&lt;/SPAN&gt;&lt;SPAN&gt; lines?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In other words, change this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;arcpy.CalculateField_management("TAZ_un_Buffer_Dissolve.shp","TotalArea","!Shape.area!","PYTHON","#")&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;To this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;arcpy.CalculateField_management("TAZ_un_Buffer_Dissolve.shp","TotalArea","!Shape.area!","PYTHON")&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2014 16:56:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-calculatefield-management-error/m-p/651614#M50735</guid>
      <dc:creator>JoshuaChisholm</dc:creator>
      <dc:date>2014-04-14T16:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.CalculateField_management Error</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-calculatefield-management-error/m-p/651615#M50736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;So just to confirm,&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;arcpy.CalculateField_management("TAZ_un_Buffer_Dissolve.shp","TotalArea","!Shape.area!","PYTHON","#")&lt;/PRE&gt;&lt;BR /&gt;To this:&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;arcpy.CalculateField_management("TAZ_un_Buffer_Dissolve.shp","TotalArea","!Shape.area!","PYTHON")&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I had him do that in the code I wrote him, so I don't think that's the issue.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2014 17:03:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-calculatefield-management-error/m-p/651615#M50736</guid>
      <dc:creator>IanMurray</dc:creator>
      <dc:date>2014-04-14T17:03:35Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.CalculateField_management Error</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-calculatefield-management-error/m-p/651616#M50737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Maybe try setting "field_precision" and "field_scale" in the arcpy.AddField_management lines?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Something like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;arcpy.AddField_management("TAZ_un_Buffer_Dissolve.shp", "TotalArea", "DOUBLE", 10, 10)&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;I think some of the other parameters are for geodatabases only.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2014 17:16:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-calculatefield-management-error/m-p/651616#M50737</guid>
      <dc:creator>JoshuaChisholm</dc:creator>
      <dc:date>2014-04-14T17:16:18Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.CalculateField_management Error</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-calculatefield-management-error/m-p/651617#M50738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for all the help but I think I fixed the problem. The computer had two versions of python 27 installed and seems that that is the reason behind python crashing when using the CalcFiled method. I removed the version Arcgis does not use and it is not crashing anymore so its working normal now. Thanks for the help&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2014 20:58:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-calculatefield-management-error/m-p/651617#M50738</guid>
      <dc:creator>DanielJimenez2</dc:creator>
      <dc:date>2014-04-22T20:58:47Z</dc:date>
    </item>
  </channel>
</rss>

