Re: [sage-support] Re: Notebook & ldap: crypto missing etc.

2012-08-14 Thread Marshall Hampton
I think I am having the same problem, and after trying everything on this thread I am still getting segfaults every time I use secure=True, with exceptions.ImportError: cannot import name crypto Failed to load application: cannot import name crypto This is on a linux machine running Kubuntu 11.1

Re: [sage-support] Re: Notebook & ldap: crypto missing etc.

2012-08-14 Thread Jori Mantysalo
On Thu, 9 Aug 2012, Keshav Kini wrote: Still puzzling about this... Now I have tried to get ldap to really work. And got "Failed to load application: No module named flask_version". This is probably due to something François Bissey pointed out to me and Jason Grout earlier in an email - the se

[sage-support] Re: Notebook & ldap: crypto missing etc.

2012-08-08 Thread Jason Grout
On 8/8/12 11:00 AM, Keshav Kini wrote: Jori Mantysalo writes: Still puzzling about this... Now I have tried to get ldap to really work. And got "Failed to load application: No module named flask_version". This is probably due to something François Bissey pointed out to me and Jason Grout earl

[sage-support] Re: Notebook & ldap: crypto missing etc.

2012-08-08 Thread Keshav Kini
Jori Mantysalo writes: > Still puzzling about this... Now I have tried to get ldap to really > work. And got "Failed to load application: No module named > flask_version". This is probably due to something François Bissey pointed out to me and Jason Grout earlier in an email - the setup.py for sa

Re: [sage-support] Re: Notebook & ldap: crypto missing etc.

2012-08-08 Thread Jori Mantysalo
Still puzzling about this... Now I have tried to get ldap to really work. And got "Failed to load application: No module named flask_version". I did apt-get install python-flask, but it didn't help. I used sage -sh and said "easy_install flask", but just got "Flask 0.9 is already the active ver

Re: [sage-support] Re: Notebook & ldap: crypto missing etc.

2012-08-04 Thread Jan Groenewald
Hi I added it to the trac ticket, but was waiting for sage-notebook membership before adding it to the thread. Now I am on really really spotty internet for a few weeks. Regards, Jan On 4 August 2012 11:45, Dima Pasechnik wrote: > > > On Friday, 3 August 2012 21:18:15 UTC+8, jori.ma...@uta.fi

Re: [sage-support] Re: Notebook & ldap: crypto missing etc.

2012-08-04 Thread Dima Pasechnik
On Friday, 3 August 2012 21:18:15 UTC+8, jori.ma...@uta.fi wrote: > > On Fri, 3 Aug 2012, Jan Groenewald wrote: > > > Can you update the online documentation where you found these > instructions? > > It was not wiki, it was this thread: > > https://groups.google.com/forum/?fromgroups#!topic/s

Re: [sage-support] Re: Notebook & ldap: crypto missing etc.

2012-08-03 Thread Jori Mantysalo
On Fri, 3 Aug 2012, Jan Groenewald wrote: Can you update the online documentation where you found these instructions? It was not wiki, it was this thread: https://groups.google.com/forum/?fromgroups#!topic/sage-notebook/zjPaxO27uzg/discussion And there is still left to set up ldap. I'll cont

Re: [sage-support] Re: Notebook & ldap: crypto missing etc.

2012-08-03 Thread Jan Groenewald
Hi On 3 August 2012 12:24, Jori Mantysalo wrote: > Arghs, I am dumb! There was no python-dev installed. Sage contains it own > python, but for some reason it was not enought for sagenb-ldap to compile > correctly. > > Sorry for everybody about this. > Glad it was solved! Can you update the onl

Re: [sage-support] Re: Notebook & ldap: crypto missing etc.

2012-08-03 Thread Jori Mantysalo
Arghs, I am dumb! There was no python-dev installed. Sage contains it own python, but for some reason it was not enought for sagenb-ldap to compile correctly. Sorry for everybody about this. -- Jori Mäntysalo -- -- To post to this group, send email to sage-support@googlegroups.com To unsubscr

Re: [sage-support] Re: Notebook & ldap: crypto missing etc.

2012-08-03 Thread Jori Mantysalo
On Fri, 3 Aug 2012, Jan Groenewald wrote: I work as root, so there is no file permission problems. This should really not be necessary. I know, but just to cut one (very impropable) reason to fail. Can you try the notebook commands here before the LDAP additions? Works without any probl

Re: [sage-support] Re: Notebook & ldap: crypto missing etc.

2012-08-03 Thread Jan Groenewald
Hi Jori, On 3 August 2012 09:53, Jori Mantysalo wrote: > On Thu, 2 Aug 2012, John H Palmieri wrote: > > You can find logs for individual packages in $SAGE_ROOT/spkg/logs/ >> > > "fgrep -L 'Successfully installed' *" on that directory found only > prereq-1.0.log, which ends without errors. pycry

