Re: [sage-support] Sage 8.8 Jupyter notebook 404: Page does not exist error

2019-07-04 Thread Jack Borthwick
OK, so I tried sage -n jupyter and that works. I can reproduce the behaviour I 
was getting by running ``sage -n export’’ something must have gone wrong with 
that during the build.  I've always called the sage notebook with sage -n so it 
perhaps it defaults to export.

Thanks !
> Le 4 juil. 2019 à 08:04, slelievre  a écrit :
> 
> Here is how I would recap Sage notebook modes and
> ways to launch them (correct me if I got anything wrong).
> 
> - Jupyter Notebook
> 
>   sage -n jupyter
> 
> - JupyterLab
> 
>   sage -n jupyterlab
> 
>   note: this requires installing JuyterLab first,
>   which one can do by running in the terminal
> 
>   sage --pip install jupyterlab
> 
> - SageNB legacy notebook
> 
>   sage -n sagenb
> 
> - Sage Exporter (to export legacy notebook worksheets
>   to Jupyter Notebook documents):
> 
>   sage -n exporter
> 
> I think if you just run `sage -n` it will check whether
> you have legacy sagenb worksheets, and if so give
> you the option to run Sage Exporter or to launch a
> Jupyter Notebook server.
> 
> If you know what you want, use one of the options above.
> 
> Note that instead of
> 
> sage -n jupyter
> 
> you can also do
> 
> sage --notebook=jupyter
> 
> and similarly for the other options.
> 
> -- 
> You received this message because you are subscribed to a topic in the Google 
> Groups "sage-support" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/sage-support/j7a_oPMFk-0/unsubscribe 
> .
> To unsubscribe from this group and all its topics, send an email to 
> sage-support+unsubscr...@googlegroups.com 
> .
> To post to this group, send email to sage-support@googlegroups.com 
> .
> Visit this group at https://groups.google.com/group/sage-support 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-support/19b89745-fb30-4a67-9ada-9cb9eb6443eb%40googlegroups.com
>  
> .
> For more options, visit https://groups.google.com/d/optout 
> .

-- 
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 sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/6C91A21C-ACBB-40B2-ABD5-6D144DF97364%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] Re: Sage 8.8 Jupyter notebook 404: Page does not exist error

2019-07-03 Thread Jack Borthwick
Yeah, when it built i kept getting prompts about java and then at the end it 
said the documentation hadn’t been built successfully.

I only launch sage notebook from the terminal with the option -n so I guess 
I’ll just have to rebuild . Thanks anyway 
> Le 3 juil. 2019 à 19:17, kcrisman  a écrit :
> 
> 
> 
> 
>> Actually I’ve just read more carefully what appeared in the terminal and it 
>> seems that it is missing an extension, I guess I’m going to have to rebuild? 
>> Could this be to do with the fact that I didn’t build the documentation 
>> (because I was missing the Java development tools ?)
>> 
> 
> Java development tools? 
> 
> But yes, something definitely didn't build, and I'm surprised it didn't give 
> an error.  You may need to rebuild.
> 
> OR you could just try sage -n jupyter (I think this is the right syntax) and 
> see where that gets you.
> -- 
> You received this message because you are subscribed to a topic in the Google 
> Groups "sage-support" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/sage-support/j7a_oPMFk-0/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to 
> sage-support+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-support@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-support.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-support/c0e60566-8fd1-4b5a-b42a-59088793d62b%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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 sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/38D52A44-42A1-4BE1-8DA6-509D093321BF%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] Re: Sage 8.8 Jupyter notebook 404: Page does not exist error

2019-07-02 Thread Jack Borthwick
Actually I’ve just read more carefully what appeared in the terminal and it 
seems that it is missing an extension, I guess I’m going to have to rebuild? 
Could this be to do with the fact that I didn’t build the documentation 
(because I was missing the Java development tools ?)
[W 22:25:08.051 NotebookApp] Error loading server extension 
sagenb_export.nbextension
Traceback (most recent call last):
  File 
"/Applications/sage-8.8/local/lib/python2.7/site-packages/notebook/notebookapp.py",
 line 1579, in init_server_extensions
mod = importlib.import_module(modulename)
  File "/Applications/sage-8.8/local/lib/python2.7/importlib/__init__.py", 
line 37, in import_module
__import__(name)
ImportError: No module named sagenb_export.nbextension


> Le 2 juil. 2019 à 19:16, kcrisman  a écrit :
> 
> For what it's worth, my local Sage 8.8.rc2 still seems to correctly throw up 
> the SageNB Export server, and Jupyter seems to work properly.  Exactly what 
> URL is giving you the 404?  (Though I am not on Mojave.)
>  
> I recently compiled sage 8.8 on my Mac (macOS Mojave) and everything seems to 
> work correctly, except the Sage notebook server that doesn't seem to launch 
> correctly. I often, but not always, get redirected to a page with the error 
> 404: page does not exist.
> 
> Is this something someone has already encountered before and is there a known 
> workaround without recompiling sage entirely?
>  
> 
> -- 
> You received this message because you are subscribed to a topic in the Google 
> Groups "sage-support" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/sage-support/j7a_oPMFk-0/unsubscribe 
> .
> To unsubscribe from this group and all its topics, send an email to 
> sage-support+unsubscr...@googlegroups.com 
> .
> To post to this group, send email to sage-support@googlegroups.com 
> .
> Visit this group at https://groups.google.com/group/sage-support 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-support/c0cac08b-5349-47fa-a968-643a53d81304%40googlegroups.com
>  
> .
> For more options, visit https://groups.google.com/d/optout 
> .

-- 
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 sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/57913B98-59D0-456B-9B5D-DFEF0AAB418A%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[sage-support] Sage 8.8 Jupyter notebook 404: Page does not exist error

2019-07-02 Thread Jack Borthwick
Hi all,

I recently compiled sage 8.8 on my Mac (macOS Mojave) and everything seems 
to work correctly, except the Sage notebook server that doesn't seem to 
launch correctly. I often, but not always, get redirected to a page with 
the error 404: page does not exist.

Is this something someone has already encountered before and is there a 
known workaround without recompiling sage entirely?

Cheers,

Jack

-- 
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 sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/988a24de-de44-4aff-83db-66be968ae303%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.