Re: [Twisted-Python] What to do when a service fails to start, also, deferred and startService

2008-11-28 Thread glyph
On 27 Nov, 05:16 pm, [EMAIL PROTECTED] wrote: I imagine that it must be common that people write services that don't just simply launch things listening on sockets, but instead need to do a couple of things, one after another, in order to get going and to be ready to provide their service (or m

Re: [Twisted-Python] Twisted with PyQt

2008-12-03 Thread glyph
On 11:13 am, [EMAIL PROTECTED] wrote: Hi, Actuallly i solved my problem but i have another one. I am sending file in while loop, as you said before it doesnt send data pyhshically, i am updating my progressBar in while loop, so the progressBar is being updated before data being sent.. Is

Re: [Twisted-Python] Compress/deflate support for getPage...

2008-12-08 Thread glyph
getPage has a number of deficiencies. JP Calderone and Itamar Shtull- Trauring have been working on this ticket: which (among other things) adds support for response headers and the hooks with which one would implement deflate support. On 12:47 am

Re: [Twisted-Python] PDF I thought may be of interest

2008-12-09 Thread glyph
On 10:06 pm, [EMAIL PROTECTED] wrote: Looking slightly below the surface of things, it appears to be advocating something more like stackless's tasklets, rather than OS level threads (since it makes reference near the end to Erlang's threading model). Yes, and for this reason I found the pape

Re: [Twisted-Python] lost tracebacks?

