Boost logo

Boost Testing :

From: Aleksey Gurtovoy (agurtovoy_at_[hidden])
Date: 2005-04-25 04:29:23


Stefan Slapeta writes:
> Hi,
>
> IMO there should be attempted to remove the read only file attribute
> before replacing regression.py:
>
> Traceback (most recent call last):
> File "regression.py", line 837, in ?
> commands[ command ]( **accept_args( args ) )
> File "regression.py", line 670, in regression
> update_itself()
> File "regression.py", line 589, in update_itself
> shutil.move( sys.argv[0], '%s~' % sys.argv[0] )
> File "c:\python23\lib\shutil.py", line 171, in move
> os.unlink(src)
> OSError: [Errno 13] Permission denied: 'regression.py'

I'd say it's an issue with 'shutil', which should take care of platform
differences like this, but patched in the CVS.

Thanks for the report,

-- 
Aleksey Gurtovoy
MetaCommunications Engineering

Boost-testing list run by mbergal at meta-comm.com