[Twisted-Python] SMTPClient disconnects following STARTTLS

2019-02-05 Thread Burak Arslan
e TLS handshake process to be able to understand why the TLS connection cannot resume? Any suggestions for troubleshooting this? A dry ConnectionDone doesn't tell much. Is it possible to make t.m.sendmail() attempt another delivery without STARTTLS? Best regards, Bu

Re: [Twisted-Python] process manager for twisted daemons?

2017-05-04 Thread Burak Arslan
n your run script but it's a nice-to-have. I hope this helps. Best, Burak ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] reading multipart/form-data headers

2016-08-16 Thread Burak Arslan
On 08/12/16 12:58, Burak Arslan wrote: > Do you think I can get away > with relying on mmap here? So I'll go with the usual "don't touch it from the reactor thread" and I guess I'll be good :) Cheers, Burak ___ Twis

Re: [Twisted-Python] reading multipart/form-data headers

2016-08-12 Thread Burak Arslan
mmap is wonderful -- It's both a file and a string! With that assumption, this is what I came up with: https://github.com/plq/spyne/blob/7f52ab0f11773535c6a73702b4b838b49ecdd9e6/spyne/server/twisted/http.py#L321 I'd love to hear your feedback about it. Do you t

[Twisted-Python] reading multipart/form-data headers

2016-08-11 Thread Burak Arslan
looking at the source of cgi.parse_multipart() and it seems to be ignored. Best regards Burak PS: POST /put HTTP/1.1 Host: localhost:7111 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Acce

Re: [Twisted-Python] Persuading Python's Logging to use twisted.logger

2016-05-09 Thread Burak Arslan
rty libraries who may be adding esoteric targets for log entries behind your back. with that said, here's my take at it: https://github.com/plq/neurons/blob/40dff6134330aeadbefd3973d5d40aa4bfac4b78/neurons/daemon/config.py#L673 best, burak ___ Twis

Re: [Twisted-Python] How to design REST API with Twisted?

2015-10-25 Thread Burak Arslan
re's a simple example: https://github.com/arskom/spyne/blob/master/examples/twisted/resource.py There's a boilerplate generator here: http://spyne.io/ I hope you find it useful. Any questions, peo...@spyne.io is also at your service. Best, Burak

[Twisted-Python] LimitedHistoryLogObserver is considered harmful ?

2015-04-02 Thread Burak Arslan
it or choose to get rid of the default observer automatically once the global observer has a proper user-supplied sink. Best regards, Burak PS: Neurons will be a web framework that ties a lot of stuff like sqlalchemy, spyne and twisted together. Currently it does only two things quite well: Forkin

Re: [Twisted-Python] Reporting total traffic that goes through an SSL socket

2015-03-26 Thread Burak Arslan
ted.protocols.policies.ProtocolWrapper and the code in the > aforementioned ticket, I (or someone else) can elaborate. > Thanks a bunch for the pointers, let me see what I can come up with. Best regards, Burak ___ Twisted-Python mailing list Twisted-P

[Twisted-Python] Reporting total traffic that goes through an SSL socket

2015-03-25 Thread Burak Arslan
t what actually goes through the pipe. I do realize that I won't be counting packet replays and such, that's fine for the time being. Best regards, Burak ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cg

Re: [Twisted-Python] Process pools and logging

2014-07-29 Thread burak
Hey Phil, If I am understanding you correctly, you should be able to do some of these with Ampoule. I am doing all but the last (tac) on my app. (Aether) Ampoule definitely needs some love, though. If I had time I'd possibly be taking care of it, since it seems to be abandoned. Burak

Re: [Twisted-Python] Freezing Ampoule or the Invasion of Infinite Zombie Processes

2014-03-13 Thread Burak Nehbit
The licenses are compatible and the maintainer is amenable to the idea though, so if you (and by "you" I mean Burak, not exarkun) wanted to start the work of merging in Ampoule, you could go right ahead. I wish. I can’t even get Ampoule to work for myself.  Besides, I’m probably

Re: [Twisted-Python] Freezing Ampoule or the Invasion of Infinite Zombie Processes

2014-03-11 Thread Burak Nehbit
in the near future, while the code is fading from my memory and rotting in drive. Such a shame.   Best, Burak From: Glyph Lefkowitz gl...@twistedmatrix.com Reply: Twisted general discussion twisted-python@twistedmatrix.com Date: March 10, 2014 at 11:39:36 AM To: Twisted general discussion

Re: [Twisted-Python] Freezing Ampoule or the Invasion of Infinite Zombie Processes

2014-03-09 Thread Burak Nehbit
is just a symptom of something going wrong in the process very early, so ampoule tries to spawn another one. I am mainly looking to find a way to see the exception and where it happens. Twisted’s logging module seem to kick in too late.  Best, Burak From: exar...@twistedmatri

[Twisted-Python] Freezing Ampoule or the Invasion of Infinite Zombie Processes

2014-03-02 Thread Burak Nehbit
packaged. It’s Ampoule that is newly added, and so far resisting the refrigerator. Best regards, Burak ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

[Twisted-Python] Async RPC with Spyne and Twisted

2013-12-28 Thread Burak Arslan
ther protocols async-compliant (without breaking compatibility with sync code) in the coming days. At its heart, this is making use of lxml's incremental generation functionality, described here: http://lxml.de/api.html#incremental-xml-generation. Awaiting yo

Re: [Twisted-Python] Introducing Aether, a peer-to-peer, anonymous forums app built with Twisted

2013-11-11 Thread Burak Nehbit
post. Audit— I would love to. I was talking to Laurens about this a few weeks ago for the security, but there hasn’t been a formal audit. I don’t have the resources to pay for that, unfortunately. If anyone wants to do it, I’d be glad to help.  Best, Burak On November 11, 2013 at 7:16:00 PM