2008-12-09 Thread glyph
On 12:41 am, [EMAIL PROTECTED] wrote: I traced this down to the code in Deferred._runCallbacks() which does a try: / except: with:: self.result = failure.Failure() Seems like this code should say:: exc_type, exc_value, exc_traceback = sys.exc_info() self.result = failure.Failure(e

Re: [Twisted-Python] lost tracebacks?

2008-12-10 Thread glyph
On 08:42 pm, [EMAIL PROTECTED] wrote: I was hoping for a "real" traceback because Paste's EvalException middleware does a nice job debugging "live" stacks, but the 'verbose' stack is a pretty decent stand-in. There's a good reason not to hang on to the "real" traceback. Failures with verbos

Re: [Twisted-Python] Weekly Bug Summary

2008-12-20 Thread glyph
On 05:05 am, exar...@twistedmatrix.com wrote: Bugs opened: 12Bugs closed: 13 Total open bugs: 1055 (-1) Every week I see this number is negative (even if only a little) I do a little victory dance. I think we should have a

Re: [Twisted-Python] What to do when a service fails to start, also, deferred and startService

2008-12-21 Thread glyph
On 28 Nov, 03:38 pm, te...@jon.es wrote: Hi Glyph Thanks for the detailed reply. No problem, sorry it took so long to get back to this; I definitely left the conversation halfway through. "glyph" == glyph writes: glyph> On 27 Nov, 05:16 pm, te...@jon.es wrote: glyph>

Re: [Twisted-Python] twisted.conch.ssh.session.SSHSession.request_subsystem

2008-12-22 Thread glyph
On 01:45 pm, tzury...@gmail.com wrote: the code is available at: http://gist.github.com/37446 The point is that I am missing the knowledge needed in order to add path control. That is, controlling which path(s) a user can access. UnixSSHRealm is a realm which returns SSH avatars that, like Ope

Re: [Twisted-Python] twisted.conch.ssh.session.SSHSession.request_subsystem

2008-12-22 Thread glyph
On 22 Dec, 07:10 pm, tzury...@gmail.com wrote: Glyph, thanks for your attention and time. I am afraid I was not clear wit hmy question so please allow me to elaborate. The way you control which paths a user can access in this scenario is by setting the filesystem permissions on those

Re: [Twisted-Python] [Q] Naming Service for Twisted Servers

2009-01-09 Thread glyph
On 9 Jan, 09:42 pm, torea...@fastmail.fm wrote: Hi, I am sorry I am reasking the same question I asked before (but I did not get any replies) Basically wanted to know -- for running Twisted on multiple servers is there such a thing as a "Naming" server that would register all the currently runni

Re: [Twisted-Python] connectionLost not always getting called?

2009-01-11 Thread glyph
On 01:27 am, exar...@divmod.com wrote: This is a FAQ, so I've just added it to the FAQ. Please let me know what you think of the entry: http://twistedmatrix.com/trac/wiki/FrequentlyAskedQuestions#WhyisntmyconnectionLostmethodcalled Thanks for finally adding that to the FAQ. It seems to me

Re: [Twisted-Python] Manhole and StandardIO

2009-01-12 Thread glyph
On 10:21 pm, exar...@divmod.com wrote: On Mon, 12 Jan 2009 23:09:40 +0100, Zoran Bosnjak wrote: Hello all, I would like to have a simple console python interactive shell, powered by twisted. See twisted/conch/stdio.py for examples of how to use manhole on stdio. It doesn't sound like you

Re: [Twisted-Python] Tracebacks being dropped from exceptions when using inlineCallbacks

2009-01-13 Thread glyph
On 13 Jan, 02:58 am, p...@bubblehouse.org wrote: On Jan 12, 2009, at 8:36 PM, Terry Jones wrote: I think I've finally gotten to the bottom of why exceptions sometimes lose their tracebacks when using inlineCallbacks. [snip snip] I'll stop for now. I have some suggestions for fixes, but I'm

Re: [Twisted-Python] Tracebacks being dropped from exceptions when using inlineCallbacks

2009-01-16 Thread glyph
On 02:31 am, ra...@twistedmatrix.com wrote: On Fri, Jan 16, 2009 at 7:28 PM, Phil Christensen wrote: Keeping references to tracebacks still has many potential pitfalls. It's a fundamental problem: tracebacks refer to all their frames, which refer to all their locals; this makes it *really* e

Re: [Twisted-Python] Tracebacks being dropped from exceptions when using inlineCallbacks

2009-01-17 Thread glyph
On 07:54 am, gl...@divmod.com wrote: 2. When filing that ticket, I'd really like a full working example of inlineCallbacks not showing a traceback to play with Just to drive that point home, Terry, I found an interesting error in your initial example. Your example does this: info = s

Re: [Twisted-Python] Tracebacks being dropped from exceptions when using inlineCallbacks

2009-01-18 Thread glyph
On 17 Jan, 05:20 pm, te...@jon.es wrote: "glyph" == glyph writes: glyph> So, we still have some diagnosis to do on why you don't seem to be glyph> getting useful tracebacks from inlineCallbacks :). Now, not only glyph> can I not reproduce the bug, your reasoning

Re: [Twisted-Python] Plugins in files with hyphenated names found in 2.5.0 but not in 8.1.0

2009-01-25 Thread glyph
On 12:53 pm, mithra...@mithrandi.net wrote: * Terry Jones [2009-01-20 12:23:26 +0100]: The exact change, I believe, is that plugin source files have to be valid python modules; that is to say, you have to be able to do: import foo.plugins.some_plugin This was always the intent. The chang

Re: [Twisted-Python] Twisted Sprint in February

2009-01-26 Thread glyph
On 26 Jan, 11:10 pm, exar...@divmod.com wrote: I'd like to organize another Twisted sprint in Cambridge, MA in February. Thanks for putting it together! Which weekend in February would work best for people interested in attending? I'd like to recommend the 7th. _

Re: [Twisted-Python] Getting involved in Python 3.0 porting

2009-01-27 Thread glyph
On 05:12 pm, ceron...@gmail.com wrote: This year I'm going to start my graduation project for software engineering and I want to use Python and Twisted. I want to use Python 3.0 but unfortunately, Twisted doesn't support 3.0 yet and I've read that this is not exactly a high priority right now. A

Re: [Twisted-Python] Twisted Sprint in February

2009-01-27 Thread glyph
On 01:48 am, ra...@twistedmatrix.com wrote: I'd like to go to the sprint, but for what it's worth, I won't be able to make it on that weekend. I'm leaving for business the afternoon of the 7th. Do you have a different recommendation? How long will your trip take?

Re: [Twisted-Python] Twisted Sprint in February

2009-01-27 Thread glyph
On 07:30 pm, ra...@twistedmatrix.com wrote: I could sprint this weekend. The trip is two weeks, so I could feasibly also sprint on the Sunday the 22nd (with the chance of jetlag). Any other weekend is probably good, I'm just unavailable 7th through 21st. OK then, the 1st could work for me too.

Re: [Twisted-Python] half-closing SSL connection, unexpected connectionLost() error

2009-02-13 Thread glyph
On 02:35 pm, denis.bile...@gmail.com wrote: What's the correct way to call loseWriteConnection on SSL connection? It is illegal, according to the specification. http://tools.ietf.org/html/rfc4346#section-7.2.1 [upon receiving a close_notify] ... The other party MUST respond with a clos

Re: [Twisted-Python] Correct pattern to do SSH forwarding in a GUI

2009-02-17 Thread glyph
On 04:19 am, luper.ro...@gmail.com wrote: My first attempt was to run the reactor in the main thread, but the application was "freezing" when e.g. doing a SELECT with SQLAlchemy/psycopg2 (I guess because psycopg2 just waits for data and blocks the twisted reactor). So I put reactor.run() in a t

Re: [Twisted-Python] raw xml to element, char encoding/decoding error

2009-02-18 Thread glyph
On 18 Feb, 02:26 pm, gabriel.rosse...@arimaz.com wrote: Ahh, yes, I see my error, thanks :-) I'm glad everything is unicode in python 3 Erm, input to the parser will still be bytes in python 3. The failure mode will hopefully be more obvious, but it's not that "everything" is unicode

