On Thu, 10 Mar 2016, kcrisman wrote:

I found the reason. File permissions.

In your specific case, or in general?  If in general, we can open an issue to at least keep track of it and suggest workarounds.

Sage only has notebook(..., server_pool=['someone@somewhere'], ...). It is up to administrator to make the account running Sage GUI to be able to log in as someone@somewhere.

The real bug is that we have no guide to installing Sage server.

But... If I say plot(sin) it works: the process running GUI as uid 'sagegui' makes a file to /tmp, the process running computation as uid 'sagecalc' reads it and makes a picture file that 'sagegui' can read. But for %latex it does not work: file written by 'sagecalc' gets permissions that do not allow 'sagegui' to read it. Why so?

I think you'd have to go through the code that parses the various percent directives in sagenb and see how they get used; sometimes I think they do start up new processes, whereas plot() is a "Sage native" process.

OK, so there is some difference coming from system() vs. some other functin. Duh. I will look this at monday, when we have a service break.

--
Jori Mäntysalo

Reply via email to