A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
/var/www/sites/inma/drupal/trombinoscope.py in getLDAP(requete='(membership=pac)', attribut=None) |
47 base = 'dc=ucl,dc=ac,dc=be'
|
48 scope = ldap.SCOPE_SUBTREE
|
=> 49 result_id = l.search(base, scope, requete, attribut)
|
50 result_type, result_data = l.result(result_id)
|
51 # Pemettre le tri 'Nom, Prénom' même si le prénom manque
|
result_id undefined, l = <ldap.ldapobject.SimpleLDAPObject instance>, l.search = <bound method SimpleLDAPObject.search of <ldap.ldapobject.SimpleLDAPObject instance>>, base = 'dc=ucl,dc=ac,dc=be', scope = 2, requete = '(membership=pac)', attribut = None |
/usr/lib/python2.7/dist-packages/ldap/ldapobject.py in search(self=<ldap.ldapobject.SimpleLDAPObject instance>, base='dc=ucl,dc=ac,dc=be', scope=2, filterstr='(membership=pac)', attrlist=None, attrsonly=0) |
592
|
593 def search(self,base,scope,filterstr='(objectClass=*)',attrlist=None,attrsonly=0):
|
=> 594 return self.search_ext(base,scope,filterstr,attrlist,attrsonly,None,None)
|
595
|
596 def search_s(self,base,scope,filterstr='(objectClass=*)',attrlist=None,attrsonly=0):
|
self = <ldap.ldapobject.SimpleLDAPObject instance>, self.search_ext = <bound method SimpleLDAPObject.search_ext of <ldap.ldapobject.SimpleLDAPObject instance>>, base = 'dc=ucl,dc=ac,dc=be', scope = 2, filterstr = '(membership=pac)', attrlist = None, attrsonly = 0, builtin None = None |
/usr/lib/python2.7/dist-packages/ldap/ldapobject.py in search_ext(self=<ldap.ldapobject.SimpleLDAPObject instance>, base='dc=ucl,dc=ac,dc=be', scope=2, filterstr='(membership=pac)', attrlist=None, attrsonly=0, serverctrls=None, clientctrls=None, timeout=-1, sizelimit=0) |
584 RequestControlTuples(serverctrls),
|
585 RequestControlTuples(clientctrls),
|
=> 586 timeout,sizelimit,
|
587 )
|
588
|
timeout = -1, sizelimit = 0 |
/usr/lib/python2.7/dist-packages/ldap/ldapobject.py in _ldap_call(self=<ldap.ldapobject.SimpleLDAPObject instance>, func=<built-in method search_ext of LDAP object>, *args=('dc=ucl,dc=ac,dc=be', 2, '(membership=pac)', None, 0, None, None, -1, 0), **kwargs={}) |
104 try:
|
105 try:
|
=> 106 result = func(*args,**kwargs)
|
107 if __debug__ and self._trace_level>=2:
|
108 if func.__name__!="unbind_ext":
|
result undefined, func = <built-in method search_ext of LDAP object>, args = ('dc=ucl,dc=ac,dc=be', 2, '(membership=pac)', None, 0, None, None, -1, 0), kwargs = {} |