[issue30392] default webbrowser fails on macOS Sierra 10.12.5

2017-07-21 Thread Eric Huss
Changes by Eric Huss : -- nosy: +ehuss ___ Python tracker ___ ___ Python-bugs-list mailing

[issue30392] default webbrowser fails on macOS Sierra 10.12.5

2017-07-20 Thread Andrew Jaffe
Andrew Jaffe added the comment: 10.12.6 is out and the bug appears to be fixed... -- resolution: out of date -> third party status: pending -> closed ___ Python tracker

[issue30392] default webbrowser fails on macOS Sierra 10.12.5

2017-07-04 Thread Glyph Lefkowitz
Changes by Glyph Lefkowitz : -- status: open -> pending ___ Python tracker ___ ___

[issue30392] default webbrowser fails on macOS Sierra 10.12.5

2017-07-04 Thread Glyph Lefkowitz
Changes by Glyph Lefkowitz : -- nosy: +glyph status: pending -> open ___ Python tracker ___

[issue30392] default webbrowser fails on macOS Sierra 10.12.5

2017-06-02 Thread Ned Deily
Ned Deily added the comment: Thanks for the suggestion but, by the time we have released the next maintenance updates for all actively maintained Python versions, 10.12.6 will have long been released and, once it has been, any need to support the broken 10.12.5 release is dead. --

[issue30392] default webbrowser fails on macOS Sierra 10.12.5

2017-06-01 Thread Kevin Ballard
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 < try > open location "http://apple.com; > on error > open location

[issue30392] default webbrowser fails on macOS Sierra 10.12.5

2017-05-31 Thread Ned Deily
Ned Deily added the comment: Good news! Apple appears to have fixed the osascript regression in the most recent macOS 10.12.6 public beta (version 2). So I'm going to mark this issue as "pending fixed" until the official release of 10.12.6. -- resolution: -> out of date stage: ->

[issue30392] default webbrowser fails on macOS Sierra 10.12.5

2017-05-26 Thread Erik Simmler
Changes by Erik Simmler : -- nosy: +tgecho ___ Python tracker ___ ___ Python-bugs-list

[issue30392] default webbrowser fails on macOS Sierra 10.12.5

2017-05-25 Thread Ronald Oussoren
Ronald Oussoren added the comment: FWIW: The bug in osascript is still present in the current 10.12.6 beta (build 16G8c) -- ___ Python tracker ___

[issue30392] default webbrowser fails on macOS Sierra 10.12.5

2017-05-24 Thread Andrew Jaffe
Andrew Jaffe added the comment: I'll also note that my bug report (radar) has been marked as "DUPLICATE OF 31898264 (OPEN)". So Apple is aware of the bug, and possibly not completely ignoring it. However, the opacity of the system is such that there is no way to get any further information

[issue30392] default webbrowser fails on macOS Sierra 10.12.5

2017-05-23 Thread Andrew Jaffe
Andrew Jaffe added the comment: Yes, it's a weird bug. see http://www.andrewjaffe.net/blog/2017/05/python-bug-hunt.html for more of the story so far. I have already filed a radar, and I hope this will get fixed at Apple, but it's a bug we need to live with for a while one way or the other.

[issue30392] default webbrowser fails on macOS Sierra 10.12.5

2017-05-23 Thread Ronald Oussoren
Ronald Oussoren added the comment: This indeed appears to be a bug in osascript, the scriptlet still works when using the AppleScript Editor application, which means the AppleScript environment itself and browser scripting support still work. --

[issue30392] default webbrowser fails on macOS Sierra 10.12.5

2017-05-23 Thread Ronald Oussoren
Ronald Oussoren added the comment: The alternative to filing a RADAR is to just use the open command instead of osascript (basically what's suggested in msg293950 but directly using subprocess.check_call(["/usr/bin/open", ...]) instead of involving osascript). For 3.7 it might be useful to

[issue30392] default webbrowser fails on macOS Sierra 10.12.5

2017-05-22 Thread Ned Deily
Ned Deily added the comment: We should check whether the osascript regression is fixed in the most recent 10.12.6 Developer Preview and, if not, open a RADAR (Apple bug report). -- ___ Python tracker

[issue30392] default webbrowser fails on macOS Sierra 10.12.5

2017-05-22 Thread Dariusz Smigiel
Dariusz Smigiel added the comment: Rudi, Andrew I missed your replaces. This, indeed, looks like osascript bug. I don't think it's backward incompatible change, especially between 10.12.4 and 10.12.5 which would completely broke default behavior. --

[issue30392] default webbrowser fails on macOS Sierra 10.12.5

2017-05-22 Thread Dariusz Smigiel
Dariusz Smigiel added the comment: The same applies for latest build: Python 3.7.0a0 (heads/master:128641d17e, May 22 2017, 09:40:08) [GCC 4.2.1 Compatible Apple LLVM 8.1.0 (clang-802.0.42)] on darwin I can try to work on that. -- nosy: +dasm versions: +Python 3.7

[issue30392] default webbrowser fails on macOS Sierra 10.12.5

2017-05-22 Thread Alan Pierce
Changes by Alan Pierce : -- nosy: +alangpierce ___ Python tracker ___ ___

[issue30392] default webbrowser fails on macOS Sierra 10.12.5

2017-05-19 Thread Andrew Jaffe
Andrew Jaffe added the comment: This seems to be a bug in the `osascript` application in the latest macOS 10.12.5: $ osascript < open location "http://python.org; > EOF 0:33: execution error: "http://python.org; doesn’t understand the “open location” message. (-1708) --

[issue30392] default webbrowser fails on macOS Sierra 10.12.5

2017-05-18 Thread Rudi Grams
Rudi Grams added the comment: changing lines 594 and 623 in webbrowser.py (python 2.7.13) to avoid the broken 'open location' seems to solve the problem in idle . script = 'do shell script "open %s"' % url.replace('"', '%22') -- nosy: +Rudi Grams

[issue30392] default webbrowser fails on macOS Sierra 10.12.5

2017-05-18 Thread Andrew Jaffe
Andrew Jaffe added the comment: The same behaviour also happens under Apple's system Python 2.7.10. Perhaps this implies a macOS bug or deliberate behaviour change? (I couldn't find anything obviously appropriate in the list of security fixes for 10.12.5.) --

[issue30392] default webbrowser fails on macOS Sierra 10.12.5

2017-05-17 Thread Andrew Jaffe
Changes by Andrew Jaffe : -- title: default webbrowser not used on macOS Sierra 10.12.5 -> default webbrowser fails on macOS Sierra 10.12.5 ___ Python tracker