AnsweredAssumed Answered

Python: Importing and using tools quit working.

Question asked by Randy_NRG on Nov 6, 2015
Latest reply on Nov 9, 2015 by Randy_NRG

I have a script tool that uses several custom tools. It used to work fine, and now fails. Our network was recently massively upgraded, and if this is the issue, than this forum is not the place to solve the problem, but the network drives, etc.. are the same, and all my other data, mxds, etc... are not having trouble being found or working like they used to...


I cannot use arcpy.ImportToolbox. I get an error:

EOL while scanning string literal (NRG Tools.tbx, line


When I use gp.AddToolbox, the toolbox loads, but it can't find the tool:


Can't find tool (Int2SingPt_nrgtools.)


I would appreciate help troubleshooting. I have no idea how to find out what's wrong with line 602 in my toolbox. I actually tried opening it in Word.


I also do not know why it can't find the tool specified. The tool is correctly spelled as is the alias. Basically no tools in this toolbox can be found anymore. The toolbox itself is found and loaded. I get a very clear error if I enter the wrong name/path for the toolbox.


Thank you for any help you may be able to provide.