Artifacts Associated With Ticket 218335ffffffffff
Ticket change [31ce0bc204] (rid 93497) by nobody on 2000-10-26 00:56:22:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 3953 Bug Version: 8.2.2 SubmitDate: '1999-12-28' LastModified: '2000-03-30' Severity: MED Status: Closed Submitter: techsupp ChangedBy: hobbs OS: Windows 95 OSVersion: Don't know the rev. of w95 we're using Machine: Compaq deskpro, P2-400, 128 Mb RAM, 6.4Gb disk FixedDate: '2000-10-25' ClosedDate: '2000-03-30' Name: Howard Pierce Comments: I've dutifully searched the web and Tcl/Tk FAQs for this error, but it seems not to have occurred before. ReproducibleScript: file exists K:/techcom/maps/database/en/locks/944768159AB 1 file delete K:/techcom/maps/database/en/locks/944768159AB no such file or directory. (error returned by "catch") file exists K:/techcom/maps/database/en/locks/944768159AB 1 ObservedBehavior: The file is not removed and it should be. Also, page 98 of "Practical Programming in Tcl and Tk" (second edition) states, "It is NOT an error if the files do not exist." No stack trace. Thinking this might be some timing/network issue, I put in a while loop that counted up to 50, sleeping one second each time and then trying again to delete the file. No dice. The file is on a server (NT probably) and made available to the PC client via a Novell network. DesiredBehavior: The file should be deleted. The error message directly contradicts the (correct) results of the "file exists" command immediately preceding. Some nasty workarounds I can think of are sending email to the admin account on the server which could have an email filter (triggered by subject line) that would invoke a process on the server to delete the file. Otherwise, the client script could zero out the file and then a daemon on the server could "watch" that directory for zero-length files and remove them. I'm having problems (read: can't) reproducing this on Windows. This seems to be some sort of magical lock file, that some server might be doing magic with. Tcl, like other languages, can get fooled by odd (file) servers that do non-standard things with files. Something as simple as Samba causes confusion about file permissions (not something that can be worked around), but I've not seen the above before. It may help to know really what kind of server is on the other end, and what magic may be occuring on the "lock" files (some systems have flock'ing that isn't really file-based, but spoofs it). -- 01/23/2000 hobbs The user notes that this is on a special server, where they've seen other weirdness. At this point, without reproducability, this is getting closed. -- 03/30/2000 hobbs
- foundin initialized to: "obsolete: 8.2.2"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "37. File System"
- title initialized to: "file delete doesn't work & issues error"
- type initialized to: "Bug"
Ticket change [0bd8d0ca72] (rid 114066) by welch on 2000-10-26 08:20:07:
- closedate changed to: "2000-10-26T01:20:07"
- closer changed to: "welch"
- priority changed to: "2"
- resolution changed to: "Fixed"
- status changed to: "Closed"