Re: [Twisted-Python] Agent and "Cannot assign requested address"

2011-03-04 Thread exarkun
On 01:29 pm, ita...@itamarst.org wrote: >On Thu, 2011-03-03 at 21:00 -0700, Jason J. W. Williams wrote: >>Hi All, >> >>I've got a situation where I'm using t.w.c.Agent to make 100,000 POST >>request against a server. Each time a new Agent instance is built and >>the request is sent using it. After

Re: [Twisted-Python] Agent and "Cannot assign requested address"

2011-03-04 Thread exarkun
On 05:09 pm, jasonjwwilli...@gmail.com wrote: >Actually, I think the TIME_WAIT is the problem. It's what I see in >netstat, and the Agent requests are fired sequentially via yield inside >a for loop (inlineCallbacks). So they shouldn't be running in parallel. > >The use case here is loading a Ria

[Twisted-Python] Weekly Bug Summary

2011-03-05 Thread exarkun
enney) enhancement websitehttp://twistedmatrix.com/trac/ticket/4923 = Low = [#4920] Use the stdlib `os.initgroups` if it is available (opened by exarkun) enhancement core http://twistedmatrix.com/trac/ticket/4920 Closed

Re: [Twisted-Python] Debug logging

2011-03-05 Thread exarkun
On 01:12 am, thomasdra...@gmail.com wrote: Why not try: from twisted.python import log log.err('an error happened') except you should really only pass Failures to log.err, or None if you're calling it in an `except` block. Jean-Paul log.msg('something nice happened') If you're set on usi

Re: [Twisted-Python] Failing tests in trunk

2011-03-07 Thread exarkun
On 7 Mar, 11:48 pm, facundobati...@gmail.com wrote: >I branched trunk from the LP repository. Running the tests all >together ("trial twisted"), consistently makes me fail the following >12: > >twisted.conch.test.test_cftp.ListingTests.test_newFile >twisted.conch.test.test_cftp.ListingTests.test_ne

Re: [Twisted-Python] Failing tests in trunk

2011-03-10 Thread exarkun
On 10 Mar, 07:39 pm, facundobati...@gmail.com wrote: On Tue, Mar 8, 2011 at 7:04 AM, Facundo Batista wrote: None of these are known failures: � �http://buildbot.twistedmatrix.com/boxes-supported Just looking at the list of failing tests, I would make a small bet that the failures are caused

[Twisted-Python] Weekly Bug Summary

2011-03-12 Thread exarkun
core http://twistedmatrix.com/trac/ticket/4926 [#4927] twisted.tap.portforward should use string endpoints for listen and destination addresses (opened by exarkun) enhancement core http://twistedmatrix.com/trac/ticket/4927 [#4928] Replace uses of

Re: [Twisted-Python] AMP cred stuff

2011-03-15 Thread exarkun
On 02:25 pm, water...@pangalactic.us wrote: >Hey Glyph, Jp, and twisted sprinters, > >Sorry I couldn't stay longer -- I stretched my "travel day" >as far as possible, but have to get back to my real job now >(on which I'm under the gun atm). Hope I can sprint longer >next time -- I had a lot of fu

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

2015-02-06 Thread exarkun
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 Windows https://buildbot.twistedmatrix.com/builders/windows7-64-py2.7/builds/4147/steps/se

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

2015-02-07 Thread exarkun
On 02:35 pm, a...@roiban.ro wrote: Hi, I would like to talk about moving Twisted development documentation out of official Twisted doc. They can be moved either into the Trac wiki or a separate project ... maybe twisted-dev-tools The problem with Twisted main repo is that (AFAIK) updates are

Re: [Twisted-Python] exceptions.ImportError: cannot import name _epoll

2015-03-02 Thread exarkun
On 08:04 am, 421174...@qq.com wrote: My dear friends, would u please give your hand kindly? How did you install Twisted and what operating system are you using? Jean-Paul the twisted version is 12.3.0.‍ the detail error is as below: Unhandled Error Traceback (most recent call last): File "

Re: [Twisted-Python] 回复: exceptions.ImportError: cannot import name_epoll

2015-03-02 Thread exarkun
On 11:44 am, 421174...@qq.com wrote: I use cygwin in Windows Vista. ‍ I install twisted using tool setup-x86.exe which is suggested by cygwin.‍ epoll is a Linux-only feature. twisted.internet.epollreactor is only usable on Linux. You should probably remove the explicit reactor selection fr

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

2015-03-18 Thread exarkun
On 17 Mar, 01:44 pm, a...@roiban.ro wrote: Am I the only one who fails to see the advantages of using SSHTransportAddress over a normal IAddress? This doesn't make any sense. `IAddress` has no attributes or methods. You can't do *anything* with an object that only provides `IAddress`. Jean

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

