Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

png viewer not oppening

Using Linux subsystem for windows with ubuntu 20.04 and sagemath 9.0

When I try to open a png plot from sagemath I get the message that it opens however nothing happens.

Launched png viewer for Graphics object consisting of 1 graphics primitive

However sagemath viewer is configured correctly

sage: viewer.png_viewer()
'xdg-open'

And the most peculiar thing is that by attempting to open a png file from shell trough sagemath it can with an error that persists even if I open the png without sagemath.

sage -sh xdg-open test.png

or

xdg-open test.png

Opens the png successfully and returns this error message

Error: no "view" rule for type "image/png" passed its test case
       (for more information, add "--debug=1" on the command line)

And when I add --debug=1 the command is no longer recognized

click to hide/show revision 2
None

png viewer not oppening

Using Linux subsystem for windows with ubuntu 20.04 and sagemath 9.0

When I try to open a png plot from sagemath I get the message that it opens however nothing happens.

Launched png viewer for Graphics object consisting of 1 graphics primitive

However sagemath viewer is configured correctly

sage: viewer.png_viewer()
'xdg-open'

And the most peculiar thing is that by attempting to open a png file from shell trough sagemath it can with an error that persists even if I open the png without sagemath.

sage -sh xdg-open test.png

or

xdg-open test.png

Opens the png successfully and returns this error message

Error: no "view" rule for type "image/png" passed its test case
       (for more information, add "--debug=1" on the command line)

And when I add --debug=1 the command is no longer recognized