[Twisted-Python] Introducing Aether, a peer-to-peer, anonymous forums app built with Twisted

2013-11-11 Thread Burak Nehbit
hich Aether would not exist. Best, Burak On November 11, 2013 at 11:52:39 AM, Werner Thie (wer...@thieprojects.ch) wrote: On 11/10/13 10:45 PM, Rob Meijer wrote: > On Wed, November 6, 2013 15:38, exar...@twistedmatrix.com wrote: >> On 11:43 am, rmei...@xs4all.nl wrote: >>>

Re: [Twisted-Python] Cancelling a pb callRemote

2013-09-18 Thread Burak Nehbit
My reasons are simpler: PB expects me to build my application to suit it, whereas AMP is small enough to insert into an existing application. It does one single thing and does it well. Caveat emptor, though, I'm still a Twisted newbie—I do understand AMP, but PB is right now way, way over my hea

Re: [Twisted-Python] Cancelling a pb callRemote

2013-09-18 Thread burak
+1 for AMP. Best, Burak On Sep 18, 2013, at 9:17, Phil Mayers wrote: > On 18/09/13 14:00, Phil Mayers wrote: > >> I'll have a look, but from the responses I'll assume neither pb nor AMP >> can do this, and will file a couple of tickets for reference. > > #6

Re: [Twisted-Python] SQL ORM for Twisted & PostgreSQL?

2013-08-21 Thread Burak Nehbit
I am currently using SQLAlchemy with Twisted with deferToThread and it works rather well, have you tried it? So long as you create a new session for each thread you spawn (which you should also do without Twisted) it works without any modification required. Here's an example of using SQLAlchemy

Re: [Twisted-Python] Advice Request: Under what circumstances should I use AMP's Command Response field?

2013-08-21 Thread Burak Nehbit
nest way possible—I have enough insanity going on in my project to last a lifetime already! Sorry about the semi off–topic wall of text, won't happen again. Thanks, Burak On Aug 21, 2013, at 3:28 PM, Laurens Van Houtven <_...@lvh.io> wrote: > Hi Burak, > > > I thin

Re: [Twisted-Python] Advice Request: Under what circumstances should I use AMP's Command Response field?

2013-08-20 Thread Burak Nehbit
e using AMP? Am I doing something dumb? Also, when I finally "get" Twisted, I'll be making a series of blog posts called "Twisted for Dumb People [Like Me]". Such a wonderful piece of code, it doesn't deserve the brick wall of a learning curve it currently has.

[Twisted-Python] Advice Request: Under what circumstances should I use AMP's Command Response field?

2013-08-20 Thread Burak Nehbit
Receiver—all my data is text—to do my bidding. Am I missing anything AMP is doing silently for me? Am I using it the correct way? Thanks in advance, Best, Burak On Aug 20, 2013, at 8:47 AM, Laurens Van Houtven <_...@lvh.io> wrote: > Hi Matt, > > > Loved the story, exci

Re: [Twisted-Python] Twisted and Qt5

2013-08-11 Thread Burak Nehbit
, Mikhail Terekhov wrote: > On Sat, Aug 10, 2013 at 10:14 AM, Burak Nehbit wrote: >> Qt4Reactor (my original file) is not a part of current Twisted due to >> licensing incompatibilities between Twisted and PyQt. The same licensing >> restrictions should also apply to my ed

Re: [Twisted-Python] Twisted and Qt5

2013-08-10 Thread Burak Nehbit
://github.com/ghtdak/qtreactor Best, Burak On Aug 10, 2013, at 5:10 PM, Shell wrote: >> If I have more time, I'll package this reactor and put it on GitHub, but I >> am not sure if I have the (moral) right to—the only thing I did was to >> change four or five lines, after all.

Re: [Twisted-Python] Twisted and Qt5

2013-08-10 Thread Burak Nehbit
Hope it helps someone! Best, Burak On Aug 9, 2013, at 7:55 PM, Burak Nehbit wrote: > I have been experimenting with porting qt4reactor to qt5, and I have some > progress to share. It seems that the PyQt API that was being used in > qt4reactor was deprecated, so I have converte

Re: [Twisted-Python] Twisted and Qt5

2013-08-09 Thread Burak Nehbit
can see the error for yourself, and it can be reached here: https://dl.dropbox.com/s/4asklib8yuvm5ru/index.html This bunch of python files assume you have Qt5 installed, but otherwise free of dependencies. Any guesses on what's going on? Best, Burak On Jul 23, 2013, at 12:43 AM, Glyph

Re: [Twisted-Python] Twisted and Qt5

2013-07-20 Thread Burak Nehbit
13 at 3:46 PM, Itamar Turner-Trauring wrote: > On 07/20/2013 08:04 AM, Burak Nehbit wrote: >> >> 1) I know there is a Qt4 reactor >> <https://github.com/ghtdak/qtreactor> (which I managed to get to work >> and pass the twisted test suite) for Twisted. Is there s

[Twisted-Python] Twisted and Qt5

2013-07-20 Thread Burak Nehbit
looks impossible without Qt. Thanks! Best, Burak smime.p7s Description: S/MIME cryptographic signature ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] TWISTED DINNER TOMORROW: 5:30PM on Sunday 2013-03-17 at Buca di Beppo in Campbell, CA. RSVP required.

2013-03-17 Thread burak . arslan
Hello! please count me in, i think i'll be anle to make it. Thanks -- Sent from my mobile. Pardon the brevity.On 16/03/2013 11:48 Bradley M. Kuhn wrote: On behalf of the Twisted Project Leadership Committee at Software Freedom Conservancy, I'd like to invite all Twisted developers and contribut