<?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.TableToGeodatabase_conversion losing text values in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/arcpy-tabletogeodatabase-conversion-losing-text/m-p/607372#M20176</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There is some error logging. I did not create this script from scratch. I'm doing some modification of an older script my company uses. I am not getting an error. It runs fine.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Jan 2014 18:39:04 GMT</pubDate>
    <dc:creator>AndrewL</dc:creator>
    <dc:date>2014-01-30T18:39:04Z</dc:date>
    <item>
      <title>arcpy.TableToGeodatabase_conversion losing text values</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/arcpy-tabletogeodatabase-conversion-losing-text/m-p/607366#M20170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am using the arcpy.TableToGeodatabase_conversion to convert a comma-separated .txt file that I download daily to a table in a geodatabase.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;arcpy.TableToGeodatabase_conversion("2013daily.txt", "C:/Users/smith/Desktop/test/all_observations.gdb")&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One of the fields in the .txt file contains numbers and text. The above code works in my python script if I am just using the python shell on my PC. It works in that in creates a field in the geodatabase that is text. Therefore it keeps all the values.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, if I run my python script on the ArcGIS Server VM, it just converts the text values into null. It creates an integer field, and all the text values are lost. I am not sure why this happens on the VM. I am using the same set of data. Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 17:50:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/arcpy-tabletogeodatabase-conversion-losing-text/m-p/607366#M20170</guid>
      <dc:creator>AndrewL</dc:creator>
      <dc:date>2014-01-30T17:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.TableToGeodatabase_conversion losing text values</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/arcpy-tabletogeodatabase-conversion-losing-text/m-p/607367#M20171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Could you be running the script in a 32-bit environment on your PC and in a 64-bit environment on your VM server?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 18:13:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/arcpy-tabletogeodatabase-conversion-losing-text/m-p/607367#M20171</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2014-01-30T18:13:42Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.TableToGeodatabase_conversion losing text values</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/arcpy-tabletogeodatabase-conversion-losing-text/m-p/607368#M20172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No they are both running 64-bit. Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 18:16:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/arcpy-tabletogeodatabase-conversion-losing-text/m-p/607368#M20172</guid>
      <dc:creator>AndrewL</dc:creator>
      <dc:date>2014-01-30T18:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.TableToGeodatabase_conversion losing text values</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/arcpy-tabletogeodatabase-conversion-losing-text/m-p/607369#M20173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are you running your scripts through IDLE?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 18:20:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/arcpy-tabletogeodatabase-conversion-losing-text/m-p/607369#M20173</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2014-01-30T18:20:50Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.TableToGeodatabase_conversion losing text values</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/arcpy-tabletogeodatabase-conversion-losing-text/m-p/607370#M20174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No in the windows command prompt. I call the loader.bat file which calls the .ini config file and .py file. Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 18:23:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/arcpy-tabletogeodatabase-conversion-losing-text/m-p/607370#M20174</guid>
      <dc:creator>AndrewL</dc:creator>
      <dc:date>2014-01-30T18:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.TableToGeodatabase_conversion losing text values</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/arcpy-tabletogeodatabase-conversion-losing-text/m-p/607371#M20175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Do you have any error logging included in your python script that could help to identify the problem?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 18:33:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/arcpy-tabletogeodatabase-conversion-losing-text/m-p/607371#M20175</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2014-01-30T18:33:05Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.TableToGeodatabase_conversion losing text values</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/arcpy-tabletogeodatabase-conversion-losing-text/m-p/607372#M20176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There is some error logging. I did not create this script from scratch. I'm doing some modification of an older script my company uses. I am not getting an error. It runs fine.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 18:39:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/arcpy-tabletogeodatabase-conversion-losing-text/m-p/607372#M20176</guid>
      <dc:creator>AndrewL</dc:creator>
      <dc:date>2014-01-30T18:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.TableToGeodatabase_conversion losing text values</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/arcpy-tabletogeodatabase-conversion-losing-text/m-p/607373#M20177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Would you be able to send the data and script in a post so I can try it on both a desktop and server?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 19:00:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/arcpy-tabletogeodatabase-conversion-losing-text/m-p/607373#M20177</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2014-01-30T19:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.TableToGeodatabase_conversion losing text values</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/arcpy-tabletogeodatabase-conversion-losing-text/m-p/607374#M20178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello. I can try. Most of the script was written by a private vendor, so I am not sure if I feel comfortable with that. I will try to work up something though. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, a schema.ini file is created when running the script on the VM, and not on my PC. It's contents is here. Col 1 and 2 only contain integers. Columns 3,5,7,11,13,15, 17 all have a mix of text and integer values, but only the integer values come through on my VM. Thank you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;[201312daily.txt]
