On 9/14/06, Christoph Zwerschke [EMAIL PROTECTED] wrote:
os.chdir = bad_chdir
I think that is not a bad idea. Maybe we can also add a note that it is
ok to use chdir in your own subprocesses. Any other dangerous functions
that we could mask that way?
-- Chris
Not that I can think of.
On Sep 14, 2006, at 1:53 PM, Mark Phillips wrote:
On Sep 13, 2006, at 10:16 AM, Gary Perez wrote:
At Chris' suggestion, removing the chdir calls in the two modules
fixes the problem, and everything works as expected.
What did you do? or where did you move it to?
Parts of my file upload
On Sep 14, 2006, at 11:02 AM, Gary Perez wrote:
On Sep 14, 2006, at 1:53 PM, Mark Phillips wrote:
On Sep 13, 2006, at 10:16 AM, Gary Perez wrote:
At Chris' suggestion, removing the chdir calls in the two modules
fixes the problem, and everything works as expected.
What did you do? or
Maybe I'm a little dense here, but I'm not seeing why os.chdir is such a
bad thing in a threaded environment. I did a little google-ing, but I
did not find anything the was talking about problems in a threaded
environment.
I would guess that maybe the issue is that module references could get
John Dickinson wrote:
Maybe I'm a little dense here, but I'm not seeing why os.chdir is such a
bad thing in a threaded environment. I did a little google-ing, but I
did not find anything the was talking about problems in a threaded
environment.
The following program shows the problem quite
Hello all,
Thanks to everyone for your suggestions, investigations, etc.
especially to Christoph Zwerschke, who discovered what turned out to
be the cause of the problem.
Don't use os.chdir() in a threaded environment.
I apologize to everyone if this is common knowledge, but it's news to
On 9/12/06, Dan Milstein [EMAIL PROTECTED] wrote:
I don't have any kind of answer, but I've had a similar thing come
up, so I'll pass it on, in case it helps narrow the focus:
- In my dev environment (Webware 0.8.1 / Apache 2 / Mac OS X 10.4),
when I do large file uploads, it freezes the
Can you tell us what's different between your production and dev
environment? That would include how the process is launched as well.
And is there a difference in what modules get imported?
Let me do some detective work -- I've got a bit of time now, so let
me see what I can find. If I come
Dan Milstein wrote:
Can you tell us what's different between your production and dev
environment? That would include how the process is launched as well.
And is there a difference in what modules get imported?
Let me do some detective work -- I've got a bit of time now, so let
me see