I have this same problem with 3 custom tools I built (and they each successfully run on their own), but when I try to call them from another script tool they fail. I always get the same error on either the first, second, or final tool it tries to run.
[INDENT]<type 'exceptions.AttributeError'>: Object: Tool or environment <GenerateAttributePoints_GeoreadinessTransTools> not found
Failed to execute (gisToCadCombo).[/INDENT]
GenerateAttributePoints_GeoreadinessTransTools <-- This is the correct name and toolbox that my tool exists within. I also use gp.addtoolbox() to add my custom toolbox to the geoprocessor when the script runs.
I have been up down and sideways trying to figure out why it can't find my tools. Worse yet, the behavior is very inconsistent. It fails the least on the first tool, often on the second tool, and 99% on the final tool.
What the heck?!!
I'm building and testing this all on the same machine.
I've even tried starting ArcCatalog with administrator privileges.
I've checked all paths, aliases, tool names, etc. etc. ad nauseum.
Anybody have any clues? Tearing my hair out over this one.
Thanks,
Jeremiah