#21014: make: docbuilding should depend on jmol
-------------------------------------+-------------------------------------
Reporter: jhpalmieri | Owner:
Type: defect | Status: needs_info
Priority: blocker | Milestone: sage-7.3
Component: build | Resolution:
Keywords: | Merged in:
Authors: John Palmieri | Reviewers: Jeroen Demeyer, Dima
| Pasechnik
Report Upstream: N/A | Work issues:
Branch: u/jhpalmieri/doc- | Commit:
build-depends-on-jmol | d741fbb99328eb03aea7c78db8d8370700ee705c
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Old description:
> There are situations where jmol might not be installed at the time docs
> are already building, and this leads to failures of the latter, as some
> doctests (cf. e.g. #20346) now use jmol.
>
> See https://groups.google.com/d/msg/sage-devel/SlpXXtK_Cy0/QynwDq2gAAAJ
> and https://groups.google.com/d/msg/sage-
> release/jQmE2nsnbDI/u32jH0vOAQAJ.
New description:
{{{
[plot3d ]
/Users/palmieri/Desktop/Sage_stuff/sage_builds/clean/sage-7.3.beta7/local/lib/python2.7
/site-packages/sage/plot/plot3d/platonic.py:docstring of
sage.plot.plot3d.platonic:10: WARNING: Exception occurred in plotting
platonic-1
[plot3d ] from
/Users/palmieri/Desktop/Sage_stuff/sage_builds/clean/sage-7.3.beta7/src/doc/en/reference/plot3d/sage/plot/plot3d/platonic.rst:
[plot3d ] Traceback (most recent call last):
[plot3d ] File
"/Users/palmieri/Desktop/Sage_stuff/sage_builds/clean/sage-7.3.beta7/local/lib/python2.7
/site-
packages/matplotlib-1.5.1-py2.7-macosx-10.9-x86_64.egg/matplotlib/sphinxext/plot_directive.py",
line 517, in run_code
[plot3d ] six.exec_(code, ns)
[plot3d ] File
"/Users/palmieri/Desktop/Sage_stuff/sage_builds/clean/sage-7.3.beta7/local/lib/python2.7
/site-
packages/matplotlib-1.5.1-py2.7-macosx-10.9-x86_64.egg/matplotlib/externals/six.py",
line 672, in exec_
[plot3d ] exec("""exec _code_ in _globs_, _locs_""")
[plot3d ] File "<string>", line 1, in <module>
[plot3d ] File "<string>", line 4, in <module>
[plot3d ] File "<string>", line 8, in sphinx_plot
[plot3d ] File "sage/plot/plot3d/base.pyx", line 1515, in
sage.plot.plot3d.base.Graphics3d.save
(build/cythonized/sage/plot/plot3d/base.c:17559)
[plot3d ] self.save_image(filename)
[plot3d ] File "sage/plot/plot3d/base.pyx", line 1444, in
sage.plot.plot3d.base.Graphics3d.save_image
(build/cythonized/sage/plot/plot3d/base.c:17101)
[plot3d ] self._save_image_png(filename, **kwds)
[plot3d ] File "sage/plot/plot3d/base.pyx", line 1408, in
sage.plot.plot3d.base.Graphics3d._save_image_png
(build/cythonized/sage/plot/plot3d/base.c:16685)
[plot3d ] scene = self._rich_repr_jmol(**opts)
[plot3d ] File "sage/plot/plot3d/base.pyx", line 269, in
sage.plot.plot3d.base.Graphics3d._rich_repr_jmol
(build/cythonized/sage/plot/plot3d/base.c:6520)
[plot3d ] jdata.export_image(targetfile=preview_png, datafile=script,
[plot3d ] File
"/Users/palmieri/Desktop/Sage_stuff/sage_builds/clean/sage-7.3.beta7/local/lib/python2.7
/site-packages/sage/interfaces/jmoldata.py", line 181, in export_image
[plot3d ] raise RuntimeError("Jmol failed to create file %s, see %s for
details"%(repr(targetfile), repr(scratchout)))
[plot3d ] RuntimeError: Jmol failed to create file
'/Users/palmieri/.sage/temp/Johns-
iMac.local/28162/dir_7BaenG/preview.png', see '/Users/palmieri/.sage/temp
/Johns-iMac.local/28162/tmp_zR2J1Q.txt' for details
}}}
See https://groups.google.com/d/msg/sage-devel/SlpXXtK_Cy0/QynwDq2gAAAJ
and https://groups.google.com/d/msg/sage-release/jQmE2nsnbDI/u32jH0vOAQAJ.
--
Comment (by jdemeyer):
I agree with strogdon, it would be good to see also the `.txt` files that
the error messages refer to.
--
Ticket URL: <https://trac.sagemath.org/ticket/21014#comment:23>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.