#16262: Tachyon raytracer should throw error if unsuccessful
------------------------+----------------------------
Reporter: niles | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-6.2
Component: graphics | Keywords: tachyon
Merged in: | Authors:
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Commit: | Dependencies:
Stopgaps: |
------------------------+----------------------------
One can read whether or not `tachyon_rt` is successful using the `verbose`
option. But it would be better to raise an error if rendering is
unsuccessful.
This would make doctests of tachyon plots more meaningful. As it is, a
doctest such as the one for
[file://localhost/Applications/sage/src/doc/output/html/en/reference/plot3d/sage/plot/plot3d/tachyon.html#sage.plot.plot3d.tachyon.Tachyon.show
Tachyon.show] can pass even if the `.dat` file is invalid and no image is
produced.
An obvious fix would be to use the exit status of the `tachyon` command
run from `os.system`. Unfortunately I seemed to get exit status 0 even
when the rendering was not successful.
--
Ticket URL: <http://trac.sagemath.org/ticket/16262>
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 http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.