On Thu, Mar 10, 2016 at 7:57 AM, Jori Mäntysalo <[email protected]> wrote: > 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.
https://wiki.sagemath.org/SageServer > >>> 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 -- William (http://wstein.org) -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
