-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fetchart Error: The process cannot access the file because it is being used by another process while moving #5521
Comments
I don't know if it's helpful, but I'll share a more verbose log of a fetchart -q command. It's a reproduceable error with every attempt. I can delete the tmp jpgs in windows explorer immediately after it crashes, so I think fetchart must be the one 'using' it?
|
I suspect it might we windows defender. But the confusing thing is the cover already exists in the destination folder. It is not easily repeatable either 😞 so lots of debug prints may not find it in an import. |
I tried disabling Defender's Real-time Protection but it didn't help. I agree the logs don't seem to show much. I've tried rebooting and running with admin. It's a strange problem! It definitely does download and move a cover.jpg, if only it wasn't crashing after it does it. I tried sacad_r (https://github.com/desbma/sacad) to do a batch and it works, but I'd prefer to do it through beets when I import multiple albums. 😩 |
Have the exact same issue, on Windows. |
It's reassuring to hear it's not just me. It's a shame, because I prefer using beets more than MusicBrainz Picard, but I've had to give up on beets and use Picard because of this issue. |
I was able to get around this issue on windows by doing the following (confirming that it is caused by windows defender):
It looks like windows defender is trying to access / scan the file at the same time that beets is using it causing the issue, I used process monitor to discover this. |
Wow! It really worked. I tried a 6 album batch and it fetched the art perfectly. I'd tried disabling real-time protection, but I didn't think to try adding an exclusion. Thanks so much! The temp jpgs aren't being deleted (should they be?) after the processing, but at least it works. |
I think they should be deleted, but mine are also not being deleted. I'll just have to keep an eye on the folder to make sure it doesn't fill up my drive for now. |
Why do I keep getting this error when using fetchart? When I use fetchart to find a cover (manually or on import) it seems to download and move ONE cover.jpg to the correct spot, crash and not delete the tmp files nor does it continue the queue. I've tried clearing the tmp folder, rebooting. Thought it works, I can only 'fetchart' one album at a time.
`
My configuration (output of
beet config
) is:The text was updated successfully, but these errors were encountered: