Why does this happen? The import process seems to try and import the ldap module from the modules directory and not from gluon/contrib/login_methods.
File "/home/js/web2py/applications/wos_2015_3/models/db.py", line 11, in <module>
from gluon.contrib.login_methods.ldap_auth import ldap_auth
File "/home/js/web2py/gluon/custom_import.py", line 108, in custom_importer
return NATIVE_IMPORTER(name, globals, locals, fromlist, level)
File "/home/js/web2py/gluon/contrib/login_methods/ldap_auth.py", line 14, in <module>
raise e
ImportError: Cannot import module 'applications.wos_2015_3.modules.ldap'
Regards
Johann
--
Because experiencing your loyal love is better than life itself,
my lips will praise you. (Psalm 63:3)