Re: [Twisted-Python] Twisted Sprint in February

2009-02-20 Thread glyph
On 10:35 pm, exar...@divmod.com wrote: Just a reminder, the sprint is this Sunday. If you don't come, Twisted will be sad. The sprint will officially begin at 10AM, and continue until nobody is interested in continuing. Typically, this ends up being 6-7PM, at which point we adjourn to a lo

Re: [Twisted-Python] Development Process Failure

2009-02-23 Thread glyph
On 03:05 pm, exar...@divmod.com wrote: One possibility is to explicitly adjust the review guidelines and direct reviewers always to verify that previous review points have actually been addressed. What ideas do other people have? For starters, I think we should have a division between proces

Re: [Twisted-Python] Development Process Failure

2009-02-23 Thread glyph
On 09:39 pm, j...@mumak.net wrote: Given Trac, maybe numbering review points + being direct about the change would make it easier to inspect replies, which must in turn mention the numbered points. For this to work, the reviewer would have to clearly distinguish between "I would like you to chan

Re: [Twisted-Python] Twisted plugins and py2exe

2009-02-24 Thread glyph
On 04:55 pm, exar...@divmod.com wrote: Tue, 24 Feb 2009 17:35:14 +0100, Gabriel Rossetti wrote: Jean-Paul Calderone wrote: On Tue, 24 Feb 2009 11:49:13 +0100, Gabriel Rossetti wrote: Has anyone ever had this problem while using plugins with Twisted and py2exe? No, but from the traceback

Re: [Twisted-Python] Twisted developers: please donate your time!

2009-03-02 Thread glyph
On 2 Mar, 02:08 pm, ita...@itamarst.org wrote: On Tue, 2009-02-24 at 21:25 +1300, Michael Hudson wrote: 2009/2/24 Itamar Shtull-Trauring : > As part of the TSF's fundraising efforts, we are trying to get upfront > donations of time you will spend developing Twisted. It will then get > matched

[Twisted-Python] Twisted Sprint at PyCon

2009-03-05 Thread glyph
There will be an extended Twisted sprint at PyCon this year. I hope that everyone on this list who is attending will be present :). Technically I'm the sprint leader, but I would very much appreciate help from anyone else who is in an organizing mood. Please sign up on the PyCon wiki here:

Re: [Twisted-Python] Error when trying to import reactor

2009-03-08 Thread glyph
On 09:33 am, florent.a...@gmail.com wrote: On Sun, Mar 8, 2009 at 5:06 AM, Ian Fountain wrote: I am new to all this so you will have to forgive me. I have a vista machine with python 2.5 on it and I just installed twisted (py2.5), pyOpenSSL (py2.5), and pycrypto (py2.5) but when I try to do t

RE: [Twisted-Python] strange server crash

2009-03-23 Thread glyph
On 07:25 am, matu...@yahoo.com wrote: Very strange. I am not using any custom C extensions... In the last two days, it has been under larger load, and it has not crashed. I will update to Python 2.6 soon. Have you tested for bad RAM on that server? The error mode is sufficiently weird and

Re: [Twisted-Python] How to use defer.fail better...

2009-03-30 Thread glyph
On 09:42 am, jan.baku...@omiha.com wrote: Hoi all, I'm writing a twisted/python SMTP server that accepts emails from a MTA using twisted. All works well, except that when I return a defer.fail(None) from processEmail to messageHandler.eomReceived (see below), twisted dumps the trace back of the

Re: [Twisted-Python] Documentation overviews

2009-04-03 Thread glyph
On 2 Apr, 04:05 pm, cary.h...@gmail.com wrote: Hi folks, One of the goals for the Pycon sprint was to develop user oriented overviews for existing documentation. These would ideally guide users through everything they would need to read in order to accomplish a desired goal with Twisted. I

Re: [Twisted-Python] Documentation overviews

2009-04-06 Thread glyph
On 08:38 pm, cary.h...@gmail.com wrote: Thanks all for the excellent feedback so far. I will adapt it to a refinement on the proposal and update this thread sometime during the week. Thanks for your time. We're all looking forward to see what you can do with the documentation :-). ___

RE: [Twisted-Python] RE: Question about Descriptors and SelectReactor

2009-04-07 Thread glyph
On 7 Apr, 06:17 pm, matu...@yahoo.com wrote: However I am using Linux. The Twisted documentation is recommending that it may be better to use pollreactor I would be actually quite curious to know the rationale of choosing select() over epoll() these days. epoll() scales like O(1) with the nu

RE: [Twisted-Python] RE: Question about Descriptors and SelectReactor

2009-04-10 Thread glyph
On 03:44 pm, exar...@divmod.com wrote: On Wed, 8 Apr 2009 19:37:19 -0700, Alec Matusis wrote: Longer answer: Looks like maybe you want to contribute a patch for this ticket :) http://twistedmatrix.com/trac/ticket/2234 I will look at this at some point (really swamped with work). But my

