Re: [sage-support] Re: Interact broken. SageMath 9.5 on Apple Mac OSX 12.1 . SageMath-9.5_x86_64

2022-03-31 Thread kcrisman
On Wednesday, March 30, 2022 at 2:48:15 PM UTC-4 Marc Culler wrote: > This issue is resolved in the current release of the SageMath 9.5 macOS > app. > > - Marc > >> >> Awesome. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe

Re: [sage-support] Re: Interact broken. SageMath 9.5 on Apple Mac OSX 12.1 . SageMath-9.5_x86_64

2022-03-30 Thread Marc Culler
This issue is resolved in the current release of the SageMath 9.5 macOS app. - Marc On Wed, Mar 30, 2022 at 1:39 PM kcrisman wrote: > Just to follow up, did this issue get resolved satisfactorily in the 9.6 > release cycle? The last emails leave this unclear. > > -- > You received this

Re: [sage-support] Re: Interact broken. SageMath 9.5 on Apple Mac OSX 12.1 . SageMath-9.5_x86_64

2022-03-30 Thread kcrisman
Just to follow up, did this issue get resolved satisfactorily in the 9.6 release cycle? The last emails leave this unclear. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send

Re: [sage-support] Re: Interact broken. SageMath 9.5 on Apple Mac OSX 12.1 . SageMath-9.5_x86_64

