[sage-support] Error message during Installation from binaries

2013-07-04 Thread pascal
I'm trying to install Sage from latest binaries to an Ubuntu 10.04 partition (sure it's an old version but the machine is not mine and I can't upgrade). In order to run Sage, I typed ./sage from the command line and readily got the following error message: File "/home/po/mon_sage/sage-5.10

Re: [sage-support] Re: LDAP (again...) on version 5.10.

2013-07-04 Thread Jori Mantysalo
On Thu, 4 Jul 2013, P Purkayastha wrote: Does only python-ldap work, or is there any other package needed (in the system, for example)? Also, can you give some feedback on whether you have been able to make LDAP actually work? I don't have clean install to test this. There was 5.6 working befo

Re: [sage-support] Re: LDAP (again...) on version 5.10.

2013-07-04 Thread Jori Mantysalo
On Thu, 4 Jul 2013, Andrey Novoseltsev wrote: (And for others reading this thread: first say "./sage -sh" and then to prompt just "easy_install python-ldap".) For me this gives Searching for python-ldap Reading http://pypi.python.org/simple/python-ldap/ Download error: unknown url type: http

Re: [sage-support] Re: LDAP (again...) on version 5.10.

2013-07-04 Thread Andrey Novoseltsev
On Thursday, 4 July 2013 01:53:36 UTC-6, jori.ma...@uta.fi wrote: > > (And for others reading this thread: first say "./sage -sh" and then to > prompt just "easy_install python-ldap".) > > For me this gives Searching for python-ldap Reading http://pypi.python.org/simple/python-ldap/ Download er

Re: [sage-support] Re: LDAP (again...) on version 5.10.

2013-07-04 Thread P Purkayastha
Does only python-ldap work, or is there any other package needed (in the system, for example)? Also, can you give some feedback on whether you have been able to make LDAP actually work? Thanks! basu. On Thu, Jul 4, 2013 at 10:31 PM, Olalékan ABOU BAKAR wrote: > Confirmed.. It works! > > I didn

Re: [sage-support] Re: LDAP (again...) on version 5.10.

2013-07-04 Thread Olalékan ABOU BAKAR
Confirmed.. It works! I didn't think an easy_install will work from sage shell but it did! Just install the development headers and you're good. Restart the nootebook server.. You will the LDAP UI under Settings > Notebook Settings. On Thu, Jul 4, 2013 at 3:53 AM, Jori Mantysalo wrote: > On Thu

[sage-support] Trick for solving differential equation with real()?

2013-07-04 Thread Georgi Guninski
For $x$ real I have a real function $F(x)$ (equal to a function I know) and a differential equation $G$ with some complex functions for which $\Re(G)=0$ and the imaginary part doesn't necessarily vanish. desolve (even with contrib_ode=True) fails to solve real(G),F(x), though it solves G,F(x) an

Re: [sage-support] How to define L-series?

2013-07-04 Thread Georgi Guninski
Currently you need to load "eulerprod.py" (search for it), maybe from here: http://purplesage.googlecode.com/hg-history/6bac823fb2ef13c9c602203591587049acfe3863/psage/lseries/eulerprod.py This works for me: sage: load eulerprod.py sage: Z1.=ZZ[] sage: Nf.=NumberField(Z**2+1) sage: L=LSeries(Nf)

[sage-support] Re: c++'s "map" equivalent in sage/python

2013-07-04 Thread Jason Grout
A set in python isn't guaranteed to have any specific order. Perhaps maintaining the keys in a separate heapq is what you want? http://docs.python.org/2/library/heapq.html Jason On 7/3/13 6:47 PM, Sam Math wrote: Thank you. This solution is much quicker, since the list of keys is kept in or

Re: [sage-support] Re: LDAP (again...) on version 5.10.

2013-07-04 Thread Jori Mantysalo
On Thu, 4 Jul 2013, P Purkayastha wrote: I think you need to install python-ldap in order to see any UI. Great, that was it! (And for others reading this thread: first say "./sage -sh" and then to prompt just "easy_install python-ldap".) I will now check if LDAP really works and install op