[racket-users] Re: Why would delete-file fail without throwing?

2016-11-19 Thread David K. Storrs
On Saturday, November 5, 2016 at 3:05:04 PM UTC-7, David K. Storrs wrote: > I've got this little snip of code:  > > > > > (define p "/tmp/foo/bar-28") > > (file-exists? p)  ; #t > (delete-file p) > (file-exists? p)  ; still #t  ?? > > > I've verified that: > > *) It's not throwing an excep

Re: [racket-users] Re: Why would delete-file fail without throwing?

2016-11-07 Thread David Storrs
The problem has mysteriously fixed itself, despite the fact that I didn't change anything about the code that was being run -- I did all the work in a separate file and then added things back until I reached the original code. If my co-founder hadn't been standing over my shoulder being just as pu

Re: [racket-users] Re: Why would delete-file fail without throwing?

2016-11-06 Thread David Storrs
The little snip I put above was demonstrative instead of representative; in the process of trying to come up with a more accurate but concise version of the code I've seen it start to work. Clearly (and unsurprisingly) this is caused by something in my code. I'll keep banging on it and when I fig

[racket-users] Re: Why would delete-file fail without throwing?

2016-11-06 Thread George Neuner
On Sat, 5 Nov 2016 18:05:02 -0400, David Storrs wrote: >I've got this little snip of code: > > >(define p "/tmp/foo/bar-28") >(file-exists? p) ; #t >(delete-file p) >(file-exists? p) ; still #t ?? > > >I've verified that: > >*) It's not throwing an exception >*) The code is running as me >*) T