Lightroom: Why do I get the "file could not be moved to recycle bin" error message when deleting pictures

  • 9
  • Problem
  • Updated 5 years ago
  • (Edited)
Quite often when I press Ctrl Back space to delete images, there will be just one that gets left behind with the attached error message

there is no reason given, and no way to address the problem, so its a bit frsutrating to keep leaving images behind.

Any thoughts?
Photo of Edward

Edward

  • 194 Posts
  • 4 Reply Likes
  • frustrated

Posted 7 years ago

  • 9
Photo of Steve Sprengel

Steve Sprengel, Champion

  • 2657 Posts
  • 341 Reply Likes
My thought would be that LR is currently doing something else with the image, like rendering a preview or checking if the metadata is up-to-date, and so the image is busy and cannot be moved or deleted.

Such is life with a multi-threaded program like LR.

It would be helpful if LR kept track of what it was doing with every image so it could abort less-important operations (preview rendering) in lieu of the more important operations (deletion) or at least wait for itself to finish one operation before attempting another, but it is not easy without having the architecture in place within every part of the program to do such things and I suspect LR was much less multi-threaded originally so may not have had situations like this in mind. With every major update LR has a chance of being rearchitected but if more important fixes require more attention then it may get pushed off to another release.

At least LR should have a retry operation on a failure message like this so it'd be easy to finish things up without re-keying and re-confirming the delete at the risk of having the wrong things selected.

It took Microsoft 25 years to put a retry operation within it's copy/move/delete operations so it seems to be an insignificant error for developers to address unless someone really pushes them to do so.
Photo of Rob Cole

Rob Cole

  • 4831 Posts
  • 385 Reply Likes
All software has bugs, but things like this should be fixed, in my opinion - preferably in the next dot release, if possible.

If the reason for the file being locked or whatever has its roots in Lightroom, then it should be fixable enough. If the underlying cause is external, then at least a decent error message (after a retry...).

I'm guessing some users see this problem and others do not(?)

PS - This is probably the same problem as the "file could not be moved" error that sometimes occurs when moving files from one folder to another in Lightroom...
Photo of Didier Toulouze

Didier Toulouze

  • 3 Posts
  • 0 Reply Likes
I have this problem too. If I wait the end of rendering, the delete work indeed.
I'm agree with Rob, Adobe should fix this.
Photo of Lambert Wolterbeek

Lambert Wolterbeek

  • 19 Posts
  • 2 Reply Likes
Same here - PLEASE fix this basic error.

This has been around for ages.

OR if you can't (for some reason) then please give us the option to RETRY the operation.

Photo of J Chin

J Chin

  • 14 Posts
  • 1 Reply Like
Have you tried moving to another image, edit it, then press "G" to get back to the grid, then selecting this image again, then deleting?
Photo of Edward

Edward

  • 194 Posts
  • 4 Reply Likes
Thanks J, I know there are ways to get around it (as you suggest) but this really is something Adobe should address. It's an old problem that they seem content to skip over in favor of more "sexy" features that might drive new sales.

There are many such issues that Adobe just ignores. I do wish they'd tighrn up on what already is in the software before charging ahead with new (and often not core) features.
Photo of Steve Sprengel

Steve Sprengel, Champion

  • 2657 Posts
  • 341 Reply Likes
The OP is aware of how to delete images after an error. Refinding the image can be a problem if scattered images are being deleted from a large number of other images. They are asking for LR to be smarter about a situation where two parts of LR are needing exclusive access to the image at the same time. My vote would be for a Retry button. The program knows what image and what operation was being attempted at the point it shows the error message, so you'd think a Retry would be possible.

It took some decades before Windows added a Retry button to their file-operations errors, so hopefully Adobe doesn't wait that long. I imagine it is a question of priority where new features and show-stopping errors move ahead of the occasional-annoyances and if there are always worse bugs, then this problem will continue to be pushed to the bottom of the heap along with many others.
Photo of Hunor Peter

Hunor Peter

  • 1 Post
  • 0 Reply Likes
