<?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: Using UtilitySolutions.py to convert access .mdb to geodatabase in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/using-utilitysolutions-py-to-convert-access-mdb-to/m-p/1083604#M43850</link>
    <description>&lt;P&gt;Finally I get this ImportAccessTables running.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I go to&amp;nbsp;&lt;A href="https://solutions.arcgis.com/shared/help/utility-solutions/get-started/faq.htm#anchor2" target="_blank"&gt;https://solutions.arcgis.com/shared/help/utility-solutions/get-started/faq.htm#anchor2&lt;/A&gt;&amp;nbsp;and use python command prompt to install "&lt;SPAN&gt;utilsolutions" on my clone envs.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Using proswap to swap to clone envs,&amp;nbsp; I run the python script without problem.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 28 Jul 2021 17:03:31 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2021-07-28T17:03:31Z</dc:date>
    <item>
      <title>Using UtilitySolutions.py to convert access .mdb to geodatabase</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/using-utilitysolutions-py-to-convert-access-mdb-to/m-p/363909#M15981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&lt;SPAN style="color: #000000;"&gt;Hi there, I tried to using Utilitysolution.py to import access .mdb file. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color: #000000;"&gt;Below is my script modified from CCTV Manager's page &lt;A class="link-titled" href="https://solutions.arcgis.com/shared/help/utility-solutions/tool-reference/import-access-tables.htm" style="color: #000000;" title="https://solutions.arcgis.com/shared/help/utility-solutions/tool-reference/import-access-tables.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;Import Access Tables—Tool Reference | ArcGIS Solutions&lt;/A&gt;&amp;nbsp;:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #000000;"&gt;# Name: ImportAccessTables.py&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #000000;"&gt;# Description: Converts tables in an Access database to file geodatabase.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color: #000000;"&gt;# Import required modules&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #000000;"&gt;import arcpy&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color: #000000;"&gt;# Local Variables&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #000000;"&gt;mdb = "K:\\GIS_Folder\\Data\\Well_Reports.mdb"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #000000;"&gt;tables = ['Wells', 'Well_Reports']&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #000000;"&gt;out_folder_path = "K:\\GIS_Folder\\Data\\Waterwells"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #000000;"&gt;out_name = "Well_Reports_converted"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #000000;"&gt;import_type = "DATA"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color: #000000;"&gt;arcpy.utilsol.ImportAccessTables(mdb,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #000000;"&gt; tables,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #000000;"&gt; out_folder_path,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #000000;"&gt; out_name,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #000000;"&gt; import_type)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color: #000000;"&gt;But I have runtime error that I do not know how to solve:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;RuntimeError&lt;/SPAN&gt;                              Traceback (most recent call last) 
In  &lt;SPAN class="" style="color: #208ffb;"&gt;[5]&lt;/SPAN&gt;: 
Line &lt;SPAN class="" style="color: #208ffb;"&gt;18&lt;/SPAN&gt;:    import_type)  

File &lt;SPAN class="" style="color: #208ffb;"&gt;C:\Users\tchung\AppData\Local\ESRI\conda\envs\arcgispro-py3-clone\lib\site-packages\utilsolutions\esri\arcpy\UtilitySolutions.py&lt;/SPAN&gt;, in &lt;SPAN class="" style="color: #00a250;"&gt;ImportAccessTables&lt;/SPAN&gt;: 
Line &lt;SPAN class="" style="color: #208ffb;"&gt;44&lt;/SPAN&gt;:    [mdb, tables, out_folder_path, out_name, import_type])  

File &lt;SPAN class="" style="color: #208ffb;"&gt;C:\Users\tchung\AppData\Local\ESRI\conda\envs\arcgispro-py3-clone\lib\site-packages\utilsolutions\esri\arcpy\UtilitySolutions.py&lt;/SPAN&gt;, in &lt;SPAN class="" style="color: #00a250;"&gt;_runner&lt;/SPAN&gt;: 
Line &lt;SPAN class="" style="color: #208ffb;"&gt;17&lt;/SPAN&gt;:    &lt;SPAN class="" style="color: #208ffb;"&gt;raise&lt;/SPAN&gt; e  

File &lt;SPAN class="" style="color: #208ffb;"&gt;C:\Users\tchung\AppData\Local\ESRI\conda\envs\arcgispro-py3-clone\lib\site-packages\utilsolutions\esri\arcpy\UtilitySolutions.py&lt;/SPAN&gt;, in &lt;SPAN class="" style="color: #00a250;"&gt;_runner&lt;/SPAN&gt;: 
Line &lt;SPAN class="" style="color: #208ffb;"&gt;15&lt;/SPAN&gt;:    &lt;SPAN class="" style="color: #208ffb;"&gt;return&lt;/SPAN&gt; convertArcObjectToPythonObject(func(*gp_fixargs(args, &lt;SPAN class="" style="color: #208ffb;"&gt;True&lt;/SPAN&gt;)))  

File &lt;SPAN class="" style="color: #208ffb;"&gt;c:\users\tchung\appdata\local\programs\arcgis\pro\Resources\arcpy\arcpy\geoprocessing\_base.py&lt;/SPAN&gt;, in &lt;SPAN class="" style="color: #00a250;"&gt;&amp;lt;lambda&amp;gt;&lt;/SPAN&gt;: 
Line &lt;SPAN class="" style="color: #208ffb;"&gt;511&lt;/SPAN&gt;:   &lt;SPAN class="" style="color: #208ffb;"&gt;return&lt;/SPAN&gt; &lt;SPAN class="" style="color: #208ffb;"&gt;lambda&lt;/SPAN&gt; *args: val(*gp_fixargs(args, &lt;SPAN class="" style="color: #208ffb;"&gt;True&lt;/SPAN&gt;)) 
&lt;SPAN class="" style="color: #e75c58;"&gt;RuntimeError&lt;/SPAN&gt;: Object: Error in executing tool&lt;SPAN class="" style="color: #e75c58;"&gt;---------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 16:57:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/using-utilitysolutions-py-to-convert-access-mdb-to/m-p/363909#M15981</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-12-11T16:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: Using UtilitySolutions.py to convert access .mdb to geodatabase</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/using-utilitysolutions-py-to-convert-access-mdb-to/m-p/1083604#M43850</link>
      <description>&lt;P&gt;Finally I get this ImportAccessTables running.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I go to&amp;nbsp;&lt;A href="https://solutions.arcgis.com/shared/help/utility-solutions/get-started/faq.htm#anchor2" target="_blank"&gt;https://solutions.arcgis.com/shared/help/utility-solutions/get-started/faq.htm#anchor2&lt;/A&gt;&amp;nbsp;and use python command prompt to install "&lt;SPAN&gt;utilsolutions" on my clone envs.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Using proswap to swap to clone envs,&amp;nbsp; I run the python script without problem.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2021 17:03:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/using-utilitysolutions-py-to-convert-access-mdb-to/m-p/1083604#M43850</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-07-28T17:03:31Z</dc:date>
    </item>
  </channel>
</rss>

