2009/9/29 Thierry Dumont <[email protected]>: > Super.. > Question: can we have users of the pool on different machines now? (the > directory beiing shared by nfs), and having the same groups on the > different machines?
In theory, yes, if you are willing to edit some code in notebook.py to set some options. It is probably better to wait for the next release (i.e., a week?) and that will have the capability you want easily usable and documented. You may want to look at the code in sagenb/interfaces/expect.py and sagenb/notebook/notebook.py (that makes a WorksheetProcess) to see what is done. The design is such that it will be very easy to fully support the functionality you're requesting soon. -- William > > William Stein a écrit : >> On Tue, Sep 29, 2009 at 1:00 PM, [email protected] <[email protected]> wrote: >>> >>> >>> On 26 zář, 15:27, Thierry Dumont <[email protected]> wrote: >>>> ... strange only for me I hope. >>>> >>> I have similar problem. As I undesrstand, if the user sage runs >>> program sage and user sageuser is in server_pool, then .sage directory >>> should be writeable for sage, but not for sageuser. Right? Otherwise >> >> The sageuser has to be able to write to the worksheet directories. >> This is a "lame" aspect of the notebook design. It's so lame, I completely >> rewrote the worksheet process interface during the last week and got >> rid of this problem -- now the users in the server_pool just have to have >> access to a common filesystem, e.g., /tmp/ and everything will work. >> This is >> >> http://trac.sagemath.org/sage_trac/ticket/6983 >> >> We will be switching to this new notebook code in sage-4.1.2. >> In the meantime you can try the spkg at >> >> http://sage.math.washington.edu/home/wstein/patches/sagenb/ >> >> if you want. It's version 0.1.14 right now. To use it, you would do >> the following: >> >> (1) install it via >> >> http://sage.math.washington.edu/home/wstein/patches/sagenb/sagenb-0.1.14.spkg >> >> (2) cd to the directory where your sage_notebook is located (e.g., >> $HOME/.sage) and type >> >> sage: import sagenb.notebook.notebook_object as n >> sage: n.notebook('sage_notebook') >> >> This will upgrade the notebook directory and launch the new server. >> You can pass all the server_pool etc options that you usuallly pass in. >> >> The above will backup your sage_notebook directory, but since this is >> not yet released, you may want to manually make your own extra backup >> with >> >> tar jcvf sage_notebook.tar.bz2 sage_notebook >> >> before doing the above, just in case. >> >> William >> >> >>> sageuser cen delete other worksheets. With this settings I have the >>> same error message (with Thierry.Dumont replaced by robert.marik, of >>> course :) ) >>> >>> Robert >> >> >> > > > > > -- William Stein Associate Professor of Mathematics University of Washington http://wstein.org --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---
