Re: [Tutor] please explain this error
Steve, 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 Anadigics Herold Kroh [EMAIL PROTECTED] 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:[EMAIL PROTECTED] Sent: Tuesday, September 23, 2008 6:45 PM To: Herold Kroh Cc: [EMAIL PROTECTED]; tutor@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 .nfsblah file. When I touch the file, it disappears. The problem here is with NFS, really. The .nfsblah 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 [EMAIL PROTECTED] | to hunt for Tupperware. ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor
Re: [Tutor] please explain this error
Hello Herold! I have three ideas what you could do: - Try to run the script on the server. Maybe even take NFS down while running the script. Or as a variation, run the script in a directory which is on the local disk. It seems the script is confused by some specific behavior of NFS. (There is at least some hope that the script once worked for its author.) - Email the script's author about the bug and ask him for advice. Put an error report into the script's Bugzilla if one exists. - Try to understand the script and fix it. Kind regards, Eike. ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor
[Tutor] please explain this error
Hi all, New to this python thing.. I am trying to run a python script to convert sccs data to svn data (sccs2svn.py). Downloaded this off the web, and it sounds like it should do what I need it to, but I can not seem to get it to run. I keep getting the following error message: Traceback (most recent call last): File /home/hkroh/bin/python_scripts/sccs_te.py, line 481, in ? core.run_app(run) File /usr/src/build/554290-x86_64/install/usr/lib/python2.3/site-packages/sv n/core.py, line 33, in run_app File /home/hkroh/bin/python_scripts/sccs_te.py, line 418, in run interface.add(i) File /home/hkroh/bin/python_scripts/sccs_te.py, line 242, in add print self._commit(revision, delta.getDate(), transaction, subpool) File /home/hkroh/bin/python_scripts/sccs_te.py, line 162, in _commit return repos.svn_repos_fs_commit_txn(self.repos_ptr, txn, subpool) 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 .nfsblah file. When I touch the file, it disappears. I do not know enough about python, or the add on module that is causing this failure. Can someone please point me in the right direction in solving my problem. Please let me know what else you need to know to help with this. Thanks in advance for any help, Herold ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor
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 .nfsblah file. When I touch the file, it disappears. The problem here is with NFS, really. The .nfsblah 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 [EMAIL PROTECTED] | to hunt for Tupperware. ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor