Re: [web2py] Re: Cannot import module 'ldap'

2013-02-06 Thread Nicholas Duffy
Got it! Apparently the file I had in the modules folder was causing the problem. I don't understand why, but time to go read the docs. Thanks for everybody posting. On Wednesday, February 6, 2013 1:13:45 PM UTC-7, Nicholas Duffy wrote: > > Upon further research it appears that I&

Re: [web2py] Re: Cannot import module 'ldap'

2013-02-06 Thread Nicholas Duffy
. (InteractiveConsole) >>> import ldap Traceback (most recent call last): File "", line 1, in File "c:\web2py\gluon\custom_import.py", line 77, in custom_importer raise ImportError, 'Cannot import module %s' % str(e) ImportError: Cannot import module 

Re: [web2py] Re: Cannot import module 'ldap'

2013-02-06 Thread Nicholas Duffy
Mistakenly ran in the shell but updated my post shortly after. No not via the exe but via web2py.py. I've tried both locally debugging via Wing and on my server running but receive the same error. I'm sure I'm doing something simple wrong. -- --- You received this message because you are

[web2py] Re: Cannot import module 'ldap'

2013-02-05 Thread Nicholas Duffy
:\\Python27\\lib\\site-packages\\win32\\lib', 'C:\\Python27\\lib\\site-packages\\Pythonwin'] >>> On Tuesday, February 5, 2013 3:28:03 PM UTC-7, Massimo Di Pierro wrote: > > No idea. Whan you try open the web2py shell and try a manual import > > python web2py.py -S

[web2py] Re: Cannot import module 'ldap'

2013-02-05 Thread Nicholas Duffy
gt; On Monday, 4 February 2013 17:09:13 UTC-6, Nicholas Duffy wrote: >> >> Hello all, >> -I have downloaded and installed python-ldap 2.4.10 from here: >> http://pypi.python.org/pypi/python-ldap/2.4.10 >> --Windows binary 2.4.10 for Python 2.7 >> --I get no errors

[web2py] Cannot import module 'ldap'

2013-02-05 Thread Nicholas Duffy
Hello all, -I have downloaded and installed python-ldap 2.4.10 from here: http://pypi.python.org/pypi/python-ldap/2.4.10 --Windows binary 2.4.10 for Python 2.7 --I get no errors when trying to import in the shell, so it's installed. -I have followed the directions here to attempt to setup authenti

[web2py] Re: Invalid view for generic.load on server but works fine locally

2013-02-05 Thread Nicholas Duffy
st only. Set > response.generic_patterns to enable generic.load when needed. > > Anthony > > On Monday, February 4, 2013 4:29:56 PM UTC-5, Nicholas Duffy wrote: >> >> Hello all, >> I have a view that looks like this: >> >> *studiomaster/index.html* &g

[web2py] Invalid view for generic.load on server but works fine locally

2013-02-04 Thread Nicholas Duffy
Hello all, I have a view that looks like this: *studiomaster/index.html* {{extend 'layout.html'}} {{=LOAD('studiomaster', 'grid.load', ajax=True, target='grid', content='Loading...')}} The grid function returns a SQLFORM.grid - after filling in the fields and headers - like this: *controllers