.
D 2000-10-26T00:56:22
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s3953\sBug\nVersion:\s8.2.2\nSubmitDate:\s'1999-12-28'\nLastModified:\s'2000-03-30'\nSeverity:\sMED\nStatus:\sClosed\nSubmitter:\stechsupp\nChangedBy:\shobbs\nOS:\sWindows\s95\nOSVersion:\sDon't\sknow\sthe\srev.\sof\sw95\swe're\susing\nMachine:\sCompaq\sdeskpro,\sP2-400,\s128\sMb\sRAM,\s6.4Gb\sdisk\nFixedDate:\s'2000-10-25'\nClosedDate:\s'2000-03-30'\n\n\nName:\sHoward\sPierce\n\nComments:\nI've\sdutifully\ssearched\sthe\sweb\sand\sTcl/Tk\sFAQs\sfor\sthis\serror,\sbut\sit\sseems\snot\sto\shave\soccurred\sbefore.\n\nReproducibleScript:\nfile\sexists\sK:/techcom/maps/database/en/locks/944768159AB\n1\n\nfile\sdelete\sK:/techcom/maps/database/en/locks/944768159AB\nno\ssuch\sfile\sor\sdirectory.\s(error\sreturned\sby\s"catch")\n\nfile\sexists\sK:/techcom/maps/database/en/locks/944768159AB\n1\n\nObservedBehavior:\nThe\sfile\sis\snot\sremoved\sand\sit\sshould\sbe.\s\sAlso,\spage\s98\sof\s"Practical\sProgramming\sin\sTcl\sand\sTk"\s(second\sedition)\sstates,\s"It\sis\sNOT\san\serror\sif\sthe\sfiles\sdo\snot\sexist."\n\nNo\sstack\strace.\n\nThinking\sthis\smight\sbe\ssome\stiming/network\sissue,\sI\sput\sin\sa\swhile\sloop\sthat\scounted\sup\sto\s50,\ssleeping\sone\ssecond\seach\stime\sand\sthen\strying\sagain\sto\sdelete\sthe\sfile.\s\sNo\sdice.\s\sThe\sfile\sis\son\sa\sserver\s(NT\sprobably)\sand\smade\savailable\sto\sthe\sPC\sclient\svia\sa\sNovell\snetwork.\n\nDesiredBehavior:\nThe\sfile\sshould\sbe\sdeleted.\s\sThe\serror\smessage\sdirectly\scontradicts\sthe\s(correct)\sresults\sof\sthe\s"file\sexists"\scommand\simmediately\spreceding.\n\nSome\snasty\sworkarounds\sI\scan\sthink\sof\sare\ssending\semail\sto\sthe\sadmin\saccount\son\sthe\sserver\swhich\scould\shave\san\semail\sfilter\s(triggered\sby\ssubject\sline)\sthat\swould\sinvoke\sa\sprocess\son\sthe\sserver\sto\sdelete\sthe\sfile.\s\sOtherwise,\sthe\sclient\sscript\scould\szero\sout\sthe\sfile\sand\sthen\sa\sdaemon\son\sthe\sserver\scould\s"watch"\sthat\sdirectory\sfor\szero-length\sfiles\sand\sremove\sthem.\n\n\n\nI'm\shaving\sproblems\s(read:\scan't)\sreproducing\sthis\son\sWindows.\nThis\sseems\sto\sbe\ssome\ssort\sof\smagical\slock\sfile,\sthat\ssome\nserver\smight\sbe\sdoing\smagic\swith.\s\sTcl,\slike\sother\slanguages,\ncan\sget\sfooled\sby\sodd\s(file)\sservers\sthat\sdo\snon-standard\sthings\nwith\sfiles.\s\sSomething\sas\ssimple\sas\sSamba\scauses\sconfusion\sabout\nfile\spermissions\s(not\ssomething\sthat\scan\sbe\sworked\saround),\sbut\nI've\snot\sseen\sthe\sabove\sbefore.\s\sIt\smay\shelp\sto\sknow\sreally\swhat\nkind\sof\sserver\sis\son\sthe\sother\send,\sand\swhat\smagic\smay\sbe\noccuring\son\sthe\s"lock"\sfiles\s(some\ssystems\shave\sflock'ing\sthat\nisn't\sreally\sfile-based,\sbut\sspoofs\sit).\s\n--\s01/23/2000\shobbs\nThe\suser\snotes\sthat\sthis\sis\son\sa\sspecial\sserver,\swhere\sthey've\nseen\sother\sweirdness.\s\sAt\sthis\spoint,\swithout\sreproducability,\nthis\sis\sgetting\sclosed.\s\n--\s03/30/2000\shobbs
J foundin obsolete:\s8.2.2
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 37.\sFile\sSystem
J title file\sdelete\sdoesn't\swork\s&\sissues\serror
J type Bug
K 218335ffffffffffffffffffffffffffffffffff
U nobody
Z bd9c0bb597c17a3a6edb8993812b1fcf