Re: Deleting files on a shared server

2011-10-07 Thread Gabriel Genellina
En Fri, 07 Oct 2011 04:45:32 -0300, Tim Golden escribió: On 07/10/2011 02:14, Josh English wrote: To delete the files, I am using os.unlink. One lock file refuses to disappear, even though I have code at both application startup and shutdown (on the OnInit and OnExit methods to the wxPython

Re: Deleting files on a shared server

2011-10-07 Thread Tim Golden
On 07/10/2011 02:14, Josh English wrote: This is a follow-up to some questions I posted a month or two ago. I have two programs running on various Windows XP boxes, sharing several resource files on a Windows 2003 server. It's a mapped drive on the workstations to a shared folder. I am using a l

Re: Deleting files on a shared server

2011-10-06 Thread Josh English
The problem shows up when the application starts. It tries to read the file but the lock mechanism times out because the file is still around after the last time the application ran. It's a wxPython program. The code to unlink the .lock files is run in the wxApp.OnInit method (before any code t

Re: Deleting files on a shared server

2011-10-06 Thread Steven D'Aprano
Josh English wrote: > This is a follow-up to some questions I posted a month or two ago. I have > two programs running on various Windows XP boxes, sharing several resource > files on a Windows 2003 server. It's a mapped drive on the workstations to > a shared folder. > > I am using a locking uti

Deleting files on a shared server

2011-10-06 Thread Josh English
This is a follow-up to some questions I posted a month or two ago. I have two programs running on various Windows XP boxes, sharing several resource files on a Windows 2003 server. It's a mapped drive on the workstations to a shared folder. I am using a locking utility that works by creating ".