<?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: Error when running script from toolbox, but fine when run in python window in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/error-when-running-script-from-toolbox-but-fine/m-p/695160#M23023</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, this is a tool from Arc Toolbox - Data Management &amp;gt; Photos &amp;gt; Geo Tagged Photos To Points. Also happens on several other tools, such as Table To Excel.We're working on a Citrix VDI terminal. The tools do work on regular PC boxes, as well as in the Python window and Idle in Citrix.&lt;/P&gt;&lt;P&gt;My first thought is that it's a path issue, but haven't been able to resolve it that way. Tried setting both PATH and PYTHONPATH, no luck.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;With PYTHONPATH set to C:\Python27\ArcGIS10.3\Lib\site-packages, still errors out, but a different message:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #c0504d;"&gt;Messages&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #c0504d;"&gt;Executing: GeoTaggedPhotosToPoints C:\Data\Photos C:\Data\City.gdb\photo_points_path C:\Data\City.gdb\Invalid_Photos_Table_path ONLY_GEOTAGGED NO_ATTACHMENTS&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #c0504d;"&gt;Start Time: Wed Aug 24 10:16:21 2016&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #c0504d;"&gt;Running script GeoTaggedPhotosToPoints...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #c0504d;"&gt;updateParameters Syntax Error: Runtime error &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #c0504d;"&gt;Traceback (most recent call last):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #c0504d;"&gt;&amp;nbsp; File "c:\program files (x86)\arcgis\desktop10.3\ArcToolbox\Toolboxes\Data Management Tools.tbx#GeoTaggedPhotosToPoints_management.UpdateParameters.py", line 1, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #c0504d;"&gt;&amp;nbsp; File "c:\program files (x86)\arcgis\desktop10.3\arcpy\arcpy\__init__.py", line 24, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #c0504d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; from arcpy.toolbox import *&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #c0504d;"&gt;&amp;nbsp; File "c:\program files (x86)\arcgis\desktop10.3\arcpy\arcpy\toolbox.py", line 359, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #c0504d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; from .management import Graph, GraphTemplate&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #c0504d;"&gt;&amp;nbsp;File "c:\program files (x86)\arcgis\desktop10.3\arcpy\arcpy\management.py", line 26, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #c0504d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; import _management&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #c0504d;"&gt;&amp;nbsp; File "c:\program files (x86)\arcgis\desktop10.3\arcpy\arcpy\_management.py", line 14, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #c0504d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; import _graph&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #c0504d;"&gt;&amp;nbsp; File "c:\program files (x86)\arcgis\desktop10.3\arcpy\arcpy\_graph.py", line 27, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #c0504d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; import numpy&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #c0504d;"&gt;&amp;nbsp; File "C:\Python27\ArcGIS10.3\Lib\site-packages\numpy\__init__.py", line 137, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #c0504d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; import add_newdocs&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #c0504d;"&gt;&amp;nbsp; File "C:\Python27\ArcGIS10.3\Lib\site-packages\numpy\add_newdocs.py", line 9, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #c0504d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; from numpy.lib import add_newdoc&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #c0504d;"&gt;&amp;nbsp; File "C:\Python27\ArcGIS10.3\Lib\site-packages\numpy\lib\__init__.py", line 4, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #c0504d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; from type_check import *&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #c0504d;"&gt;&amp;nbsp; File "C:\Python27\ArcGIS10.3\Lib\site-packages\numpy\lib\type_check.py", line 8, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #c0504d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; import numpy.core.numeric as _nx&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #c0504d;"&gt;&amp;nbsp; File "C:\Python27\ArcGIS10.3\Lib\site-packages\numpy\core\__init__.py", line 5, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #c0504d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; import multiarray&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #c0504d;"&gt;ImportError: DLL load failed: %1 is not a valid Win32 application.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #c0504d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #c0504d;"&gt;Failed to execute (GeoTaggedPhotosToPoints).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #c0504d;"&gt;Failed at Wed Aug 24 10:16:21 2016 (Elapsed Time: 0.03 seconds)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Aug 2016 16:21:32 GMT</pubDate>
    <dc:creator>Zeke</dc:creator>
    <dc:date>2016-08-24T16:21:32Z</dc:date>
    <item>
      <title>Error when running script from toolbox, but fine when run in python window</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/error-when-running-script-from-toolbox-but-fine/m-p/695156#M23019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm running into an error when running various tools from the toolbox (e.g. Table To Excel, Geo Tagged Photos To Points), but they run fine when run in the python window. No one's been able to figure this out. Any ideas? Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Toolbox error attached, python window results below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt; import arcpy&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; arcpy.GeoTaggedPhotosToPoints_management("c:/data/photos", "c:/data/city.gdb/photo_points", "", "ONLY_GEOTAGGED", "ADD_ATTACHMENTS")&lt;BR /&gt;&amp;lt;Result 'c:\\Data\\City.gdb\\photo_points'&amp;gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; arcpy.GeoTaggedPhotosToPoints_management("c:/data/photos", "c:/data/city.gdb/photo_points_no_attach_1", "", "ONLY_GEOTAGGED", "NO_ATTACHMENTS")&lt;BR /&gt;&amp;lt;Result 'c:\\Data\\City.gdb\\photo_points_no_attach_1'&amp;gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; arcpy.GeoTaggedPhotosToPoints_management("c:/data/photos", "c:/data/city.gdb/photo_points_no_attach_all_Photos", "c:/data/city.gdb/Invalid_Photos_Table", "ALL_PHOTOS", "NO_ATTACHMENTS")&lt;BR /&gt;&amp;lt;Result 'c:\\Data\\City.gdb\\photo_points_no_attach_all_Photos'&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2016 16:00:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/error-when-running-script-from-toolbox-but-fine/m-p/695156#M23019</guid>
      <dc:creator>Zeke</dc:creator>
      <dc:date>2016-08-23T16:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: Error when running script from toolbox, but fine when run in python window</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/error-when-running-script-from-toolbox-but-fine/m-p/695157#M23020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;they worked... they just aren't what you were expecting... have a read first&amp;nbsp;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-classes/result.htm" title="http://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-classes/result.htm"&gt;Result—Help | ArcGIS for Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2016 17:46:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/error-when-running-script-from-toolbox-but-fine/m-p/695157#M23020</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-08-23T17:46:48Z</dc:date>
    </item>
    <item>
      <title>Re: Error when running script from toolbox, but fine when run in python window</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/error-when-running-script-from-toolbox-but-fine/m-p/695158#M23021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, they worked in the Python window, and in Idle, but not from the toolbox. See the attached png above. Failed to execute.&lt;/P&gt;&lt;P&gt;I'm thinking it's a path problem, but no luck in fixing it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2016 13:18:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/error-when-running-script-from-toolbox-but-fine/m-p/695158#M23021</guid>
      <dc:creator>Zeke</dc:creator>
      <dc:date>2016-08-24T13:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: Error when running script from toolbox, but fine when run in python window</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/error-when-running-script-from-toolbox-but-fine/m-p/695159#M23022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greg, is this a custom tool?&amp;nbsp;&amp;nbsp; If so, are you using import to load all the mods needed in your script?&amp;nbsp; Looks like is at least missing numpy or isn't finding numpy. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2016 16:10:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/error-when-running-script-from-toolbox-but-fine/m-p/695159#M23022</guid>
      <dc:creator>RebeccaStrauch__GISP</dc:creator>
      <dc:date>2016-08-24T16:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: Error when running script from toolbox, but fine when run in python window</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/error-when-running-script-from-toolbox-but-fine/m-p/695160#M23023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, this is a tool from Arc Toolbox - Data Management &amp;gt; Photos &amp;gt; Geo Tagged Photos To Points. Also happens on several other tools, such as Table To Excel.We're working on a Citrix VDI terminal. The tools do work on regular PC boxes, as well as in the Python window and Idle in Citrix.&lt;/P&gt;&lt;P&gt;My first thought is that it's a path issue, but haven't been able to resolve it that way. Tried setting both PATH and PYTHONPATH, no luck.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;With PYTHONPATH set to C:\Python27\ArcGIS10.3\Lib\site-packages, still errors out, but a different message:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #c0504d;"&gt;Messages&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #c0504d;"&gt;Executing: GeoTaggedPhotosToPoints C:\Data\Photos C:\Data\City.gdb\photo_points_path C:\Data\City.gdb\Invalid_Photos_Table_path ONLY_GEOTAGGED NO_ATTACHMENTS&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #c0504d;"&gt;Start Time: Wed Aug 24 10:16:21 2016&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #c0504d;"&gt;Running script GeoTaggedPhotosToPoints...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #c0504d;"&gt;updateParameters Syntax Error: Runtime error &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #c0504d;"&gt;Traceback (most recent call last):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #c0504d;"&gt;&amp;nbsp; File "c:\program files (x86)\arcgis\desktop10.3\ArcToolbox\Toolboxes\Data Management Tools.tbx#GeoTaggedPhotosToPoints_management.UpdateParameters.py", line 1, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #c0504d;"&gt;&amp;nbsp; File "c:\program files (x86)\arcgis\desktop10.3\arcpy\arcpy\__init__.py", line 24, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #c0504d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; from arcpy.toolbox import *&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #c0504d;"&gt;&amp;nbsp; File "c:\program files (x86)\arcgis\desktop10.3\arcpy\arcpy\toolbox.py", line 359, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #c0504d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; from .management import Graph, GraphTemplate&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #c0504d;"&gt;&amp;nbsp;File "c:\program files (x86)\arcgis\desktop10.3\arcpy\arcpy\management.py", line 26, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #c0504d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; import _management&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #c0504d;"&gt;&amp;nbsp; File "c:\program files (x86)\arcgis\desktop10.3\arcpy\arcpy\_management.py", line 14, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #c0504d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; import _graph&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #c0504d;"&gt;&amp;nbsp; File "c:\program files (x86)\arcgis\desktop10.3\arcpy\arcpy\_graph.py", line 27, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #c0504d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; import numpy&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #c0504d;"&gt;&amp;nbsp; File "C:\Python27\ArcGIS10.3\Lib\site-packages\numpy\__init__.py", line 137, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #c0504d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; import add_newdocs&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #c0504d;"&gt;&amp;nbsp; File "C:\Python27\ArcGIS10.3\Lib\site-packages\numpy\add_newdocs.py", line 9, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #c0504d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; from numpy.lib import add_newdoc&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #c0504d;"&gt;&amp;nbsp; File "C:\Python27\ArcGIS10.3\Lib\site-packages\numpy\lib\__init__.py", line 4, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #c0504d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; from type_check import *&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #c0504d;"&gt;&amp;nbsp; File "C:\Python27\ArcGIS10.3\Lib\site-packages\numpy\lib\type_check.py", line 8, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #c0504d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; import numpy.core.numeric as _nx&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #c0504d;"&gt;&amp;nbsp; File "C:\Python27\ArcGIS10.3\Lib\site-packages\numpy\core\__init__.py", line 5, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #c0504d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; import multiarray&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #c0504d;"&gt;ImportError: DLL load failed: %1 is not a valid Win32 application.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #c0504d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #c0504d;"&gt;Failed to execute (GeoTaggedPhotosToPoints).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #c0504d;"&gt;Failed at Wed Aug 24 10:16:21 2016 (Elapsed Time: 0.03 seconds)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2016 16:21:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/error-when-running-script-from-toolbox-but-fine/m-p/695160#M23023</guid>
      <dc:creator>Zeke</dc:creator>
      <dc:date>2016-08-24T16:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: Error when running script from toolbox, but fine when run in python window</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/error-when-running-script-from-toolbox-but-fine/m-p/695161#M23024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In case it is an install issue for ArcGIS 10.3 on the Citrix VDI terminal, tagging &lt;A href="https://community.esri.com/group/1167"&gt;ArcGIS for Desktop Installation support&amp;nbsp;&amp;nbsp; &lt;/A&gt;&lt;/P&gt;&lt;P&gt;I know when we were trying to updating our Citrix XenApp to 10.3 (from 10.2.2) we had issues because we needed a newer version of XenApp.&amp;nbsp; Might want to rule that out &lt;A class="link-titled" href="https://desktop.arcgis.com/en/arcmap/10.3/get-started/system-requirements/arcgis-desktop-system-requirements.htm" title="https://desktop.arcgis.com/en/arcmap/10.3/get-started/system-requirements/arcgis-desktop-system-requirements.htm"&gt;ArcGIS 10.3.x for Desktop system requirements—Help | ArcGIS for Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2016 16:48:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/error-when-running-script-from-toolbox-but-fine/m-p/695161#M23024</guid>
      <dc:creator>RebeccaStrauch__GISP</dc:creator>
      <dc:date>2016-08-24T16:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: Error when running script from toolbox, but fine when run in python window</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/error-when-running-script-from-toolbox-but-fine/m-p/695162#M23025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rebecca, that's very helpful. I'll pass that along to the IT techs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2016 17:36:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/error-when-running-script-from-toolbox-but-fine/m-p/695162#M23025</guid>
      <dc:creator>Zeke</dc:creator>
      <dc:date>2016-08-24T17:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: Error when running script from toolbox, but fine when run in python window</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/error-when-running-script-from-toolbox-but-fine/m-p/695163#M23026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May have found the answer to this problem. Besides adding a PYTHONPATH environmental variable, I disabled background processing in Geoprocessing &amp;gt; Options. So far, the tools appear to run ok from the toolbox. Thanks Dan &amp;amp; Rebecca.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2016 19:10:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/error-when-running-script-from-toolbox-but-fine/m-p/695163#M23026</guid>
      <dc:creator>Zeke</dc:creator>
      <dc:date>2016-08-24T19:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: Error when running script from toolbox, but fine when run in python window</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/error-when-running-script-from-toolbox-but-fine/m-p/695164#M23027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Background processing is always a good thigk to check.&amp;nbsp; Interestingly enough, the tools I'm working on that need to work from a local machine (instead of the server where data is) were &lt;EM&gt;only&lt;/EM&gt; working in background processing last week.&amp;nbsp; Then it stopped working altogether (which I wanted to blame on a network upgrade...which we weren't told the specifics).&amp;nbsp; It looks as if it was &lt;EM&gt;may be&lt;/EM&gt; a timing issue with the remote machine saying the command was complete when it was not (or was too slow releasing the .lock), so the python script sent the next command which made it crash.&amp;nbsp; Was driving me nuts.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In searching for other things to try, I found a post on testing to make sure a step had completed.&amp;nbsp; Interesting, but a little overkill for what I needed.&amp;nbsp; What I did pull out of it was&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;time.sleep(10)&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;which I stuck right before the crash point.&amp;nbsp; Fixed it.&amp;nbsp; 10 seconds might be too long for my purposes, but not worth the time to test to save a few seconds.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, not sure if with Citrix VM there might be a network lag, but something worth keeping in mind in case you run into any other issues.&amp;nbsp; Now my addin tool works on the local machine, with the data on the server (VM "somewhere").&amp;nbsp; With IT starting to lock down direct login access to some of our servers, that was the goal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...at least my desktop it still physical....world goes round-and-round....back to "mainframes" (remote/VM/clouad) and "dumb-terminals" (VM machines).&amp;nbsp; Of course, the dumb-terminals are much smarter than the screen/keyboard of the past.&amp;nbsp; &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2016 21:08:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/error-when-running-script-from-toolbox-but-fine/m-p/695164#M23027</guid>
      <dc:creator>RebeccaStrauch__GISP</dc:creator>
      <dc:date>2016-08-24T21:08:21Z</dc:date>
    </item>
  </channel>
</rss>

