[Debian-science-sagemath] Sage 7.6.rc1

Tobias Hansen thansen at debian.org
Sat Mar 18 14:59:37 UTC 2017


Hi,

I packaged Sage 7.6.rc1. The packages where we are behind are
ipywidgets, jupyter-core, jupyter-notebook and ntl. The build of Sage
7.6.rc1 now gets up to after the docbuild, when it stops because there
are errors in dochtml.log.

The first one is
ImportError: cannot import name ValueWidget
This widget seems to be new in ipywidgets 6.0, so we need that.

The second error is the following. I haven't investigated it in detail
yet. Ximin, is that the error you got when you set threejs as default 3D
viewer?

loading cross citations...
/home/thansen/src/sage/sagemath/sagemath/debian/build/usr/lib/python2.7/dist-packages/sage/plot/plot3d/plot3d.py:docstring
of sage.plot.plot3d.plot3d.TrivialTriangleFactory.triangle:7: WARNING:
Exception occurred in plotting plot3d-7
 from
/home/thansen/src/sage/sagemath/sagemath/sage/src/doc/en/reference/plot3d/sage/plot/plot3d/plot3d.rst:
Traceback (most recent call last):
  File
"/usr/lib/python2.7/dist-packages/matplotlib/sphinxext/plot_directive.py",
line 520, in run_code
    six.exec_(code, ns)
  File "/usr/lib/python2.7/dist-packages/six.py", line 699, in exec_
    exec("""exec _code_ in _globs_, _locs_""")
  File "<string>", line 1, in <module>
  File "<string>", line 3, in <module>
  File "<string>", line 8, in sphinx_plot
  File "sage/plot/plot3d/base.pyx", line 1633, in
sage.plot.plot3d.base.Graphics3d.save
(/home/thansen/src/sage/sagemath/sagemath/sage/src/build/cythonized/sage/plot/plot3d/base.c:22424)
    self.save_image(filename, **kwds)
  File "sage/plot/plot3d/base.pyx", line 1562, in
sage.plot.plot3d.base.Graphics3d.save_image
(/home/thansen/src/sage/sagemath/sagemath/sage/src/build/cythonized/sage/plot/plot3d/base.c:21895)
    self._save_image_png(filename, **kwds)
  File "sage/plot/plot3d/base.pyx", line 1526, in
sage.plot.plot3d.base.Graphics3d._save_image_png
(/home/thansen/src/sage/sagemath/sagemath/sage/src/build/cythonized/sage/plot/plot3d/base.c:21407)
    scene = self._rich_repr_jmol(**opts)
  File "sage/plot/plot3d/base.pyx", line 255, in
sage.plot.plot3d.base.Graphics3d._rich_repr_jmol
(/home/thansen/src/sage/sagemath/sagemath/sage/src/build/cythonized/sage/plot/plot3d/base.c:7156)
    T.export_jmol(scene_zip, **opts)
  File "sage/plot/plot3d/base.pyx", line 1020, in
sage.plot.plot3d.base.Graphics3d.export_jmol
(/home/thansen/src/sage/sagemath/sagemath/sage/src/build/cythonized/sage/plot/plot3d/base.c:15139)
    all = flatten_list([self.jmol_repr(render_params), ""])
  File "sage/plot/plot3d/base.pyx", line 2173, in
sage.plot.plot3d.base.Graphics3dGroup.jmol_repr
(/home/thansen/src/sage/sagemath/sagemath/sage/src/build/cythonized/sage/plot/plot3d/base.c:31689)
    return [g.jmol_repr(render_params) for g in self.all]
  File "sage/plot/plot3d/base.pyx", line 2380, in
sage.plot.plot3d.base.TransformGroup.jmol_repr
(/home/thansen/src/sage/sagemath/sagemath/sage/src/build/cythonized/sage/plot/plot3d/base.c:35138)
    rep = [g.jmol_repr(render_params) for g in self.all]
  File "sage/plot/plot3d/base.pyx", line 2380, in
sage.plot.plot3d.base.TransformGroup.jmol_repr
(/home/thansen/src/sage/sagemath/sagemath/sage/src/build/cythonized/sage/plot/plot3d/base.c:35112)
    rep = [g.jmol_repr(render_params) for g in self.all]
  File "sage/plot/plot3d/parametric_surface.pyx", line 276, in
sage.plot.plot3d.parametric_surface.ParametricSurface.jmol_repr
(/home/thansen/src/sage/sagemath/sagemath/sage/src/build/cythonized/sage/plot/plot3d/parametric_surface.c:4520)
    return IndexFaceSet.jmol_repr(self, render_params)
  File "sage/plot/plot3d/index_face_set.pyx", line 1007, in
sage.plot.plot3d.index_face_set.IndexFaceSet.jmol_repr
(/home/thansen/src/sage/sagemath/sagemath/sage/src/build/cythonized/sage/plot/plot3d/index_face_set.c:11127)
    self._separate_creases(render_params.crease_threshold)
  File "sage/plot/plot3d/index_face_set.pyx", line 406, in
sage.plot.plot3d.index_face_set.IndexFaceSet._separate_creases
(/home/thansen/src/sage/sagemath/sagemath/sage/src/build/cythonized/sage/plot/plot3d/index_face_set.c:6136)
    sig_on()
  File "src/cysignals/signals.pyx", line 105, in
cysignals.signals.sig_raise_exception
(build/pari/src/cysignals/signals.c:1341)
FloatingPointError: Floating point exception

On 03/17/2017 03:13 PM, Tobias Hansen wrote:
> I uploaded 7.5.1 to experimental. I'll probably soon update to 7.6.rcx
> and upload the packages required for that to deb-sci-sage.
> I'll update ecl and maxima and upload them and eclib (already packaged
> in git by Julien) to deb-sci-sage. The other packages were we are behind
> are just ntl and some jupyter packages. (And there's a chance the new
> versions are not strictly required for sage to build.)
> 
> Best,
> Tobias



More information about the Debian-science-sagemath mailing list