Thanks John.
Yes, I think you are right because this PR is about exactly this issue and,
more importantly, it adds the code that I want to brutalise. I missed this
when used git blame to look for recent changes to sage.misc.latex. This
fits as view() was working without issues for me a month
Playing around with this a little more, I think that this is a bug/timing
issue in sage.misc.latex.py (or in subprocess.run, or a mac oddity since it
only started happening recently).
What seems to be happening is that the generated PDF file, output_file, is
being deleted before the viewer is
I am trying to view crystal graphs from inside sage, and I am going a
little nuts. Sometimes view(...) works as I expect but most of the time it
doesn't, and I see the error message:
The document “sage.pdf” could not be opened. The file doesn’t exist.
(my emphasis). I compiled sage from source
I am trying to view some crystal graphs from inside sage. Sometimes this
works properly, and other times, I am met with a pop error message that
says:
The document “sage.pdf” could not be opened. The file doesn’t exist.
I am using:
SageMath version 10.3.beta1
Release Date: 2023-12-10
Using