Komodo can't access Safari or Firefox

"Eric Robertson" <[email protected]>
Newsgroups gmane.comp.ide.komodo.general
Message-ID <BD4244378D1E486CB766B5F57A86DF1E@Time>
I have Komodo 5.0.3 currently installed on my Mac but I can't get it to
access either of my two browsers. In Preferences it gives me the option of
choosing /Applications/Firefox.app or /Applications/Safari.app but
regardless of which one I pick when I try to use any of the entries in the
Help menu that require a browser I get the message, for example, "Could not
open the browser at /Applications/Firefox.app" which is very annoying. I'm
sending this message from my Windows PC.

For another application I found that since /Applications/Firefox.app is just
a package in the Mac that holds the executable I had to use the actual
location of the Firefox application for it to be able to access the browser.
I tried the same for Komodo but this too didn't work.

This problem has been with me for some time now - I think that all of the
earlier versions of Komodo have had this problem. I posted a message on this
list some time ago about this but have not had an answer. I'd be very
grateful if someone could explain why this is not working and how I correct
this.

I'm attaching what I think is the relevant entry in the pystderr.log:

Regards
Eric Robertson

_______________________________________________
Komodo-discuss mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Other options: http://listserv.ActiveState.com/mailman/listinfo/Komodo-discuss
pystderr.txt (text/plain, 2.2 KB)
ERROR:xpcom:Unhandled exception calling 'int8 open_new_browser(in wstring, in wstring, out retval boolean);'
Traceback (most recent call last):
  File "/Applications/Komodo IDE.app/Contents/MacOS/python/xpcom/server/policy.py", line 277, in _CallMethod_
    return 0, func(*params)
  File "/Applications/Komodo IDE.app/Contents/MacOS/components/koWebbrowser.py", line 167, in open_new_browser
    return self._spawn(["open", "-a", browser, self._escapeUrl(url)])
  File "/Applications/Komodo IDE.app/Contents/MacOS/components/koWebbrowser.py", line 34, in _spawn
    stderr=None)
  File "/Applications/Komodo IDE.app/Contents/MacOS/python/komodo/process.py", line 170, in __init__
    creationflags=flags)
  File "/Applications/Komodo IDE.app/Contents/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py", line 595, in __init__
    errread, errwrite)
  File "/Applications/Komodo IDE.app/Contents/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py", line 1106, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
ERROR: root: 
-- EXCEPTION START --
+ QueryInterface (function) 3 lines
+ message (string) 'OSError: [Errno 2] No such file or directory'
+ result (number) 2147500037
+ name (string) '_execute_child'
+ filename (string) '/Applications/Komodo IDE.app/Contents/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py'
+ lineNumber (number) 1106
+ columnNumber (number) 0
+ location (object) File "/Applications/Komodo IDE.app/Contents/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py", line 1106, in _execute_child
| + QueryInterface (function) 3 lines
| + language (number) 0
| + languageName (string) 'Python'
| + filename (string) '/Applications/Komodo IDE.app/Contents/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py'
| + name (string) '_execute_child'
| + lineNumber (number) 1106
| + sourceLine (string) 'raise child_exception'
| + caller (object) File "/Applications/Komodo IDE.app/Contents/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py", line 595, in __init__
| *
+ inner (object) null
| *
+ data (object) null
| *
*
-- EXCEPTION END --
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.