Re: [Twisted-Python] Plugin startup and shutdown actions

2009-04-11 Thread glyph
On 11 Apr, 08:39 pm, exar...@divmod.com wrote: On Sat, 11 Apr 2009 21:54:08 +0200, Esteve Fernandez wrote: Shouldn't twisted and twisted/plugins be non-importable? I thought twisted and twisted/plugins must not have __init__.py files in order for the plugin system to be able to find them (t

Re: [Twisted-Python] adapt from more than one interface

2009-04-11 Thread glyph
On 11 Apr, 08:41 pm, est...@sindominio.net wrote: factory = IFooFactory(myService) factory.bar = "some value" it works, but I'd rather use this: factory = IFooFactory(myService, configurationObject) This is a long and terrible road you're about to start down. It's hard for me to explain ex

Re: [Twisted-Python] Giving inlineCallbacks-wrapped functions access to the deferred their wrapper will return

2009-04-11 Thread glyph
On 11 Apr, 10:55 pm, te...@jon.es wrote: I can get around this in ways that are less elegant: @defer.inlineCallbacks def func(): # do some stuff d = defer.Deferred() callSomethingElse(d) d.callback(result) newResult = yield d defer.returnValue(new

Re: [Twisted-Python] adapt from more than one interface

2009-04-12 Thread glyph
i(interface, registry)) def translateMulti(toInterface, registry): def translator(multiple): return registry.queryMultiAdapter( multiple.conformers, toInterface) return translator class multi(object): def __init__(self, *conformers): self.conf

Re: [Twisted-Python] TCP Proxy scalability issue

2009-05-01 Thread glyph
On 02:02 pm, saurav.mohapa...@dimdim.com wrote: >Worker processes W1...n run listening on P1..n on the loopback and one >router process (twisted based) runs on public port P0 exposed to the >real world. I haven't used it myself, but that sounds a bit like txloadbalancer: https://launchpad.net/txl

Re: [Twisted-Python] TCP Proxy scalability issue

2009-05-01 Thread glyph
On 1 May, 04:31 pm, saurav.mohapa...@dimdim.com wrote: >Glyph, > >Thanks for the response. No problem. Thanks for your clearly described inquiry :). >We're trying to proxy multiple VNC processes for a screen sharing >application. So though CPU load is low, the data being p

Re: [Twisted-Python] Question about deferreds

2009-05-05 Thread glyph
On 01:48 pm, dfarr...@mypublisher.com wrote: >Hi all, >I consider myself a Twisted "newbie", so this might seem like a simple >couple of questions, hope you'll indulge me. I hope a simple couple of answers will suffice. Thank you for your clearly-worded questions :). >When I first began experim

Re: [Twisted-Python] XMPP/Jabber server example

2009-05-11 Thread glyph
On 11 May, 04:16 pm, powdaho...@gmail.com wrote: >I'm trying to create an XMPP server using twisted.words and am having >difficulty finding the correct way to make use of the classes provided. >I >was hoping someone might have an example or short explanation of which >classes would be used to cre

[Twisted-Python] Consistent interfaces to asynchronous partially-available services using Deferreds and state machines (was Re: Another approach to allowing __init__ to work with Deferreds)

2009-05-12 Thread glyph
.py?rev=6111 and since the batch-processor example is pretty involved and is doing a ton of other stuff, it behooves me to provide a simplified example which demonstrates how the simplest example of this pattern might be implemented. I was originally going to include it inline here, but it tur

Re: [Twisted-Python] XML-RPC for paralell clients

2009-05-19 Thread glyph
On 07:51 am, petshm...@googlemail.com wrote: >after playing with reactor, factory and protocol, I'm trying to >implement XML-RPC server, but it seems that it is not able to handle >several clients in parallel. If I call the slow function with first >client and then with second client a fast functi

[Twisted-Python] Upcoming Sprint

2009-05-19 Thread glyph
Hi folks, It's getting to be about the time for another Twisted sprint. Rumor has it that long-time Twisted hacker Kevin Turner will be in Cambridge the weekend of the 30th-31st, so we'll be hosting a sprint one of those days. If this rumor is true, I'd appreciate it if our esteemed visitor

Re: [Twisted-Python] Upcoming Sprint

2009-05-23 Thread glyph
On 22 May, 04:43 am, ket...@keturn.net wrote: >Hey, that's me! I'll be more free on the 30th than the 31st. Even >more >free on June 1st, but maybe you sprinters have day jobs or something. See you on the 30th then. I believe most sprinters do have day jobs :). >But I do look forward to par

Re: [Twisted-Python] My twisted web server fall down

