<?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.LoadData_production - module object has no attribute in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/arcpy-loaddata-production-module-object-has-no/m-p/876501#M4927</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ArcMap is 10.6.1.9270 and I am showing build number 997 for Production Mapping.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;V/R,&lt;/P&gt;&lt;P&gt;Forbes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Aug 2019 07:30:51 GMT</pubDate>
    <dc:creator>RyanForbes1</dc:creator>
    <dc:date>2019-08-28T07:30:51Z</dc:date>
    <item>
      <title>arcpy.LoadData_production - module object has no attribute</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/arcpy-loaddata-production-module-object-has-no/m-p/876497#M4923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am attempting to use the Production Mapping Data Load tool to copy data from one database into another with a differing schema.&amp;nbsp; Something I've done manually several times, but would prefer to script it out to save some time.&amp;nbsp; Unfortunately I've run into some issues, and was hoping someone may point me in the right direction.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code Sample:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; arcpy

&lt;SPAN class="keyword token"&gt;try&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
    &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;CheckExtension&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"Foundation"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;==&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"Available"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
        arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;CheckOutExtension&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"Foundation"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;

    &lt;SPAN class="keyword token"&gt;else&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
        &lt;SPAN class="keyword token"&gt;raise&lt;/SPAN&gt; LicenseError

    arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;LoadData_production&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;crossReference&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; sourceDatabase&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
                              targetDatabase&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; logRowErrs&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;‍‍‍‍‍‍‍‍‍‍‍‍‍

&lt;SPAN class="keyword token"&gt;except&lt;/SPAN&gt; LicenseError&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
    &lt;SPAN class="string token"&gt;"Production Mapping License unavailable"&lt;/SPAN&gt;
&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Returns:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;AttributeError: 'module' object has no attribute 'LoadData_production'&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is worth mentioning this is the result when I execute the code from a *.py - when I copy and paste the code into an ArcMap Python window it runs fine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would appreciate any guidance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;V/R,&lt;/P&gt;&lt;P&gt;Forbes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 10:59:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/arcpy-loaddata-production-module-object-has-no/m-p/876497#M4923</guid>
      <dc:creator>RyanForbes1</dc:creator>
      <dc:date>2021-12-12T10:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.LoadData_production - module object has no attribute</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/arcpy-loaddata-production-module-object-has-no/m-p/876498#M4924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ryan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for providing the code sample.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What value are you specifying for the logRowErrs variable?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Load Data, the order of the parameters is the following:&lt;/P&gt;&lt;P&gt;1. in_cross_reference&lt;/P&gt;&lt;P&gt;2. in_sources&lt;/P&gt;&lt;P&gt;3. in_target&lt;/P&gt;&lt;P&gt;4. in_dataset_map_defs&lt;/P&gt;&lt;P&gt;5. row_level_errors&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Depending on what you have specified for the logRowErrs variable, you might be specifying a row_level_errors value (i.e. &lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;ROW_LEVEL_ERROR_LOGGING or&amp;nbsp;&lt;SPAN&gt;NO_ROW_LEVEL_ERROR_LOGGING)&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;for the in_dataset_map_defs parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I open ArcMap and launch the Python window and specify logRowErrs = '&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;ROW_LEVEL_ERROR_LOGGING' and execute the following:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;arcpy.LoadData_production(crossReference, sourceDatabase, targetDatabase, logRowErrs)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;I encounter the following:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;ExecuteError: Failed to execute. Parameters are not valid. ERROR 000800: The value is not a member of ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;What happens if you execute the following:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE style="border: 0px; font-weight: inherit;"&gt;&amp;nbsp;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE style="border: 0px; font-weight: inherit;"&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;arcpy.LoadData_production(crossReference, sourceDatabase, targetDatabase, '#', logRowErrs)&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE style="border: 0px; font-weight: inherit;"&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Aug 2019 17:00:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/arcpy-loaddata-production-module-object-has-no/m-p/876498#M4924</guid>
      <dc:creator>DanHopkins</dc:creator>
      <dc:date>2019-08-26T17:00:12Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.LoadData_production - module object has no attribute</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/arcpy-loaddata-production-module-object-has-no/m-p/876499#M4925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for looking into this and helping me out!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You wrote:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;"When I open ArcMap and launch the Python window&lt;SPAN&gt;&amp;nbsp;..."&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue I am facing is that the LoadData_production function is not being recognized when called outside of ArcMap.&amp;nbsp; &amp;nbsp;When I run the code from an ArcMap Python window it runs fine --&amp;nbsp;&amp;nbsp;I am trying to run my script from the command line/IDE, that way I can have the script execute while I am not physically present.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my code in its entirety without any truncation for expediency --&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; arcpy

&lt;SPAN class="keyword token"&gt;class&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;LicenseError&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;Exception&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
    &lt;SPAN class="keyword token"&gt;pass&lt;/SPAN&gt;

