[Tutor] please explain this error

Herold Kroh hkroh at Anadigics.com
Wed Sep 24 16:26:01 CEST 2008


Thanks for your reply.

Yes.  The python program is or was keeping the file open.. This is
failing at the commit stage of the program, in checking in the svn data.
So how do I go about fixing this?

Any help and insight is appreciated.


Herold Kroh
hkroh at anadigics.com
141 Mt Bethel Rd
Warren NJ, 07059 US
tel: 908-668-5000 ext 6151
mobile: 570-510-2611
AIM: hekroh
Skype ID:hekroh

-----Original Message-----
From: Steve Willoughby [mailto:steve at alchemy.com] 
Sent: Tuesday, September 23, 2008 6:45 PM
To: Herold Kroh
Cc: python-help at python.org; tutor at python.org
Subject: Re: [Tutor] please explain this error

On Tue, Sep 23, 2008 at 06:13:31PM -0400, Herold Kroh wrote:
> libsvn._core.SubversionException: ("Can't remove
> 'SVN_skill/db/transactions/0-1.txn': Directory not empty", 39)
> I go to the offending directory and I see a .nfs<blah> file.  When I 
> touch the file, it disappears.

The problem here is with NFS, really.  The .nfs<blah> files
are how the NFS system handles the case where files are deleted on the
fileserver but still open on a client.  (Under Unix, a file can still be
open and all its data accessed even if 
deleted from the filesystem... it won't *really* go away
until it's closed, too.  But NFS doesn't represent that case well so a
temporary filename is used.)  

Unless your Python program is what's holding the offending 
file(s) open...  any idea what's keeping the file in use?

Steve Willoughby    |  Using billion-dollar satellites
steve at alchemy.com   |  to hunt for Tupperware.

More information about the Tutor mailing list