Re: Komodo can't access Safari or Firefox

Trent Mick <[email protected]>
Newsgroups gmane.comp.ide.komodo.general
Message-ID <[email protected]>
>> 2. Can you add the following debugging print to koWebbrowser.py in your
>> Komodo and retry:
>>
>>> Index: C:\trentm\as\komodo\src\components\koWebbrowser.py
>>> ===================================================================
>>> --- koWebbrowser.py	(revision 26548)
>>> +++ koWebbrowser.py	(working copy)
>>> @@ -26,20 +26,21 @@
>>>
>>>
>>>  class KoWebbrowser(object):
>>>      _com_interfaces_ = [components.interfaces.koIWebbrowser]
>>>      _reg_clsid_ = "{7B361CD6-4426-4d23-86D6-B6F8E0FCDA20}"
>>>      _reg_contractid_ = "@activestate.com/koWebbrowser;1"
>>>      _reg_desc_ = "Komodo Default Webbrowser Service"
>>>
>>>      def _spawn(self, command):
>>>          """Spawn the given command (or argv) and return true iff
>> successful"""
>>> +        print "XXX koWebbrowser._spawn(command=%r)" % (command,)
>>>          try:
>>>              env = koprocessutils.getUserEnv()
>>>          except ServerException, ex:
>>>              log.error(str(ex))
>>>              return 1
>>>          try:
>>>              process.ProcessOpen(command, env=env, stdin=None,
>> stdout=None,
>>>                                  stderr=None)
>>>              return 1
>>>          except process.ProcessError, ex:
>>
>> Then look for that output in the log?
>>
>> What I expect it to show is that a command something like:
>>
>>    ["open", "-a", "/Applications/Firefox.app", "... escaped URL ..."]
>>

> 
> 2. I made the change you suggested to koWebbrowser.py after having located
> it on my Mac. I'm attaching the part of the error log that appears when I
> set Firefox as my browser and then try to access the ActiveState website
> from the Help menu. Hope this gives you what you want although I don't see
> what you were expecting.

Eric,

That "print" output would have appeared in pystdout.log, could you 
attach that file?

Thanks,
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.