Hello!
I’m a reasonably long time Komodo Edit user who decided to give the Komodo IDE 11 trial a go. However, I’m finding that Komodo IDE isn’t loading the toolbox widget so I can’t add any commands to, for example - run the script through python. I checked my pystderr.log and found this exception:
[2017-10-03 10:54:04,637] [WARNING] keybindings: [Ctrl+0] was used for 'cmd_goToQuickBookmark_0', overriding to use 'cmd_fontZoomReset'
[2017-10-03 10:54:05,296] [DEBUG] ko.launch: versioncheck on http://docs.komodoide.com/changelog/11
[2017-10-03 10:54:05,572] [INFO] koInitService: Adding pre startup service for 'koFileStatusService': '@activestate.com/koFileStatusService;1'
[2017-10-03 10:54:06,040] [INFO] komodospellchecker: Spell checker loaded.
[2017-10-03 10:54:06,042] [INFO] komodospellchecker: Using dictionary en-US
[2017-10-03 10:54:06,167] [INFO] elastic_tabstops: Elastic tabstops loaded.
[2017-10-03 10:54:06,243] [INFO] codeintel/process: Starting CodeIntel
[2017-10-03 10:54:06,246] [DEBUG] codeintel/process: PYTHONPATH: C:\Program Files (x86)\ActiveState Komodo IDE 11\lib\python\..\lib\python2.7;C:\Program Files (x86)\ActiveState Komodo IDE 11\lib\support\dbgp\pythonlib;C:\Program Files (x86)\ActiveState Komodo IDE 11\lib\mozilla\extensions\codeintel@activestate.com\content\..\pylib\codeintel\lib;C:\Program Files (x86)\ActiveState Komodo IDE 11\lib\mozilla\extensions\codeintel@activestate.com\content\..\pylib\codeintel\env\Lib\site-packages
[2017-10-03 10:54:09,170] [ERROR] koToolbox2Components: Error initializing toolboxes
Traceback (most recent call last):
File "C:\Program Files (x86)\ActiveState Komodo IDE 11\lib\mozilla\components\koToolbox2Components.py", line 158, in initialize
self.loadMainToolboxes()
File "C:\Program Files (x86)\ActiveState Komodo IDE 11\lib\mozilla\components\koToolbox2Components.py", line 176, in loadMainToolboxes
toolbox_id = self.toolboxLoader.loadToolboxDirectory("", stdToolboxDir, koToolbox2.DEFAULT_TARGET_DIRECTORY)
File "C:\Program Files (x86)\ActiveState Komodo IDE 11\lib\mozilla\python\komodo\koToolbox2.py", line 2063, in loadToolboxDirectory
os.path.walk(actualToolboxDir, self.walkFunc, False)
File "C:\Program Files (x86)\ActiveState Komodo IDE 11\lib\mozilla\..\python\lib\ntpath.py", line 263, in walk
walk(name, func, arg)
File "C:\Program Files (x86)\ActiveState Komodo IDE 11\lib\mozilla\..\python\lib\ntpath.py", line 259, in walk
func(arg, top, names)
File "C:\Program Files (x86)\ActiveState Komodo IDE 11\lib\mozilla\python\komodo\koToolbox2.py", line 1999, in walkFunc
existing_child_paths)
File "C:\Program Files (x86)\ActiveState Komodo IDE 11\lib\mozilla\python\komodo\koToolbox2.py", line 1961, in _testAndAddItem
new_id = self.db.addTool(data, data['type'], path, fname, parent_id)
File "C:\Program Files (x86)\ActiveState Komodo IDE 11\lib\mozilla\python\komodo\koToolbox2.py", line 843, in addTool
notifications = toolMethod(new_id, data, item_type, cu)
File "C:\Program Files (x86)\ActiveState Komodo IDE 11\lib\mozilla\python\komodo\koToolbox2.py", line 901, in _add_tutorial
cu.execute(stmt, (valueslist))
OperationalError: no such table: tutorial
ERROR:xpcom:Unhandled exception calling 'int8 * getStandardToolboxID(out retval int32);'
TypeError: int() argument must be a string or a number, not 'NoneType'
ERROR:xpcom:Unhandled exception calling 'int8 * initialize(in nsISomething);'
Traceback (most recent call last):
File "C:\Program Files (x86)\ActiveState Komodo IDE 11\lib\mozilla\python\xpcom\server\policy.py", line 303, in _CallMethod_
return 0, func(*params)
File "C:\Program Files (x86)\ActiveState Komodo IDE 11\lib\mozilla\components\koToolbox2HTreeView.py", line 232, in initialize
self._std_toolbox_id = self.toolbox2Svc.getStandardToolboxID()
File "<XPCOMObject method 'getStandardToolboxID'>", line 3, in getStandardToolboxID
Exception: 2147500037 (NS_ERROR_FAILURE)
-- EXCEPTION START --
[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [koIToolbox2HTreeView.initialize]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://komodo/content/toolbox/toolbox2.js :: Toolbox2Manager.prototype.initialize :: line 71" data: no]
+ toString (function) 3 lines
+ message (string) 'Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [koIToolbox2HTreeView.initialize]'
+ result (number) 2147500037
+ name (string) 'NS_ERROR_FAILURE'
+ filename (string) 'chrome://komodo/content/toolbox/toolbox2.js'
+ lineNumber (number) 71
+ columnNumber (number) 0
+ inner (object) null
| + data (object) null
| + stack (string) 'Toolbox2Manager.prototype.initialize@chrome://komodo/content/toolbox/toolbox2.js:71:4
this.onload@ch'...366 chars
+ location (object) JS frame :: chrome://komodo/content/toolbox/toolbox2.js :: Toolbox2Manager.prototype.initialize :: line 71
| + QueryInterface (function) 3 lines
| + language (number) 2
| + languageName (string) 'JavaScript'
| + filename (string) 'chrome://komodo/content/toolbox/toolbox2.js'
| + name (string) 'Toolbox2Manager.prototype.initialize'
| + lineNumber (number) 71
| + columnNumber (number) 4
| + sourceLine (string) ''
| + caller (object) JS frame :: chrome://komodo/content/toolbox/toolbox2.js :: this.onload :: line 241
| + formattedStack (string) 'Toolbox2Manager.prototype.initialize@chrome://komodo/content/toolbox/toolbox2.js:71:4
this.onload@ch'...366 chars
| + stack
Toolbox2Manager.prototype.initialize@chrome://komodo/content/toolbox/toolbox2.js:71:4
this.onload@chrome://komodo/content/toolbox/toolbox2.js:241:4
window.onload/<@chrome://komodo/content/komodo.js:555:45
koWidgetManager__widgetLoadCallback@chrome://komodo/content/library/widgets.js:234:16
WidgetLoad_onStateChange@chrome://komodo/content/bindings/pane.xml:2456:14
-- EXCEPTION END --
I’ve tried uninstalling/reinstalling - but have now accepted that solving this issue is beyond me. Does anyone have any suggestions or ideas on what I could try? Despite coding entirely in python, I still far prefer Komodo to pyCharm and would love to see if IDE fills in some gaps with Edit.
Thanks!