Richard Heck <[EMAIL PROTECTED]> writes:
> Got one OK for this from Bo...JMarc? Jose?
OK.
JMarc
Got one OK for this from Bo...JMarc? Jose?
Richard Heck wrote:
Bo Peng wrote:
So yes, it seems like a python bug, but one we should probably try to
work around.
I am worried that your patch does not do everything shutil.copy is
doing, and may fail under other circumstances.
Here's a
> OK to commit this one? (I've also filed a bug report with the python folks.)
OK. (Assume that you have tested it).
Bo
Bo Peng wrote:
So yes, it seems like a python bug, but one we should probably try to
work around.
I am worried that your patch does not do everything shutil.copy is
doing, and may fail under other circumstances.
Here's a simpler patch. This essentially is the shutil.copy() code but
try
> So yes, it seems like a python bug, but one we should probably try to
> work around.
I am worried that your patch does not do everything shutil.copy is
doing, and may fail under other circumstances. If you think this is
something need to be fixed, you can do
try:
shutils.copy(blah)
except:
Bo Peng wrote:
That's weird. Here's the problem: I'm using shutil.copy to copy the
files. It's calling chmod---because you are running on Linux, I think.
But you're copying to a FAT32 partition, so chmod is failing, and that's
what's giving the error.
I do not understand the problem. You sa
> That's weird. Here's the problem: I'm using shutil.copy to copy the
> files. It's calling chmod---because you are running on Linux, I think.
> But you're copying to a FAT32 partition, so chmod is failing, and that's
> what's giving the error.
I do not understand the problem. You say shutil.copy
That's weird. Here's the problem: I'm using shutil.copy to copy the
files. It's calling chmod---because you are running on Linux, I think.
But you're copying to a FAT32 partition, so chmod is failing, and that's
what's giving the error.
Try the attached patch. And Bo, does this seem OK to yo