OH I’m sorry, no, they are not. The only way to get this debug output to work is to edit the tool.js file referenced in the errors. Before we do that, can you confirm that the State Tool button in the UI is actually broken? That’s what those commands are attempting to do. All the steps I’ve had you do to see if the state tool integration is broken are showing that it’s working so I suspect that those errors are just red herrings.
See screenshot below. Click on that button and see if your scripts are listed and menu options like Add Script is present.
Add a State Tool Script ? When I choose Add A Script the editor opens the activestate.yaml file and adds another script entry. I entered helloWorld.which already has previous entries.
If I then choose the menu option “Run command,” choose Activate, and provide the org/Project arguments a CMD.exe window opens and suggests things worked.
OH, Hmm, so those scripts don’t show up in that menu button though? Note in my screenshot that there are a bunch of additional menu items. Those are scripts in our AS.yaml file. If the scripts in your AS.yaml file are not showing up in that menu then let’s try the log.setLevel step then open that menu. Opening the menu should trigger at least some of failing commands you’re seeing in your logs at start up.
Thanks for your help.
Here’s the last few log updates:
2021-12-01 17:11:19,838] [ERROR] projectManager:
– EXCEPTION START –
TypeError: project is undefined
stack
projectManager.prototype.revertProject@chrome://komodo/content/project/projectManager.js:702:9
_view_checkDiskFiles@chrome://komodo/content/views.js:2836:25
– EXCEPTION END –
ERROR:xpcom:Unhandled exception calling ‘int8 * getIndexByPart(in nsISomething, out retval int32);’
Traceback (most recent call last):
File “C:\Program Files (x86)\ActiveState Komodo IDE 12\lib\mozilla\python\xpcom\server\policy.py”, line 303, in CallMethod
return 0, func(*params)
File “C:\Program Files (x86)\ActiveState Komodo IDE 12\lib\mozilla\components\koKPFTreeView.py”, line 575, in getIndexByPart
return self._getIndexByPart(UnwrapObject(part))
File “C:\Program Files (x86)\ActiveState Komodo IDE 12\lib\mozilla\components\koKPFTreeView.py”, line 565, in _getIndexByPart
return nodes.index(part)
File “C:\Program Files (x86)\ActiveState Komodo IDE 12\lib\mozilla\components\koProject.py”, line 1129, in repr
len(self.children), self._attributes[“id”])
AttributeError: ‘koProject’ object has no attribute ‘children’
[2021-12-01 17:11:19,852] [ERROR] projectManager:
– EXCEPTION START –
[Exception… “Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [koIKPFTreeView.getIndexByPart]” nsresult: “0x80004005 (NS_ERROR_FAILURE)” location: “JS frame :: chrome://komodo/content/project/projectManager.js :: projectManager.prototype.closeProjectEvenIfDirty_SingleProjectView :: line 212” data: no]
toString (function) 3 lines
message (string) ‘Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [koIKPFTreeView.getIndexByPart]’
Thanks. No luck, errors still happen on startup. I will close out this thread and start another one on setup of Perl Language in Komodo for ActiveState Perl to replace Strawberry Perl. It seems to involve the State Tool.