Re: [web2py] Re: ldap import problem

2015-08-26 Thread Johann Spies
Thanks Massimo. After installing python-ldap the problem was solved. I did not realise that the package in gluon/contrib was dependent on external stuff. Regards Johann -- Because experiencing your loyal love is better than life itself, my lips will praise you. (Psalm 63:3) -- Resources: -

Re: [web2py] Re: ldap import problem

2015-08-26 Thread Massimo Di Pierro
I understand that but that is not the problem. When you say import ldap, web2py tries to import it from various location. When it fails to import from all locations, it reports the error you see and the error include the path to the first location it tried. That does not mean that it did not t

Re: [web2py] Re: ldap import problem

2015-08-24 Thread Johann Spies
On 24 August 2015 at 16:20, Massimo Di Pierro wrote: So the problem is that it cannot import ldal. Do you know it works from the > normal python shell? > > >>> import ldap > > Does it work from the web2py shell? > No, I cannot import ldap. I also tried it from another app (welcome) this time:

Re: [web2py] Re: ldap import problem

2015-08-24 Thread Massimo Di Pierro
So the problem is that it cannot import ldal. Do you know it works from the normal python shell? >>> import ldap Does it work from the web2py shell? On Monday, 24 August 2015 02:13:25 UTC-5, Johann Spies wrote: > > Thanks Richard and Massimo for your replies. > > Version 2.12.3-stable+timestam

Re: [web2py] Re: ldap import problem

2015-08-24 Thread Johann Spies
Thanks Richard and Massimo for your replies. Version 2.12.3-stable+timestamp.2015.08.18.19.14.07 Massimo, there is nothing in modules - only __init__.py This is a new app. Regards Johann -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web

[web2py] Re: ldap import problem

2015-08-20 Thread Massimo Di Pierro
web2py always trying the app/modules folder before anywhere else. That is how it allows an app to bring along the modules it requires and not conflict with those pre-installed. That said. The error you see does not mean it does not also look somewhere else. Do you actually have an app/modules/