Hi Michael,

I know you mentioned that I should send you more info if I get an exception.


I got a SERVER_DOWN and then retried the call manually and blew up python2.4

This is CentOS 5, python2.4.4, python-ldap 2.3.4

File "/usr/lib/python2.4/site-packages/ldap/ldapobject.py", line 507, in
search_s
    return
self.search_ext_s(base,scope,filterstr,attrlist,attrsonly,None,None,timeout=
self.timeout)
  File "/usr/lib/python2.4/site-packages/ldap/ldapobject.py", line 501, in
search_ext_s
    return self.result(msgid,all=1,timeout=timeout)[1]
  File "/usr/lib/python2.4/site-packages/ldap/ldapobject.py", line 427, in
result
    res_type,res_data,res_msgid = self.result2(msgid,all,timeout)
  File "/usr/lib/python2.4/site-packages/ldap/ldapobject.py", line 431, in
result2
    res_type, res_data, res_msgid, srv_ctrls =
self.result3(msgid,all,timeout)
  File "/usr/lib/python2.4/site-packages/ldap/ldapobject.py", line 437, in
result3
    ldap_result = self._ldap_call(self._l.result3,msgid,all,timeout)
  File "/usr/lib/python2.4/site-packages/ldap/ldapobject.py", line 96, in
_ldap_call
    result = func(*args,**kwargs)
ldap.SERVER_DOWN: {'desc': "Can't contact LDAP server"}
>>> ico.getNewUsersThatWereInvited()
python2.4: io.c:234: ber_flush2: Assertion `( (sb)->sb_opts.lbo_valid == 0x3
)' failed.
Aborted

I thought I'd send it to you incase it gives you any clues about SERVER_DOWN
which has been a royal pain!

I actually was able to reproduce this error twice.  3rd time worked.

Thanks again for all your help!

Ron


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Python-LDAP-dev mailing list
Python-LDAP-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/python-ldap-dev

Reply via email to