I have a similar issue.
I store my photos on my server. When I try to delete them I get the following message:
"The files are on a volume that does not support the Recycle Bin. Would you like to delete them immediately?"
When I click on 'Delete files now' it deletes the file. So it's not a critical issue. However, it's a bit annoying.
Photo of Christian W

Christian W

  • 3 Posts
  • 0 Reply Likes
Every second time when I want to delete a photo in Lightroom, I get the message "could not be moved to the bin" (in German: Papierkorb). What sort of bug is that in a software of the year 2012?

This reply was created from a merged topic originally titled
LR deletion of photos not possible.
Photo of gmarcos

gmarcos

  • 5 Posts
  • 0 Reply Likes
I have the same problem (for a Vista system). When I go to the folder directly in Windows it says another program has the file locked. But, the only program running at a user level is LR4. Is there a fix? Is there a way to find which application has the file open? Thanks
Photo of Rob Cole

Rob Cole

  • 4831 Posts
  • 385 Reply Likes
Thanks John.
Photo of gmarcos

gmarcos

  • 5 Posts
  • 0 Reply Likes
John, I tried the exit/re-enter with no success. According to the process explorer, it is LR4.1 that has the file open. In top down order: Lightroom.exe, dynamiclinkmanager.exe, dynamiclinkmediaserver.exe. I've also tried deleting the file directly from the folder via window, but the file is locked. However, you gave me an idea which I just tried and it provided a workaround for this bug.

Find the windows folder in which the file is stored. Exit LR. Then you can delete the file. When you get back into LR, then synchronize the folder.

This problem seems to happen with many movie files and not my raw or jpgs.
Photo of gmarcos

gmarcos

  • 5 Posts
  • 0 Reply Likes
By the way, how do I find if this is a known bug, it's documentation or if I should file a bug report?
Photo of John R. Ellis

John R. Ellis, Champion

  • 3895 Posts
  • 1035 Reply Likes
Indeed, sounds like a LR bug.
Photo of John R. Ellis

John R. Ellis, Champion

  • 3895 Posts
  • 1035 Reply Likes
This is the official place to report bugs to Adobe, so consider it already reported.
Photo of Lambert Wolterbeek

Lambert Wolterbeek

  • 19 Posts
  • 2 Reply Likes
This happens on every PC I ever tried LR on (since LR 3.x). Windows Vista, Windows 7, Desktop, Laptop, Work PC, everywhere.

It is perfectly reproducible.

I'm gonna create a nice "collage of fail" with pictures of these error messages and post it here until somebody fixes the problem.

how hard can it be, Adobe?

Photo of gmarcos

gmarcos

  • 5 Posts
  • 0 Reply Likes
Lambert,
Brilliant idea. I just imported another movie from my camera and when I went to delete it, I could not (through LR). So, here is my picture to add to the collection.
G
Photo of gmarcos

gmarcos

  • 5 Posts
  • 0 Reply Likes
I see that my workaround is buried away in nested comments, so for those who want a simple workaround, this works on my Vista system:

Locate the Windows folder in which the file is stored (Right click on the image, "Show in Explorer").
Exit LR.
Delete the file.
Bring up LR again.
Synchronize that folder (Library, find the folder and right click on it and then select 'Synchronize').

That's it.
Gary
Photo of Lambert Wolterbeek

Lambert Wolterbeek

  • 19 Posts
  • 2 Reply Likes
ENJOY

Photo of afgoody

afgoody

  • 20 Posts
  • 3 Reply Likes
Still a problem
Photo of Robert Hawley

Robert Hawley

  • 3 Posts
  • 0 Reply Likes
This seems to happen on every one of my images the work around is fine but then what do I need LR for!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Photo of Robert Hawley

Robert Hawley

  • 3 Posts
  • 0 Reply Likes
Up date and more info windows 7 64 bit just upgraded to LR 4.2 from 4.1 and CR 7.2 from 7.1 no change. It does work on my C drive but not F internal drive that's where I store all my photographs. Is there a setting to change somewhere?
Photo of Robert Hawley

Robert Hawley

  • 3 Posts
  • 0 Reply Likes
I have no idea what happened but suddenly no more troubles. Windows update maybe?
Photo of Egon Scherl

Egon Scherl

  • 6 Posts
  • 0 Reply Likes
