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()
'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
This must be some oddity of the Linux subsystem for Windows, because
sage -sh xdg-open test.png
works well with native Ubuntu 20.04.