Re: [sage-support] 6.9rc3 : Ipython notebook seems seriously out of whack.

2015-10-15 Thread Emmanuel Charpentier
It seems more complicated that that. See my followup in Trac#19371 
 

HTH,

--
Emmanuel Charpentier

Le dimanche 11 octobre 2015 18:30:54 UTC+2, HG a écrit :
>
> I did the same with sage 6.9 and sagemanifold, some command are working 
> other not.
> I got this message if I try a worksheet done :
>
> Failed to retrieve MathJax from '../nbextensions/mathjax/MathJax.js'
>
> Math/LaTeX rendering will be disabled.
>
> If you have administrative access to the notebook server and a working 
> internet connection, you can install a local copy of MathJax for offline 
> use with the following command on the server at a Python or Jupyter prompt:
>
> >>> from Jupyter.external import mathjax; mathjax.install_mathjax()
>
> This will try to install MathJax into the Jupyter source directory.
>
> If Jupyter is installed to a location that requires administrative 
> privileges to write, you will need to make this call as an administrator, 
> via 'sudo'.
>
> When you start the notebook server, you can instruct it to disable MathJax 
> support altogether:
>
> $ ipython notebook --no-mathjax
>
> which will prevent this dialog from appearing.
>
>
> Used from git with a new worksheet some commands works
>
> But not very stable at the moment
>
> ubuntu 14.04 fresh install with git sage and sagemanifold
>
>
> regards
>
> Henri
>
>
> Le dimanche 11 octobre 2015 15:12:06 UTC+2, Eric Gourgoulhon a écrit :
>>
>>
>> Le dimanche 11 octobre 2015 09:53:49 UTC+2, Emmanuel Charpentier a écrit :
>>>
>>> And #19374 still doesn't work for me neither in the "old" or the "new" 
>>> sheet).
>>>
>>>
>> Works fine for me with the just released sage 6.9 (which includes 
>> #19374). 
>>
>> - System: Ubuntu 14.04 LTS 64bits with libssl-dev package installed
>> - Installation of sage 6.9 and launch of Jupyter notebook:
>> git clone git://github.com/sagemath/sage.git
>> cd sage
>> make
>> ./sage -n jupyter
>>  
>> Best wishes,
>>
>> Eric.
>>
>>

-- 
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 http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] 6.9rc3 : Ipython notebook seems seriously out of whack.

2015-10-12 Thread Emmanuel Charpentier
I went back o the "develop" branch", fetched the last release (6.9) and 
re-made. $SAGE_ROOT/local/lib/libtinfo* is still out of the way.

The resulting system can open a sample sheet created with 6.9rc3, correctly 
solves x^2+1==0 and typesets the output if necessary.

Two bizarreries :


   - Example of typeset output (cut from Jupyter to Google groups) :

In [5]:

solve(x^2+1==0, x)

Out[5]:
[x=(−i),x=i]

 (i. e. \newcommand{\Bold}[1]{\mathbf{#1}}\left[x = \left(-i\right), x = 
i\right]). The "simple" output doesn't have the superfetatory parentheses 
around the -I solution...


   - The mathjax menu seems difficult to reach


ISTR that something analogous has been discussed recently, but can't 
retrieve it at the moment...

HTH,

--
Emmanuel Charpentier

Le dimanche 11 octobre 2015 09:53:49 UTC+2, Emmanuel Charpentier a écrit :
>
> Works for me in a new sheet. Doesn't in a sheet initially created by 
> 6.9beta1. As far as I can tell, nothing in the sheet explains this 
> behaviour...
>
> And #19374 still doesn't work for me neither in the "old" or the "new" 
> sheet).
>
> HTH,
>
> --
> Emmanuel Charpentier
>
>
> Le dimanche 11 octobre 2015 07:58:53 UTC+2, tdumont a écrit :
>>
>> Le 10/10/2015 22:32, Jeroen Demeyer a écrit : 
>> > On 2015-10-10 21:24, Emmanuel Charpentier wrote: 
>> >> In [2]: 
>> >> %display simple 
>> >> 
>> >> solve(x^2+1==0,x,to_poly_solve="force") 
>> >> Out[2]: 
>> >> 
>> >> [] 
>> >> 
>> >> 
>> >> Huh ? 
>> > Works for me... 
>> > 
>> > In any case, it would be very unlikely that a Sage command actually 
>> > gives different output in the command line and in the Jupyter notebook. 
>> > 
>>
>>  >jupyter notebook 
>> sage 6.9 rc3 
>> This works for me too. 
>> t;d. 
>>
>