2015-03-18 Thread exarkun
On 18 Mar, 10:45 am, hawk...@atleastfornow.net wrote: Hi, As Python 2.6 has been officially abandoned for a year+ (and will receive no further official security updates) and Python 2.7 has been available for almost five years, it might be time to put Python 2.6 support to bed. The only curren

Re: [Twisted-Python] __nonzero__ for Deferred

2015-03-18 Thread exarkun
On 18 Mar, 10:03 pm, gl...@twistedmatrix.com wrote: I'd like to deprecate and remove __nonzero__ on Deferreds. Occasionally I see code where someone (maybe even me) does "if d:" where they should have been doing "@d.addCallback def cb(result): if result: ...". Anybody else have this issue? O

Re: [Twisted-Python] Twisted 15.1 feedback

2015-03-21 Thread exarkun
On 03:41 pm, chriswwo...@gmail.com wrote: Hawkowl, The new functionality for installing optional dependencies does not on Python3 (ticket: https://twistedmatrix.com/trac/ticket/7807). This is due to two things: 1. some of the optional dependencies do not support python3 2. setup3.py isn't using

Re: [Twisted-Python] Branch name convention

2015-03-22 Thread exarkun
On 12:10 am, gl...@twistedmatrix.com wrote: For what it's worth, many of those branches can be removed. We used to have a script that automated this deletion, but I can't find it now :-\. It's part of twisted-trac-integration. -glyph ___ Twiste

[Twisted-Python] Twisted Project Job Posting

2015-03-28 Thread exarkun
Hello all, The Twisted issue tracker needs someone to pay attention to it for spam content and clean up that content. I've been taking care of this for a while now but I'm going to step back from this position soon. These days spam is primarily submitted as new tickets. When a spam ticket

Re: [Twisted-Python] Twisted Project Job Posting

2015-03-29 Thread exarkun
On 12:22 pm, a...@roiban.ro wrote: Hi, Without a Trac account you can not create a new ticket or update wiki page. I just tried to create a new account named 'robot-spammer' and it looks like it would be extremely easy to automate the process. Observing notifications on IRC I saw that many s

Re: [Twisted-Python] Twisted Project Job Posting

2015-03-29 Thread exarkun
On 28 Mar, 04:29 pm, hawk...@atleastfornow.net wrote: Hi exarkun, I'd also like to be able to reset passwords on trac -- there's been a few instances where people aren't able to reset their password and people with the power haven't been around. I don't know how

Re: [Twisted-Python] Twisted Project Job Posting

2015-03-29 Thread exarkun
On 28 Mar, 04:22 pm, exar...@twistedmatrix.com wrote: Hello all, The Twisted issue tracker needs someone to pay attention to it for spam content and clean up that content. I've been taking care of this for a while now but I'm going to step back from this position soon. Thanks for volunteeri

Re: [Twisted-Python] Twisted Project Job Posting

2015-03-29 Thread exarkun
On 28 Mar, 04:38 pm, jerryguitar...@gmail.com wrote: Hello Mr. exarkun! I would love to help out with this. I am from India. I have been making some beginner bitesized contributions to Twisted (you have reviewed and merged some of them) and I am looking forward to contribute in any way that I

Re: [Twisted-Python] twisted and twisted-infra organizations on GitHub

2015-04-02 Thread exarkun
On 2 Apr, 12:37 pm, a...@roiban.ro wrote: Hi, I would like suggest the following changes regarding the way repos are organized in GitHub. Move all twisted-infra repos into Twisted organization.. and maybe merge many twisted-infra repos into braid. Move treq, klein, txmongo, filepath... divmod

Re: [Twisted-Python] Twisted Project Job Posting

2015-04-04 Thread exarkun
On 29 Mar, 02:52 pm, exar...@twistedmatrix.com wrote: On 28 Mar, 04:22 pm, exar...@twistedmatrix.com wrote: Hello all, The Twisted issue tracker needs someone to pay attention to it for spam content and clean up that content. I've been taking care of this for a while now but I'm going to ste

Re: [Twisted-Python] Methods to upload and download file to a sftp server using twisted conch

2015-04-15 Thread exarkun
On 14 Apr, 11:47 am, sanfo.hali...@yahoo.fr wrote: Hi everybody,I am student and need help of any one.I am working on internship and I have to implement a SFTP client usign twisted conch module.I have program thoe code to establish th ssh tunnel using password authentication. I arrive to create

Re: [Twisted-Python] Deprecating subproject packaging

2015-04-22 Thread exarkun
On 08:04 am, hawk...@atleastfornow.net wrote: Hi, I think that Twisted should deprecate subproject packaging You probably won't hear much if any disagreement with this proposal on this list. The sub-projects were never for people who like and are into Twisted. They were a tool to help conv

Re: [Twisted-Python] trial internals help?

2015-05-19 Thread exarkun
On 10:50 am, wsanc...@wsanchez.net wrote: I took a stab at porting trial to use twisted.logger (http://tm.tl/7863) but I have a test failing: twisted.trial.test.test_reporter.TestErrorReporting.test_hiddenException I don’t quite know what that test is doing. I added some additional output

Re: [Twisted-Python] Multiple plugins in "twistd"

2015-05-19 Thread exarkun
On 12:07 pm, zadka.mo...@gmail.com wrote: Background Currently, "twistd" assumes one-run-one-plugin. It would be nice to load up multiple plug-ins in Twisted, for many reasons. These include: serving the same in-memory content via separate protocols, adding manhole to other plug-ins (so the e

Re: [Twisted-Python] Multiple plugins in "twistd"

2015-05-20 Thread exarkun
On 02:41 am, zadka.mo...@gmail.com wrote: OK, so let me once again enumerate the tickets I'm going to open, because it seems like we're reaching consensus: [1] PROVIDES (pretty much as written: exarkun -- the idea is to walk up the hierarchy and then back down, so I did mean ISer

Re: [Twisted-Python] Need advice on how to move further with ticket 7897

2015-05-20 Thread exarkun
On 19 May, 04:38 pm, jerryguitar...@gmail.com wrote: Hi! I filed a ticket (Log the log events in twisted.internet.protocol.Factory using the new logging system ) and I have also submitted a patch for it. However, while working on the patch, I had so

Re: [Twisted-Python] Multiple plugins in "twistd"

2015-05-20 Thread exarkun
On 19 May, 09:01 pm, tom.pri...@ualberta.net wrote: Glyph writes: You could also find some other way to split the argument list but "+" doesn't seem particularly obscure in this context to me. (If there's really a need to pass a literal "+" to a plugin we could add an escaping syntax as well

Re: [Twisted-Python] Multiple plugins in "twistd"

2015-05-20 Thread exarkun
On 07:29 pm, gl...@twistedmatrix.com wrote: On May 20, 2015, at 04:13, exar...@twistedmatrix.com wrote: On 19 May, 09:01 pm, tom.pri...@ualberta.net wrote: Glyph writes: You could also find some other way to split the argument list but "+" doesn't seem particularly obscure in this context t

Re: [Twisted-Python] [Twisted-web] Twisted is removing Python 2.6 support

2015-06-08 Thread exarkun
uildbot.twistedmatrix.com/buildslaves/bot-exarkun-1 http://buildbot.twistedmatrix.com/buildslaves/osuosl-osx10.6 (and incidentally if someone wants to rename the former I think that'd be nice). Jean-Paul ___ Twisted-Python mailing list Twisted

Re: [Twisted-Python] ANN: Eliot 0.9, the logging system with causality - now with journald support

2015-10-08 Thread exarkun
On 8 Oct, 11:38 pm, gl...@twistedmatrix.com wrote: On Oct 8, 2015, at 6:04 AM, Itamar Turner-Trauring wrote: Eliot 0.9 is out, with a new utility for pretty-printing log messages and native journald support . You can now route Eliot logs

Re: [Twisted-Python] [Twisted-commits] r31216 - skip glib and gtk reactors in the new test

2011-03-17 Thread exarkun
On 12:40 pm, ita...@itamarst.org wrote: >On Wed, 2011-03-16 at 20:55 -0600, pa...@wolfwood.twistedmatrix.com >wrote: >>+ >>+skippedReactors = ["Glib2Reactor", "Gtk2Reactor"] >>+reactorClassName = reactor.__class__.__name__ >>+if reactorClassName in skippedReactors and >>pla

Re: [Twisted-Python] Benchmark of Python WSGI servers

2011-03-18 Thread exarkun
On 12:54 am, gl...@twistedmatrix.com wrote: >On Mar 18, 2011, at 7:44 PM, Michael Thompson wrote: >> From the guys who brought you async socket benchmark, >>http://nichol.as/asynchronous-servers-in-python, comes Python WSGI >>benchmark >>http://nichol.as/benchmark-of-python-web-servers. > >Yep, I'v

Re: [Twisted-Python] TestCase methods names

2011-03-18 Thread exarkun
On 15 Mar, 02:57 pm, facundobati...@gmail.com wrote: >Hello! > >The TestCase class, historically, provided several ways to do the same >(I guess because we inherited the semantics from Java). > >For example, to check equality, In Python2 we have: > >* assertEquals >* assertEqual >* failUnlessEqual

Re: [Twisted-Python] Best strategies for pb Referenceables running long methods from callRemote

2011-03-18 Thread exarkun
On 10 Mar, 11:08 pm, charlesso...@gmail.com wrote: >I am using PB to run remote methods in a testing system at my company. >The >code works very well but breaks down when I start running multiple >tests at >once. I have tracked this down to overflowing the thread pool on the >remote >machines.

Re: [Twisted-Python] Best strategies for pb Referenceables running long methods from callRemote

2011-03-19 Thread exarkun
On 02:06 am, charlesso...@gmail.com wrote: >Thanks for the reply. I am using twisted conch to connect to the >remote >machines and start these tests, I am thinking that instead of using one >connection for all testing I will open a new connection (and thus a new >python) for each test. I'm not s

Re: [Twisted-Python] Best strategies for pb Referenceables running long methods from callRemote

2011-03-19 Thread exarkun
On 06:48 pm, charlesso...@gmail.com wrote: >Ah no, I use conch to connect to the remote machines. My conch code >starts >a remote python instance and runs some bootstrapping python code which >connects to the PB Root. Once connected I send the test code to the >remote >process and start testing

[Twisted-Python] Weekly Bug Summary

2011-03-19 Thread exarkun
code from the superclass (opened by PenguinOfDoom) enhancement core http://twistedmatrix.com/trac/ticket/4959 [#4960] Speed up twisted.python.context by copying less data (opened by exarkun) (CLOSED, fixed) enhancement core http://twistedmatrix.com/trac/ticket/4960 [#4961]

Re: [Twisted-Python] Announcing Twisted 11.0.0pre1!

2011-03-22 Thread exarkun
On 12:17 am, jessica.mckel...@gmail.com wrote: Intrepid Twisted developers and users: from Cambridge, Massachusetts I am pleased to announce the arrival of Twisted 11.0.0 pre-release 1. Tarballs for the pre-release are available at: �http://twistedmatrix.com/~jesstess/11.0.0pre1/ Highlights inc

Re: [Twisted-Python] Windows build slaves

2011-03-24 Thread exarkun
On 19 Mar, 03:08 am, g...@partiallystapled.com wrote: >Greetings, > >I hear that Twisted needs some new/better/more reliable Windows build >slaves. My employer has plenty of ESX capacity, and I know that a few >other people are interested in helping out as well, so perhaps this a >good time to clar

Re: [Twisted-Python] AMP Client disconnecting from server on high memory usage

2011-03-24 Thread exarkun
On 22 Mar, 05:48 pm, danb.li...@googlemail.com wrote: >Hey Guys, > >Some issue I've met recently when experimenting with AMP. >Have created an AMP client connecting to a server and stay there >connected (using tap services). >The issues I am getting is that as soon as I load some more serious >data

Re: [Twisted-Python] Old-class-only support in manhole

2011-03-26 Thread exarkun
On 25 Mar, 10:26 pm, facundobati...@gmail.com wrote: >Hello! > >Creating a test case for a change in twisted/manhole/explorer.py, I >found these lines in CRUFT_WatchyThingie.watchObject: > >if type(object) is not types.InstanceType: >raise TypeError, "Sorry, can only place a wat

Re: [Twisted-Python] TestCase methods names

2011-03-26 Thread exarkun
On 19 Mar, 08:27 am, gl...@twistedmatrix.com wrote: > >On Mar 18, 2011, at 9:36 PM, exar...@twistedmatrix.com wrote: >>>In concrete, I say that we should: >>> >>>- Deprecate those names that are deprecated in Python 3 (I mean, >>>still >>>provide the functionality, but with a DeprecationWarning) >

[Twisted-Python] Weekly Bug Summary

2011-03-26 Thread exarkun
<<< text/html; charset=utf-8: Unrecognized >>> ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Old-class-only support in manhole

2011-03-27 Thread exarkun
On 04:23 am, gl...@twistedmatrix.com wrote: >On Sat, Mar 26, 2011 at 2:47 PM, Facundo Batista >wrote: >>On Sat, Mar 26, 2011 at 3:13 PM, wrote: >> >> > The idea here is cool, and I think it would be nice to support it, >>but >> > this code is pretty gross and, as far as I know, broken. I think

Re: [Twisted-Python] TestCase methods names

2011-03-27 Thread exarkun
On 04:22 am, gl...@twistedmatrix.com wrote: >Looks great. Thanks for filing those! (And even with those new >tickets, -1 >total open issues this week! WTG!) At some point we'll run out of web2 tickets that we can close as wontfix (actually we may have already) and then we'll need to actually

[Twisted-Python] Weekly Bug Summary

2011-04-02 Thread exarkun
(opened by nueces) enhancement core http://twistedmatrix.com/trac/ticket/5007 [#5008] Close /dev/null in twisted.internet.process._FDDetector._checkDevFDSanity explicitly (opened by exarkun) enhancement core http://twistedmatrix.com/trac/ticket/5008 [#5010] remove

Re: [Twisted-Python] Where is buildslave configuration?

2011-04-03 Thread exarkun
On 3 Apr, 10:25 pm, techto...@gmail.com wrote: >Hi everybody, > >I tried to find where build slave configuration is stored to see when >7th step was added and remove it >http://buildbot.twistedmatrix.com/builders/winxp32-py2.6-msi/builds/356/steps/shell_3 >perhaps together with the 2nd step >http:/

Re: [Twisted-Python] Where is buildslave configuration?

2011-04-04 Thread exarkun
On 07:21 am, techto...@gmail.com wrote: On Mon, Apr 4, 2011 at 7:32 AM, wrote: I tried to find where build slave configuration is stored to see when 7th step was added and remove it http://buildbot.twistedmatrix.com/builders/winxp32-py2.6-msi/builds/356/steps/shell_3 perhaps together with the

Re: [Twisted-Python] Where is buildslave configuration?

2011-04-04 Thread exarkun
On 01:59 pm, techto...@gmail.com wrote: >On Mon, Apr 4, 2011 at 4:15 PM, Andrew Bennetts >wrote: >> >>So your problem isn't the version string, but that running bin/trial >>in >>your Twisted checkout is finding the wrong version of Twisted? > >Exactly. But wrong version string was the cause of t

Re: [Twisted-Python] @inlinecallbacks and AlreadyCalledError in test cases

2011-04-04 Thread exarkun
On 01:39 am, brad.mi...@devx.runthered.com wrote: >Hi all > >I have recently started switching to trial.unittest from python's own. >The >trouble I'm experiencing is when a timeout occurs in my test, it >errbacks(). >Then the @inlineCallbacks decorator sees the error and errbacks(). But >then >a

Re: [Twisted-Python] Persisted protocol?

2011-04-06 Thread exarkun
On 07:16 am, techto...@gmail.com wrote: >Hi again, >> From http://twistedmatrix.com/documents/current/core/howto/udp.html > >"""As you can see, the protocol is registered with the reactor. This >means it >may be persisted if it's added to an application...""" > >What does 'persisted` here mean? A

Re: [Twisted-Python] Twisted Plugins - Implementation Discussion

2011-04-07 Thread exarkun
On 12:09 am, gl...@twistedmatrix.com wrote: >On Apr 7, 2011, at 7:54 PM, Stephen Thorne wrote: >>On 2011-04-07, Stefano Debenedetti wrote: >>>On Apr 7, 2011, at 1:08 AM, Tim Allen wrote: If you need a non-Turing-complete config language and rule out .ini and XML, I'm not sure what's le

[Twisted-Python] Weekly Bug Summary

2011-04-09 Thread exarkun
<<< text/html; charset=utf-8: Unrecognized >>> ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

[Twisted-Python] Announcing pyOpenSSL 0.12

2011-04-11 Thread exarkun
Exciting news everyone, I have just released pyOpenSSL 0.12. pyOpenSSL provides Python bindings to a number of OpenSSL APIs, including certificates, public and private keys, and of course running TLS (SSL) over sockets or arbitrary in- memory buffiers. This release fixes an incompatibility wi

[Twisted-Python] Weekly Bug Summary

2011-04-17 Thread exarkun
broken in many ways (opened by soyt) defect core http://twistedmatrix.com/trac/ticket/4747 = Low = [#5045] twisted/protocols/ftp.py RESTART_MARKER_REPLY messages are incorrect (opened by exarkun) defect ftphttp://twistedmatrix.com

[Twisted-Python] Python 2.7 on 64 bit Fedora 11

2011-04-17 Thread exarkun
Greetings, We've had a Fedora 11 slave for a little while now (hosted by Flumotion, thanks!). It's been green just about since it came up, so I think we should call it a supported platform now. It will show up on the buildbot supported platforms page and force- builds.py will include it (once

Re: [Twisted-Python] Twisted Plugins - Implementation Discussion

2011-04-19 Thread exarkun
On 02:27 pm, marcin.kasper...@mekk.waw.pl wrote: >>Part of the discussion was about how to rewrite this in such a way >>that >>no python code needs to be run in order to discover all the >>tapname+description combinations that are available to twistd, this is >>because of a perceived performance a

Re: [Twisted-Python] Understanding deferred and error handling

2011-04-20 Thread exarkun
On 01:04 am, courn...@gmail.com wrote: >but not what I consider the meat of my issue, that is >the lack of traceback. Fixing and simplifying my initial example: > >import twisted.web.client > >from twisted.internet import defer >from twisted.internet import reactor > >def remote_call(): >d = tw

Re: [Twisted-Python] Running twistd with a compiled file

2011-04-21 Thread exarkun
On 04:28 pm, albert.bra...@weiermayer.com wrote: >On Thu, Apr 21, 2011 at 08:17:04AM -0400, Itamar Turner-Trauring wrote: >>The .tac file (or application.py) should typically be two lines of >>code, >>just importing everything from elsewhere, so really just having it in >>Python seems the easiest

Re: [Twisted-Python] Understanding deferred and error handling

2011-04-22 Thread exarkun
On 12:53 am, da...@silveregg.co.jp wrote: >On 04/21/2011 10:12 AM, exar...@twistedmatrix.com wrote: >>log.err takes an additional argument which you can use easily like >>this: >> >> def main(): >> d = remote_call() >> d.addErrback(log.err, "remote_call failed") >>

[Twisted-Python] Weekly Bug Summary

2011-04-23 Thread exarkun
http://twistedmatrix.com/trac/ticket/5063 [#5064] Security Issue (opened by exarkun) defect core http://twistedmatrix.com/trac/ticket/5064 [#3978] twisted.words.protocols.irc.IRCClient.me() overagressively backslashes (opened by SpaceHobo) defect words http://twistedmatri

[Twisted-Python] Weekly Bug Summary

2011-04-30 Thread exarkun
XiX, closed by jonathanj, fixed) defect words http://twistedmatrix.com/trac/ticket/5029 = Normal = [#5064] twisted.names.dns.Name loops indefinitely when encountering a compression loop (opened by exarkun, closed by exarkun, fixed) defect

[Twisted-Python] Weekly Bug Summary

2011-05-07 Thread exarkun
cannot be imported (opened by exarkun) regression core http://twistedmatrix.com/trac/ticket/5088 = High = [#5092] delete some trac accounts and turn on new-account moderation somehow (opened by glyph) (CLOSED, invalid) enhancement websitehttp

Re: [Twisted-Python] Question about using the adbapi

2011-05-09 Thread exarkun
On 10:50 am, albert.bra...@weiermayer.com wrote: Hi! In the application I'm currently working on, we gather data from different sources and store them in a database, but only if the values have changed. One example is GPS information. We don't want to store hundreds of identical values that are

Re: [Twisted-Python] Some "spread" objects and comparison semantics

2011-05-11 Thread exarkun
On 10 May, 06:51 pm, facundobati...@gmail.com wrote: >I'm analysing the code in twisted/spread/flavors.py and >twisted/spread/pb.py, trying to remove the __cmp__ and cmp() in >RemoteCache, RemoteCacheMethod and RemoteCacheObserver classes. > >They all have __cmp__ methods, but as there is not any t

[Twisted-Python] Weekly Bug Summary

2011-05-14 Thread exarkun
pened by glyph) enhancement websitehttp://twistedmatrix.com/trac/ticket/5092 = Normal = [#5098] twisted.names.hosts.searchFileFor returns IPv6 addresses but caller only expects IPv4 addresses (opened by exarkun) defect names

Re: [Twisted-Python] a problem about iocp and callInThread

2011-05-15 Thread exarkun
On 04:10 pm, dynami...@gmail.com wrote: >Hi all > > I just encountered a problem about iocp reactor & callInThread. I >paste the code following: > >from twisted.internet import iocpreactor >iocpreactor.install() >from twisted.internet import reactor > >class ThreadTest: >def __init__(self,n

[Twisted-Python] Weekly Bug Summary

2011-05-21 Thread exarkun
Twisted Web client howto to cover cookies (opened by exarkun) enhancement webhttp://twistedmatrix.com/trac/ticket/5110 = Normal = [#5106] Add copy() method to http_headers.Headers (opened by ivank) (CLOSED, invalid) enhancement webhttp

Re: [Twisted-Python] integrating a python REPL into my existing twisted application

2011-05-26 Thread exarkun
On 02:27 am, rut...@osu.edu wrote: >Dear twisted-python, > >I 19m trying to integrate a python REPL into my existing twisted 8.2.0 >client-side program (which talks to another twisted server running a >custom >protocol). This client side program uses >twisted.internet.stdio.StandardIO >already t

[Twisted-Python] Weekly Bug Summary

2011-05-28 Thread exarkun
icket/5117 Closed Bugs __ = Normal = [#5112] coding-standard.xhtml describes old copyright header format (opened by ivank, closed by exarkun, fixed) defect core http://twistedmatrix.com/trac/ticket/5112 [#2050] funcion parseMultipartFormData in web2/file

Re: [Twisted-Python] Is this possible to catch this error? (returned by protocols/memcached.py)

2011-06-03 Thread exarkun
On 12:54 pm, b...@fsn.hu wrote: >Hi, > >Here's a sample application, which gets a key from memcached: >from twisted.internet import reactor, protocol, defer >from twisted.application import internet, service >from twisted.protocols.memcache import MemCacheProtocol, DEFAULT_PORT > >mc = None > >c

Re: [Twisted-Python] Is this possible to catch this error? (returned by protocols/memcached.py)

2011-06-03 Thread exarkun
On 02:04 pm, b...@fsn.hu wrote: >Hi, > >On 06/03/11 15:57, exar...@twistedmatrix.com wrote: >> >>>As you can see, the connection is timed out, and >>>protocols/memcached.py >>>lost its connection. But how could I catch this around the "mc.get" >>>call? >>>I guess this error should raise an excepti

[Twisted-Python] Weekly Bug Summary

2011-06-04 Thread exarkun
) taskcore http://twistedmatrix.com/trac/ticket/5129 Closed Bugs __ = Normal = [#5125] Mentioning uid/gid once in twistd.1 is enough (opened by chris-, closed by exarkun, fixed) enhancement core http://twistedmatri

[Twisted-Python] Weekly Bug Summary

2011-06-11 Thread exarkun
x.com/trac/ticket/5147 [#5148] Support HTTP authentication for with twisted.web.client.Agent (opened by exarkun) enhancement webhttp://twistedmatrix.com/trac/ticket/5148 [#5149] insults ContainerWidget doesn't remove focus when child removed (opened by magmatt) defect

Re: [Twisted-Python] Information on new endpoints API?

2011-06-12 Thread exarkun
On 12:48 pm, ores...@orestis.gr wrote: >Hello, > >I'm curious about the endpoints API that appeared. I've read the >documentation, and I think I understand what it does, but I'm curious >to see what parts of twisted it replaces. A lot of the documentation >on-site is not updated (eg the finger t

Re: [Twisted-Python] Information on new endpoints API?

2011-06-13 Thread exarkun
On 12 Jun, 01:34 pm, ores...@orestis.gr wrote: >>This is really why we introduced endpoints - to make it possible for >>applications to listen on (or connect to) an address that is specified >>elsewhere. Previously, the "easy thing to do" was to only support >>TCP/IPv4. With endpoints, the "easy

Re: [Twisted-Python] A new & improved IResource

2011-06-13 Thread exarkun
ented on #3711 to say >that >it just won't work that way and that we need a new interface, referring >them >to the new ticket number. > >What should the migration plan look like? At least from the code point >of >view, exarku

Re: [Twisted-Python] Specifying the local port for a twisted.names DNS query or resolver

2011-06-14 Thread exarkun
On 04:25 pm, an...@iki.fi wrote: >I have external requirements that force me to issue DNS queries from a >specific local port range. I'm looking for a way to use the >twisted.names resolver but I need to specify a local port for a query >or set the local port range for all queries. I appreciate tha

Re: [Twisted-Python] Information on new endpoints API?

2011-06-14 Thread exarkun
On 07:37 am, albert.bra...@weiermayer.com wrote: >On Sun, Jun 12, 2011 at 01:22:35PM -, exar...@twistedmatrix.com >wrote: >>`twisted.internet.endpoints.serverFromString` is one way you might get >>this endpoint (in particular, I would emphasize that serverFromString >>is >>really only meant t

Re: [Twisted-Python] Information on new endpoints API?

2011-06-14 Thread exarkun
On 14 Jun, 11:37 pm, gl...@twistedmatrix.com wrote: > >On Jun 14, 2011, at 2:37 PM, exar...@twistedmatrix.com wrote: > >[snip] >>the rest of your code can still be indifferent to wHich of thEse is in >>play (and you can have a seRvice for Either of these usIng >>StreamServerEndpointService). > >T

Re: [Twisted-Python] Specifying the local port for a twisted.names DNS query or resolver

2011-06-15 Thread exarkun
On 05:52 am, an...@iki.fi wrote: On Tue, Jun 14, 2011 at 9:01 PM, wrote: We'd be happy to have such a feature officially supported. �Would you like to work on a patch that adds a tested, documented hook for selecting the source port? Perhaps I could work on such a patch. I would be thankful

Re: [Twisted-Python] Example of re-usable ClientFactories?

2011-06-15 Thread exarkun
On 07:19 pm, gl...@twistedmatrix.com wrote: >On Jun 15, 2011, at 1:03 PM, Orestis Markou wrote: >>But, for most of the one-shot cases it seems that a ClientCreator (or >>an endpoint) would serve the same purpose, no? > >I am not sure that I understand your message. ClientFactory will be >re-used

Re: [Twisted-Python] Example of re-usable ClientFactories?

2011-06-15 Thread exarkun
On 08:24 pm, gl...@twistedmatrix.com wrote: >On Jun 15, 2011, at 4:08 PM, exar...@twistedmatrix.com wrote: >>>However, I should note that with the advent of endpoints, >>>ClientFactory >>>is no longer necessary. Connection failure is communicated on an >>>endpoint via the Deferred from connect()

Re: [Twisted-Python] Looking for Devs to answer noob questions on 6/22 & 6/23

2011-06-16 Thread exarkun
On 05:54 pm, gl...@twistedmatrix.com wrote: > >On Jun 15, 2011, at 4:10 PM, David Shein wrote: >>I'm looking to get a half dozen devs who will commit to being on the >>Twisted IRC channel next Wed and Thurs during biz hours to answer >>noobish queries from CS faculty working in an OS environment

[Twisted-Python] Weekly Bug Summary

2011-06-18 Thread exarkun
improved IResource (opened by lvh) enhancement webhttp://twistedmatrix.com/trac/ticket/5152 [#5156] no ambiguous antecedents (plugins documentation edition) (opened by exarkun) enhancement core http://twistedmatrix.com/trac/ticket/5156 = Low

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

2011-06-21 Thread exarkun
On 04:17 pm, step...@thorne.id.au wrote: >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

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

2011-06-22 Thread exarkun
On 07:32 am, step...@thorne.id.au wrote: 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 Se

Re: [Twisted-Python] Doubt regarding registerAdapter in sshsimpleserver.py

2011-06-24 Thread exarkun
On 12:37 am, anshul.sing...@gmail.com wrote: >Hi, >I'm a Twisted newbie and I'm working on a custom ssh daemon for serving >git. >I happened to read one of the example files sshsimpleserver.py at * >http://twistedmatrix.com/projects/conch/documentation/examples/* . At >line >93 ExampleSession is

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

2011-06-24 Thread exarkun
On 03:41 pm, robert.wat...@gmail.com wrote: >On Tue, Jun 21, 2011 at 5:32 PM, wrote: >> >>Don't define Options or makeService in the dropin file. The system will perform better if there is less code in the dropin file (or imported by the dropin file). There are some ideas to add an optimizatio

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

2011-06-24 Thread exarkun
On 05:06 pm, step...@thorne.id.au wrote: 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 th

[Twisted-Python] Weekly Bug Summary

2011-06-25 Thread exarkun
terrycojones, closed by thijs, wontfix) defect web2 http://twistedmatrix.com/trac/ticket/2705 [#3229] Mention Deferred chaining limit in howto/defer.html (opened by Scramblejams, closed by exarkun, duplicate) defect core http://twistedmatrix.com/trac/ticket/3229

Re: [Twisted-Python] How to safely stop a chain of deferreds

2011-06-28 Thread exarkun
On 01:30 pm, t...@ubilix.com wrote: >Hi, > >in a GUI application I'm using quite a comprehensive chain of deferreds >and I'm running the mainloop from the glib2reactor. At a certain point >of my application I need to terminate the entire chain of deferreds to >make sure that no more data is loaded

Re: [Twisted-Python] Does twisted have plan to support python 3.x?

2011-06-29 Thread exarkun
On 08:50 am, dynami...@gmail.com wrote: > I heard that Python 3.3 may support coroutine natively via yield >generator. I am interested in how this thing can affect twisted >development. Glyph wrote a good summary of the Python 3.x plan on Stack Overflow: http://stackoverflow.com/questions/

Re: [Twisted-Python] Public Key Authentication with Conch

2011-06-30 Thread exarkun
On 29 Jun, 08:39 pm, j...@ocjtech.us wrote: >Hello, > >I'm trying out Twisted/Conch as a replacement for a script based upon >Paramiko for transferring some files around. However, I'm not able to >get my Twisted/Conch script to authenticate to the remote server using >public keys. Password authen

Re: [Twisted-Python] Conch Testing server and client

2011-07-01 Thread exarkun
On 12:14 pm, anshul.sing...@gmail.com wrote: >Hi, >I have to write tests for a custom conch server. My approach is to make >a >test client and then connect it to my server in my testcase. I have >been >able to create a client that can interface with my server, but i'm not >able >to do it from wi

Re: [Twisted-Python] Conch Testing server and client

2011-07-01 Thread exarkun
On 12:59 pm, anshul.sing...@gmail.com wrote: >I understand that. The problem I'm facing is that unless I write >"reactor.run()" my client isn't starting up. From what I understood in >the >trial documentation, I should simply call the connectTCP method and >then >return a deferred. However, if I

<    1   2   3   4   5   6   7   8   9   10   >