Re: [Twisted-Python] Twisted Sprint this Sunday

2010-03-19 Thread lasizoillo
2010/3/20 : > Hi all, > > Flumotion is going to be hosting a sprint this Sunday (Mid-morning to > evening, Spanish time).  I'll be introducing a lot of developers to the > Twisted development process and trying to find them good first-time- > contributor tickets to work on.  Even if you're not on

[Twisted-Python] Twisted Sprint this Sunday

2010-03-19 Thread exarkun
Hi all, Flumotion is going to be hosting a sprint this Sunday (Mid-morning to evening, Spanish time). I'll be introducing a lot of developers to the Twisted development process and trying to find them good first-time- contributor tickets to work on. Even if you're not on the Iberian peninsul

[Twisted-Python] python-daemon PID file

2010-03-19 Thread null null
Hi all, Im trying to get a daemon up and running but i cant get python-daemon to create a PID file. versions: Python 2.5.2 python-daemon-1.5.5 Debian Linux 2.6.26-2-686 import daemon import lockfile daemon.DaemonContext(pidfile=lockfile.FileLock('/var/run/mydaemon.pid'),) daemon.__enter__() ma

Re: [Twisted-Python] Error: filedescriptor out of range in select

2010-03-19 Thread John Aherne
I think you will find that gprs devices will drop off the network but the router will still keep the coonection open. The gprs device will then reconnect on a different connection and port. So you will need to clean up old connections used by that device. Hope that helps John Aherne On Fri, Mar

Re: [Twisted-Python] Error: filedescriptor out of range in select

2010-03-19 Thread Don Schoeman
Hi Andrew, thanks for taking the time to comment on my email. I'm going to have to study your proposal to switch to poll/epoll anyway since I am expecting more and more connections to be made over time. This particular application is used to communicate with a bunch of GPRS devices and I'm sta

Re: [Twisted-Python] Error: filedescriptor out of range in select

2010-03-19 Thread Andrew Bennetts
Don Schoeman wrote: >Hi guys, I have started having this problem a few weeks ago and it >happens about once a week after which I have to restart my Twisted >based server to function again. It seems to be happening when I >make RPC calls using twisted.web.xmlrpc.Proxy. I have reason

[Twisted-Python] Error: filedescriptor out of range in select

2010-03-19 Thread Don Schoeman
Hi guys, I have started having this problem a few weeks ago and it happens about once a week after which I have to restart my Twisted based server to function again. It seems to be happening when I make RPC calls using twisted.web.xmlrpc.Proxy. I have reason to believe that I am either running

Re: [Twisted-Python] Twisted and python threading

2010-03-19 Thread Akira
"(*)·´`·.¸.»ÐëÄdMäñ·´`·.¸.»(*)" writes: > I asked on #twisted and someone said that something about my > application running as daemon and that destroys all threads spawned > before that, and that I should spawn the thread *after* it's fully > daemonized. reactor.callWhenRunning() could be used t