I have been trying to run a ModelBuilder model in a project package to be able to create a model output. I hope to send the model to a client, with the model still functional. The model works fine in the project itself, but not in the project package. When I try to run the model, a message saying “Failed to execute (Clip)” comes up. When I validate the model, all of the shapes turn gray, except for ‘Clip’ and all immediately adjacent features. When I validate THEN run the model, I get these errors.
I recently updated to ArcPro Version 2.9, so I think I made these attempts in Version 2.8 (hopefully that doesn't make things too complicated)
Did you package your project to work outside your organization or just inside?
Package Project (Data Management)—ArcGIS Pro | Documentation
and in either case it looks like your data are set as defaults to the model
since you don't allow one to vary the inputs etc
Model parameters—ArcGIS Pro | Documentation
I attempted to make it so it would work outside my organization.
I also tried creating a geoprocessing package of the model, though I am not sure if it worked.
I found this about sharing geoprocessing packages.
https://pro.arcgis.com/en/pro-app/latest/help/sharing/overview/geoprocessing-package.htm
Did you look at the parameters link? Your model shouldn't rely on specific data unless it has to
I just redid the tests with ArcGIS Pro Version 2.9.0. These are the results, along with a picture of the model.
To clarify, I did these tests in the project package.
Tech Support
But, your file paths are long and contain spaces, neither which is good.
If moving your data to a new folder (eg c:\MB_test) and recreating your sub_folders, and renaming featureclasses with spaces in their names, doesn't work, then first line.
@curtvprice anything pop out at you?
I did these tests in the project package. Does that help anything?
not me, waiting for Curtis to chime in