[issue8936] webbrowser regression on windows

anatoly techtonik report at bugs.python.org
Tue Jun 8 08:25:22 CEST 2010


anatoly techtonik <techtonik at gmail.com> added the comment:

webbrowser.open("%s:%s" % (HOST,PORT))
  File "C:\Python25\lib\webbrowser.py", line 61, in open
    if browser.open(url, new, autoraise):
  File "C:\Python25\lib\webbrowser.py", line 518, in open
    os.startfile(url)
WindowsError: [Error -2147217406] Windows Error 0x80041002: '127.0.0.1:8080'


I do not mind if new Python would handle this exception correctly, but it doesn't launching wrong browser. If I specify "http://" prefix - the Chrome launched as expected. Note that if "127.0.0.1:8080" is executed from shell (search menu or run dialog) - IE is not started by Vista.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8936>
_______________________________________


More information about the Python-bugs-list mailing list