ActiveState Community

Komodo beta fails on 10.6 Snow Leopard

Posted by nat on 2009-08-28 16:58
OS: OS X

I just tried installing Komodo IDE 5.2.0 Alpha 1 on Max OS 10.6 and it fails. When I load the app, the toolbar is messed up, I can't create files and I can't quit... Let me know if I can provide logs and such.

Nat

ericp | Mon, 2009-08-31 11:01

From my twitter feed it looks like Komodo isn't the only app
that fails on 10.6 -- upgrade plans are in the works.

- Eric

toddw | Mon, 2009-08-31 14:34

Hi Nat,

I've just installed Komodo IDE 5.2.0a1 on Snow Leopard - and everything appears to be working correctly.

Can you try using a completely fresh Komodo profile, you can do this by shutting down all Komodo instances, renaming the "~/Libary/Application Support/KomodoIDE" folder to "KomodoIDE-backup" and then starting Komodo.

Also, if things do not work, shutdown Komodo and check the error logs at:
http://community.activestate.com/faq/komodo-file-locations#log_files

Cheers,
Todd

nat | Mon, 2009-08-31 18:55

Hello tried as suggested and it worked. I suspect I had permission problems on my disk. Thanks !

letsgofast | Wed, 2009-09-30 01:48

Greetings,

I have recently installed Snow Leopard onto my MacBook Pro. I am currently using Komodo IDE 4.4 - everything with that version seems to work correctly on Snow Leopard. I am also demo'ing Komodo IDE 5.2 and I am running into some problems. I currently have version v4.4 install in /Applications and have v5.2 install in /Users/username/software/Komodo/. When trying to start v5.2 from the Terminal command line with "/Users/username/software/Komodo/Komodo IDE.app/Contents/MacOS/komodo" I get the following error and a crash of komodo-bin:
Referenced from: /System/Library/Frameworks/Security.framework/Versions/A/Security
Reason: Incompatible library version: Security requires version 9.0.0 or later, but libsqlite3.dylib provides version 1.0.0
./run-mozilla.sh: line 131: 21947 Trace/BPT trap "$prog" ${1+"$@"}

My install is pretty much a stock Snow Leopard (i.e. I have not installed a newer or different version of Sqlite). If I run v4.4 from the command line everything runs correct Komodo IDE 4.4 startup correctly.

Any information you can give me to solve this problem will be helpful.

Thanks

toddw | Wed, 2009-09-30 12:29

This seems to be an environment/mozilla related problem that also affects Komodo, there are details in this bug here:
https://bugzilla.mozilla.org/show_bug.cgi?id=513747

You should still be able to run Komodo from the icon/dock okay, or you can call "komodo-bin" from the command line.

Cheers,
Todd

letsgofast | Wed, 2009-09-30 14:44

Thank you for the reply. I can startup Komodo-bin from the command line with no problems. Does anyone know if there will be any limited functionality in Komodo 5.2 if you start it up without going thru the Komodo script. I tried to go through that script to see what is initialized but to be honest much of the Mozilla environment variables are foreign to me.

toddw | Wed, 2009-09-30 16:11

On the Mac I don't think there is too much of importance in the "komodo" or "firefox" setup scripts - seems to work fine when using "komodo-bin" instead.

letsgofast | Wed, 2009-09-30 18:40

I can startup Komodo-bin by issuing "/Users/username/software/Komodo/Komodo IDE.app/Contents/MacOS/komodo-bin"
But if I put a symlink in /Users/username/bin for komodo-bin that links to "/Users/username/software/Komodo/Komodo IDE.app/Contents/MacOS/komodo-bin" and then try to run a Terminal command of: komodo-bin I get a crash of komodo-bin

error setting as front process: -606!
Could not find platform independent libraries
Could not find platform dependent libraries
Consider setting $PYTHONHOME to [:]
'import site' failed; use -v for traceback
Traceback (most recent call last):
File "", line 1, in
ImportError: No module named site
The directory '/Users/micah/software/Komodo/Komodo IDE.app/Contents/MacOS/python' could not be added as a site directory
Obtaining the module object from Python failed.

Traceback (most recent call last):
cant import cStringIO
: No module named os
Obtaining the module object from Python failed.

Traceback (most recent call last):
cant import cStringIO
: No module named os

I think the short term solution will be to edit run-mozilla.sh and edit DYLD_LIBRARY_PATH so that /usr/lib will be first.