Saw this...
https://twistedmatrix.com/documents/8.2.0/api/twisted.web2.channel.fastcgi.html
Was wondering if there's a fastcgi client out there for twisted?
Thanks,
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
for detecting segfaults? I'm thinking
just to monitor /var/log/syslog
On Sat, Feb 25, 2017 at 11:59 PM, Glyph Lefkowitz <gl...@twistedmatrix.com>
wrote:
>
> > On Feb 25, 2017, at 4:41 PM, Kevin Mcintyre <kebi...@gmail.com> wrote:
> >
> > I have a long r
I have a long running twisted pyqt process which occasionally throws a
Received signal 11.
I believe it's in the underlying QtWebEngineView since the twisted process
continues to run. Whatever the reason I would like to figure out a way to
catch this and stop the reactor either in process, or by
"It is shaped the same. The reason you're seeing the error is due to the
issue I pointed out above."
Just to be clear you mean that proxies can reshape the call in flight?
On Mon, Jan 30, 2017 at 6:01 PM, Glyph Lefkowitz <gl...@twistedmatrix.com>
wrote:
>
> On Jan 30,
Thanks - that's exactly what I was looking for.
*But note* when using FileBodyProducer(StringIO(json.dumps(~blah))) -- I
still see a content-length in the request header as it's received by
twisted. Am I correct to assume the request is agnostic...meaning it's
shaped the same for twisted as it
hey all - quick question. Trying to understand FileBodyProducer as it
pertains to POST.
json_body = FileBodyProducer(StringIO(json.dumps({'key': 'value'})))
agent.request("POST", ~*uri*, Headers({'User-Agent': ['AkamaiTest']}),
json_body)
Does the agent chunk the POST body? Is this
2016, at 05:16, Kevin Mcintyre <kebi...@gmail.com> wrote:
> >
> >
> > what is child.server = self.server in Resource.putChild?
> >
> > shouldn't it be child.server = self?
>
> I don’t think so. The reference to the server is presumably intended t
what is child.server = self.server in Resource.putChild?
shouldn't it be child.server = self?
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
1) Is template block processing done top to bottom sequentially? I've
included example.py - it's interesting that by having a blocking call first
the second request is blocked, but having the blocking call after a
non-blocking call the second request is not. I would've thought it would
behave as
holy moly - you're right! This fool will sleep so much better...a million
thanks.
On Thu, Dec 17, 2015 at 12:09 AM, Amber "Hawkie" Brown <
hawk...@atleastfornow.net> wrote:
>
> > On 17 Dec 2015, at 08:11, Kevin Mcintyre <kebi...@gmail.com> wrote:
> >
&
Hey - I'm confused, so nothing new :) ...but I'm running at this example
and I'm scratching my head.
http://twistedmatrix.com/documents/current/web/howto/web-in-60/asynchronous-deferred.html
I would've thought 2 requests could be served simultaneously, but when I
fire off 2 requests the first
Just a follow-up with my own sanity check example.
http://twistedmatrix.com/documents/current/web/howto/web-in-60/asynchronous-deferred.html
My conclusion is that deferLater is a blocking method - am I wrong?
On Wed, Dec 16, 2015 at 4:11 PM, Kevin Mcintyre <kebi...@gmail.com> wrote:
erver" cause I'm
wondering if myobservers is a core package.
On Tue, Nov 10, 2015 at 6:05 PM, Glyph Lefkowitz <gl...@twistedmatrix.com>
wrote:
>
> On Nov 9, 2015, at 2:29 PM, Kevin Mcintyre <kebi...@gmail.com> wrote:
>
> http://twistedmatrix.com/documents/current/core
http://twistedmatrix.com/documents/current/core/howto/logger.html
I'm looking at the new-ish logger api and wonder how to log to console as a
first step to transitioning.
Any pointers? Thanks.
___
Twisted-Python mailing list
'''
I know this is meant for pyqt but I've had little luck this that board.
The short answer is yes, but it's a total hack...and I'm wondering if
anybody has a more elegant solution.
Specifically I would like to be able to fire a defer from the javascript
instead of having to call alert.
for the feedback.
On Wed, May 6, 2015 at 3:35 PM, Glyph gl...@twistedmatrix.com wrote:
On May 6, 2015, at 11:04 AM, Kevin Mcintyre kebi...@gmail.com wrote:
'''
I know this is meant for pyqt but I've had little luck this that board.
The short answer is yes, but it's a total hack...and I'm wondering
flood with 50 permutations?
On Sat, Dec 27, 2014 at 4:43 PM, Clayton Daley clayton.da...@gmail.com
wrote:
Not sure which features of PB matter to you, but I just started playing
with Autobahn/Crossbar. It's
- A JSON-based RPC (and/or pubsub) system,
- With clients in many languages
AM, Kevin Mcintyre kebi...@gmail.com wrote:
Jelly performance factors below expectations.
I am not clear on the significance of this statement.
Can we say Copyable is the lowest order jelly? The notion that a copy
holder can't ask is my copy good anymore? makes it so. Essentially root
PM, Glyph gl...@twistedmatrix.com wrote:
On Aug 8, 2014, at 9:17 PM, Kevin Mcintyre kebi...@gmail.com wrote:
correction. I was stupidly reprocessing list on remote copy side. Seeing
much better results now ~10K per second.
Whew. I don't know exactly how well I would expect this perform
goal: Give knowitall.py awareness of wordsmith.py addition.
to run
./library.sh # opens 7999 for remote_dictionary and remote_define methods
then both:
python knowitall.py
python wordsmith.py
library.sh due to main/jelly issues
from twisted.spread import pb
class UknownWordException(Exception):
wordsmith argument order issues re-take.
Cheers,
Kevin
On Thu, Aug 7, 2014 at 11:29 PM, Kevin Mcintyre kebi...@gmail.com wrote:
goal: Give knowitall.py awareness of wordsmith.py addition.
to run
./library.sh # opens 7999 for remote_dictionary and remote_define methods
then both:
python
, Kevin Mcintyre kebi...@gmail.com wrote:
wordsmith argument order issues re-take.
Cheers,
Kevin
On Thu, Aug 7, 2014 at 11:29 PM, Kevin Mcintyre kebi...@gmail.com
wrote:
goal: Give knowitall.py awareness of wordsmith.py addition.
to run
./library.sh # opens 7999 for remote_dictionary
across the bus. Is that
expected?
On Fri, Aug 8, 2014 at 3:01 PM, Glyph Lefkowitz gl...@twistedmatrix.com
wrote:
On Aug 8, 2014, at 1:31 PM, Kevin Mcintyre kebi...@gmail.com wrote:
I think so too, but I'm starting to lean toward websockets. The warnings
alone right?
Websockets are a layer
correction. I was stupidly reprocessing list on remote copy side. Seeing
much better results now ~10K per second.
On Fri, Aug 8, 2014 at 6:32 PM, Kevin Mcintyre kebi...@gmail.com wrote:
I experimented today with a table scan from dynamodb. Taking each record
and converting to a dictionary
This discussion seems relevant to a design pattern Yearbook Lifecycle
that I'm using for athleets.com and junkeet.com.
Design Goal:
1) Maintain yearbooks across state, allowing students to delegate access
control to classmates as a series of transformations (recursive web
renders) - here sign my
of see how it might work, but if your async process ever
takes longer than your callLater delay it will break, and probably quite
horribly.
On Wed, Jul 9, 2014 at 12:11 PM, Kevin Mcintyre kebi...@gmail.com wrote:
Another Oh right twisted moment. callInThread instead of callLater?
This is a case
Another Oh right twisted moment. callInThread instead of callLater?
This is a case where I've been laying tracks for 2 years without totally
understanding the train that was eventually coming down the tracks. I
guess I implicitly understood by wanting to move to a separate reactor as a
separate
calling reactor.callLater within qt4reactor in an attempt to async non
webkit work but not seeing expected behavior. Webkit locks while the
callLater function executes.
Any insight appreciated.
Should I move real work into separate reactor and broker calls into
qt4reactor/webkit. I have xmlrpc
I'm still having trouble getting my multipart text/html from an email into
XMLString.
I run the html through beautifulsoup then remove the doctype, but if
there's anything at all off about the resulting xml it still craps out. Is
there anyway to stick an arbitrary string into a template? Or
I've opted for placeholder and added callback to flatten.
I'm a hack, and it was holding up delivery of email.
On Tue, Apr 8, 2014 at 4:19 PM, Werner Thie wer...@thieprojects.ch wrote:
Hi Kevin
On 4/8/14 9:34 AM, Kevin Mcintyre wrote:
I'm still having trouble getting my multipart text
I will try to get a test class together to demonstrate.
On Tue, Apr 8, 2014 at 4:38 PM, Kevin Mcintyre kebi...@gmail.com wrote:
I've opted for placeholder and added callback to flatten.
I'm a hack, and it was holding up delivery of email.
On Tue, Apr 8, 2014 at 4:19 PM, Werner Thie wer
I've been working a lot with smtp and twisted is great for easily doing
what you're describing.
Have a look at the smtpclient docs...that should get you most of the way
there.
http://twistedmatrix.com/documents/current/mail/tutorial/smtpclient/smtpclient.html
On Wed, Apr 2, 2014 at 9:03 AM,
How can I get something similar into a smtp client 12? multipart message
fn = example.mp3
multipart = MIMEMultipart('alternative')
multipart['Subject'] = 'Tutorate!'
multipart['To'] = 'Selfie'
multipart['From'] = 'Selfie'
text = Hello, how are you, goodbye.
textpart =
ah, it just seems like the next smtp client (potentially 12) from the
samples could be multipart mime.
On Fri, Mar 28, 2014 at 3:12 PM, exar...@twistedmatrix.com wrote:
On 08:36 pm, kebi...@gmail.com wrote:
How can I get something similar into a smtp client 12? multipart message
Hi Kevin,
Wanted to share my qt4reactor webkit cv2 video capture script.
It's comes in handy whenever I've needed to scrape just the browser and not
my whole screen or capture unit tests etc.
here is a demo quick demo in action:
http://www.youtube.com/watch?v=2XMXtUISY1gfeature=youtu.be
It's a hack, but
https://twistedmatrix.com/documents/current/web/howto/twisted-templates.html#auto7
I see the example with quoting, but what if I want to render html?
I'm trying to get the text/html part of an email, and want to render as is.
Thanks in advance.
___
has anyone implemented a more complex IBodyProducer than
class POSTRequestProducer():
implements(IBodyProducer)
def __init__(self, body):
self.body = body
self.length = len(self.body)
def startProducing(self, consumer):
consumer.write(self.body)
return
)
if ( __name__ == __main__ ):
reactor.connectTCP(74.125.224.242, 80, EchoClientFactory() )
#connect to google on port 80
reactor.run()
--
Kevin McIntyre | Software Engineer | Green Charge Networks
Cell 718-249-5058 | kmcint...@greenchargenet.com | www.greenchargenet.com
IReactorFDSet.
o = getattr (m, sym)
--
Kevin McIntyre | Software Engineer | Green Charge Networks
Cell 718-249-5058 | kmcint...@greenchargenet.com | www.greenchargenet.com
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http
Newbie question:
I'm calling addProcess and everything works well, but I'm trying to
understand how to capture/handle stderr stdout for that spawned process.
--
Kevin McIntyre | Software Engineer | *Green Charge Networks*
Cell 718-249-5058 | kmcint...@greenchargenet.com
40 matches
Mail list logo