Re: [sage-support] Re: Notebook & ldap: crypto missing etc.

2012-08-03 Thread Jori Mantysalo
On Thu, 2 Aug 2012, John H Palmieri wrote: You can find logs for individual packages in $SAGE_ROOT/spkg/logs/ "fgrep -L 'Successfully installed' *" on that directory found only prereq-1.0.log, which ends without errors. pycrypto-2.1.0.log, gnutls-2.2.1.p6.log and python_gnutls-1.1.4.p7.log c

Re: [sage-support] Re: Notebook & ldap: crypto missing etc.

2012-08-02 Thread John H Palmieri
On Thursday, August 2, 2012 8:20:11 AM UTC-7, Jan Groenewald wrote: > > Hi > > On 2 August 2012 17:17, Jori Mantysalo wrote: > >> On Thu, 2 Aug 2012, Jan Groenewald wrote: >> >> - - I also think your problem is dependencies not 5.1. How did you >>> install? Source or Binary? If a source compile

Re: [sage-support] Re: Notebook & ldap: crypto missing etc.

2012-08-02 Thread Jan Groenewald
Hi On 2 August 2012 17:17, Jori Mantysalo wrote: > On Thu, 2 Aug 2012, Jan Groenewald wrote: > > - - I also think your problem is dependencies not 5.1. How did you >> install? Source or Binary? If a source compile, did you check that your >> build completed properly? >> > > I compiled from sour

Re: [sage-support] Re: Notebook & ldap: crypto missing etc.

2012-08-02 Thread Jori Mantysalo
On Thu, 2 Aug 2012, Jan Groenewald wrote: - - I also think your problem is dependencies not 5.1. How did you install? Source or Binary? If a source compile, did you check that your build completed properly? I compiled from source. And no, I didn't check logs (where are they?) from compiling;

Re: [sage-support] Re: Notebook & ldap: crypto missing etc.

2012-08-02 Thread Jan Groenewald
Hi On 2 August 2012 15:17, Jori Mantysalo wrote: > On Thu, 2 Aug 2012, Jan Groenewald wrote: > > Failed to load application: cannot import name crypto > > Please do this >> >> dpkg -l |grep libssl >> > > There was libssl-dev, libssl-doc and libssl1.0.0 installed. > > sudo apt-get ins

Re: [sage-support] Re: Notebook & ldap: crypto missing etc.

2012-08-02 Thread Jori Mantysalo
On Thu, 2 Aug 2012, Jan Groenewald wrote: Failed to load application: cannot import name crypto Please do this dpkg -l |grep libssl There was libssl-dev, libssl-doc and libssl1.0.0 installed. sudo apt-get install libssl0.9.8 Installed, but still does not work. Maybe I should try with S

Re: [sage-support] Re: Notebook & ldap: crypto missing etc.

2012-08-02 Thread Jan Groenewald
Hi On 2 August 2012 14:14, Jori Mantysalo wrote: > On Tue, 31 Jul 2012, Maarten Derickx wrote: > > but if I try with secure=True, I got >>> Failed to load application: cannot import name crypto >>> >> > Your error is probably longer then the above right? Can you post the full >> traceback. It

Re: [sage-support] Re: Notebook & ldap: crypto missing etc.

2012-08-02 Thread Jori Mantysalo
On Tue, 31 Jul 2012, Maarten Derickx wrote: but if I try with secure=True, I got Failed to load application: cannot import name crypto Your error is probably longer then the above right? Can you post the full traceback. It might help to get to know where it is trying to import the name "crypt

[sage-support] Re: Notebook & ldap: crypto missing etc.

2012-07-31 Thread Maarten Derickx
Le mardi 31 juillet 2012 14:20:14 UTC+2, jori.ma...@uta.fi a écrit : > > I am setting up Sage 5.1 on Ubuntu 12.04. > > I have done > > sage -sh > $ easy_install python-ldap > > and > > cd $SAGE_ROOT/devel > git clone -b ldap https://github.com/rmartinjak/sagenb.git sagenb-ldap > ln -s sage

[sage-support] Re: Notebook & ldap: crypto missing etc.

2012-07-31 Thread Maarten Derickx
Le mardi 31 juillet 2012 14:20:14 UTC+2, jori.ma...@uta.fi a écrit : > > I am setting up Sage 5.1 on Ubuntu 12.04. > > I have done > > sage -sh > $ easy_install python-ldap > > and > > cd $SAGE_ROOT/devel > git clone -b ldap https://github.com/rmartinjak/sagenb.git sagenb-ldap > ln -s sage