Re: Komodo can't access Safari or Firefox

"Eric Robertson" <[email protected]>
Newsgroups gmane.comp.ide.komodo.general
Message-ID <3B717B04B8A6428990840EE645E2A4C3@Time>
>-----Original Message-----
>From: Trent Mick [mailto:[email protected]]
>Sent: Monday, March 23, 2009 5:30 PM
>To: Eric Robertson
>Cc: [email protected]
>Subject: Re: [Komodo-discuss] Komodo can't access Safari or Firefox
>
>[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/sub
>process.py", line 595, in __init__
>>     errread, errwrite)
>>   File "/Applications/Komodo
>IDE.app/Contents/Frameworks/Python.framework/Versions/2.6/lib/python2.6/sub
>process.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

Note what you say, thanks.

Eric R


_______________________________________________
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.