Select to view content in your preferred language

AttributeError:Object: Tool or environment <  > not found

3988
1
06-19-2013 04:04 AM
MarcusSilva1
Deactivated User
Good morning,

I developed a model that calls a python script that in turn calls a model. I import my toolbox inside the script and then make use of a another model. It all works fien in arcmap, i get to publish the service ok, but when I try to run the service I get an error message saying:

AttributeError:Object: Tool or environment <SubModeloCEP8A_cepstimtool> not found.


Does anybody have any idea of what´s wrong here?

Thanks

Marcus

PS Working with 10.1
Tags (2)
0 Kudos
1 Reply
MarcusSilva1
Deactivated User
Good morning,

I developed a model that calls a python script that in turn calls a model. I import my toolbox inside the script and then make use of a another model. It all works fien in arcmap, i get to publish the service ok, but when I try to run the service I get an error message saying:

AttributeError:Object: Tool or environment <SubModeloCEP8A_cepstimtool> not found.


Does anybody have any idea of what´s wrong here?

Thanks

Marcus

PS Working with 10.1


Hi All,

I figured it out what my problem was. Had to do with data types passed to submodel. It was supposed to be a feature layer and I was passing a feature class. That was no problem in arcmap but did´nt work for arcgis server.

Thanks anyway!
0 Kudos