When I have several pictures marked as ‘rejected’ I delete them all by pressing Ctrl + Backspace (Win7, 64-Bit).

Quite often – but not always – the last picture is not deleted.

Instead I get the message “The file xyz could not be moved to the Recycle Bin.” I hit Ctrl + Backspace again and this picture is deleted without problem.

The pictures and the Lightroom catalogue are on an external USB-Harddisk.

This reply was created from a merged topic originally titled
Lightroom: Last picture of several rejected pictures is not deleted.
Photo of Paul Devisser

Paul Devisser

  • 2 Posts
  • 0 Reply Likes
I've experienced this in LR 4 & LR 5 on Windows 7. I'm using an external USB drive.

Each time this happened I wasn't able to delete the file via Windows Explorer as well. I could edit files (I store metadata in side car files) but not delete.

I ran the Windows disk check tool and it corrected file descriptor errors. I was then able to delete files both via Windows Explorer and Lightroom.

So my suggested solution would be to run the Windows built in error checking tool.
Photo of Lambert Wolterbeek

Lambert Wolterbeek

  • 19 Posts
  • 2 Reply Likes
Yes, a side effect of running the disk check tool is that it forces all files handles to be closed ( and THAT is the problem: LR still has a file/search handle to the file or folder ). So yes, that might work but it's like using dynamite to kill a mosquito...
Photo of Paul Devisser

Paul Devisser

  • 2 Posts
  • 0 Reply Likes
Lambert, that is curious as I even have tried ejecting and remounting the hard disk and deleting other files that aren't under Lightroom's control via Windows Explorer and I get an error indicating the files are corrupt. The disk check/repair lets me delete those files too. So while that might be like using dynamite to kill a mosquito, it might also indicate to me that the problem is outside of Lightroom's control and perhaps they should be using better error messaging.
Photo of Lambert Wolterbeek

Lambert Wolterbeek

  • 19 Posts
  • 2 Reply Likes
If you can't delete a file using Windows Explorer after the disk has been mounted then the disk is indeed corrupt and then it is a good idea to repair it :-)

In my case, and I suspect in most cases reported here, however, that is not applicable.
Photo of aaandre

aaandre

  • 1 Post
  • 0 Reply Likes
This worked for me:

Close Lightroom and run it as Administrator. To do this, right-click the icon and choose "Run as Administrator"

Seems that some of the files needed Admin-level credentials in order to be deleted.
Photo of John Dalrymple

John Dalrymple

  • 5 Posts
  • 0 Reply Likes
This is ridiculous. The bug, and it is a bug, has been around for at least 2 full versions and still occurs on 5.2. If I mark several photos as rejected and then "delete rejected photos" it normally fails to delete the first one with this "can't move to recycle bin" message. The photos are on an internal hard drive. I don't need admin privileges to delete the file. I can get LR to delete the offending photo via the delete key.
Photo of Edward

Edward

  • 194 Posts
  • 4 Reply Likes
It amazes me that the lightroom team think it more important to add all sorts of "bells and whistles" function that hardly anyone uses, but will NOT address long standing highly frustrating faults like this, even though they affect every single user day after day.

Adobe like to trumpet the fact that they listen to their clients but the evidence does not support it.
Photo of Steve Sprengel

Steve Sprengel, Champion

  • 2657 Posts
  • 341 Reply Likes
LR is multi-threaded, meaning that it is doing several things at once.

The cannot-move-to-recycle-bin message happens when LR is busy building/retrieving a preview or checking/writing the metadata for one of the photos that you’re asking to be deleted.

If I remember, the delete-rejected-photos first filters for and selects all the rejected photos, and this change in focus causes the preview of the first selected photo to be retrieved and perhaps some thumbnails to be refreshed, which in turn causes the photos to be busy for a short while, and so the delete is blocked from at least one of them, depending on the speed of the computer being used.

The delete key appears to work because enough time has passed for whatever background operation was using the photo to have been completed so it is no longer blocked.

As a programmer, myself, but one who is not privy to any Adobe insider information, it would seem that there would be a way to fix this issue, at least the most common case where preview/metadata manipulation blocks a user-initiated delete operation.