Re: Komodo can't access Safari or Firefox

Trent Mick <[email protected]>
Newsgroups gmane.comp.ide.komodo.general
Message-ID <[email protected]>
[Eric Robertson gets this in pystderr.log when try to open a browser in 
komodo on Mac OS X]
> 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
>     if sys.platform == 'darwin':
>   File "/Applications/Komodo IDE.app/Contents/MacOS/components/koWebbrowser.py", line 34, in _spawn
>     process.ProcessOpen(command, env=env, stdin=None, stdout=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


[Trent]
>>>> What I expect it to show is that a command something like:
>>>>
>>>>    ["open", "-a", "/Applications/Firefox.app", "... escaped URL ..."]
>>>>

[Eric Robertson]
> I started up Komodo, with Safari set as the default browser, tried to access
> the ActiveState website from the Help menu, getting the error message, and
> then closed down Komodo. I'm attaching the pystdout.log file that contains
> the line that you were expecting.

[from the pystdout.log]
> XXX koWebbrowser._spawn(command=['open', '-a', u'/Applications/Firefox.app', 'http://www.ActiveState.com/'])


Hrm. That is basically what I expected to see.
I've started http://bugs.activestate.com/show_bug.cgi?id=82470 for this.


Trent

-- 
Trent Mick
trentm at activestate.com
_______________________________________________
Komodo-discuss mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Other options: http://listserv.ActiveState.com/mailman/listinfo/Komodo-discuss
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.