&lt;SPAN class="keyword token"&gt;try&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
    &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;CheckExtension&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"Foundation"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;==&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"Available"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
        arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;CheckOutExtension&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"Foundation"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
    &lt;SPAN class="keyword token"&gt;else&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
        &lt;SPAN class="keyword token"&gt;raise&lt;/SPAN&gt; LicenseError

    crossReference &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; r&lt;SPAN class="string token"&gt;"C:\Temp\dataloadTest\dataload_crossref.mdb"&lt;/SPAN&gt;
    sourceDatabase &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; r&lt;SPAN class="string token"&gt;"C:\Temp\dataloadTest\dataLoad_source.gdb"&lt;/SPAN&gt;
    targetDatabase &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; r&lt;SPAN class="string token"&gt;"C:\Temp\dataloadTest\dataLoad_target.gdb"&lt;/SPAN&gt;
    logRowErrs &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"ROW_LEVEL_ERROR_LOGGING"&lt;/SPAN&gt;
    
    arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;LoadData_production&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;crossReference&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; sourceDatabase&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; targetDatabase&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
                              "&lt;SPAN class="comment token"&gt;#", logRowErrs)&lt;/SPAN&gt;

&lt;SPAN class="keyword token"&gt;except&lt;/SPAN&gt; LicenseError&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
    &lt;SPAN class="keyword token"&gt;print&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"Production Mapping License unavailable."&lt;/SPAN&gt;

&lt;SPAN class="keyword token"&gt;except&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;ExecuteError&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
    &lt;SPAN class="keyword token"&gt;print&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;GetMessages&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;2&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To reiterate - when I execute this in ArcMap it runs perfectly fine.&amp;nbsp; However, my goal is to have this run from the command line via a scheduled task during off hours. When executed from IDLE for example (or your superior IDE of choice) it fails to recognize &lt;STRONG&gt;&lt;EM&gt;arcpy.LoadData_production&lt;/EM&gt;&lt;/STRONG&gt; entirely.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suspect when I import arcpy from outside of ArcMap something is failing to instantiate, or something different happens when you import arcpy from inside of ArcMap.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 10:59:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/arcpy-loaddata-production-module-object-has-no/m-p/876499#M4925</guid>
      <dc:creator>RyanForbes1</dc:creator>
      <dc:date>2021-12-12T10:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.LoadData_production - module object has no attribute</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/arcpy-loaddata-production-module-object-has-no/m-p/876500#M4926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ryan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for responding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code that you have provided in its entirety executes without issue on my 10.7.1 machine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please answer the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. What is the OS of your machine?&lt;/P&gt;&lt;P&gt;2. What is the build number for ArcMap? Launch ArcMap and go to Help-&amp;gt;About ArcMap..&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/458050_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. What is the build number for Production Mapping? Launch ArcMap and go to Customize-&amp;gt;Extensions... and the Extensions dialog is launched. On the Extensions dialog, highlight Production Mapping with your cursor and the 'Build Number' will appear under 'Description'.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/458061_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Aug 2019 15:25:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/arcpy-loaddata-production-module-object-has-no/m-p/876500#M4926</guid>
      <dc:creator>DanHopkins</dc:creator>
      <dc:date>2019-08-27T15:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.LoadData_production - module object has no attribute</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/arcpy-loaddata-production-module-object-has-no/m-p/876501#M4927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ArcMap is 10.6.1.9270 and I am showing build number 997 for Production Mapping.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;V/R,&lt;/P&gt;&lt;P&gt;Forbes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Aug 2019 07:30:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/arcpy-loaddata-production-module-object-has-no/m-p/876501#M4927</guid>
      <dc:creator>RyanForbes1</dc:creator>
      <dc:date>2019-08-28T07:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.LoadData_production - module object has no attribute</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/arcpy-loaddata-production-module-object-has-no/m-p/876502#M4928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ryan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for responding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My physical machine is running the following:&lt;/P&gt;&lt;P&gt;- OS Windows 10&lt;/P&gt;&lt;P&gt;- ArcGIS Desktop 10.6.1 Build 9270&lt;/P&gt;&lt;P&gt;- Mapping and Charting Solutions Desktop 10.6.1 Patch 1 Build 997&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;The code that you have provided in its entirety executes without issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Have you tried repairing Mapping and Charting Solutions Desktop 10.6.1?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Please answer the following:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;1. What is the OS of the machine (I did not get an answer to this question in my previous post)?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;2. What other Esri software is installed on your machine (e.g. ArcGIS Sever, Desktop Background GP)?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Dan&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Aug 2019 16:04:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/arcpy-loaddata-production-module-object-has-no/m-p/876502#M4928</guid>
      <dc:creator>DanHopkins</dc:creator>
      <dc:date>2019-08-28T16:04:08Z</dc:date>
    </item>
  </channel>
</rss>

