Re: shutil.copy Problem

2007-04-01 Thread Leo Kislov
On Mar 28, 7:01 am, David Nicolson <[EMAIL PROTECTED]> wrote: > Hi John, > > That was an excellent idea and it was the cause problem. Whether this > is a bug inshutilI'm not sure. > > Here is the traceback, Python 2.4.3 on Windows XP: > > > > > > > C:\Documents and Settings\Güstav>C:\python243\py

Re: shutil.copy Problem

2007-03-28 Thread David Nicolson
Hi John, That was an excellent idea and it was the cause problem. Whether this is a bug in shutil I'm not sure. Here is the traceback, Python 2.4.3 on Windows XP: > C:\Documents and Settings\Güstav>C:\python243\python Z:\sh.py > Copying u'C:\\Documents and Settings\\G\xfcstav\\My Documents\\M

Re: shutil.copy Problem

2007-03-27 Thread John Nagle
Facundo Batista wrote: > David Nicolson wrote: > > >>Thanks, but it's definitely not the print. In original the code the >>print statements are replaced by a call to a log method. >> >>Besides, the exception would be different if it was thrown outside of >>the try block. > > > The best you

Re: shutil.copy Problem

2007-03-27 Thread Facundo Batista
David Nicolson wrote: > Thanks, but it's definitely not the print. In original the code the > print statements are replaced by a call to a log method. > > Besides, the exception would be different if it was thrown outside of > the try block. The best you can do is take the piece of code that

Re: shutil.copy Problem

2007-03-26 Thread Marc 'BlackJack' Rintsch
In <[EMAIL PROTECTED]>, David Nicolson wrote: > Hi, > > I wasn't exactly sure where to send this, I don't know if it is a bug > in Python or not. This is rare, but it has occurred a few times and > seems to be reproducible for those who experience it. > > Examine this code: > >>> try: > >>

Re: shutil.copy Problem

2007-03-26 Thread Leo Kislov
On Mar 26, 8:10 pm, David Nicolson <[EMAIL PROTECTED]> wrote: > Hi, > > I wasn't exactly sure where to send this, I don't know if it is a bug > in Python or not. This is rare, but it has occurred a few times and > seems to be reproducible for those who experience it. > > Examine this code: > >

Re: shutil.copy Problem

2007-03-26 Thread David Nicolson
Thanks, but it's definitely not the print. In original the code the print statements are replaced by a call to a log method. Besides, the exception would be different if it was thrown outside of the try block. On 27/03/2007, at 2:42 PM, Justin Ezequiel wrote: > On Mar 27, 11:10 am, David Ni

Re: shutil.copy Problem

2007-03-26 Thread Justin Ezequiel
On Mar 27, 11:10 am, David Nicolson <[EMAIL PROTECTED]> wrote: > Hi, > > I wasn't exactly sure where to send this, I don't know if it is a bug > in Python or not. This is rare, but it has occurred a few times and > seems to be reproducible for those who experience it. > > Examine this code: > >>>

shutil.copy Problem

2007-03-26 Thread David Nicolson
Hi, I wasn't exactly sure where to send this, I don't know if it is a bug in Python or not. This is rare, but it has occurred a few times and seems to be reproducible for those who experience it. Examine this code: >>> try: >>> shutil.copy("/file.xml","/Volumes/External/file.xml") >>>