<?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 Problem running Python Toolbox with 64-bit Background Geoprocessing in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/problem-running-python-toolbox-with-64-bit/m-p/757314#M58447</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello all. I have been experiencing consistent crashes trying to process large datasets (&amp;gt;100,000 features) with my custom python toolbox tools, which I believe to be a memory issue, as smaller datasets run smoothly. I know about the potentials using &amp;lt;multiprocess&amp;gt; and &amp;lt;subprocess&amp;gt;, etc., but the implementation seems too tedious, and wanted to see if 64-bit background geoprocessing would process these large datasets. After installing and assigning the new 64-bit paths to my PYTHONPATH, I found that all my tools crash immediately without an explanation. Looking at the sparse documentation, it appears that tools will not function if they call third-party modules, or use tools from a list of specific ArcGIS toolboxes. None of my tools do either of these things, but they do import custom modules that I wrote which use only native arcpy and Python mods. Are you similarly unable to import other custom modules (i.e. scripts), or is something other than third-party mods or blacklisted tools crashing my toolbox? If importing other scripts is not allowed, is the recommendation to throw all your functions into the toolbox? I was avoiding doing this, as it makes the code unreadable.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Mar 2013 16:05:00 GMT</pubDate>
    <dc:creator>JamieKass</dc:creator>
    <dc:date>2013-03-18T16:05:00Z</dc:date>
    <item>
      <title>Problem running Python Toolbox with 64-bit Background Geoprocessing</title>
      <link>https://community.esri.com/t5/python-questions/problem-running-python-toolbox-with-64-bit/m-p/757314#M58447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello all. I have been experiencing consistent crashes trying to process large datasets (&amp;gt;100,000 features) with my custom python toolbox tools, which I believe to be a memory issue, as smaller datasets run smoothly. I know about the potentials using &amp;lt;multiprocess&amp;gt; and &amp;lt;subprocess&amp;gt;, etc., but the implementation seems too tedious, and wanted to see if 64-bit background geoprocessing would process these large datasets. After installing and assigning the new 64-bit paths to my PYTHONPATH, I found that all my tools crash immediately without an explanation. Looking at the sparse documentation, it appears that tools will not function if they call third-party modules, or use tools from a list of specific ArcGIS toolboxes. None of my tools do either of these things, but they do import custom modules that I wrote which use only native arcpy and Python mods. Are you similarly unable to import other custom modules (i.e. scripts), or is something other than third-party mods or blacklisted tools crashing my toolbox? If importing other scripts is not allowed, is the recommendation to throw all your functions into the toolbox? I was avoiding doing this, as it makes the code unreadable.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Mar 2013 16:05:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/problem-running-python-toolbox-with-64-bit/m-p/757314#M58447</guid>
      <dc:creator>JamieKass</dc:creator>
      <dc:date>2013-03-18T16:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problem running Python Toolbox with 64-bit Background Geoprocessing</title>
      <link>https://community.esri.com/t5/python-questions/problem-running-python-toolbox-with-64-bit/m-p/757315#M58448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;it appears that tools will not function if they call third-party modules, or use tools from a list of specific ArcGIS toolboxes. None of my tools do either of these things, but they do import custom modules that I wrote which use only native arcpy and Python mods. &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Third-party modules should work fine if they are installed in your 64-bit Python.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are trying to access &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//002100000040000000"&gt;unsupported datatypes? &lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Mar 2013 17:50:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/problem-running-python-toolbox-with-64-bit/m-p/757315#M58448</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2013-03-18T17:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problem running Python Toolbox with 64-bit Background Geoprocessing</title>
      <link>https://community.esri.com/t5/python-questions/problem-running-python-toolbox-with-64-bit/m-p/757316#M58449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;My mistake --- the third-party modules must be 64-bit as well to work. My code, which does not include anything third-party regardless, also does not include any of the unsupported data types. It works solely in GDBs, uses only ArcGIS tools, and imports only native modules like &amp;lt;math&amp;gt; and &amp;lt;random&amp;gt;. It imports Spatial Analyst tools and &amp;lt;env&amp;gt;, and checks out SA as it should. Again, the tool runs fine without 64-bit processing.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Mar 2013 18:28:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/problem-running-python-toolbox-with-64-bit/m-p/757316#M58449</guid>
      <dc:creator>JamieKass</dc:creator>
      <dc:date>2013-03-18T18:28:22Z</dc:date>
    </item>
  </channel>
</rss>

