[web2py] Re: Deleting upload files -- possible bug? [closed]

2012-03-01 Thread weheh
Oh, you're going to love this! It's not a bug in web2py (as I suspected). But it's also not a bug in my code. It's a bug in Windows 7! The problem is that Windows Explorer (the file browser) is not refreshing consistently, depending on which folder view you're using. I was using the tiles view to

[web2py] Re: Deleting upload files -- possible bug?

2012-02-29 Thread weheh
@Anthony: Thanks for such a thorough response. I'm sorry I didn't mention for Question 2 that I was deleting the files myself using a method almost identical to the one you presented here. I was just wondering if there was a built-in way to do this more efficiently (less coding). Apparently not, wh

[web2py] Re: Deleting upload files -- possible bug?

2012-02-29 Thread Anthony
To be clear, I *cannot *reproduce this problem. weheh, when you delete a record, does it properly delete the file associated with the 'name' field but fail to delete the file associated with the 'image' field, or are both files being left behind? I notice the 'name' field uploads to 'static', bu

[web2py] Re: Deleting upload files -- possible bug?

2012-02-29 Thread Massimo Di Pierro
Please open a ticket, this may be a bug. On Feb 29, 8:37 am, Anthony wrote: > > Grrr. Sorry to go around in circles on this. I traced my code some > > more and, yes, there was a bug. But I fixed it and yet the upload file > > is not being deleted. As improbable as it seems that this would be a >

[web2py] Re: Deleting upload files -- possible bug?

2012-02-29 Thread Anthony
> > Grrr. Sorry to go around in circles on this. I traced my code some > more and, yes, there was a bug. But I fixed it and yet the upload file > is not being deleted. As improbable as it seems that this would be a > bug in web2py, my Question #1 above remains open. Using the latest trunk, I