-- 
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 http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] 6.9rc3 : Ipython notebook seems seriously out of whack.

2015-10-12 Thread Eric Gourgoulhon


Le lundi 12 octobre 2015 09:33:21 UTC+2, Emmanuel Charpentier a écrit :
>
>
>
> Two bizarreries :
>
> The "simple" output doesn't have the superfetatory parentheses around the 
> -I solution...
>
>
This has nothing to do with the LaTeX rendering in the jupyter notebook: it 
results from sage command latex and is already here in the console:

sage: latex([x == -I, x == I])
\left[x = \left(-i\right), x = i\right]



>- The mathjax menu seems difficult to reach
>
>
>
Have you tried to right-click on the displayed formula ? (it works for me) 

Best wishes,

Eric.

-- 
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 http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] 6.9rc3 : Ipython notebook seems seriously out of whack.

2015-10-11 Thread Emmanuel Charpentier
Works for me in a new sheet. Doesn't in a sheet initially created by 
6.9beta1. As far as I can tell, nothing in the sheet explains this 
behaviour...

And #19374 still doesn't work for me neither in the "old" or the "new" 
sheet).

HTH,

--
Emmanuel Charpentier


Le dimanche 11 octobre 2015 07:58:53 UTC+2, tdumont a écrit :
>
> Le 10/10/2015 22:32, Jeroen Demeyer a écrit : 
> > On 2015-10-10 21:24, Emmanuel Charpentier wrote: 
> >> In [2]: 
> >> %display simple 
> >> 
> >> solve(x^2+1==0,x,to_poly_solve="force") 
> >> Out[2]: 
> >> 
> >> [] 
> >> 
> >> 
> >> Huh ? 
> > Works for me... 
> > 
> > In any case, it would be very unlikely that a Sage command actually 
> > gives different output in the command line and in the Jupyter notebook. 
> > 
>
>  >jupyter notebook 
> sage 6.9 rc3 
> This works for me too. 
> t;d. 
>

-- 
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 http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] 6.9rc3 : Ipython notebook seems seriously out of whack.

2015-10-11 Thread Eric Gourgoulhon

Le dimanche 11 octobre 2015 09:53:49 UTC+2, Emmanuel Charpentier a écrit :
>
> And #19374 still doesn't work for me neither in the "old" or the "new" 
> sheet).
>
>
Works fine for me with the just released sage 6.9 (which includes #19374). 

- System: Ubuntu 14.04 LTS 64bits with libssl-dev package installed
- Installation of sage 6.9 and launch of Jupyter notebook:
git clone git://github.com/sagemath/sage.git
cd sage
make
./sage -n jupyter
 
Best wishes,

Eric.

-- 
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 http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] 6.9rc3 : Ipython notebook seems seriously out of whack.

2015-10-11 Thread HG
I did the same with sage 6.9 and sagemanifold, some command are working 
other not.
I got this message if I try a worksheet done :

Failed to retrieve MathJax from '../nbextensions/mathjax/MathJax.js'

Math/LaTeX rendering will be disabled.

If you have administrative access to the notebook server and a working 
internet connection, you can install a local copy of MathJax for offline 
use with the following command on the server at a Python or Jupyter prompt:

>>> from Jupyter.external import mathjax; mathjax.install_mathjax()

This will try to install MathJax into the Jupyter source directory.

