0:07 AM
der-landgraf joined the channel
0:45 AM
runciter joined the channel
1:17 AM
der-landgraf has quit
1:23 AM
der-landgraf joined the channel
1:31 AM
adourado joined the channel
2:31 AM
terrycojones joined the channel
2:54 AM
terrycojones has quit
2:55 AM
terrycojones joined the channel
2:56 AM
runciter joined the channel
3:03 AM
kenaan
Tickets pending review:
https://tm.tl/#5786 , #8209, #7868, #8026, #5705, #8308, #8332, #8480, #8491, #8533, #8535, #8551, #8558
3:29 AM
runciter joined the channel
3:38 AM
runciter joined the channel
3:48 AM
adourado has quit
4:55 AM
tonythomas joined the channel
5:53 AM
average has quit
6:15 AM
adiroiban submitted <
https://tm.tl/#8518> ; - Fix APIBuilderTests and execute them in buildbot and Travis-CI (unassigned) for review
6:30 AM
der-landgraf joined the channel
6:34 AM
der-landgraf joined the channel
6:42 AM
slav0nic joined the channel
6:44 AM
rnix joined the channel
6:44 AM
6:50 AM
adiroiban submitted <
https://tm.tl/#8555> ; - Fix epydoc pydoctor errors in remaining twisted parts (unassigned) for review
6:51 AM
__marco joined the channel
6:59 AM
evilaliv3 joined the channel
7:10 AM
rodrigc reviewed <
https://tm.tl/#8555> ; - Fix epydoc pydoctor errors in remaining twisted parts (assigned to adiroiban)
7:11 AM
mat^2 joined the channel
7:21 AM
rodrigc reviewed <
https://tm.tl/#8308> ; - The _oldStyle decorator should let you set the bases of the created new-style class (assigned to hawkowl)
7:24 AM
Lightsword joined the channel
7:58 AM
8:00 AM
rodrigc joined the channel
8:03 AM
Tickets pending review:
https://tm.tl/#5786 , #8209, #7868, #8026, #5705, #8332, #8480, #8491, #8518, #8533, #8550, #8535, #8551, #8558
8:13 AM
rodrigc reviewed <
https://tm.tl/#5705> ; - 'twist', a new command-line tool for doing Twisted things without daemonizing (assigned to wsanchez)
8:20 AM
Satyajit joined the channel
8:22 AM
8:26 AM
der-landgraf joined the channel
8:26 AM
der-landgraf has quit
8:26 AM
der-landgraf joined the channel
8:38 AM
matpow2 joined the channel
8:53 AM
__marco joined the channel
9:00 AM
pa joined the channel
9:05 AM
devos50 joined the channel
9:07 AM
devos50
Hi guys, I'm creating a twisted web server and in one endpoint, I'm returning a File object. Now I want to use asynchronous request and return the file later. What's the best way to do this?
9:15 AM
brodolfo joined the channel
10:11 AM
adamdangoor joined the channel
10:22 AM
devos50 has quit
10:22 AM
devos50 joined the channel
10:24 AM
devos50 has quit
10:30 AM
bullicon joined the channel
10:31 AM
bullicon has quit
10:48 AM
devos50 joined the channel
11:01 AM
kenaan
hawkowl submitted <
https://tm.tl/#8308> ; - The _oldStyle decorator should let you set the bases of the created new-style class (unassigned) for review
11:04 AM
ivan
11:04 AM
but I don't know what your File object is or how it gets served as bytes to the client
11:04 AM
devos50
ivan: I did but I'm not sure how to pass a File object
11:05 AM
ivan: I'm talking about the File object in twisted
11:05 AM
ivan
static.File?
11:05 AM
devos50
11:05 AM
yeah
11:06 AM
so normally, I would just do something like: return File('my/path/to/file.txt) but now I want this request to be asynchronous
11:06 AM
so I'm returning a server.NOT_DONE_YET but I'm not sure what to do in my deferred callback
11:11 AM
ivan
too bad it is 4am and my sample code isn't working
11:12 AM
devos50
ivan: can I see your sample code?
11:14 AM
ivan
also it's been a while since I used Twisted but I never got the impression you could return another resource from render_GET
11:14 AM
resource lookup is some other method somewhere
11:16 AM
after you do your stuff I think you might need to stream out the file yourself
11:17 AM
unless you just serve a redirect?
11:18 AM
devos50
ivan: a redirect might work indeed but it's for a video stream server
11:18 AM
so maybe streaming the file myself is the best solution heere
11:18 AM
ivan: anyway, thanks for your help :)
11:18 AM
ivan
getChild was the method I was thinking of but it can't return a Deferred
11:24 AM
matpow2 joined the channel
11:25 AM
evilaliv3 has quit
11:30 AM
matpow3 joined the channel
11:30 AM
__marco joined the channel
11:35 AM
devos50
ivan: you know about DeferredResource?
12:03 PM
Sushi joined the channel
12:04 PM
Sushi
hi there
12:05 PM
It seems I've found a regression (from twisted 10 to 11 and beyond), but I'm not certain
12:06 PM
I have a ReconnectingClientFactory whose clientConnectionLost is not called when a timeout is reached
12:15 PM
kenaan
12:18 PM
jstanley joined the channel
12:20 PM
dude-x joined the channel
12:21 PM
Sushi
between 11.0.0 and 11.1.0 more precisely
12:22 PM
tonythomas joined the channel
12:28 PM
23cfffd8588bd16bb97140479e7d4387dd5bfd01 is the culpit
12:46 PM
clokep joined the channel
12:49 PM
devos50
guys, is there any way to write headers manually in a twisted.web.http.request?
12:49 PM
something like request.writeHeader(…)
12:55 PM
runciter joined the channel
12:59 PM
devos50 has quit
13:03 PM
kenaan
Tickets pending review:
https://tm.tl/#5786 , #8209, #7868, #8026, #8308, #8332, #8480, #8491, #8518, #8533, #8535, #8551, #8558
13:07 PM
clokep joined the channel
13:26 PM
dude-x has quit
13:31 PM
Sushi
So basically the connection is never lost because we can't write the shutdown packet because the connection is lost
13:31 PM
kenaan
new core enhancement
https://tm.tl/#8561 by hawkowl: Make twisted.test.test_iutils work on Python 3
13:38 PM
runciter
Sushi: ?
13:39 PM
Sushi
I have a ReconnectingClientFactory that does not reconnect with SSL connections
13:39 PM
on timeout
13:39 PM
runciter
got it
13:40 PM
kenaan
13:41 PM
Sushi
13:42 PM
itamarst joined the channel
13:42 PM
dude-x joined the channel
13:49 PM
I don't know if this is easily fixable in Twisted
13:50 PM
runciter
Sushi: you'd like to reconnect after you explicitly close the connection?
13:50 PM
Sushi
yes
13:50 PM
runciter
ok
13:51 PM
Sushi
For now, calling self.transport.loseConnection(), then self.transport.transport.loseConnection() fixes the issue
13:52 PM
runciter
13:53 PM
Sushi
Yes
13:53 PM
I'm trying to write a short case
13:54 PM
runciter
Sushi: thank you!
13:55 PM
foom has quit
13:56 PM
kenaan
14:03 PM
Sushi
But I'm not realy familiar with twisted, I can't even write a simple https client :)
14:07 PM
foom joined the channel
14:32 PM
iuz joined the channel
14:35 PM
kenaan
new core enhancement
https://tm.tl/#8562 by hawkowl: Failure tries to extract a traceback from non-traceback objects on Python 3
14:37 PM
jstanley_ joined the channel
14:48 PM
15:03 PM
15:08 PM
15:10 PM
Sushi
I have no idea what i'm doing
15:16 PM
adamdangoor joined the channel
15:18 PM
actually I can't open a ticket ...
15:19 PM
I can open one on github, would that be okay ?
15:19 PM
kenaan
new release management defect
https://tm.tl/#8563 by hawkowl: topfile checker script crashes if you change non-topfiles in the topfile dir
15:22 PM
15:29 PM
15:47 PM
Spr0cket joined the channel
15:47 PM
Spr0cket joined the channel
15:51 PM
bullicon joined the channel
15:54 PM
bullicon has quit
15:54 PM
bullicon joined the channel
15:54 PM
bullicon has quit
15:56 PM
ardu joined the channel
16:08 PM
LionsMane joined the channel
16:10 PM
new core task
https://tm.tl/#8564 by romuald: SSL ReconnectingClientFactory on inactive connection
16:12 PM
InfoTest joined the channel
16:21 PM
adamdang_ joined the channel
16:28 PM
iffy joined the channel
16:28 PM
iffy has left the channel
16:29 PM
Tenhi joined the channel
16:31 PM
mesozoic has quit
16:31 PM
mesozoic joined the channel
16:34 PM
Tenhi has quit
16:52 PM
brodolfo has quit
16:55 PM
pixelfog joined the channel
17:22 PM
InfoTest joined the channel
17:24 PM
aenglander joined the channel