AnsweredAssumed Answered

Error when running script from toolbox, but fine when run in python window

Question asked by recurvata on Aug 23, 2016
Latest reply on Aug 24, 2016 by rastrauch

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.

 

Toolbox error attached, python window results below.

 

>>> import arcpy
>>> arcpy.GeoTaggedPhotosToPoints_management("c:/data/photos", "c:/data/city.gdb/photo_points", "", "ONLY_GEOTAGGED", "ADD_ATTACHMENTS")
<Result 'c:\\Data\\City.gdb\\photo_points'>
>>> arcpy.GeoTaggedPhotosToPoints_management("c:/data/photos", "c:/data/city.gdb/photo_points_no_attach_1", "", "ONLY_GEOTAGGED", "NO_ATTACHMENTS")
<Result 'c:\\Data\\City.gdb\\photo_points_no_attach_1'>
>>> 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")
<Result 'c:\\Data\\City.gdb\\photo_points_no_attach_all_Photos'>

Attachments

Outcomes