I wonder if 'file:///' must be present in the URL for the script source for
Chrome/Chromium to load it.

On Tue, 9 Nov 2021, 09:16 Eric Gourgoulhon, <egourgoul...@gmail.com> wrote:

> I confirm the issue experienced by John with Chromium: on my Ubuntu
> 20.04.3 computer, the implicit_plot3d command from Sage console
> - works out of the box by opening a new tab in Firefox (my default browser)
> - results in a file access error with Chromium, after having selected the
> latter by
>   sage: sage.misc.viewer.viewer.browser('chromium')
>
> It turns out that one cannot even open the directory ~/.sage from Chromium
> with a simple CTRL+O: this results in "Permission denied", while the same
> CTRL+O works fine with Firefox. Actually, no hidden directory can be opened
> from Chromium. So this is certainly a configuration issue on the Chromium
> side.
>
> Eric.
>
> Le lundi 8 novembre 2021 à 12:25:24 UTC+1, John Cremona a écrit :
>
>> 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/0f2b339b-f6e9-4b84-b3b3-7fcfdcbe9e83n%40googlegroups.com
> <https://groups.google.com/d/msgid/sage-support/0f2b339b-f6e9-4b84-b3b3-7fcfdcbe9e83n%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/CAAWYfq0Fi_CmFk3nycSe%3D9OG-27eK3Jki14spqoNbs15WUmjxA%40mail.gmail.com.

Reply via email to