2009-05-24 Thread glyph
On 06:15 am, muaazhussain...@gmail.com wrote: >I ran penetration testing tool against my twisted web server , the >tool used to make a huge number of threads, all that threads make a >connection to the twisted concurrently. >when I made the number of threads more than 1024 the twisted web >server

Re: [Twisted-Python] Processpool recommendation (for scaling to multiple CPUs)

2009-05-24 Thread glyph
On 08:21 pm, b...@fsn.hu wrote: >I've got some CPU scalability issues (the application became CPU bound, >but there are a lot more CPUs, which can't be used because of the >uniprocess nature), threading is not a solution, so the next logical >move could be starting multiple twisted reactors in dif

Re: [Twisted-Python] Twisted protocol as Django data source

2009-05-27 Thread glyph
On 07:40 pm, exar...@divmod.com wrote: >On Wed, 27 May 2009 14:39:45 -0400, Dan wrote: >>Hi all, >> >>I have an application written in Twisted which multiplexes data from a >>variety of pieces of specialized hardware, and I'd like to make the >>live stream of this information viewable through a w

Re: [Twisted-Python] Twisted protocol as Django data source

2009-05-28 Thread glyph
On 12:36 pm, mica...@gmail.com wrote: 2009/5/27 s s : I wrote up some thoughts on this here: http://clemesha.org/blog/2009/apr/23/Django-on-Twisted-using-latest- twisted-web-wsgi/ I had some very strange errors and gave up and used CherryPy which worked right out of the box. �Has the Twis

Re: [Twisted-Python] twistd -y and 'adbapi.ConnectionPool.runWithConnection'

2009-05-28 Thread glyph
On 05:54 am, j...@hipro.co.in wrote: >Hello all, > >I am doing a 'runWithConnection' call from the 'startService' of a >service.Service. In the callback, I startup more services based on the >results of the 'runWithConnection' and attach them to the main >application object. > >This works fine whe

Re: [Twisted-Python] Automatic test for Twisted

2009-05-28 Thread glyph
On 08:44 pm, ber...@luffy.cx wrote: OoO En cette soirée bien amorcée du jeudi 28 mai 2009, vers 22:24, Juanjo Conti disait�: is there a way to write sort of unittest for Twisted and run them? Twisted even has its own engine to run unit tests. Look at the sources of Twisted in th

Re: [Twisted-Python] Guidance on Proxy-type Application

2009-05-28 Thread glyph
On 01:23 am, asb.b...@gmail.com wrote: I have just started to look at the Twisted framework and would like to put it to use for a new project I am working on. Not being very familiar with the framework and fairly new to Python in general I would like to ask a design/architecture question. (I

Re: [Twisted-Python] Guidance on Proxy-type Application

2009-05-29 Thread glyph
ne): >self.requestQueue.pop(0).callback(line) > >Thanks, Michael HTH, -glyph ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Twisted for Nokia S60 Platform

2009-05-30 Thread glyph
On 08:24 am, sakal...@gmail.com wrote: >I am wondering if somebody has tried to run the twisted on nokia's s60 >platform. I am not expecting twisted operate with full functionality, >but I >will be glad to hear about it if there are some efforts. I also wanted >to be >involved in such an effort.

Re: [Twisted-Python] Twisted book(s)?

