3dplot not working with Ubuntu 20.00 / Firefox from "Ubuntu Software" (Ubuntu software center)

123 views
Skip to first unread message

Jesper R.

unread,
Aug 6, 2023, 6:49:30 PM8/6/23
to sage-support
I am having trouble getting plot3d to work on Ubuntu 20.00 with Firefox (newest) downloaded from "Ubuntu software" (Ubuntu's software centre).

Firefox browser say that it can't see the file:
<>
File not found

Firefox can’t find the file at /tmp/tmpf_qc7k5b/tmp_3nwc11rr.html.

    Check the file name for capitalisation or other typing errors.
    Check to see if the file was moved, renamed or deleted.
<\>

Does anyone have experience with this or is it a bug?

Best regards Jesper

Jan Groenewald

unread,
Aug 7, 2023, 1:39:49 AM8/7/23
to sage-s...@googlegroups.com
Hi

20.04 (not 20.00) is a little old version now. I have had debian and/or ubuntu not plot interactive plots (or sometimes 3d ploits)
in the packaged versions, in which case we install sagemath from source.

First check if your issue is related to this TMPDIR issue?
(Isolate a firefox issue from a sagemath issue by trying chromium, also try your plot on https://sagecell.sagemath.org/ )

Regards,
Jan



--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/026344d3-39fb-4562-87e9-19e598412db1n%40googlegroups.com.

Dima Pasechnik

unread,
Aug 7, 2023, 3:30:17 AM8/7/23
to sage-support
The bigger issue might be with firefox installed via snap.
Then  it has a seriously limited access to local files.


Jesper R.

unread,
Aug 7, 2023, 12:46:33 PM8/7/23
to sage-support
I am so sorry Jan, your are right it is not 20.00 I am just getting a little old. I am on 22.04.2 LTS.

I looked into the case you suggested, but I don't see this as the same problem. Since in my case it make the files and the web browser launches and tries to read the file (It just can't / don't have permission).

I tried with your Chromium trick, and got the same result. However, it did look like it installed it with Snap as well as my Firefox is.

Best regards
Jesper

Jesper R.

unread,
Aug 7, 2023, 1:02:54 PM8/7/23
to sage-support
Hi Dima,

I had the same idea. But I don't quite know how to go about it...

Do I just download a compressed edition of ex. Chromium and build it from source? Would that have permission to look into where Sage places files?

Thank you for your help advance.

Jesper

Jan Groenewald

unread,
Aug 7, 2023, 2:37:50 PM8/7/23
to sage-s...@googlegroups.com
Hi

Get the syntax right or you might break your system's package manager.

Regards,
Jan

Jesper R.

unread,
Aug 8, 2023, 5:04:07 PM8/8/23
to sage-support
Hi,

That sound like great fun (Irony may accrue). :)

Do you by any chance have a guide for doing it with Chromium instead, and getting Sage to accept that as its default browser (not default system browser).

(I might have written this once before, but it does not seam to come up, as an already written message)

Kind regards,
Jesper

Jan Groenewald

unread,
Aug 8, 2023, 5:17:00 PM8/8/23
to sage-s...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages