Re: [Twisted-Python] Catching error in protocol.ReconnectingClientFactory

2012-06-26 Thread Phil Mayers
On 06/25/2012 10:47 PM, Martin wrote: > Well, kind of - I know that I need to do addErrBack on the deferred > objects, I kind of knew that when I asked the original question having > read the documentation on deferreds. What I still don't know though is > how am I supposed to catch these deferreds

Re: [Twisted-Python] Buildbot downtime

2012-06-26 Thread Tom Prince
This is a reminder that I am going to to take twisted's buildbot at 1600 UTC (just over an hour from now). While it is down, I'll ask people not to commit to trunk. I'll send an email when it is back up. While the buildbot is down, I will be testing a new version. Feel free to poke around, and run

Re: [Twisted-Python] Buildbot downtime (correction

2012-06-26 Thread Tom Prince
I plan to take it down at 1600 UTC (which is ~2h, not 1h). Tom ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Catching error in protocol.ReconnectingClientFactory

2012-06-26 Thread exarkun
On 25 Jun, 12:16 pm, mar...@webscio.net wrote: No suggestions as to how I could get rid of this? :( I put together a minimal example of ReconnectingClientFactory for the connection refused case for you. It's attached. I don't see any errors logged. If your program differs from this, plea

Re: [Twisted-Python] need to make imap server replies

2012-06-26 Thread exarkun
On 24 Jun, 09:21 pm, ghanavatian@gmail.com wrote: >hello there, >here's the code i got: >http://pastebin.ubuntu.com/1058070/ > >it's implementing an imap server, problem is it does not retrieve >emails. >mail client can capture new emails only once and after that, it should >disconnect and rec

Re: [Twisted-Python] Call Back for startService() !

2012-06-26 Thread exarkun
On 07:45 am, vk.86@gmail.com wrote: >Hi, > > I want to execute something after the service starts. Is there any >call >back that I can associate with startService() ? I have checked the >documentation, but couldn't find anything as such :( startService is a callback. Jean-Paul >Thanks, >Vi

Re: [Twisted-Python] XMLRPC --> Twisted

2012-06-26 Thread exarkun
On 25 Jun, 03:31 pm, vk.86@gmail.com wrote: >Hi, > > I have made a server code in xmlrpc. It has a command >"server.register_multicall_functions()". How do I write the same in >twisted server? Twisted Web does not presently support XML-RPC multicalls. Jean-Paul >This is the main of the twi

Re: [Twisted-Python] Call Back for startService() !

2012-06-26 Thread Justin Venus
Vinod, This code[1] uses twisted as its foundation. The project is rather complex, but if you take a look at some of the service code and it should give you some ideas on what you can do with twisted services. https://github.com/JustinVenus/droned/blob/master/droned/services/journal.py#L127 Jus

Re: [Twisted-Python] Buildbot downtime

2012-06-26 Thread Tom Prince
The buildbot is back up. Tom ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

[Twisted-Python] Deserializing AMP callRemoteString without knowing the Command's signature

2012-06-26 Thread Laurens Van Houtven
Hi, As some of you may know I am working on a JSON-RPC <-> AMP bridge to consume AMP services from browsers. WIP: http://lvh.github.com/amphibian/ I've hit a failing integration test. I know what the issue is -- I don't know how to resolve it. I attempted to write the proxy without any knowledge

Re: [Twisted-Python] Log file ownership

2012-06-26 Thread David Strauss
You can also bind to privileged ports now using listeners like systemd (and, presumably xinetd). -- David Strauss    | da...@davidstrauss.net ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/list

Re: [Twisted-Python] twisted/python3/ubuntu 12.10

2012-06-26 Thread David Strauss
On Thu, Jun 14, 2012 at 8:17 AM, Gavin Panella wrote: > It's on the Ubuntu 12.04 Server CD; see > http://cdimages.ubuntu.com/ubuntu-server/precise/daily/current/precise-server-amd64.list Canonical's Landscape tool uses Twisted AMQP. -- David Strauss    | da...@davidstrauss.net

Re: [Twisted-Python] XMLRPC --> Twisted

2012-06-26 Thread Glyph
On Jun 26, 2012, at 8:24 AM, exar...@twistedmatrix.com wrote: > On 25 Jun, 03:31 pm, vk.86@gmail.com wrote: >> Hi, >> >> I have made a server code in xmlrpc. It has a command >> "server.register_multicall_functions()". How do I write the same in >> twisted server? > > Twisted Web does not

Re: [Twisted-Python] Buildbot downtime

2012-06-26 Thread Glyph
On Jun 26, 2012, at 10:54 AM, Tom Prince wrote: > The buildbot is back up. > > Tom Congratulations on the successful maintenance. I look forward to more developments with the buildbot in your capable hands - although hopefully without associated downtime ;-). -glyph __

Re: [Twisted-Python] Deserializing AMP callRemoteString without knowing the Command's signature

2012-06-26 Thread Glyph
On Jun 26, 2012, at 12:09 PM, Laurens Van Houtven <_...@lvh.cc> wrote: > On IRC: > dreid pointed out that I really shouldn't need a language-specific > implementation of a class for this to work > teratorn pointed out that there is a JSON schema ticket for AMP. Perhaps > there should also be a

Re: [Twisted-Python] Log file ownership

2012-06-26 Thread Glyph
On Jun 26, 2012, at 6:49 PM, David Strauss wrote: > You can also bind to privileged ports now using listeners like systemd > (and, presumably xinetd). xinetd has some mechanism to pass the listening socket, but I don't think Twisted supports it yet. I believe the string endpoint description f