On Thu, Oct 29, 2009 at 3:14 AM, Tim Joseph Dumol <t...@timdumol.com> wrote:
> Hey,
>
> Are you making the changing the right files? The new sagenb should be in
> /opt/sage-bin/local/lib/python/site-packages/sagenb, although development on
> sagenb should be done by downloading and extracting latest spkg at
> http://sage.math.washington.edu/home/wstein/patches/sagenb/ and editing the
> src/ folder. Further updates are done through `sage -hg pull` at the src/
> folder. To install the changes, just run `sage -python setup.py install` at
> `<pkg_root>/src` and restarting sage.

+1 that's exactly right.

Also, I think absolutely nothing related to authentication has been
changed in the new notebook.  So I bet your LDAP code will be easy to
adapt to it.

Is it posted a patch needed review somewhere, by the way?  It might be
nice just to include it in sagenb.

William

>
> - Tim Joseph Dumol <tim (at) timdumol (dot) com>
>
>
> On Thu, Oct 29, 2009 at 5:08 PM, Thierry Dumont <tdum...@math.univ-lyon1.fr>
> wrote:
>>
>> Hi,
>>
>> I have installed sage-4.2 and many problems disappeared :-)
>> ( server_pool is working fine now...).
>>
>> BUT I have some questions:
>> ===
>> -I want to adapt my ldap identification to the new notebook.
>> As the notebook changed a lot, I must adapt my routines to it.
>> To do this I want to "trace" different things; so I put some "print"
>> instructions... and nothing is printed (1).
>> (I made a clone sage -clone today   and sage -br after modifications).
>> Why?
>>
>> -sage says "Log opened" when starting the notebook. This is not new. Is
>> there a log file? where? how to write to it?
>>
>> -my identification by Ldap, in the "old" notebook was done by patching
>> avatars.py: I used to do the identification and if the users is
>> authenticated, create him as a sage user if necessary. Do you think that
>> it is always the good way to do this?
>>
>> Yours
>> t.d.
>>
>> (1) for example, in run_notebook.py, I do:
>>
>> def notebook_setup(self=None):
>>        print "in notebook_setup"
>
>
> >
>



-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to