If Jupyter is installed to a location that requires administrative 
privileges to write, you will need to make this call as an administrator, 
via 'sudo'.

When you start the notebook server, you can instruct it to disable MathJax 
support altogether:

$ ipython notebook --no-mathjax

which will prevent this dialog from appearing.


Used from git with a new worksheet some commands works

But not very stable at the moment

ubuntu 14.04 fresh install with git sage and sagemanifold


regards

Henri


Le dimanche 11 octobre 2015 15:12:06 UTC+2, Eric Gourgoulhon a écrit :
>
>
> Le dimanche 11 octobre 2015 09:53:49 UTC+2, Emmanuel Charpentier a écrit :
>>
>> And #19374 still doesn't work for me neither in the "old" or the "new" 
>> sheet).
>>
>>
> Works fine for me with the just released sage 6.9 (which includes #19374). 
>
> - System: Ubuntu 14.04 LTS 64bits with libssl-dev package installed
> - Installation of sage 6.9 and launch of Jupyter notebook:
> git clone git://github.com/sagemath/sage.git
> cd sage
> make
> ./sage -n jupyter
>  
> Best wishes,
>
> Eric.
>
>

-- 
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 http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] 6.9rc3 : Ipython notebook seems seriously out of whack.

2015-10-11 Thread Jeroen Demeyer

On 2015-10-11 18:30, HG wrote:

I did the same with sage 6.9 and sagemanifold, some command are working
other not.
I got this message if I try a worksheet done :


Failed to retrieve MathJax from '../nbextensions/mathjax/MathJax.js'


Probably there is something wrong with your installation. Did you run 
"make"?


--
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 http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[sage-support] 6.9rc3 : Ipython notebook seems seriously out of whack.

2015-10-10 Thread Emmanuel Charpentier
I just found another nice one with 6.9rc3.

Not only it has problems with $SAGE_ROOT/local/lib/libtinfo* (see here 
), but it 
also spews nonsense :
In [2]:
%display simple

solve(x^2+1==0,x,to_poly_solve="force")
Out[2]:

[]


Huh ?

Command-line sage :
sage: solve(x^2+1==0, x)
[x == -I, x == I]

Sage via emacs :
sage: solve(x^2+1==0,x)
[x == -I, x == I]

This is nicely typeset in the emacs window, BTW...).

I also checked that the sage notebook is indemn of this folly...

And, BTW, I also tried Trac#19374  
with the same result (and no typeset output, by the way !).

I think this should be a blocker...

For the record : this is on a tree resulting from a fresh tarball, where I 
moved $SAGE_ROOT/local/lib/libtinfo* out of the way, which passes 
ptestlong, and where I did git trac chechout 19374.
 
Any idea/opinion on how to write the ticket ?

HTH,

--
Emmanuel Charpentier

-- 
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 http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] 6.9rc3 : Ipython notebook seems seriously out of whack.

2015-10-10 Thread Thierry Dumont

Le 10/10/2015 22:32, Jeroen Demeyer a écrit :

On 2015-10-10 21:24, Emmanuel Charpentier wrote:

In [2]:
%display simple

solve(x^2+1==0,x,to_poly_solve="force")
Out[2]:

[]


Huh ?

Works for me...

In any case, it would be very unlikely that a Sage command actually
gives different output in the command line and in the Jupyter notebook.



>jupyter notebook
sage 6.9 rc3
This works for me too.
t;d.

--
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 http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.
<>

Re: [sage-support] 6.9rc3 : Ipython notebook seems seriously out of whack.

2015-10-10 Thread Jeroen Demeyer

On 2015-10-10 21:24, Emmanuel Charpentier wrote:

In [2]:
%display simple

solve(x^2+1==0,x,to_poly_solve="force")
Out[2]:

[]


Huh ?

Works for me...

In any case, it would be very unlikely that a Sage command actually 
gives different output in the command line and in the Jupyter notebook.


--
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 http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.