Re: [Twisted-Python] strange bug with... something :)

2010-08-06 Thread Alan Franzoni
On 8/6/10 5:15 AM, Сергей Магафуров wrote: [cut] I'd like to help you, but I don't really get it. First: - What are you trying to do? - What is your expected outcome? - What is, on the contrary your program's output? Second: your example is too long and is not executable (I need to figure out

Re: [Twisted-Python] xmlrpc protocoll instanze per connection?

2010-08-05 Thread Alan Franzoni
#x27;re creating such objects in your XMLRPC subclass __init___(), that's your problem. bye! Alan Franzoni ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] xmlrpc protocoll instanze per connection?

2010-08-05 Thread Alan Franzoni
;re done. Your method will be invoked once per request. Alan Franzoni ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] xmlrpc protocoll instanze per connection?

2010-08-04 Thread Alan Franzoni
Just ovverride the "protocol" attribute on your factory with the callable you want to be called when a new protocol needs to be instanced. I'd suppose you'd probably want to subclass HTTPChannel or something like that. ___ Twisted-Python mailing list

Re: [Twisted-Python] LDAP binds appears to succeed with no password

2010-07-30 Thread Alan Franzoni
full code, including how you're using such class. Also: - log the entry you've found and that you're using to re-bind. It might not be what you're expecting. - try the very same query using something like ldapsearch or Apache LDAP Studio, and see whether the result differs. -- A