[issue30392] default webbrowser fails on macOS Sierra 10.12.5

Kevin Ballard report at bugs.python.org
Fri Jun 2 00:26:50 EDT 2017


Kevin Ballard added the comment:

There is a potential workaround that could be used so that way macOS 10.12.5 works. It turns out that, with osascript, if you catch the error and try again, it works.

$ osascript <<EOF
> try
> open location "http://apple.com"
> on error
> open location "http://apple.com"
> end try
> EOF

----------
nosy: +Kevin Ballard
status: pending -> open

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


More information about the Python-bugs-list mailing list