[Twisted-Python] Weekly Bug Summary

2010-08-28 Thread exarkun
Bug summary __ Summary for 2010-08-22 through 2010-08-29 Opened Closed Total Change Enhancements: 2 0664 +2 Defects: 2 2511 +0 Tasks: 0 0 7

Re: [Twisted-Python] spawn wsgi resource into separate process

2010-08-28 Thread Yaroslav Fedevych
On Sat, Aug 28, 2010 at 9:37 PM, Thomas Johnson wrote: > > In the following code I am attempting to host several django applications in > vhosts - http://pastie.org/1122806 . This code works fine if I only need one > settings module. In my case each vhost needs it's own(lines 32-38) > DJANGO_SE

[Twisted-Python] spawn wsgi resource into separate process

2010-08-28 Thread Thomas Johnson
In the following code I am attempting to host several django applications in vhosts - http://pastie.org/1122806 . This code works fine if I only need one settings module. In my case each vhost needs it's own(lines 32-38) DJANGO_SETTINGS_MODULE environment variable. It appears that I need to use rea

Re: [Twisted-Python] git clone with spawnProcess() can prevent socket data flow, any clue why?

2010-08-28 Thread Martin Nordholts
On 08/28/2010 06:54 PM, Petr Mifek wrote: > Yes, here when git does connect but receives nothing, it doesn't make > the directory. So your the sample script hangs at you with only > > ::connectionMade > > in output? Does suppressing the git's output to stderr help? (a -q > modifier to git clone)?

Re: [Twisted-Python] git clone with spawnProcess() can prevent socket data flow, any clue why?

2010-08-28 Thread Petr Mifek
Yes, here when git does connect but receives nothing, it doesn't make the directory. So your the sample script hangs at you with only ::connectionMade in output? Does suppressing the git's output to stderr help? (a -q modifier to git clone)? Petr Martin Nordholts wrote: > On 08/28/2010 06:00

Re: [Twisted-Python] git clone with spawnProcess() can prevent socket data flow, any clue why?

2010-08-28 Thread Martin Nordholts
On 08/28/2010 06:00 PM, Petr Mifek wrote: > Interesting. Also you can check this file (given you started the clone > on a directory with the sample script where no "gimp" subdir exists) > > ls -l ./gimp/.git/objects/pack/tmp_pack_* > > There should be one such file and it should grow up to ~175MB d

Re: [Twisted-Python] git clone with spawnProcess() can prevent socket data flow, any clue why?

2010-08-28 Thread Petr Mifek
Interesting. Also you can check this file (given you started the clone on a directory with the sample script where no "gimp" subdir exists) ls -l ./gimp/.git/objects/pack/tmp_pack_* There should be one such file and it should grow up to ~175MB during the cloning. BTW your git version? Here it

Re: [Twisted-Python] git clone with spawnProcess() can prevent socket data flow, any clue why?

2010-08-28 Thread Martin Nordholts
On 08/28/2010 05:02 PM, Petr Mifek wrote: > Hi Martin, > > I tried your code just for the curiosity and it seems to work here. Are > you sure it doesn't work? Hi, Thanks for testing the code. Interesting that it works for you. I hope we can understand why when we've found out why the bug is happ

Re: [Twisted-Python] git clone with spawnProcess() can prevent socket data flow, any clue why?

2010-08-28 Thread exarkun
On 07:34 am, ense...@gmail.com wrote: >Hi > >I am getting a weird problem where git cloning with >reactor.spawnProcess() fails for some repositories. It appears as if >Twisted blocks reading from the server socket that git packs should >come on. > >I originally got the problem with buildbot, but I

Re: [Twisted-Python] git clone with spawnProcess() can prevent socket data flow, any clue why?

2010-08-28 Thread Petr Mifek
Hi Martin, I tried your code just for the curiosity and it seems to work here. Are you sure it doesn't work? Cloning the Gimp repository takes ages here (half an hour - well, for a ~200MB compressed repository it isn't that bad given my connection speed now), but it eventually finishes. The er

Re: [Twisted-Python] git clone with spawnProcess() can prevent socket data flow, any clue why?

2010-08-28 Thread Martin Nordholts
On 08/28/2010 03:32 PM, Itamar Turner-Trauring wrote: > On Sat, 2010-08-28 at 11:31 +0200, Martin Nordholts wrote: > >> I'll see if I can pinpoint the bug... > > If you can reproduce this with a Python program you launch, rather than > git, that would be ideal. > > I assume you've tested this by ru

Re: [Twisted-Python] git clone with spawnProcess() can prevent socket data flow, any clue why?

2010-08-28 Thread Itamar Turner-Trauring
On Sat, 2010-08-28 at 11:31 +0200, Martin Nordholts wrote: > I'll see if I can pinpoint the bug... If you can reproduce this with a Python program you launch, rather than git, that would be ideal. I assume you've tested this by running git without twisted, on the command-line, just to make sure

Re: [Twisted-Python] git clone with spawnProcess() can prevent socket data flow, any clue why?

2010-08-28 Thread Martin Nordholts
On 08/28/2010 09:34 AM, Martin Nordholts wrote: > Hi > > I am getting a weird problem where git cloning with > reactor.spawnProcess() fails for some repositories. It appears as if > Twisted blocks reading from the server socket that git packs should come > on. Started to debug this myself in Twist

Re: [Twisted-Python] git clone with spawnProcess() can prevent socket data flow, any clue why?

2010-08-28 Thread Martin Nordholts
On 08/28/2010 09:34 AM, Martin Nordholts wrote: > I see this problem on Fedora 13 x86_64, both with the distro version > Twisted 0.8.2 Sorry, that should have been 8.2.0. / Martin ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http:

[Twisted-Python] git clone with spawnProcess() can prevent socket data flow, any clue why?

2010-08-28 Thread Martin Nordholts
Hi I am getting a weird problem where git cloning with reactor.spawnProcess() fails for some repositories. It appears as if Twisted blocks reading from the server socket that git packs should come on. I originally got the problem with buildbot, but I have has isolated the problem further to Tw