Skip to content
Tcl Source Code History Of Ticket 218335ffffffffff
Login

History Of Ticket 218335ffffffffff

Artifacts Associated With Ticket 218335ffffffffff

  1. Ticket change [31ce0bc204] (rid 93497) by nobody on 2000-10-26 00:56:22:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. 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
      
    4. foundin initialized to: "obsolete: 8.2.2"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "37. File System"
    10. title initialized to: "file delete doesn't work & issues error"
    11. type initialized to: "Bug"
  2. Ticket change [0bd8d0ca72] (rid 114066) by welch on 2000-10-26 08:20:07:

    1. closedate changed to: "2000-10-26T01:20:07"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"