[win32] Permission denied in fancy_rename

Alexander Belchenko bialix at ukr.net
Mon May 1 22:06:32 BST 2006


John Arbash Meinel пишет:
> Alexander Belchenko wrote:
>> E:\work\Python\bzr\third.party\be>bzr pull
>> http://panoramicfeedback.com/opensource/bzr/be
>> Backup Inventory created.
>> bzr: ERROR: exceptions.OSError: [Errno 13] Permission denied
>>   at E:\work\Python\bzr\bzr.dev\bzrlib\osutils.py line 143
>>   in fancy_rename
>>
>> When I switch to cygwin I can finish this pull successfully.
>>
>> Dear core developers! Don't leave files opened after use! Please, close
>> them explicitly! Or bzr always has minor issues on windows platform.
> 
> I agree it is bad form to leave files open. Can you provide a traceback
> so that we might know what file we are having problems with?

Log attached. But it does not point to filename.

> Probably fancy_rename should also be instrumented to throw an exception
> which actually includes the file paths being acted upon, rather than
> just letting OSError be raised (which doesn't say anything about what
> file failed).

This will be good.

--
Alexander
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bzr.log
Url: https://lists.ubuntu.com/archives/bazaar/attachments/20060502/574a85b1/attachment.diff 


More information about the bazaar mailing list