Ask Your Question

Darius's profile - activity

2022-11-18 02:00:34 +0100 received badge  Famous Question (source)
2022-01-12 02:59:24 +0100 received badge  Notable Question (source)
2021-09-06 11:19:49 +0100 received badge  Popular Question (source)
2020-11-09 21:54:19 +0100 asked a question png viewer not opening

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()

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


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