Col3=Tmax Text
Col5=Tmin Text
Col7=Tavg Text
Col11=DewPoint Text
Col13=WetBulb Text
Col15=Heat Text
Col17=Cool Text
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 02:00:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/arcpy-tabletogeodatabase-conversion-losing-text/m-p/607374#M20178</guid>
      <dc:creator>AndrewL</dc:creator>
      <dc:date>2021-12-12T02:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.TableToGeodatabase_conversion losing text values</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/arcpy-tabletogeodatabase-conversion-losing-text/m-p/607375#M20179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi I have attached the python script and the data file (zip). Thank you for your help! Basically the script extracts the files from the zip file then looks for the .txt file that contains "daily" in the file name, and converts that to geodb table.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jan 2014 12:21:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/arcpy-tabletogeodatabase-conversion-losing-text/m-p/607375#M20179</guid>
      <dc:creator>AndrewL</dc:creator>
      <dc:date>2014-01-31T12:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.TableToGeodatabase_conversion losing text values</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/arcpy-tabletogeodatabase-conversion-losing-text/m-p/607376#M20180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Andrew:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I changed some paths for my specific environment and ran your script successfully.&amp;nbsp; What field is not getting populated correctly?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jan 2014 13:02:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/arcpy-tabletogeodatabase-conversion-losing-text/m-p/607376#M20180</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2014-01-31T13:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.TableToGeodatabase_conversion losing text values</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/arcpy-tabletogeodatabase-conversion-losing-text/m-p/607377#M20181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The SnowFall and PrecipTotal fields.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Those fields contain text values 'M' and '&amp;nbsp; T', but they are lost once I do the tabletogeodb conversion. If I run the script on my VM and look at the geodatabase table, those are now number fields and the values of M and T are now replaced with blank space.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jan 2014 14:17:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/arcpy-tabletogeodatabase-conversion-losing-text/m-p/607377#M20181</guid>
      <dc:creator>AndrewL</dc:creator>
      <dc:date>2014-01-31T14:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.TableToGeodatabase_conversion losing text values</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/arcpy-tabletogeodatabase-conversion-losing-text/m-p/607378#M20182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have just run your script on a desktop machine with v10.2.&amp;nbsp; The fields SnowFall and PrecipTotal are being created as Data Type Double and there are blank values, 0 values, and other miscellaneous values from 0.1 to 14.5.&amp;nbsp; Do those values sound correct from the data you let me test with?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jan 2014 14:26:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/arcpy-tabletogeodatabase-conversion-losing-text/m-p/607378#M20182</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2014-01-31T14:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.TableToGeodatabase_conversion losing text values</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/arcpy-tabletogeodatabase-conversion-losing-text/m-p/607379#M20183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes that is correct. That is what is happening on my VM. I am running the scipt on my PC using v10.1, and it does not produce blank values.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jan 2014 14:37:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/arcpy-tabletogeodatabase-conversion-losing-text/m-p/607379#M20183</guid>
      <dc:creator>AndrewL</dc:creator>
      <dc:date>2014-01-31T14:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.TableToGeodatabase_conversion losing text values</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/arcpy-tabletogeodatabase-conversion-losing-text/m-p/607380#M20184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I ran the script on a desktop v10.0 machine and got the same results of blank values, 0 values, and other miscellaneous values from 0.1 to 14.5.&amp;nbsp; There must be some configuration setting on your desktop that is different from all the other machines, at least that's what I'm thinking.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jan 2014 14:55:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/arcpy-tabletogeodatabase-conversion-losing-text/m-p/607380#M20184</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2014-01-31T14:55:05Z</dc:date>
    </item>
  </channel>
</rss>

