Re: [Twisted-Python] SPAM-LOW: Re: Conch Checkers Help

2009-05-14 Thread asset
I tried that checker, but it failed authentication. Im not sure if theres a way to tell it which users can authenticate or if it just succeeds with any valid user, but it would'nt go through. I'm also not sure if it was intended for linux distros like Ubuntu (which is what im testing on). I even

Re: [Twisted-Python] Conch Checkers Help

2009-05-14 Thread Paul Swartz
On 05/14/2009 07:14 PM, asset wrote: > Can somebody point me into the right direction in how to switch out > checkers.InMemoryUsernamePasswordDatabaseDontUse with something that > would authenticate linux users, like root? You're probably looking for twisted.conch.checkers.UnixPasswordDatabase. -

[Twisted-Python] Conch Checkers Help

2009-05-14 Thread asset
Can somebody point me into the right direction in how to switch out checkers.InMemoryUsernamePasswordDatabaseDontUse with something that would authenticate linux users, like root? On some things i just cant seem to get past documentation and api docs. Hoping for a slight push in the right dire

Re: [Twisted-Python] XMPP/Jabber server example

2009-05-14 Thread Garret Heaton
Thanks for the help! I created a ticket requesting examples here: http://twistedmatrix.com/trac/ticket/3837. If the recent interest in Twisted + XMPPcontinues I'd be happy to contribute to the goals listed here

Re: [Twisted-Python] Consistent interfaces to asynchronous partially-available services using Deferreds and state machines (was Re: Another approach to allowing __init__ to work with Deferreds)

2009-05-14 Thread Phil Christensen
On May 14, 2009, at 4:01 AM, Terry Jones wrote: "Phil" == Phil Christensen writes: Phil> I don't know if I agree with the need for such a feature (that is, Phil> deferred __init__ usage), but it was a very interesting coding Phil> challenge I wanted to take a whack at. I *think* I might hav

Re: [Twisted-Python] How do I turn off certain log messages?

2009-05-14 Thread Reza Lotun
On Thu, May 14, 2009 at 1:38 PM, Itamar Shtull-Trauring wrote: >>  - setting request.channel.persistent = False to force non persistent >> connections > >> I'm particularly concerned with squeezing some performance out of the >> web.server and also web.client. > > Those two things are contradictor

Re: [Twisted-Python] How do I turn off certain log messages?

2009-05-14 Thread Itamar Shtull-Trauring
On Thu, 2009-05-14 at 12:04 +0100, Reza Lotun wrote: > - setting request.channel.persistent = False to force non persistent > connections > I'm particularly concerned with squeezing some performance out of the > web.server and also web.client. Those two things are contradictory - persistent con

Re: [Twisted-Python] Recompiling _epoll.pyx

2009-05-14 Thread Reza Lotun
> I noticed in the documentation for _epoll.pyx that the corresponding > .c file was generated using pyrex 0.9.4.1. On a whim I downloaded > 0.9.8.5 and regenerated the file and rebuilt python. I'm currently Sorry, meant to say "rebuilt twisted". -- Reza Lotun +44 (0)7521 310 763 rlo...@gmail.c

[Twisted-Python] Recompiling _epoll.pyx

2009-05-14 Thread Reza Lotun
Hi, I noticed in the documentation for _epoll.pyx that the corresponding .c file was generated using pyrex 0.9.4.1. On a whim I downloaded 0.9.8.5 and regenerated the file and rebuilt python. I'm currently testing my server but noticing nothing out of the ordinary. Before I march on my merry way

Re: [Twisted-Python] How do I turn off certain log messages?

2009-05-14 Thread Reza Lotun
On Wed, May 13, 2009 at 6:02 PM, Jean-Paul Calderone wrote: > It is entirely possible to do this the way you suggested - by writing a > custom log observer and either picking just the messages you like to log > or by filtering out any messages you don't like to skip (or any other > custom logic yo

Re: [Twisted-Python] Consistent interfaces to asynchronous partially-available services using Deferreds and state machines (was Re: Another approach to allowing __init__ to work with Deferreds)

2009-05-14 Thread Terry Jones
> "Phil" == Phil Christensen writes: Phil> I don't know if I agree with the need for such a feature (that is, Phil> deferred __init__ usage), but it was a very interesting coding Phil> challenge I wanted to take a whack at. I *think* I might have found a Phil> solution, but I don't know if it