Skip to content
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

System.InvalidOperationException: Impossible d'affecter Visible à Visibility ou d'appeler Show, ShowDialog, Close ou WindowInteropHelper.EnsureHandle lorsqu'un objet Window est en cours de fermeture. #1261

Open
Bleue7 opened this issue Jun 21, 2024 · 3 comments
Labels
crash A crash is when VidCoder shows an error dialog box then unexpectedly closes.

Comments

@Bleue7
Copy link

Bleue7 commented Jun 21, 2024

What were you doing when VidCoder crashed?

Bonjour,
Depuis hier soir, dès que je lance le ré encodage d'un film ou série rien ne s'affiche = pas de temps, pas de barre d'avancement.
image_2024-06-21_094952103
Et lorsque je veux arrêter ou fermer VidCoder, il est indiqué qu'il est en cours de ré encodage ; sauf qu'il n'y a pas de film dans mon dossier destinataire.
Je n'ai rien touché dans les paramètres / options depuis qu'il est installé (2023). Je suis sous windows 11 sur Asus Tuf

Je vous joins les 2 messages d'erreur récupérés.

Merci pour votre aide :)

Ps : je suis française et me sers de Reverso pour traduire, j'espère que ça sera compréhensible.

VC [082851] VidCoder 9.20 - error 1.txt
VidCoder 9.20 SquirrelInstaller.txt


Good morning,
Since last night, as soon as I start the re-encoding of a movie or series nothing is displayed = no time, no progress bar.
image_2024-06-21_094952103
And when I want to stop or close VidCoder, it says that it is being re-encoded; except that there is no movie in my recipient folder.
I haven’t touched anything in the settings/options since it was installed (2023). I'am with windows 11 with Asus Tuf.

I attach the 2 recovered error messages.

Thanks for your help:)

Ps: I am French and use Reverso to translate, I hope it will be understandable.

Crash details

- ouverture de VidCoder
- ajout du film ou épisode
- réglage des paramètres de sortie
- clique sur " encoder "
-> et rien ne se passe

----------

- opening of VidCoder
- addition of film or episode
- adjustment of output parameters
- click on "encode"
-> and nothing happens
@Bleue7 Bleue7 added the crash A crash is when VidCoder shows an error dialog box then unexpectedly closes. label Jun 21, 2024
@RandomEngy
Copy link
Owner

This error I can help with:

System.InvalidOperationException: Impossible d'affecter Visible à Visibility ou d'appeler Show, ShowDialog, Close ou WindowInteropHelper.EnsureHandle lorsqu'un objet Window est en cours de fermeture.
at System.Windows.Window.VerifyNotClosing()
at System.Windows.Window.Show()
at VidCoder.View.Main.b__15_0()
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

With the next Beta release, it should no longer crash. I think that's separate from your other "encoding hang" issue, though.

I do see in the first log: "libhb: scan thread found 0 valid title(s)". That means that the HandBrake core scanned it but did not find any title that met the minimum video length. What do you see on the main window when you open that video file?

@Bleue7
Copy link
Author

Bleue7 commented Jul 1, 2024

Hi David,
Thank you for your answer :-) and sorry for my late, I could not come before, being very busy.

What I did was uninstall version 9.20 properly and install the new version. I wanted to put the Beta but the stable was available. My problems of re-encoding were fixed suddenly.

But to answer you to " What do you see on the main window when you open that video file? " hoping I understood the question...
Regarding the video, when I was watching the information about codecs included + media on VLC, everything seemed correct. They were identical to those I could have for other videos. The title of the videos were present, speed, size, etc...
And if your question concerns VidCoder and the parameters to choose, with version 9.20, I took " mkv ". And then I adjusted the other options according to my needs.

Overnight this little problem happened and yet I had not touched anything special (I do not know enough).

Well, the main thing is that everything works again :-) I like this little software :-)

Thank you again and nice evening or day.

@Bleue7
Copy link
Author

Bleue7 commented Jul 2, 2024

Good morning or good evening,
I wanted to re-encode a movie again and it didn’t work. I have a failed error message. I tried for the same movie with several parameters, it does not work.
I’m attaching the log that shows where the problem is coming from :
" [17:14:35] Operation 'Ping' failed. Worker process exited unexpectedly with code -1073741819. This may be due to a HandBrake engine crash.
VC E [17:14:35] Encode failed with code ErrorHandBrakeProcessCrashed "

but I don’t know what to do :(

Thanks in advance for reading me and future help.

Good evening or day

Edit du 03 july :
I tried again with other videos, for some it works, others not. I often put the same parameters so must come from the video itself I guess.
Thanks again for your previous answer:-)

2024-07-02 17.14.23 Encode The Elephant Queen (2019).mkv-failed.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crash A crash is when VidCoder shows an error dialog box then unexpectedly closes.
Projects
None yet
Development

No branches or pull requests

2 participants