The single most common problem I encounter: Conversion previews freezing with a PermissionError: [WinError 32]

Getting errors or found a bug when converting faces from a trained model? Post about them here


Forum rules

Read the FAQs and search the forum before posting a new topic.

This forum is for reporting errors with the Convert process. If you want to get tips, or better understand the Convert process, then you should look in the Convert Discussion forum.

Please mark any answers that fixed your problems so others can find the solutions.

Post Reply
User avatar
cosmico
Posts: 80
Joined: Sat Jan 18, 2020 6:32 pm
Has thanked: 11 times
Been thanked: 19 times

The single most common problem I encounter: Conversion previews freezing with a PermissionError: [WinError 32]

Post by cosmico »

So I will convert a video, and the previews will show me converted thumbnails every 5 seconds, and it will get to about 33%-50% done when I'll get hit with the

Code: Select all

PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'D:/Nueral Network programs/FaceswapProject/products\\.gui_preview.jpg'

And what happens is the previews freeze on the last 4,6,8 previews they displayed.
I know it has something to do with that gui.preview or temporary file being in the output folder,
it almost never happens if the folder is empty.

Any idea what causes this?
This is like the tiniest of all problems because it doesn't affect my converted product, it always comes out fine . I just can't watch the preview updates. Rather interestingly, not only is the tiniest problem, its the most consistent. I have had this issue maybe every other conversion over the past year and a half of faceswap. I'm starting to think its either something caused by my computer specifically or something deep in the code of faceswap.


User avatar
torzdf
Posts: 1173
Joined: Fri Jul 12, 2019 12:53 am
Answers: 119
Has thanked: 37 times
Been thanked: 232 times

Re: The single most common problem I encounter: Conversion previews freezing with a PermissionError: [WinError 32]

Post by torzdf »

Because WIndows....

There are a few GUI bugs, but they are not prioritized because, as you say, they are merely cosmetic issues.

I have tagged this with 'bug' though to try to remind myself to look at it one day.

Otherwise, I am always open to pull requests.

My word is final


User avatar
torzdf
Posts: 1173
Joined: Fri Jul 12, 2019 12:53 am
Answers: 119
Has thanked: 37 times
Been thanked: 232 times

Re: The single most common problem I encounter: Conversion previews freezing with a PermissionError: [WinError 32]

Post by torzdf »

My hope is that this bug is fixed in latest commit.

My word is final


Post Reply