[Twisted-Python] How to get ServerOptions in tac file.

2013-11-24 Thread Jonas Brunsgaard
Is there an easy way get an options object from the .tac file? I my .tac file i have the following. fh = logging.FileHandler('/var/log/ocmg/datastore.log') I would like to be able et replace '/var/log/ocmg/datastore.log' with the logfile option given by the user at the command line. Any sugges

Re: [Twisted-Python] How to get ServerOptions in tac file.

2013-11-24 Thread exarkun
On 07:35 pm, jonas.brunsga...@gmail.com wrote: Is there an easy way get an options object from the .tac file? I my .tac file i have the following. fh = logging.FileHandler('/var/log/ocmg/datastore.log') I would like to be able et replace '/var/log/ocmg/datastore.log' with the logfile option

Re: [Twisted-Python] How to get ServerOptions in tac file.

2013-11-24 Thread Jonas Brunsgaard
On Sun, Nov 24, 2013 at 9:43 PM, wrote: > On 07:35 pm, jonas.brunsga...@gmail.com wrote: > >> Is there an easy way get an options object from the .tac file? >> >> I my .tac file i have the following. >> >> fh = logging.FileHandler('/var/log/ocmg/datastore.log') >> >> I would like to be able et r

[Twisted-Python] How to debug the client-server pyqt project using twisted framework?

2013-11-24 Thread yangyouxiu
Hi, all! I'm developing an client-server pyqt application. Is there an easier way to debug? Now, I can only run client and server, then click the button on the client and watch responce of the server? What's the method and what's the tool? Thanks all.___

Re: [Twisted-Python] How to debug the client-server pyqt project using twisted framework?

2013-11-24 Thread Daniel Sank
Yangyouxiu, I was recently trying to solve the same problem for my own project. Twisted apparently has some built-in testing facilities: http://twistedmatrix.com/documents/current/core/howto/trial.html Does this help at all? ___ Twisted-Python mailing

Re: [Twisted-Python] How to debug the client-server pyqt project using twisted framework?

2013-11-24 Thread yangyouxiu
Daniel Sank, Thank you very much. Trial may be a solution. But i have no idea about using trail in qt application testing. From: Daniel Sank Date: 2013-11-25 13:52 To: Twisted general discussion Subject: Re: [Twisted-Python] How to debug the client-server pyqt project using twisted framework? Y

Re: [Twisted-Python] How to debug the client-server pyqt project using twisted framework?

2013-11-24 Thread Daniel Sank
> But i have no idea about using trail in qt application testing. Neither do I. As I said I'm trying to figure this out for myself as well. If I learn anything useful I'll let you know. I would say that you probably can write most of your application without worrying about the GUI at all. In that

Re: [Twisted-Python] How to debug the client-server pyqt project using twisted framework?

2013-11-24 Thread yangyouxiu
Daniel Sank, Thanks very much. ^_^ From: Daniel Sank Date: 2013-11-25 15:30 To: Twisted general discussion Subject: Re: [Twisted-Python] How to debug the client-server pyqt project using twisted framework? > But i have no idea about using trail in qt application testing. Neither do I. As I said

Re: [Twisted-Python] txThings - simple library for CoAP protocol

2013-11-24 Thread Ron Segal
Maciej Wasilak gmail.com> writes: > > Ron, > > > Following with interest.  Seeking a CoAP Python client capability that includes: > - Support for IPV6 to talk directly to server motes in constrained 6LoWPAN > WSNs. (the large IPV6 address space is for me intrinsic to the IoT concept) > - Secur