People

    --> -->
     
     
    <class 'ldap.SERVER_DOWN'>
    Python 2.7.13: /usr/bin/python
    Fri Nov 29 05:55:58 2024

    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 ()
        200     print '<ul>'
        201     for cat in listeCat:
    =>  202         res = getLDAP(cat.requete, None)
        203         if len(res) > 0:
        204             print '<li><a href="#%s">%s</a></li>' % (cat.anchor, cat.nom)
    res undefined, getLDAP = <function getLDAP>, cat = <__main__.CategoriePrs instance>, cat.requete = '(membership=pac)', builtin None = None
     /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 = {}

    <class 'ldap.SERVER_DOWN'>: {'desc': "Can't contact LDAP server"}
          args = ({'desc': "Can't contact LDAP server"},)
          message = {'desc': "Can't contact LDAP server"}