Re: webbrowser module's Firefox support

2006-09-24 Thread Dustan
> > This is a bug, and has now been fixed in SVN. As a workaround, you can > edit the webbrowser.py file and remove the close_fds and preexec_fn arguments > to Popen. > > Georg Finally! It's working. Thank you so much! -- http://mail.python.org/mailman/listinfo/python-list

Re: webbrowser module's Firefox support

2006-09-24 Thread Georg Brandl
Dustan wrote: > MonkeeSage wrote: >> Dustan wrote: >> > I did do a search here, but came up empty-handed. Can anyone tell me >> > how to get the webbrowser module to recognize firefox's existence, >> > given this information? >> >> Looks like it is checking %PATH% for firefox.exe. Try: >> >> >>> im

Re: webbrowser module's Firefox support

2006-09-23 Thread Dustan
MonkeeSage wrote: > Dustan wrote: > > That didn't work either. > > Well, I'm out of ideas. It's also odd that it was being read as > webbrowser.BackgroundBrowser...whatever that is! It should have been > webbrowser.Mozilla. Thanks anyway; you have helped me tremendously. I'm sure I'll get somewhe

Re: webbrowser module's Firefox support

2006-09-23 Thread MonkeeSage
Dustan wrote: > That didn't work either. Well, I'm out of ideas. It's also odd that it was being read as webbrowser.BackgroundBrowser...whatever that is! It should have been webbrowser.Mozilla. > Another thing: your fix is only temporary. Is there a way to make it > work even after I close IDLE?

Re: webbrowser module's Firefox support

2006-09-23 Thread Dustan
MonkeeSage wrote: > Dustan wrote: > > >>> cont=webbrowser._browsers['firefox'][1] > > Why not use the api? cont=webbrowser.get('firefox') That didn't work either. > > ValueError: close_fds is not supported on Windows platforms > > > > Looking in the docs on subprocess.Popopen > > (http://docs.py

Re: webbrowser module's Firefox support

2006-09-23 Thread MonkeeSage
Dustan wrote: > >>> cont=webbrowser._browsers['firefox'][1] Why not use the api? cont=webbrowser.get('firefox') > ValueError: close_fds is not supported on Windows platforms > > Looking in the docs on subprocess.Popopen > (http://docs.python.org/lib/node529.html), it says "If close_fds is > true,

Re: webbrowser module's Firefox support

2006-09-23 Thread Dustan
MonkeeSage wrote: > Dustan wrote: > > I did do a search here, but came up empty-handed. Can anyone tell me > > how to get the webbrowser module to recognize firefox's existence, > > given this information? > > Looks like it is checking %PATH% for firefox.exe. Try: > > >>> import os > >>> os.enviro

Re: webbrowser module's Firefox support

2006-09-23 Thread MonkeeSage
Dustan wrote: > I did do a search here, but came up empty-handed. Can anyone tell me > how to get the webbrowser module to recognize firefox's existence, > given this information? Looks like it is checking %PATH% for firefox.exe. Try: >>> import os >>> os.environ["PATH"] = r"C:\Program Files\Mozi