2009-06-03 Thread glyph
On 02:55 am, dave.conra...@googlemail.com wrote: >I'm fairly new to Python and very new to Twisted. I find I learn new >material best from a book, so although I know there's lots of great >documentation and examples on twistedmatrix.com, I was considering >getting O'Reilly's Twisted book ('

Re: [Twisted-Python] Application Design help - Concurrent but not Protocols based.

2009-06-03 Thread glyph
On 3 Jun, 04:25 pm, orsent...@gmail.com wrote: >My Question: Can this be designed in way that looking for new files is >also asynchronous activity? Sure. >What will be the deferred in this case? >Now, after reading the contents, I will have to do a non-blocking call >to fetch data, either using

Re: [Twisted-Python] [Twisted-web] Telnet chat server

2009-06-03 Thread glyph
This message is more appropriate for the twisted-python list, as it has nothing to do with "web", so I've cross-posted it there. On 3 Jun, 10:57 pm, woahyeahy...@yahoo.com wrote: I've got a simple little chat server set up that people can telnet into.  The code is as follows: from twisted.

Re: [Twisted-Python] SerialPort.loseConnection() BUG

2009-06-10 Thread glyph
On 10 Jun, 12:23 pm, exar...@divmod.com wrote: >Please don't top-post. Since I'm seeing more and more messages where someone is top-posting, I think it might be helpful if we sent a more specific example of a positive example of what replies are expected to look like. I think for now it might

Re: [Twisted-Python] Dropin.cache errors after clean install of twisted-8.2.0

2009-06-17 Thread glyph
On 17 Jun, 07:47 pm, benjamin.r...@gs.com wrote: >I recently installed python-2.6.1 and then twisted-8.2.0 (outside of >the >python tree). One of my users is complaining that when he uses trial >to >test some twisted programs, although his test passes, he has to stare >at >a stack trace like t

Re: [Twisted-Python] untwisting twistd

2009-06-22 Thread glyph
On 09:06 pm, p...@bubblehouse.org wrote: >On Jun 22, 2009, at 4:30 PM, Jared Gisin wrote: >>Which is iditic as my application may not even expose a 13pidfile or >>a 13logfile and it 19s definatley not called twistd. The platform >>specific application runners need to be more generalized so users

Re: [Twisted-Python] Twisted Trial

2009-06-23 Thread glyph
(snip) On 01:42 pm, grick...@coldstorage.com wrote: > File "c:\python25\lib\site-packages\twisted\plugins\testplugin.py", >line 12, in >from twisted.plugin import IPlugin, ITestPlugin, ITestPlugin2 >exceptions.ImportError: cannot import name ITestPlugin >test_example > ExampleTestCase >

Re: [Twisted-Python] Unhandled error in Deferred with twisted-8.2.0, but not with twisted-2.1.0

2009-06-26 Thread glyph
On 04:33 pm, benjamin.r...@gs.com wrote: >Am currently trying to upgrade to twisted-8.2.0. For some reason, >twisted-8.2.0 thinks my deferred below was gc'd with an unhandled >error, >and tells me about it upon reactor exit. With >python-2.4.2/twisted-2.1.0, no issues. With >python-2.6.1/twis

Re: [Twisted-Python] Unhandled error in Deferred with twisted-8.2.0, but not with twisted-2.1.0

2009-06-26 Thread glyph
On 05:48 pm, gl...@divmod.com wrote: >and that took place after 8.1 but before 8.2. In the meanwhile, you >could upgrade to 8.2 before going to 8.2 to avoid this issue; going >from ^ ahem. I meant "upgrade to 8.1 before going to 8.2", of course. >8.1 to 8.2 should be significan

Re: [Twisted-Python] Conch sshd on windows

2009-06-27 Thread glyph
On 11:41 am, ja...@mansionfamily.plus.com wrote: >Can/does the conch sshd authenticate local or domain Windows users? Not currently, but its authentication system is pluggable via twisted.cred, so it should be fairly straightforward to add that functionality. __

Re: [Twisted-Python] Twisted meetup/discussion at EuroPython?

2009-06-29 Thread glyph
On 29 Jun, 10:17 pm, m-li...@the-moon.net wrote: >On Wed, Apr 1, 2009 at 12:54 PM, Terry Jones wrote: >>I was thinking it would be nice to have a Twisted interest group >>meetup at >>EuroPython (June 30 - July 2) http://www.europython.eu > >I'm a little late replying to this, but yeah, I'd be int

Re: [Twisted-Python] XML-RPC over Unix Sockets?

2009-07-05 Thread glyph
On 5 Jul, 10:32 pm, krist...@spritelink.net wrote: >I'm trying to build a client / server setup using >XML-RPC run over UNIX sockets. >Now, on the client on the other hand I've >basically copied this example: >http://twistedmatrix.com/projects/web/documentation/howto/xmlrpc.html#auto5 > >but repl

Re: [Twisted-Python] Volunteering for Release Manager

2009-07-07 Thread glyph
On 07:54 am, j...@mumak.net wrote: >Hello all, > >With some trepidation and a complete willingness to fail, I'm offering >my services as Twisted release manager, starting Tuesday next week. Hooray! >I have only two questions: > - Am I accepted? MWAHAHAHAHAHA, WELCOME TO YOUR DOOM! By which I m

Re: [Twisted-Python] Possible Twisted sprint

2009-07-08 Thread glyph
On 8 Jul, 04:31 am, j...@mumak.net wrote: I've recently returned from EuroPython where I got a chance to work with Thomas Herv� on Twisted. In the giddy rush of success I thought, "Wouldn't it be great if we could get a whole week to do this?". Yay! I propose that: - we arrange a week long s

Re: [Twisted-Python] Possible Twisted sprint

2009-07-16 Thread glyph
ere. > >I suggest people respond to this thread if they're going to attend, >since >editing the wiki probably isn't going to be feasible. :) I'll be there too. So far, we've got jml, exarkun, therve, glyph, itamar: that's 5 people. Anyone I forgot to count?

Re: [Twisted-Python] TODO/FIXME/XXX comments

2015-02-01 Thread Glyph
> On Feb 1, 2015, at 6:16 AM, Adi Roiban wrote: > > Hi, > > The coding standard contains: > > "Comments marked with XXX or TODO must contain a reference to the > associated ticket." > > - > > Are there more hints about how to write XXX/TODO comments or how not > to write them? > > Inste

Re: [Twisted-Python] ANN: txtorcon 0.12.0

