PMView.com

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Unable to delete...
Larry Bristol
post Jul 31 2000, 04:17 AM
Post #1


Forum Member


Group: Members
Posts: 5
Joined: 29-March 00
From: Sugar Land, TX, USA
Member No.: 8



I frequently scan through a directory containing a large number of recent downloads, deleting most/all of the images in the process. The program is configured to display the next file after the delete action. I tend to move through the files swiftly, hitting the delete key about once a second or so.

I have an intermittent problem with this process. Occassionally, a message box will pop up indicating an error has occurred and that the file could not be deleted. After dismissing the message box, the file can be deleted normally, and I can proceed.

I am sure it is a timing thing. I assume it is a sharing error of some kind; maybe the delete is done in one thread which gets control before the display thread closes the file? It only seem to occur if I am moving along swiftly, pressing the "Del" key before the image has been completely displayed. That does not seem to be the entire story, however, and I cannot reproduce it at will.

My only complaint is that responding to this message box breaks my rhythm and slows me down a bit. I thought you might be interested in this oddity.

BTW: This happens in W95, but never when I do the same thing under OS/2. :-)
Go to the top of the page
 
+Quote Post
Peter
post Jul 31 2000, 09:13 AM
Post #2


Forum Member


Group: Admin
Posts: 662
Joined: 14-March 00
From: Wilmington, North Carolina
Member No.: 3



Larry:

Either some other program or PMView itself is trying to read (or write) the file while you're trying to delete it.

In the case of PMView, it may just be PMView that tries to read the thumbnail at this point. Since PMView is reading the file that you're trying to delete, the deletion will fail.

You could try to disable the thumbnails and see if this helps...

------------------
Peter Nielsen (peter@pmview.com) "If you can dream it, you can do it" JFK.

[This message has been edited by Peter (edited July 31, 2000).]


--------------------
Peter Nielsen (peter@pmview.com) "If you can dream it, you can do it" JFK.
Go to the top of the page
 
+Quote Post
Larry Bristol
post Aug 4 2000, 02:29 PM
Post #3


Forum Member


Group: Members
Posts: 5
Joined: 29-March 00
From: Sugar Land, TX, USA
Member No.: 8



I am relatively sure that there is no other process accessing the file. It is bound to be another thread within PMView.

I had not considered thumbnail creation, and that would relate to the fact that it never occurs under OS/2 since I seldom do that. OTOH, it does not seem to matter whether or not thumbnails are being build concurrently, or if I wait until all of them have already been built.

I was not even aware that I could turn thumbnail creation off! I may do that even if it has nothing to do with this.
Go to the top of the page
 
+Quote Post
Larry Bristol
post Aug 14 2000, 06:13 AM
Post #4


Forum Member


Group: Members
Posts: 5
Joined: 29-March 00
From: Sugar Land, TX, USA
Member No.: 8



Thumbnail processing does not seem to be a complete explanation. Even with thumbnail deactivated (or processing completed), I will still get the sharing violation on occasion. It happens more frequently when thumbnails are being built, however.
Go to the top of the page
 
+Quote Post
Peter
post Aug 14 2000, 08:12 AM
Post #5


Forum Member


Group: Admin
Posts: 662
Joined: 14-March 00
From: Wilmington, North Carolina
Member No.: 3



Larry,
It sure sounds like you're trying to delete the files while PMView is still processing them in the background. Try the "View->Quick" mode. In this mode no additional file info scanning is done and I guess the "problem" should disappear.


------------------
Peter Nielsen (peter@pmview.com) "If you can dream it, you can do it" JFK.


--------------------
Peter Nielsen (peter@pmview.com) "If you can dream it, you can do it" JFK.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 14th August 2018 - 10:10 AM