> option: 24582 value: 0

Talking about numbers is pretty useless, please refer to the symbolic
constants used in the source.

Seems to correspond to:

        (ldap.OPT_X_TLS_REQUIRE_CERT, self.tls_require_cert),

Please check.

BTW, you don't need to comment out the code setting the options, you
could also assign a None value to the one you don't want to set, so
it'll get skipped automatically.

> The code skips the None values. When it tries to set the 0 value,
> the code throws an exception.

Find out which one exactly, find out the symbolic constant name.

> (Maybe it should skip 0s as well?)

No, only None is intended for skipping.

> This is a bug. The exception handling code assumes that the server
> variable exists when the exception happens. In my case the error happens
> before the "server = self.server_uri" line the the server variable
> doesn't exist.

Fixed by: http://hg.moinmo.in/moin/1.9/rev/801b80a1ba7f

> But the bug is not the root cause of the problem. The root cause is setting
> option 24582 value 0 causing an exception. I have no idea what this option
> is or why it fails.

Have a look at the exception it is throwing, you'll see it after the
above patch is applied, maybe str(err) is then giving some more info.



------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Moin-user mailing list
Moin-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/moin-user

Reply via email to