2015-02-03 Thread Glyph
> On Feb 3, 2015, at 1:18 PM, meejah wrote: > > > > I'm pleased to announce txtorcon 0.12.0. Full list of improvements: > Wow. These are really some great features. (Every txtorcon release fills me with joy about how endpoints are really being used in the wild :-)) > > You can download

Re: [Twisted-Python] revisiting onboarding

2015-02-03 Thread Glyph
> On Feb 3, 2015, at 3:26 AM, Adi Roiban wrote: > > On 2 February 2015 at 19:18, Glyph Lefkowitz wrote: > [snip] >> Candidates should submit an application to this new list, >> com...@twistedmatrix.com which is a list of links to at least 10 tickets, at >> least

Re: [Twisted-Python] Tips for dev environment

2015-02-03 Thread Glyph
the "." syntax won't work to source the relevant file. But perhaps if a Windows user complains we can figure out what a reasonable setup is there :). -glyph ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twiste

Re: [Twisted-Python] Buildbot slaves for Windows

2015-02-03 Thread Glyph
twisted-infra/braid/issues/75>>. So if you had some time to work on the dev infrastructure that's where to start :). Thanks, -glyph ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Making sense of buildbot problem log

2015-02-06 Thread Glyph
> On Feb 6, 2015, at 4:16 PM, exar...@twistedmatrix.com wrote: > > On 6 Feb, 07:35 am, a...@roiban.ro wrote: >> Hi, >> >> I got this "problem" log in builbot >> >> https://buildbot.twistedmatrix.com/builders/osx10.6-py2.6-select/builds/4868/steps/select/logs/problems >> >> and anothher for Win

Re: [Twisted-Python] Development documentation in Trac wiki

2015-02-07 Thread Glyph
rg/en/latest/ <https://twisted.readthedocs.org/en/latest/> is generated after each commit, as part of the sync to github, as you can see here: https://readthedocs.org/builds/twisted/?fromdocs=twisted Our buildbot also builds the docs (with the website stylesheet) after each commit, it just doesn't

Re: [Twisted-Python] Development documentation in Trac wiki

2015-02-07 Thread Glyph
> On Feb 7, 2015, at 6:35 AM, Adi Roiban wrote: > > Trac support RST format, so we can maintain those pages in RST... and > trac wiki allow to view changes as diffs. How does one enable RST formatting in trac? I don't love RST but it would certainly be a better source format than trac-wiki sy

Re: [Twisted-Python] Development documentation in Trac wiki

2015-02-07 Thread Glyph
> On Feb 7, 2015, at 6:35 AM, Adi Roiban wrote: > > What do you think? I'd prefer to go the opposite direction, and take all the policy documents on the wiki and put them into the repository. Originally, the intention of putting stuff on the wiki was to have a rough draft for something that

Re: [Twisted-Python] to force-builds.py or not to force-builds.py

2015-02-07 Thread Glyph
> On Feb 7, 2015, at 6:49 AM, Adi Roiban wrote: > > On 19 November 2014 at 20:20, Glyph <mailto:gl...@twistedmatrix.com>> wrote: >> >> On Nov 19, 2014, at 02:20, exar...@twistedmatrix.com wrote: >> >> Given that it already exists, I'm not su

Re: [Twisted-Python] twisted thread pool

2015-03-04 Thread Glyph
> On Mar 4, 2015, at 8:59 AM, Al Niessner wrote: > > Nevermind. While building the test case I figured out where I went wrong. ... and that right there is exactly why we request that those asking questions build those types of examples ;-D > I had a subprocess pool that I forgot to close and

Re: [Twisted-Python] getting rid of semantic newlines

2015-03-05 Thread Glyph
> On Mar 4, 2015, at 10:20 PM, Hynek Schlawack wrote: > > On 5 Mar 2015, at 2:14, Glyph Lefkowitz wrote: > >> I find the "semantic newlines" standard which we have been attempting to >> enforce for documentation a constant source of annoyance. >> >

Re: [Twisted-Python] t.p.filepath and Unicode

2015-03-08 Thread Glyph
> On Mar 8, 2015, at 3:03 AM, Adi Roiban wrote: > > Hi, > > I am trying to help porting Twisted on Py3 and for me the fact that > FilePath requires all paths to be bytes is a constant pain. > > To reduce the Unicode pain when working with string my principle is to > do all internal operations

Re: [Twisted-Python] t.p.filepath and Unicode

2015-03-08 Thread Glyph
> On Mar 8, 2015, at 3:26 AM, Glyph wrote: > > >> On Mar 8, 2015, at 3:03 AM, Adi Roiban > <mailto:a...@roiban.ro>> wrote: >> >> Hi, >> >> I am trying to help porting Twisted on Py3 and for me the fact that >> FilePath requires all p

Re: [Twisted-Python] Better usage of Twisted on multi core processor

