On Mon, Nov 8, 2021 at 6:40 PM Dima Pasechnik <dimp...@gmail.com> wrote:
> > > On Mon, Nov 8, 2021 at 6:35 PM Dima Pasechnik <dimp...@gmail.com> wrote: > >> I cannot view the file generated by these commands (on latest Sage beta) >> in a new Chrome, it just displays blank screen. >> Here is the file: https://users.ox.ac.uk/~coml0531/tmp/t.html >> > > oops, it's silly of me to assume it would work without a correct > three.js.min link in the body. > fixed now, this way it works in Firefox as well as in Chrome. Perhaps it has something to do with how the interaction of html/js works in Sage. Upon being posted to a proper http server, it works. Without it, less so. It works in Jupyter, i.e. if you start Sage as ./sage -n and evaluate a cell with lines var('x,y,z') implicit_plot3d(x^2+y^2+z^2==4, (x,-3,3), (y,-3,3), (z,-3,3)) you get the picture all right. > > >> >> >> On Mon, Nov 8, 2021 at 6:13 PM rickhg12hs <rickhg1...@gmail.com> wrote: >> >>> After >>> ``` >>> sage.misc.viewer.viewer.browser('firefox') >>> ``` >>> ... do you experience the same behavior? >>> >>> On Monday, November 8, 2021 at 12:25:24 PM UTC+1 John Cremona wrote: >>> >>>> I don't often use 3D graphics, but when I run implicitplot3d() I get >>>> a file permissions error (on ubuntu 20.04): >>>> >>>> # example from the docstring >>>> sage: var('x,y,z') >>>> (x, y, z) >>>> sage: implicit_plot3d(x^2+y^2+z^2==4, (x,-3,3), (y,-3,3), (z,-3,3)) >>>> Launched html viewer for Graphics3d Object >>>> >>>> Over in my browser (chromium-browser) I see the error message "Access >>>> to the file was deniedThe file at >>>> file:///home/john/.sage/temp/john-Latitude-E5470/2250012/tmp_x5e1jfy0.html >>>> >>>> is not readable. It may have been removed, moved or file permissions >>>> may be preventing access." I changed the permissions on .sage and >>>> everything under it to a+rx and reloaded, with no change. I deleted >>>> all of ~/.sage and restarted sage and reran the commands, but the same >>>> happened. >>>> >>>> I can view other html files in my home directory using the browser. >>>> >>>> What should I do? >>>> >>>> John >>>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "sage-support" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to sage-support+unsubscr...@googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/sage-support/a1f134eb-76b2-41b3-8715-2021a5323349n%40googlegroups.com >>> <https://groups.google.com/d/msgid/sage-support/a1f134eb-76b2-41b3-8715-2021a5323349n%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/CAAWYfq1UON-jAShyn_Qvh6JjckN3fqHQgrjusKfeCnF4%2BO5awg%40mail.gmail.com.