"Internal Komodo Error" on Komodo 9 Launch

Hi. I’ve been using Komodo 8 for awhile and I just bought Komodo 9 Personal today. I installed it (Mac OS X latest everything) and immediately got an “Internal Komodo Error” dialog. It says I can help make Komodo better by reporting it and it says to “please include the following text”, but that text box is empty.

If I click “OK”, the box just reappears. I must’ve tried 100 times, and nothing. I had to quit from the dock.

I restarted it and it was ok, but man… it seemed slow… much slower than Komodo 8. Everything my system was so slow I had to reboot. (I checked for memory use, processes, CPU… nothing looked out of the ordinary.)

So I rebooted, but now I get that error again and even restarting Komodo doesn’t fix it.

I just popped into these forums right now and saw the link to the nightly build and I installed 9.0.1, but that doesn’t fix it either. So Komodo 9 is unusable for me. Any ideas on what to do next?

Here’s an image of the popup. The small empty box on top appears when I choose “quit” from the Komodo menu.

Thanks,
Brian

Could you post your error log? Help > Troubleshooting > View Log File.

I just opened up Komodo 9 again to see if I could access this menu. (I was thinking I wouldn’t be able to since that error window popped up and the only menu item available was the “Komodo” menu. Anyway this time Komodo actually started up no prob! I have no idea what changed. I tried opening / rebooting / etc. so many times the other day…

Anyway I looked at that error log but it looks like it’s only the most recent launch, so I think whatever was happening before was lost.

So at this point I guess it’s ok? I’ll grab and post that error log if it does this again.

I have what might be the same issue, this is what showed up in my Console:

4/12/15 11:00:36.208 AM komodo[6305]: NSWindow warning: adding an unknown subview: 
4/12/15 11:00:36.212 AM komodo[6305]: Call stack:
(
	0   AppKit                              0x00007fff8364864d -[NSThemeFrame addSubview:] + 107
	1   AppKit                              0x00007fff8364813f -[NSView addSubview:positioned:relativeTo:] + 208
	2   XUL                                 0x000000010c63ad6a -[BaseWindow setContentView:] + 106
	3   AppKit                              0x00007fff836347db -[NSWindow initWithContentRect:styleMask:backing:defer:] + 45
	4   XUL                                 0x000000010c639b9b -[BaseWindow initWithContentRect:styleMask:backing:defer:] + 107
)
4/12/15 11:00:49.192 AM komodo-bin[6312]: WARNING: The Gestalt selector gestaltSystemVersion is returning 10.9.3 instead of 10.10.3. Use NSProcessInfo's operatingSystemVersion property to get correct system version number.
Call location:
4/12/15 11:00:49.200 AM komodo-bin[6312]: 0   CarbonCore                          0x00007fff8a3562b7 ___Gestalt_SystemVersion_block_invoke + 113
4/12/15 11:00:49.200 AM komodo-bin[6312]: 1   libdispatch.dylib                   0x00007fff8bb1cc13 _dispatch_client_callout + 8
4/12/15 11:00:49.200 AM komodo-bin[6312]: 2   libdispatch.dylib                   0x00007fff8bb1cb26 dispatch_once_f + 117
4/12/15 11:00:49.200 AM komodo-bin[6312]: 3   CarbonCore                          0x00007fff8a2df456 _Gestalt_SystemVersion + 987
4/12/15 11:00:49.200 AM komodo-bin[6312]: 4   CarbonCore                          0x00007fff8a2de6e3 Gestalt + 144
4/12/15 11:00:49.200 AM komodo-bin[6312]: 5   XUL                                 0x0000000101914151 _ZN23nsNativeAppSupportCocoa5StartEPb + 33
4/12/15 11:00:49.890 AM komodo-bin[6312]: *** WARNING: Method userSpaceScaleFactor in class NSWindow is deprecated on 10.7 and later. It should not be used in new applications. Use convertRectToBacking: instead. 

Thanks @aclark, that helps a little bit but not enough to narrow down the problem.

If anyone has the problem again please copy your error log before restarting Komodo, you can find your error log (pystderr.log) here.

I don’t know whether this was actually the solution, but I deleted ~/Library/Application Support/KomodoEdit/9.0 and things ran okay after that.

I am having the same issue. It occurs whenever I restart Komodo IDE 9. (Note: I also migrated from Komodo IDE 8 as mentioned by original poster.) Below is a log. I force quit the app to get going again and make sure to not allow Komodo to restore previous windows/documents; otherwise, the same error occurs.

[2015-04-17 08:49:46,615] [INFO] Startup: Welcome to Komodo IDE 9.0.0 build 87165 (platform macosx, running on Darwin 14.3.0 version Darwin Kernel Version 14.3.0: Mon Mar 23 11:59:05 PDT 2015; root:xnu-2782.20.48~5/RELEASE_X86_64)
[2015-04-17 08:49:46,615] [INFO] Startup: /Applications/Komodo IDE 9.app/Contents/MacOS/komodo built on Tue Mar 24 18:39:57 2015
[2015-04-17 08:49:46,751] [WARNING] koInitService: Unable to determine the current locale settings, defaulting to mac-roman
[2015-04-17 08:49:47,199] [WARNING] console-logger: mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create (1) in resource://gre/modules/Preferences.jsm:381
[2015-04-17 08:49:47,200] [WARNING] console-logger: Bootstrapped manifest not allowed to use 'component' directive. (1) in file:///Applications/Komodo%20IDE%209.app/Contents/Resources/extensions/scope-files@activestate.com/components/component.manifest:1
[2015-04-17 08:49:47,201] [WARNING] console-logger: Bootstrapped manifest not allowed to use 'contract' directive. (1) in file:///Applications/Komodo%20IDE%209.app/Contents/Resources/extensions/scope-files@activestate.com/components/component.manifest:2
[2015-04-17 08:49:47,201] [WARNING] console-logger: Bootstrapped manifest not allowed to use 'interfaces' directive. (1) in file:///Applications/Komodo%20IDE%209.app/Contents/Resources/extensions/scope-files@activestate.com/components/component.manifest:3
[2015-04-17 08:49:47,245] [WARNING] console-logger: Expected end of value but found 'solid'.  Error in parsing value for 'border-width'.  Declaration dropped. (1) in chrome://global/skin/global.css:2316
[2015-04-17 08:49:47,285] [WARNING] console-logger: Expected end of value but found 'solid'.  Error in parsing value for 'border-width'.  Declaration dropped. (1) in chrome://global/skin/global.css:2316
[2015-04-17 08:49:47,314] [WARNING] root: ko.logging has been converted to a CommonJS module; use require("ko/logging") instead (since Komodo 9.0.0a1).
    @chrome://komodo/content/komodo.js:15:1

[2015-04-17 08:49:47,618] [WARNING] console-logger: Unknown property 'border-radius-top-left'.  Declaration dropped. (1) in less://commando/skin/commando.less:18
[2015-04-17 08:49:47,618] [WARNING] console-logger: Unknown property 'border-radius-top-right'.  Declaration dropped. (1) in less://commando/skin/commando.less:19
[2015-04-17 08:49:48,072] [WARNING] console-logger: mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create (1) in file:///Applications/Komodo%20IDE%209.app/Contents/Resources/components/koamAddonManager.js:138
[2015-04-17 08:49:48,834] [WARNING] koLanguageServiceBase.indenting: Found non-positive guess of 0 (min 1)
[2015-04-17 08:49:48,958] [WARNING] koLanguageServiceBase.indenting: Found non-positive guess of 0 (min 1)
[2015-04-17 08:49:49,303] [WARNING] koLanguageServiceBase.indenting: Found non-positive guess of 0 (min 1)
[2015-04-17 08:49:50,945] [WARNING] root: ko.logging has been converted to a CommonJS module; use require("ko/logging") instead (since Komodo 9.0.0a1).
    @chrome://komodo/content/komodo.js:15:1

[2015-04-17 08:49:51,502] [WARNING] root: ko.findresults was already loaded, re-creating it.

[2015-04-17 08:49:51,511] [WARNING] console-logger: Unknown property 'border-radius-top-left'.  Declaration dropped. (1) in less://commando/skin/commando.less:18
[2015-04-17 08:49:51,512] [WARNING] console-logger: Unknown property 'border-radius-top-right'.  Declaration dropped. (1) in less://commando/skin/commando.less:19
[2015-04-17 08:49:51,782] [ERROR] console-logger: TypeError: Argument 2 of EventTarget.addEventListener is not an object. (2) in chrome://todo/content/todo-ko7.js:582
Traceback (most recent call last):
  File "chrome://todo/content/todo-ko7.js", line 582, in 

[2015-04-17 08:49:52,047] [DEBUG] places_js: waiting for document complete
[2015-04-17 08:49:52,850] [WARNING] koLanguageServiceBase.indenting: Found non-positive guess of 0 (min 1)
[2015-04-17 08:49:53,380] [WARNING] root: ko.findresults was already loaded, re-creating it.

[2015-04-17 08:49:53,400] [DEBUG] places_js: waiting for document complete
[2015-04-17 08:49:53,480] [ERROR] peMenu: 
-- EXCEPTION START --
TypeError: this.manager is undefined
+ stack
    this.getCustomMenus@chrome://komodo/content/toolbox/toolbox2.js:574:5
    this.onToolboxLoaded@chrome://komodo/content/project/peMenu.js:367:13
    peMenu.prototype.observe_aux@chrome://komodo/content/project/peMenu.js:122:17
    peMenu.prototype.observe/<@chrome://komodo/content/project/peMenu.js:63:17
-- EXCEPTION END --
[2015-04-17 08:49:53,480] [ERROR] peMenu: 
-- EXCEPTION START --
TypeError: this.manager is undefined
+ stack
    this.getCustomMenus@chrome://komodo/content/toolbox/toolbox2.js:574:5
    this.onToolboxLoaded@chrome://komodo/content/project/peMenu.js:367:13
    peMenu.prototype.observe_aux@chrome://komodo/content/project/peMenu.js:122:17
    peMenu.prototype.observe/<@chrome://komodo/content/project/peMenu.js:63:17
-- EXCEPTION END --
[2015-04-17 08:49:53,692] [ERROR] codeintel.komodo.KoCodeIntelManager: Error reading data from codeintel
Traceback (most recent call last):
  File "/Applications/Komodo IDE 9.app/Contents/Resources/components/koCodeIntel.py", line 1174, in run
    self.handle(response)
  File "/Applications/Komodo IDE 9.app/Contents/Resources/python/xpcom/components.py", line 263, in wrapperFn
    threadMgr.mainThread.dispatch(method, dispatch_flags)
  File "<XPCOMObject method 'dispatch'>", line 3, in dispatch
Exception: 2147500037 (NS_ERROR_FAILURE)

Thanks @rcrowleyii - could you please open a bug for this?