ActiveState Community

Komodo IDE version 4.3.1 will not start

Posted by clinthelton on 2008-04-14 12:16

Help! Komodo won't start up when I try to run it. I recently updated 4.2 to 4.3.1 on my W2k-Sp4 box. Version 4.2 worked but not sure if 4.3.1 ever ran (I use 4.3.1 on an XP machine at work. I'm at home today so it could be the first time I've tried running 4.3.1 here).

I've tried invoking Komodo 4.3.1 from the Programs list and the Run dialog box, but nothing happens that I can see. Sometimes "SysFader" flashes briefly in the Task Manager Applications list, but Komodo never appears nor does it appear in the process list. Event viewer and Dr. Watson show nothing. I've also tried the repair option in the Add/Remove Programs list and closed as many apps as possible ...all to no avail.

I've still got v4.0.2 and it seems to work fine.

Any ideas?

Thanks!
Clint

toddw | Mon, 2008-04-14 14:08

Hi Clint,

Try running Komodo in verbose mode to see why it will not start:

komodo -v

Also, you can find Komodo's log file details here:
http://community.activestate.com/faq/komodo-file-locations#log_files

As a last resort, you can try resetting your Komodo profile:
http://community.activestate.com/faq/komodo-file-locations#pref_reset

Cheers,
Todd

clinthelton | Mon, 2008-04-14 15:43

Todd,
Thanks for responding! Console.log shows this:

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
*** Console log: 2008-04-14 17:23:31 ***
[JavaScript Error: "Components.classes['@activestate.com/koInitService;1'] has no properties" {file: "file:///C:/Program%20Files/ActiveState%20Komodo%20IDE%204.2/lib/mozilla/components/asCommandLineHandler.js" line: 67}]
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

Line 67 of the referenced file indicates that this try-block is failing. ...some kind of Javascript error?:

function komodoPlatformInit() {
try {
const loader = Components.classes["@mozilla.org/moz/jssubscript-loader;1"]
getService(Components.interfaces.mozIJSSubScriptLoader);
loader.loadSubScript('chrome://komodo/content/library/logging.js');
} catch(e) {
dump(e+"\n");
}

Also, here is the contents of my startup.log file. I didn't see anything suspicious here, but maybe you'll know better. If you don't see anything else I can try, I'll try resetting my profile.

Thanks,again!
Clint

komodo: debug: Komodo information:
komodo: debug: Version: Komodo IDE 4.3.0 (Build 15901)
komodo: debug: OS type: Windows 2000
komodo: debug: Komodo startup options:
komodo: debug: nFiles: 0
komodo: debug: mutex name: 'komodo-4.3-mutex'
komodo: debug: acquired mutex: handle=0x2f4
komodo: debug: running lock name: 'komodo-ide-4.3-running'
komodo: debug: No current running Komodo - Ok: handle=0x2f0
komodo: debug: commandments file name: 'C:\Documents and Settings\Clint Helton\Application Data\ActiveState\KomodoIDE\4.3\host-clintech\commandments.txt'
komodo: debug: commandments lock name: 'komodo-ide-4.3-commandments-lock'
komodo: debug: commandments event name: 'komodo-ide-4.3-new-commandments'
komodo: debug: saving startup environment...
komodo: debug: startup env name: 'C:\Documents and Settings\Clint Helton\Application Data\ActiveState\KomodoIDE\4.3\host-clintech\startup-env.tmp'
komodo: debug: writing out startup environment
komodo: debug: setting up environment for XRE launch...
komodo: debug: setting XRE_PROFILE_PATH=C:\Documents and Settings\Clint Helton\Application Data\ActiveState\KomodoIDE\4.3\host-clintech\XRE
komodo: debug: setting _XRE_USERAPPDATADIR=C:\Documents and Settings\Clint Helton\Application Data\ActiveState\KomodoIDE\4.3\host-clintech\XRE
komodo: debug: setting KOMODO_HOSTNAME=clintech
komodo: debug: setting _KOMODO_VERUSERDATADIR=C:\Documents and Settings\Clint Helton\Application Data\ActiveState\KomodoIDE\4.3\
komodo: debug: setting _KOMODO_HOSTUSERDATADIR=C:\Documents and Settings\Clint Helton\Application Data\ActiveState\KomodoIDE\4.3\host-clintech\
komodo: debug: setting KOMODO_VERBOSE=1
komodo: debug: startup argv for XRE:
komodo: debug: argv[0] = 'C:\Program Files\ActiveState Komodo IDE 4.2\lib\mozilla\komodo.exe'
komodo: debug: argv[1] = '-console'

toddw | Tue, 2008-04-15 11:57

Definitely with the above error Komodo cannot start. It seems to have been due to a component registration problem. To fix this, try the following:

1) delete the two component registration files "comreg.dat" and "xpti.dat" from the profile directory:

del "C:\Documents and Settings\Clint Helton\Application Data\ActiveState\KomodoIDE\4.3\host-clintech\XRE\*.dat"

2) restart Komodo (will then re-register all the available components)

Does this fix the problem?

Thanks,
Todd

clinthelton | Tue, 2008-04-15 19:51

Todd,
Alas. It did not work. Got the same error. I saved off the original *.dat files and they were regenerated identically.

Thanks,
Clint

toddw | Tue, 2008-04-15 21:51

Hi Clint,

It may have be something with a corrupt download/install (although I'm doubtful, as an msi installer should be doing md5/crc file integrity checking already).

Can you try uninstalling the 4.3.1 release and then downloading and installing the 4.3.2 release (we just released this today):
http://downloads.activestate.com/Komodo/releases/4.3.2/

Thanks,
Todd