2022-02-09 Thread Marc Culler
They look like two unrelated problems. In SageMath 9.5 there is a path problem which prevents the widgets nbextension.js file from being located by the Tornado server in some situations. (That is fixed in the current release of the macOS app by creating a symlink at the path that the Tornado

Re: [sage-support] Re: Interact broken. SageMath 9.5 on Apple Mac OSX 12.1 . SageMath-9.5_x86_64

2022-02-09 Thread 'Alan Stafford' via sage-support
Interact is broken for SageMath 9.5, it works in 9.4 so I don't understand the pull request. On Wednesday, February 9, 2022 at 10:01:01 AM UTC slelievre wrote: > Pull request to fix Sage interacts on the CoCalc side: > > - https://github.com/sagemathinc/cocalc/pull/5721 > -- You received this

Re: [sage-support] Re: Interact broken. SageMath 9.5 on Apple Mac OSX 12.1 . SageMath-9.5_x86_64

2022-02-09 Thread slelievre
Pull request to fix Sage interacts on the CoCalc side: - https://github.com/sagemathinc/cocalc/pull/5721 -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: [sage-support] Re: Interact broken. SageMath 9.5 on Apple Mac OSX 12.1 . SageMath-9.5_x86_64

2022-02-03 Thread Marc Culler
It certainly does. But that ticket is from 2017. (???) - Marc On Thursday, February 3, 2022 at 12:47:35 AM UTC-6 Matthias Koeppe wrote: > This looks like https://github.com/jupyter-widgets/ipywidgets/issues/1702 > > On Wednesday, February 2, 2022 at 8:33:18 PM UTC-8 Marc Culler wrote: > >>

Re: [sage-support] Re: Interact broken. SageMath 9.5 on Apple Mac OSX 12.1 . SageMath-9.5_x86_64

2022-02-02 Thread Matthias Koeppe
This looks like https://github.com/jupyter-widgets/ipywidgets/issues/1702 On Wednesday, February 2, 2022 at 8:33:18 PM UTC-8 Marc Culler wrote: > That sounds very mysterious. How can it create widgets if it cannot load > the javascript file that implements the widgets? Maybe the client finds

Re: [sage-support] Re: Interact broken. SageMath 9.5 on Apple Mac OSX 12.1 . SageMath-9.5_x86_64

2022-02-02 Thread Marc Culler
That sounds very mysterious. How can it create widgets if it cannot load the javascript file that implements the widgets? Maybe the client finds the javascript file in some other path such as usr/local/jupyter and uses that file instead. Of course a self-contained app cannot rely on anything

Re: [sage-support] Re: Interact broken. SageMath 9.5 on Apple Mac OSX 12.1 . SageMath-9.5_x86_64

2022-02-02 Thread Matthias Koeppe
On my machine, macOS with Sage 9.5 compiled from source, I see the 404s too, but the widget from the notebook work anyway. On Wednesday, February 2, 2022 at 10:03:16 AM UTC-8 Marc Culler wrote: > I figured it out. > > * The root directory for the Tornado web application is >

Re: [sage-support] Re: Interact broken. SageMath 9.5 on Apple Mac OSX 12.1 . SageMath-9.5_x86_64

2022-02-02 Thread Marc Culler
I figured it out. * The root directory for the Tornado web application is sage/venv/share/jupyter (determined by trial and error). * The path component in the url that the jupyter client uses to load the widget extension is /nbextensions/widgets/notebook/js/extension.js * There is no

Re: [sage-support] Re: Interact broken. SageMath 9.5 on Apple Mac OSX 12.1 . SageMath-9.5_x86_64

2022-02-02 Thread Marc Culler
Never mind. I must have accidentally tested with 9.4. Tornado is still returning a 404 when the notebook tries to load /nbextensions/widgets/notebook/js/extension.js. On Wednesday, February 2, 2022 at 9:36:10 AM UTC-6 Marc Culler wrote: > What I said above appears not to be correct. It looks

Re: [sage-support] Re: Interact broken. SageMath 9.5 on Apple Mac OSX 12.1 . SageMath-9.5_x86_64

2022-02-02 Thread Marc Culler
What I said above appears not to be correct. It looks like enabling the widgets extension with the instructions in the user_install page did work. I am now getting a widget with Sage 9.5. More testing is needed, but it looks promising. - Marc On Tuesday, February 1, 2022 at 9:21:23 PM

Re: [sage-support] Re: Interact broken. SageMath 9.5 on Apple Mac OSX 12.1 . SageMath-9.5_x86_64

2022-02-01 Thread Marc Culler
No. I was referring to https://ipywidgets.readthedocs.io/en/latest/user_install.html which was Samuel's [more details here] link. Incidentally, following those instructions did result in a log message indicating that the widgets had been enabled in Jupyter. But there was no change in the

Re: [sage-support] Re: Interact broken. SageMath 9.5 on Apple Mac OSX 12.1 . SageMath-9.5_x86_64

2022-02-01 Thread Marc Culler
Well, OK. Maybe so. But I've never seen a venv that resulted in a path like sage/local/var/lib/sage/venv-python3.9.9/var/lib/sage/. - Marc On Tue, Feb 1, 2022 at 6:16 PM Matthias Koeppe wrote: > On Tuesday, February 1, 2022 at 3:28:48 PM UTC-8 Marc Culler wrote: > >> Of course Sage's venv

Re: [sage-support] Re: Interact broken. SageMath 9.5 on Apple Mac OSX 12.1 . SageMath-9.5_x86_64

2022-02-01 Thread Matthias Koeppe
On Tuesday, February 1, 2022 at 3:28:48 PM UTC-8 Marc Culler wrote: > Of course Sage's venv is not a true virtualenv as created by venv, > It is actually a true venv, unless no system python can be used and Sage builds its own copy of python3. -- You received this message because you are

Re: [sage-support] Re: Interact broken. SageMath 9.5 on Apple Mac OSX 12.1 . SageMath-9.5_x86_64

2022-02-01 Thread Matthias Koeppe
Marc, are you referring to these instructions? https://doc.sagemath.org/html/en/installation/launching.html#setting-up-sagemath-as-a-jupyter-kernel-in-an-existing-jupyter-notebook-or-jupyterlab-installation On Tuesday, February 1, 2022 at 3:28:48 PM UTC-8 Marc Culler wrote: > So is Sage

Re: [sage-support] Re: Interact broken. SageMath 9.5 on Apple Mac OSX 12.1 . SageMath-9.5_x86_64

2022-02-01 Thread Marc Culler
So is Sage following those instructions during its build process? The docs do not say what those jupyter commands actually do. They have separate instructions for enabling the widgets when using a virtualenv. Of course Sage's venv is not a true virtualenv as created by venv, so it is hard to

Re: [sage-support] Re: Interact broken. SageMath 9.5 on Apple Mac OSX 12.1 . SageMath-9.5_x86_64

2022-02-01 Thread Marc Culler
At some level the problem is that the Tornado web application used by Jupyter is returning a 404 when the client tries to load: http://localhost:/nbextensions/widgets/notebook/js/extension.js?v=20220201102631 I have no clue how the Tornado web application tries to translate that URL into a

Re: [sage-support] Re: Interact broken. SageMath 9.5 on Apple Mac OSX 12.1 . SageMath-9.5_x86_64

2022-02-01 Thread slelievre
2022-02-01 15:13:27 UTC, Marc Culler: > > Thanks. And I can reproduce this. I see the error shown below > in the Firefox Console. (I include it here in case anyone might > recognize it). There's an FAQ entry here

Re: [sage-support] Re: Interact broken. SageMath 9.5 on Apple Mac OSX 12.1 . SageMath-9.5_x86_64

2022-02-01 Thread Marc Culler
Thanks. And I can reproduce this. I see the error shown below in the Firefox Console. (I include it here in case anyone might recognize it). - Marc Could not open comm -- Error: Class jupyter.widget not found in registry utils.js:930 load_class

Re: [sage-support] Re: Interact broken. SageMath 9.5 on Apple Mac OSX 12.1 . SageMath-9.5_x86_64

2022-02-01 Thread 'Alan Stafford' via sage-support
I have run the Recommended_9_5.pkg file. On Monday, January 31, 2022 at 5:51:38 PM UTC Marc Culler wrote: > It sounds to me like you do not have the SageMath 9.5 Jupyter kernel > installed in /usr/local. That gets installed when you run the Installer > package that is included on the disk

Re: [sage-support] Re: Interact broken. SageMath 9.5 on Apple Mac OSX 12.1 . SageMath-9.5_x86_64

2022-01-31 Thread Marc Culler
It sounds to me like you do not have the SageMath 9.5 Jupyter kernel installed in /usr/local. That gets installed when you run the Installer package that is included on the disk image. Did you perhaps forget to run that installer after dragging the app to /Applications? - Marc On Monday,

Re: [sage-support] Re: Interact broken. SageMath 9.5 on Apple Mac OSX 12.1 . SageMath-9.5_x86_64

2022-01-31 Thread 'Alan Stafford' via sage-support
I have downloaded both the SageMath 9.5 beta and 9.4 SageMath releases from git. I do not get widgets should I start the 9.4 or 9.5 kernel using the 9.5 interface, but I do when I use the 9.4 interface. On Monday, January 31, 2022 at 12:45:31 PM UTC dim...@gmail.com wrote: > On Mon, Jan 31,

Re: [sage-support] Re: Interact broken. SageMath 9.5 on Apple Mac OSX 12.1 . SageMath-9.5_x86_64

2022-01-31 Thread Dima Pasechnik
On Mon, Jan 31, 2022 at 3:59 AM 'Alan Stafford' via sage-support wrote: > > I have found that it doesn't work if I launch from the SageMath 9.5 icon for > any kernel 9.4 or 9.5. If I launch from the SageMath 9.4 interface it works > for either kernel. I am not sure I follow here. How do you

Re: [sage-support] Re: Interact broken. SageMath 9.5 on Apple Mac OSX 12.1 . SageMath-9.5_x86_64

2022-01-30 Thread 'Alan Stafford' via sage-support
I have found that it doesn't work if I launch from the SageMath 9.5 icon for any kernel 9.4 or 9.5. If I launch from the SageMath 9.4 interface it works for either kernel. >> >> -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe

Re: [sage-support] Re: Interact broken. SageMath 9.5 on Apple Mac OSX 12.1 . SageMath-9.5_x86_64

2022-01-29 Thread 'Alan Stafford' via sage-support
Exactly the same using Google Chrome. On Saturday, January 29, 2022 at 8:09:36 PM UTC dim...@gmail.com wrote: > On Sat, Jan 29, 2022 at 8:05 PM 'Alan Stafford' via sage-support > wrote: > > > > I only used Safari. Safari supports widgets at Cocalc so I can't think > that it won't support them

Re: [sage-support] Re: Interact broken. SageMath 9.5 on Apple Mac OSX 12.1 . SageMath-9.5_x86_64

2022-01-29 Thread Dima Pasechnik
On Sat, Jan 29, 2022 at 8:05 PM 'Alan Stafford' via sage-support wrote: > > I only used Safari. Safari supports widgets at Cocalc so I can't think that > it won't support them should I run it locally. Interact has worked on > previous versions of SageMath. I am hoping the Mac support team will

Re: [sage-support] Re: Interact broken. SageMath 9.5 on Apple Mac OSX 12.1 . SageMath-9.5_x86_64

2022-01-29 Thread Dima Pasechnik
On Sat, Jan 29, 2022 at 6:28 PM kcrisman wrote: > > Just for data points, which browsers did you try on this? Thanks for > reporting. for what's worth, the interact works on Linux with Firefox. > > On Friday, January 28, 2022 at 1:02:57 PM UTC-5 alan_thoma...@yahoo.co.uk > wrote: >> >>

[sage-support] Re: Interact broken. SageMath 9.5 on Apple Mac OSX 12.1 . SageMath-9.5_x86_64

2022-01-29 Thread kcrisman
Just for data points, which browsers did you try on this? Thanks for reporting. On Friday, January 28, 2022 at 1:02:57 PM UTC-5 alan_thoma...@yahoo.co.uk wrote: > Interact just calls the function but no Interact widgets appear. > > Example attached. It works at Cocalc. > -- You received