ckillian

Trying to run a model called from a script fails

Discussion created by ckillian on Jan 8, 2014
I have a model that runs fine in model builder.  It will not run as a script exported from model builder, apparently because it contains a composite address locator.  As a workaround, I have a python script that should call on the actual model to run.  However, I think the model is crashing back at the geocode again.  Could this be possible if I am actually running the model itself? 

Here is the script calling the model:

import arcpy

arcpy.ImportToolbox(r"C:\Users\.......\My Toolboxes\Models.tbx", "TBX")

arcpy.Model1_TBX()



Is it the composite address locator that is still causing the problem?  Should it be if the model runs fine on its own?

Outcomes