Doc does not compile before jmol package

78 views
Skip to first unread message

Jori Mäntysalo

unread,
Jul 12, 2016, 7:42:22 AM7/12/16
to sage-...@googlegroups.com
From-scratch devel version, i.e. the one got by git clone & checkout
develop & pull does not fully compile. It stops at

[dochtml] [geometry ] File "sage/plot/plot3d/base.pyx", line 269, in sage.plot.plot3d.base.Graphics3d._rich_repr_jmol (/home/jm58660/sage/src/build/cythonized/sage/plot/plot3d/base.c:6520)
[dochtml] [geometry ] jdata.export_image(targetfile=preview_png, datafile=script,
[dochtml] [geometry ] File "/home/jm58660/sage/local/lib/python2.7/site-packages/sage/interfaces/jmoldata.py", line 181, in export_image
[dochtml] [geometry ] raise RuntimeError("Jmol failed to create file %s, see %s for details"%(repr(targetfile), repr(scratchout)))
[dochtml] [geometry ] RuntimeError: Jmol failed to create file '/home/jm58660/.sage/temp/j-op7010/14652/dir_cThIMM/preview.png', see '/home/jm58660/.sage/temp/j-op7010/14652/tmp_NDOxBA.txt' for details

where /home/jm58660/.sage/temp/j-op7010/14652/tmp_NDOxBA.txt contains

Error: Unable to access jarfile /home/jm58660/sage/local/share/jmol/JmolData.jar

After ./sage -i jmol I was able to compile documentation. I guess this
should be flagged as a bug. Anyways, I don't open ticket as this might be
something in my setup.

--
Jori Mäntysalo

Johan S. H. Rosenkilde

unread,
Jul 12, 2016, 8:08:15 AM7/12/16
to sage-...@googlegroups.com
Hi Jori,

Are you missing other standard spkgs? Such as database_cremona_ellcurve,
palp, sympy?

I never resolved my problem regarding missing packages: https://groups.google.com/forum/#!searchin/sage-devel/johan|sort:date/sage-devel/WERLdTKfAho/OoKt3Z2YBgAJ

Best,
Johan

Jori Mäntysalo

unread,
Jul 12, 2016, 8:13:27 AM7/12/16
to sage-...@googlegroups.com
On Tue, 12 Jul 2016, Johan S. H. Rosenkilde wrote:

> Are you missing other standard spkgs? Such as database_cremona_ellcurve,
> palp, sympy?

At least now new run of 'make' is compiling R. So somehow first run fails.

I did just "make", not with "-j4" as usual. But only now I see the option
"-j1". I will try that next.

--
Jori Mäntysalo

Travis Scrimshaw

unread,
Jul 12, 2016, 9:51:19 AM7/12/16
to sage-devel
I'm starting to wonder if there is a dependency (i.e., jmol) of the docbuilding that isn't yet marked as such. Although I think I've run into this issue when doing an incremental upgrade (where I have had jmol already installed), but I'm not completely sure.

Best,
Travis

Dima Pasechnik

unread,
Jul 12, 2016, 11:23:59 AM7/12/16
to sage-devel


On Tuesday, July 12, 2016 at 2:51:19 PM UTC+1, Travis Scrimshaw wrote:
I'm starting to wonder if there is a dependency (i.e., jmol) of the docbuilding that isn't yet marked as such. Although I think I've run into this issue when doing an incremental upgrade (where I have had jmol already installed), but I'm not completely sure.


I think there is a dependency like this: see sage/plot/plot3d/base.pyx, starting line 111:

    def _rich_repr_(self, display_manager, **kwds):
        """
        Rich Output Magic Method

        See :mod:`sage.repl.rich_output` for details.

        EXAMPLES::

            sage: from sage.repl.rich_output import get_display_manager
            sage: dm = get_display_manager()
            sage: g = sphere()
            sage: g._rich_repr_(dm)
            OutputSceneJmol container

I have no idea where this dependency has to declared...

Dima


 
Best,
Travis

Eric Gourgoulhon

unread,
Jul 13, 2016, 9:18:04 AM7/13/16
to sage-devel
Le mardi 12 juillet 2016 15:51:19 UTC+2, Travis Scrimshaw a écrit :
I'm starting to wonder if there is a dependency (i.e., jmol) of the docbuilding that isn't yet marked as such.

Yes, it seems that some of us already faced this issue:
https://groups.google.com/d/msg/sage-release/jQmE2nsnbDI/u32jH0vOAQAJ

Best regards,

Eric.

John H Palmieri

unread,
Jul 13, 2016, 2:12:46 PM7/13/16
to sage-devel
I created https://trac.sagemath.org/ticket/21014 for this.

--
John

Eric Gourgoulhon

unread,
Jul 14, 2016, 7:08:11 AM7/14/16
to sage-devel
Le mercredi 13 juillet 2016 20:12:46 UTC+2, John H Palmieri a écrit :

Thank you John!
Best regards,
Eric.
Reply all
Reply to author
Forward
0 new messages