Re: [sage-support] Firefox not launching jupyter session properly

2022-03-29 Thread brett stevens
Thanks! On Tuesday, March 29, 2022 at 1:56:09 PM UTC-4 HG wrote: > thanks you :) > > Le 29/03/2022 à 19:23, Dima Pasechnik a écrit : > > I've proposed a fix for this on https://trac.sagemath.org/ticket/33592 > > (there is no reason to use temp files, IMHO) > > so we add c.NotebookApp.use_redirect

Re: [sage-support] Firefox not launching jupyter session properly

2022-03-29 Thread Henri Girard
thanks you :) Le 29/03/2022 à 19:23, Dima Pasechnik a écrit : I've proposed a fix for this on https://trac.sagemath.org/ticket/33592 (there is no reason to use temp files, IMHO) so we add c.NotebookApp.use_redirect_file=False to the corresponing config file. Needs review. On Tue, Mar 29, 2022

Re: [sage-support] Firefox not launching jupyter session properly

2022-03-29 Thread Dima Pasechnik
I've proposed a fix for this on https://trac.sagemath.org/ticket/33592 (there is no reason to use temp files, IMHO) so we add c.NotebookApp.use_redirect_file=False to the corresponing config file. Needs review. On Tue, Mar 29, 2022 at 4:46 PM brett stevens wrote: > > I spoke to soon. :-) My so

Re: [sage-support] Firefox not launching jupyter session properly

2022-03-29 Thread brett stevens
I spoke to soon. :-) My solution makes the Ubuntu Jupyter work OK but ```sage -n``` does not work. For SageMath's jupyter I needed to make the same change in ```$SAGE_ROOT/local/etc/jupyter/jupyter_notebook_config.py``` On Tuesday, March 29, 2022 at 11:02:52 AM UTC-4 brett stevens wrote: >

Re: [sage-support] Firefox not launching jupyter session properly

2022-03-29 Thread brett stevens
The problem seems to be that The Ubuntu Firefox is now installed with a snap which is not given access to dotted files in the user file space and jupyter's redirect file is in ~/.local/ The solution from Stackexchange As Ubuntu

Re: [sage-support] Firefox not launching jupyter session properly

2022-03-29 Thread Dima Pasechnik
On Tue, Mar 29, 2022 at 6:12 AM brett stevens wrote: > > When I run ```sage -n``` the same thing happens: The page that opens in > Firefox says > > Access to the file was denied > > The file at > > /home/brett/.local/share/jupyter/runtime/nbserver-35966-open.html is not > > readable. > > I

Re: [sage-support] Firefox not launching jupyter session properly

2022-03-29 Thread Dima Pasechnik
On Tue, Mar 29, 2022 at 6:15 AM brett stevens wrote: > > It is not the password issue that HG suggested. Nor is it an issue with > specifically trying to open a file rather than have a directory open in > jupyter. The issue is that Firefox claims to not be able to read the file > that it is p

Re: [sage-support] Firefox not launching jupyter session properly

2022-03-28 Thread brett stevens
It is not the password issue that HG suggested. Nor is it an issue with specifically trying to open a file rather than have a directory open in jupyter. The issue is that Firefox claims to not be able to read the file that it is passed. But the file exists with suitable permissions and if I

Re: [sage-support] Firefox not launching jupyter session properly

2022-03-28 Thread Dima Pasechnik
On Mon, Mar 28, 2022 at 4:22 PM Henri Girard wrote: > > https://github.com/jupyter/notebook/issues/1979 > > Maybe this issue ? no, that is about jupyter notebook server. Here, the issue is how to bypass the intermediate step of launching a notebook server, and open a particular notebook directly

Re: [sage-support] Firefox not launching jupyter session properly

2022-03-28 Thread Henri Girard
https://github.com/jupyter/notebook/issues/1979 Maybe this issue ? Le 28/03/2022 à 15:41, Dima Pasechnik a écrit : On Mon, Mar 28, 2022 at 2:18 PM brett stevens wrote: I am running Ubuntu 21.10 on a Lenovo Thinkpad X1 Tablet. I installed SageMath on my computer by cloning the git repository

Re: [sage-support] Firefox not launching jupyter session properly

2022-03-28 Thread Dima Pasechnik
On Mon, Mar 28, 2022 at 2:18 PM brett stevens wrote: > > I am running Ubuntu 21.10 on a Lenovo Thinkpad X1 Tablet. I installed > SageMath on my computer by cloning the git repository. I compiled sage using > directions in README.md. The most recent version I compiled was SageMath 9.4. > I use

[sage-support] Firefox not launching jupyter session properly

2022-03-28 Thread brett stevens
I am running Ubuntu 21.10 on a Lenovo Thinkpad X1 Tablet. I installed SageMath on my computer by cloning the git repository. I compiled sage using directions in README.md. The most recent version I compiled was SageMath 9.4. I use Firefox 98.0.2 (64-bit) as my browser. When I run ```sage -n