Re: [Twisted-Python] Replacement for Twisted Tutorial in Europython 2012

2012-06-09 Thread Thorne, Stephen
Yep, worked fine, thanks! On Sat, Jun 9, 2012 at 4:36 PM, Orestis Markou wrote: > http://db.tt/Kosw5BxX > > Let me know if this works-got the link from an iPhone. > > > > 9 Ιουν 2012, 15:52, ο/η "Thorne, Stephen" έγραψε: > >> Can I get you to send me the

Re: [Twisted-Python] Replacement for Twisted Tutorial in Europython 2012

2012-06-09 Thread Thorne, Stephen
asynchronous-programming-with-twisted > > On 10 Μαϊ 2012, at 1:51 μ.μ., Thorne, Stephen wrote: > > Hihi, > > It sounds like I need to get my ass into gear and convince my employer > to send me to europython, so I can help you out here. > > I am available at that time, I just h

Re: [Twisted-Python] Replacement for Twisted Tutorial in Europython 2012

2012-05-10 Thread Thorne, Stephen
her format if > you want. > > > https://ep2012.europython.eu/conference/talks/asynchronous-programming-with-twisted > > On 10 Μαϊ 2012, at 1:51 μ.μ., Thorne, Stephen wrote: > > Hihi, > > It sounds like I need to get my ass into gear and convince my employer > to sen

Re: [Twisted-Python] Replacement for Twisted Tutorial in Europython 2012

2012-05-10 Thread Thorne, Stephen
Hihi, It sounds like I need to get my ass into gear and convince my employer to send me to europython, so I can help you out here. I am available at that time, I just haven't organised anything. Can you send me a link to the latest version of the training material you had from last year? Are the

Re: [Twisted-Python] Sent e-mails coming up empty

2011-10-05 Thread Thorne, Stephen
Have you tried rewinding the stringio with .seek(0,0) first? Stephen On Wed, Oct 5, 2011 at 21:34, Laurens Van Houtven <_...@lvh.cc> wrote: > Hey, > > > I've hacked some code together based on smtpclient_tls.py and radix's > article on how to send e-mail: > http://radix.twistedmatrix.com/2010/07

Re: [Twisted-Python] A problem with very long blocking thread in Twisted

2011-08-10 Thread Thorne, Stephen
On Wed, Aug 10, 2011 at 15:35, Itamar Turner-Trauring wrote: >> To solve this problem, I'd like to set threads as daemon. So that all >> related threads are terminated when main loop is interrupted. Any idea on >> this problem will be appreciated. > > I've seen daemon threads causing core dumps on

Re: [Twisted-Python] Reconnection to Serialport after connectionLost

2011-08-01 Thread Thorne, Stephen
On Mon, Aug 1, 2011 at 13:21, Rene Klootwijk (klootwijk.org) wrote: > When I tried this more than a year ago (Twisted 10.x), the connectionLost > event was not indeed propagated correctly. However, in version 11 the event > is propagated correctly. Ah, good to hear. Thanks Stephen. __

Re: [Twisted-Python] Reconnection to Serialport after connectionLost

2011-08-01 Thread Thorne, Stephen
Last I looked at this I had problems with the disconnection events not being propagated properly. I did, however, end up being able to write a system that would connect, disconnect and reconnect to usb serial devices that went away and came back again. So I'm sure it's possible. Can't access that

Re: [Twisted-Python] Plugin Example - review appreciated

2011-06-24 Thread Thorne, Stephen
On Fri, Jun 24, 2011 at 19:29, wrote: >   class SetupClass(service.Service): >       def __init__(self, reactor): >           self._reactor = reactor > >       def startService(self): >           self._startupCall = self._reactor.callLater(3, self.done) Thanks Jean-Paul, I've taken the first su

Re: [Twisted-Python] Plugin Example - review appreciated

2011-06-24 Thread Thorne, Stephen
On Fri, Jun 24, 2011 at 18:23, wrote: > Using the global reactor makes code less easily testable.  This isn't > specific to plugins, you should avoid the global reactor in all your > Twisted-using code.  Accept it as a parameter instead. Ah, I did not do this successfully in my rewrite. I'd be i

Re: [Twisted-Python] Plugin Example - review appreciated

2011-06-22 Thread Thorne, Stephen
On Tue, Jun 21, 2011 at 23:32, wrote: > Don't define Options or makeService in the dropin file. > > Use twisted.application.service.ServiceMaker instead of implementing > your own. Oh that's nice. I'll rewrite to use that now. What's the first argument to ServiceMaker, 'name' for? it's not docum

[Twisted-Python] Plugin Example - review appreciated

2011-06-21 Thread Thorne, Stephen
G'day, Here at europython there was an excellent tutorial given on the first afternoon that was so well attended and regarded that a repeat is being done tomorrow afternoon (24 hours from this posting). I was asked by the person running the training to give him a hand because it's quite tiring do