You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
note the "e.g." above. the same thing happens for PDF and DVI files. browser, on the other hand, reports an error:
sage: viewer.browser('/x/y/w3m')
sage: tutorial()
/Users/buildsage/src/import/sage/sage-5.4.1/local/bin/sage-native-execute: line 8: /x/y/w3m: No such file or directory
on the mailing list, Ivan Andrus commented thus:
That's true. The function specifically sends all output to /dev/null, so there's probably some reason for doing that. But we could at least use the exit status to print a warning that it might not work.
(ps -- let me know about formatting, tagging, etc., mistakes i may have made.)
The file sage/misc/viewer.py passes all the doctests precisely because it does not care whether the commands that are being doctested are actually present in the system. I tried adding a check and then almost everything fails.
How should I go about adding the test for a command then? Introduce a new keyword to the Viewer._set() method called check_command=True?
hi. with #11795 installed, misconfiguring the, e.g., PNG viewer causes a plot to fail silently.
note the "e.g." above. the same thing happens for PDF and DVI files. browser, on the other hand, reports an error:
on the mailing list, Ivan Andrus commented thus:
(ps -- let me know about formatting, tagging, etc., mistakes i may have made.)
CC: @nathanncohen @gvol
Component: user interface
Issue created by migration from https://trac.sagemath.org/ticket/13842
The text was updated successfully, but these errors were encountered: