[Twisted-Python] Weekly Bug Summary

2009-10-10 Thread exarkun
Bug summary __ Summary for 2009-10-04 through 2009-10-11 Bugs opened: 6Bugs closed: 3 Total open bugs: 1177 (+3) |== Type Changes |== Priority Changes |== Component Changes |Defect: +1 |Highest: -1 |Conch: -1 |Enhancement: +3

Re: [Twisted-Python] HTTPClientFactory's deferred never finishing download on .vcf (vcard file) link

2009-10-10 Thread Glyph Lefkowitz
On Sat, Oct 10, 2009 at 11:56 AM, Steve Steiner (listsin) < list...@integrateddevcorp.com> wrote: > > On Oct 10, 2009, at 3:18 AM, Glyph Lefkowitz wrote: > > What "weirdness" are you referring to? > > I was just referring to the fact that the original document was not on the > Twisted site so I wa

Re: [Twisted-Python] HTTPClientFactory's deferred never finishing download on .vcf (vcard file) link

2009-10-10 Thread Steve Steiner (listsin)
On Oct 10, 2009, at 5:15 PM, exar...@twistedmatrix.com wrote: >> >> Where might that be hiding? I'd love to have something that does >> deferreds like Twisted and also implements all of urllib2. I find >> the >> info() from urlopen() particularly helpful when debugging issues like >> this. > >

Re: [Twisted-Python] HTTPClientFactory's deferred never finishing download on .vcf (vcard file) link

2009-10-10 Thread exarkun
On 08:09 pm, list...@integrateddevcorp.com wrote: > >On Oct 10, 2009, at 7:34 AM, Reza Lotun wrote: >>>I'm not quite sure what you mean. Are you talking about web.client or >>web.server? > >Web client. I was having trouble with a particular URL which happened >to be a download URL and wanted to se

Re: [Twisted-Python] HTTPClientFactory's deferred never finishing download on .vcf (vcard file) link

2009-10-10 Thread Steve Steiner (listsin)
On Oct 10, 2009, at 7:34 AM, Reza Lotun wrote: >> I'm not quite sure what you mean. Are you talking about web.client or > web.server? Web client. I was having trouble with a particular URL which happened to be a download URL and wanted to see what the request and response objects looked lik

Re: [Twisted-Python] reactor.run() do not return after reactor.stop()

2009-10-10 Thread exarkun
On 04:50 pm, dec...@gmail.com wrote: >Thanks, but how can I pass control back to calling code after starting >the >reactor? Or the idea is to run it in separate thread? I understand that >main >idea on twisted is async processing, but this time I need to block the >calling code until response is

Re: [Twisted-Python] reactor.run() do not return after reactor.stop()

2009-10-10 Thread Glyph Lefkowitz
On Sat, Oct 10, 2009 at 12:50 PM, Stanislav Yudin wrote: > Thanks, but how can I pass control back to calling code after starting the > reactor? Or the idea is to run it in separate thread? I understand that main > idea on twisted is async processing, but this time I need to block the > calling c

Re: [Twisted-Python] reactor.run() do not return after reactor.stop()

2009-10-10 Thread Johann Borck
Stanislav Yudin wrote: > Thanks, but how can I pass control back to calling code after starting > the reactor? Or the idea is to run it in separate thread? I understand > that main idea on twisted is async processing, but this time I need to > block the calling code until response is received. >

Re: [Twisted-Python] reactor.run() do not return after reactor.stop()

2009-10-10 Thread Stanislav Yudin
Thanks, but how can I pass control back to calling code after starting the reactor? Or the idea is to run it in separate thread? I understand that main idea on twisted is async processing, but this time I need to block the calling code until response is received. On Sat, Oct 10, 2009 at 6:10 PM, J

Re: [Twisted-Python] HTTPClientFactory's deferred never finishing download on .vcf (vcard file) link

2009-10-10 Thread Steve Steiner (listsin)
On Oct 10, 2009, at 3:18 AM, Glyph Lefkowitz wrote: On Sat, Oct 10, 2009 at 2:22 AM, Steve Steiner (listsin) > wrote: Just realized that that was off-twistedmatrix, same doc at: http://twistedmatrix.com/documents/8.2.0/api/twisted.web.http.Request.html so it's not some off-site weirdn

Re: [Twisted-Python] HTTPClientFactory's deferred never finishing download on .vcf (vcard file) link

2009-10-10 Thread exarkun
On 05:34 am, list...@integrateddevcorp.com wrote: > >On Oct 9, 2009, at 5:53 AM, Reza Lotun wrote: >>>I haven't found any way to dump the actual headers from within >>>Twisted >> >>The getPage function in twisted.web is suited for simple calls but >>won't return returns. What you have to do is crea

Re: [Twisted-Python] reactor.run() do not return after reactor.stop()

2009-10-10 Thread Johann Borck
Stanislav Yudin wrote: > Hi everyone, > I am having a problem with current twisted trunk (rev 27375). ... So > the problem is that the first call to execute returns from > reactor.run() right after reactor.stop(), but second call to same > method of same instance do not return ever. > I believe

[Twisted-Python] reactor.run() do not return after reactor.stop()

2009-10-10 Thread Stanislav Yudin
Hi everyone, I am having a problem with current twisted trunk (rev 27375). I am trying to implement simple ssh client with conch.ssh but right now my implementation works wrong way. I've made a wrapper class for my client factory, to separate host/creds information and command I want to execute. So

Re: [Twisted-Python] HTTPClientFactory's deferred never finishing download on .vcf (vcard file) link

2009-10-10 Thread Reza Lotun
Hi, On Sat, Oct 10, 2009 at 6:34 AM, Steve Steiner wrote: >        http://python.net/crew/mwh/apidocs/twisted.web.http.Request.html > > Good Lord, no wonder I'm confused. > > Half PEP-8, http://www.python.org/dev/peps/pep-0008/, half JavaRama. I'm not quite sure what you mean. Are you talking ab

Re: [Twisted-Python] HTTPClientFactory's deferred never finishing download on .vcf (vcard file) link

2009-10-10 Thread Glyph Lefkowitz
On Sat, Oct 10, 2009 at 2:22 AM, Steve Steiner (listsin) < list...@integrateddevcorp.com> wrote: > > Just realized that that was off-twistedmatrix, same doc at: > > > http://twistedmatrix.com/documents/8.2.0/api/twisted.web.http.Request.html > > so it's not some off-site weirdness... > What "weird