Bugs item #1565661, was opened at 2006-09-26 11:33 Message generated for change (Comment added) made by gbrandl You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1565661&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Python Library Group: Python 2.5 >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: kangabroo (kangabroo) Assigned to: Nobody/Anonymous (nobody) Summary: webbrowser on gnome runs wrong browser Initial Comment: Epiphany is set as system default, but Firefox runs when webbrowser.open is called. in webbrowser.py - register_X_browsers(): 'gconftool-2 -g /desktop/gnome/url-handlers/http/command 2>/dev/null' returns 'epiphany %s' A BackgroundBrowser with a name of 'epiphany %s' is created. later on open(), subprocess.Popen(['epiphany %s', url], ....) is called. This throws an exception: OSError: [Errno 2] No such file or directory which is caught, and False is returned Solution: in webbrowser.py function register_X_browsers(), change: register("gnome", None, BackgroundBrowser(commd)) to register("gnome", None, BackgroundBrowser(commd.split())) System: Python 2.5, Linux 2.6.17, Gnome 2.14.2. ---------------------------------------------------------------------- >Comment By: Georg Brandl (gbrandl) Date: 2006-09-30 07:32 Message: Logged In: YES user_id=849994 Thanks for the report, fixed in rev. 52056, 52057 (2.5). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1565661&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com