Re: [Twisted-Python] log config depending on nodaemon option

2015-10-29 Thread Markus Wanner
Glyyh, thanks a lot for your detailed answer. Not quite what I was hoping for, but I now understand the reasoning behind and will figure a wait to deal with it. Thanks for a great piece of software. Kind Regards Markus Wanner ___ Twisted-Python maili

Re: [Twisted-Python] AMP with a long-lived connection - results and deferred?

2015-10-29 Thread Oon-Ee Ng
And lo and behold it seems to work now even with Kivy. Strange. For posterity, here's the simple client code I was using for a minimal example. I'll expand upwards from here and see how far I can get. #install_twisted_rector must be called before importing the reactor from kivy.support import inst

Re: [Twisted-Python] AMP with a long-lived connection - results and deferred?

2015-10-29 Thread Oon-Ee Ng
Hmm, I'm wondering whether this could be specific to the reactor I'm using (a _threadedselect reactor embedded in Kivy). I wrote up a minimal example of what I'm doing to demonstrate the issue, but this example works! Doesn't in my (admittedly quite a bit more complex) kivy example though. Let me t

Re: [Twisted-Python] AMP with a long-lived connection - results and deferred?

2015-10-29 Thread Oon-Ee Ng
Thanks David, but when I do something along the lines of:- def mycall(in): print(in) d = self.connection.boxReceiver.callRemote(Command, a='test') d.addCallBack(mycall) The print never actually happens. I'm not really sure why, it was one of the first things I tried. I tried the most basic th