2015-03-13 Thread Glyph
> On Mar 13, 2015, at 3:03 AM, Nagy, Attila wrote: > > Sounds logical. Do you plan a nicer interface for this maybe? :) Plan? Not right now. Hope for? Yes, for many years :). I would very much like to have Twisted contain a straightforward process-pool interface, perhaps a deferToProcess. But

Re: [Twisted-Python] coverage buildbot builder

2015-03-17 Thread Glyph
> On Mar 17, 2015, at 4:33 AM, Adi Roiban wrote: > > Hi, > > First, a few question regarding the coverage builder. > > 1. Why is the coverage builder executed under a French locale ? This is unintentional, I'm sure. > 2. Does anyone check its results. Are those results used in some way? The

Re: [Twisted-Python] Does anyone need / make use of SSHTransportAddress introduced in 12.1 ?

2015-03-17 Thread Glyph
use-cases that in fact should not work, so it's a bit user-hostile, so I can see why you'd feel it is useless. If it were retrofitted to keep enough information to be useful in its own right, then that would be a lot better. -glyph ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] twistechecker and twisted-dev-tools as part of twisted main repo

2015-03-17 Thread Glyph
> On Mar 16, 2015, at 2:17 AM, Adi Roiban wrote: > > Hi > > I know that twisted main repo contains a lot of code but I would like > to discuss the option of merging > twisted-dev-tools and twistedchecker into twisted main repo. > > The main reason why I want this is to make reviews for these r

Re: [Twisted-Python] Does anyone need / make use of SSHTransportAddress introduced in 12.1 ?

2015-03-18 Thread Glyph
> On Mar 17, 2015, at 11:51 PM, Adi Roiban wrote: > > On 18 March 2015 at 05:30, Glyph <mailto:gl...@twistedmatrix.com>> wrote: >> >> On Mar 17, 2015, at 6:44 AM, Adi Roiban wrote: >> >> Hi, >> >> While trying to fix https://twist

Re: [Twisted-Python] twistechecker and twisted-dev-tools as part of twisted main repo

2015-03-18 Thread Glyph
> On Mar 18, 2015, at 1:38 AM, Adi Roiban wrote: > > On 18 March 2015 at 05:43, Glyph wrote: >> >>> On Mar 16, 2015, at 2:17 AM, Adi Roiban wrote: >> > [snip] > >> I'm approximately -0 on this. I don't like the idea of dumping a bu

Re: [Twisted-Python] twistechecker and twisted-dev-tools as part of twisted main repo

2015-03-19 Thread Glyph
> On Mar 19, 2015, at 8:41 AM, Christopher Armstrong > wrote: > > >> On Mar 19, 2015, at 4:45 AM, Adi Roiban wrote: >> >>> OK, cool. I didn't realize that was ready for review. I am liking the >>> process we have for Mimic for flagging PRs with keywords - >>> https://github.com/rackerlabs/

Re: [Twisted-Python] twisted echo ssl client with .p12

2015-03-19 Thread Glyph
> On Mar 19, 2015, at 8:36 AM, Louis D. Burr wrote: > > Hi Timothy, > >> On Mar 19, 2015, at 9:56 AM, Timothy Gallagher >> mailto:timothy.gallag...@nuspire.com>> wrote: >> >> Hello all, >> I have a project that requires client server with ssl/tls including client >> certificate authenticatio

Re: [Twisted-Python] Removing Python 2.6 Support after Twisted 15.1

2015-03-19 Thread Glyph
wish that we had metrics on who was using Twisted where so we could make data-driven decisions about stuff like this :-\. -glyph ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] __nonzero__ for Deferred

2015-03-20 Thread Glyph
> On Mar 20, 2015, at 4:05 AM, Justin Mazzola Paluska wrote: > > On 03/18/2015 06:03 PM, Glyph Lefkowitz wrote: >> I'd like to deprecate and remove __nonzero__ on Deferreds. Occasionally I >> see code where someone (maybe even me) does "if d:" w

Re: [Twisted-Python] Branch name convention

2015-03-21 Thread Glyph
> On Mar 21, 2015, at 3:45 PM, Adi Roiban wrote: > > On 16 March 2015 at 18:53, Glyph Lefkowitz <mailto:gl...@twistedmatrix.com>> wrote: >> >> On Mar 16, 2015, at 11:20 AM, Adi Roiban wrote: >> >> Hi, >> >> I would like to ask why t

Re: [Twisted-Python] Branch name convention

2015-03-22 Thread Glyph
> On Mar 22, 2015, at 08:35, Christopher Armstrong > wrote: > > >> On Mar 21, 2015, at 7:10 PM, Glyph > <mailto:gl...@twistedmatrix.com>> wrote: >> >>> >>> On Mar 21, 2015, at 3:45 PM, Adi Roiban >> <mailto:a...@roiban.

  1   2   3   4   5   6   7   8   9   10   >