How find out which plot causes docbuild error

35 views
Skip to first unread message

Ralf Stephan

unread,
Sep 30, 2016, 3:20:43 AM9/30/16
to sage-devel
Hi,

[dochtml] OSError: [plot3d   ] /home/ralf/sage/src/doc/en/reference/plot3d/sage/plot/plot3d/plot3d.rst:1937:
 WARNING: Exception occurred in plotting plot3d-35

how do I find out without manipulating the rst or counting 35 blocks
which plot has failed?

This is a principle question, I could also guess from the change that
triggers the fail of course.

Regards,

Francois Bissey

unread,
Sep 30, 2016, 3:40:50 AM9/30/16
to sage-...@googlegroups.com
A fair question. I cannot remember the folder from the top of my head
but I have debugged that problem several time. First counting 35
blocks may not get you the right one, unless you are building
serially.
You should try to locate it under
local/share/doc/sage/inventory/en/reference/plot3d/sage/plot/plot3d/
there should be plot3d-35.py without a matching .png or .pdf.

François
> --
> 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+...@googlegroups.com.
> To post to this group, send email to sage-...@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.

Ralf Stephan

unread,
Sep 30, 2016, 4:06:17 AM9/30/16
to sage-devel
Thanks!

John H Palmieri

unread,
Sep 30, 2016, 10:50:01 AM9/30/16
to sage-devel
In a perfect world, 1937 would be a line number, either in the original python file or in the rst file. Try looking there.

  John

Ralf Stephan

unread,
Sep 30, 2016, 11:11:13 AM9/30/16
to sage-devel
On Friday, September 30, 2016 at 4:50:01 PM UTC+2, John H Palmieri wrote:
In a perfect world, 1937 would be a line number, either in the original python file or in the rst file. Try looking there.

The actual rst file is not the one that is autogenerated from the docs,
probably in memory.
Reply all
Reply to author
Forward
0 new messages