Re: [Bug 4094] Export to HTML for files on Fat32-parttions does not work properly

2007-08-03 Thread Jean-Marc Lasgouttes
Richard Heck <[EMAIL PROTECTED]> writes: > Got one OK for this from Bo...JMarc? Jose? OK. JMarc

Re: [Bug 4094] Export to HTML for files on Fat32-parttions does not work properly

2007-08-03 Thread Richard Heck
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

Re: [Bug 4094] Export to HTML for files on Fat32-parttions does not work properly

2007-08-03 Thread Bo Peng
> OK to commit this one? (I've also filed a bug report with the python folks.) OK. (Assume that you have tested it). Bo

Re: [Bug 4094] Export to HTML for files on Fat32-parttions does not work properly

2007-08-03 Thread Richard Heck
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

Re: [Bug 4094] Export to HTML for files on Fat32-parttions does not work properly

2007-08-03 Thread Bo Peng
> 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:

Re: [Bug 4094] Export to HTML for files on Fat32-parttions does not work properly

2007-08-03 Thread Richard Heck
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

Re: [Bug 4094] Export to HTML for files on Fat32-parttions does not work properly

2007-08-03 Thread Bo Peng
> 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

Re: [Bug 4094] Export to HTML for files on Fat32-parttions does not work properly

2007-08-03 Thread Richard Heck
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