[sage-devel] Re: show() method for all sage objects

2019-05-21 Thread Eric Gourgoulhon
Le lundi 20 mai 2019 07:55:30 UTC+2, Kwankyu Lee a écrit :
>
> . Moreover many sage objects currently are displayed broken if typeset. 
>

In that case, a solution could be to introduce a new class, 
TypesetSageObject, say, to implement _repr_latex_() in it and to make Sage 
objects that can be correctly typeset inheritate from it.
For instance, this could be done for all manifold objects and for symbolic 
expressions (class Expression). 

Eric.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/71c2644d-34c4-428f-9f1c-77d49dfd2eac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Error building the documentation with 8.8.beta5

2019-05-21 Thread Nicolas M. Thiery


Just for the record: same error here on Balthazar's laptop, sage
8.8.beta5, fresh Ubuntu 18.04.

Cheers,
Nicolas

On Mon, May 13, 2019 at 09:22:00AM -0700, David Coudert wrote:
> I already had issues building the doc with 8.8.beta4, so after upgrading to 
> 8.8.beta5, I did make doc-clean but it's not enough.
> 
> Attached is the log file.
> 
> I have not tried a dist-clean, and I hope I can avoid it...
> 
> Best,
> David.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sage-devel+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-devel@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-devel.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-devel/8c8d0f24-77cc-4d1f-99b0-59b4a53b2779%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

> 
> Building reference manual, first pass.
> 
> [manifolds] chargement de l'environnement sérialisé...fait
> [manifolds] building [inventory]: targets for 63 source files that are out of 
> date
> [manifolds] updating environment: 63 added, 0 changed, 0 removed
> [manifolds] 
> /Users/dcoudert/sage/src/sage_setup/docbuild/ext/sage_autodoc.py:1170: 
> RemovedInSphinx20Warning: formatargspec() is now deprecated.  Please use 
> sphinx.util.inspect.Signature instead.
> [manifolds]   return formatargspec(initmeth, *argspec)
> [manifolds] 
> /Users/dcoudert/sage/src/sage_setup/docbuild/ext/sage_autodoc.py:1406: 
> RemovedInSphinx20Warning: formatargspec() is now deprecated.  Please use 
> sphinx.util.inspect.Signature instead.
> [manifolds]   args = formatargspec(self.object, *argspec)
> [manifolds] 
> /Users/dcoudert/sage/src/sage_setup/docbuild/ext/sage_autodoc.py:1072: 
> RemovedInSphinx20Warning: formatargspec() is now deprecated.  Please use 
> sphinx.util.inspect.Signature instead.
> [manifolds]   args = formatargspec(self.object, *argspec)
> [manifolds] 
> /Users/dcoudert/sage/local/lib/python2.7/site-packages/sage/manifolds/differentiable/integrated_curve.py:docstring
>  of 
> sage.manifolds.differentiable.integrated_curve.IntegratedAutoparallelCurve:309:
>  WARNING: Exception occurred in plotting integrated_curve-3
> [manifolds]  from 
> /Users/dcoudert/sage/src/doc/en/reference/manifolds/sage/manifolds/differentiable/integrated_curve.rst:
> [manifolds] Traceback (most recent call last):
> [manifolds]   File 
> "/Users/dcoudert/sage/local/lib/python2.7/site-packages/matplotlib/sphinxext/plot_directive.py",
>  line 524, in run_code
> [manifolds] six.exec_(code, ns)
> [manifolds]   File 
> "/Users/dcoudert/sage/local/lib/python2.7/site-packages/six.py", line 709, in 
> exec_
> [manifolds] exec("""exec _code_ in _globs_, _locs_""")
> [manifolds]   File "", line 1, in 
> [manifolds]   File "", line 34, in 
> [manifolds]   File "", line 68, in sphinx_plot
> [manifolds]   File "sage/plot/plot3d/base.pyx", line 1621, in 
> sage.plot.plot3d.base.Graphics3d.save 
> (build/cythonized/sage/plot/plot3d/base.c:20977)
> [manifolds] self.save_image(filename, **kwds)
> [manifolds]   File "sage/plot/plot3d/base.pyx", line 1550, in 
> sage.plot.plot3d.base.Graphics3d.save_image 
> (build/cythonized/sage/plot/plot3d/base.c:20535)
> [manifolds] self._save_image_png(filename, **kwds)
> [manifolds]   File "sage/plot/plot3d/base.pyx", line 1512, in 
> sage.plot.plot3d.base.Graphics3d._save_image_png 
> (build/cythonized/sage/plot/plot3d/base.c:20172)
> [manifolds] scene = self._rich_repr_jmol(**opts)
> [manifolds]   File "sage/plot/plot3d/base.pyx", line 264, in 
> sage.plot.plot3d.base.Graphics3d._rich_repr_jmol 
> (build/cythonized/sage/plot/plot3d/base.c:7182)
> [manifolds] tachyon = self._rich_repr_tachyon(OutputImagePng, **opts)
> [manifolds]   File "sage/plot/plot3d/base.pyx", line 208, in 
> sage.plot.plot3d.base.Graphics3d._rich_repr_tachyon 
> (build/cythonized/sage/plot/plot3d/base.c:6180)
> [manifolds] tachyon_rt(T.tachyon(), filename, opts['verbosity'],
> [manifolds]   File 
> "/Users/dcoudert/sage/local/lib/python2.7/site-packages/sage/interfaces/tachyon.py",
>  line 162, in __call__
> [manifolds] raise RuntimeError(out)
> [manifolds] RuntimeError: Tachyon Parallel/Multiprocessor Ray Tracer   
> Version 0.98.9
> [manifolds] Copyright 1994-2010,John E. Stone 
> [manifolds] 
> [manifolds] Parse Error:
> [manifolds]Encountered a syntax error in file 
> /Users/dcoudert/.sage/temp/confetti.inria.fr/82937/tmp_feQXWm.dat
> [manifolds]Expected to find V1
> [manifolds]Actually found: ,61208
> [manifolds]Error occured at or prior to file offset 11659, line 368
> [manifolds]Error position is only approximate, but should be close
> [manifolds] Parse Error:
> [manifolds]Encountered a syntax 

[sage-devel] installation guide

2019-05-21 Thread 'dantetante' via sage-devel
Hi list,
I'm quite new to sage and just read the installation guide of sage 8.7; I 
found the chapter >>install from conda forge<< and found the command >>source 
activate sage<<; this should be changed to >>conda activate sage<< (see 
e.g. here: 
https://stackoverflow.com/questions/49600611/python-anaconda-should-i-use-conda-activate-or-source-activate-in-linux);

where do I have to report this?

dantetante

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/20afe0c7-0999-4eb0-ab63-5a3288b7294c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.