Just for search-ability and completeness:
- It can be fixed by setting `browser=webbrowser.get("Safari")` in
.jupyter/jupyter_notebook_config.py [or "firefox", but not, at present
"chrome" -- which is an unrelated issue that is due to be fixed in the next
Python releases].
- It is a manifestation of an issue in the python standard library
module `webbrowser.py` -- reported at http://bugs.python.org/issue30392
- But it is *really* a bug in macOS introduced with the Sierra 10.12.5
update: the `osascript` command doesn't work with `open location <url>`
which is meant to open the default browser at that <url>.
- Strangely, you can still `tell application "safari" to open location
<url>" in osascript.
- Even more strangely, the applescript *does* work in the AppleScript
editor, just not in `osascript`. I have filed a radar at
https://bugreport.apple.com but others should feel free/encouraged to
follow suit.
Andrew
On 18/05/2017 20:57, Thomas Kluyver wrote:
> No, it's a bug that's cropped up with an update to OS X. It sounds like
it might need fixing in Python. There's some discussion about it here:
https://github.com/jupyter/notebook/issues/2438
>
> On 18 May 2017 at 19:57, John Bartelt wrote:
>
> $ jupyter notebook
> ....
> execution error: "http://localhost:8888/tree" doesn’t understand the
“open location” message. (-1708)
>
> Do I have something wrong with my configuration?
--
You received this message because you are subscribed to the Google Groups
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jupyter/a3f112d4-926e-4efd-a09f-24972aec2a90%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.