cdgriffith / FastFlix

FastFlix is a free GUI for HEVC and AV1 encoding, GIF/WebP/AVIF creation, and more!
MIT License
1.08k stars 54 forks source link

RuntimeError: Internal C++ object (AudioProfile) already deleted #466

Closed jfroy closed 1 year ago

jfroy commented 1 year ago

FastFlix Version: 5.5.0

Operating System: Windows 11 Pro 22H2 (22621.1555)

Describe the bug I get an exception when trying to add an audio track pattern match in a profile.

To Reproduce

Screenshots

Logs

Traceback (most recent call last):
  File "fastflix\widgets\windows\profile_window.py", line 202, in add_track
    self.tracks.append(AudioProfile(self, self.app, self.main, self.inner_widget, len(self.tracks)))
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "fastflix\widgets\windows\profile_window.py", line 109, in __init__
    self.setLayout(self.grid)
RuntimeError: Internal C++ object (AudioProfile) already deleted.
cdgriffith commented 1 year ago

Hi @jfroy that is a really odd one. Is it repeatable? I cannot seem to trigger it on my system.

cdgriffith commented 1 year ago

I was able to recreate this on windows using the installer version (not having that issue with running code directly of course, so more fun to debug!)

jfroy commented 1 year ago

I was able to recreate this on windows using the installer version (not having that issue with running code directly of course, so more fun to debug!)

Yeah I'm using the installer version. It doesn't always reproduce, but it's pretty consistent when starting from a clean slate, opening a media file, and trying to setup audio track patterns.

cdgriffith commented 1 year ago

Hopefully fixed in 5.5.1 https://github.com/cdgriffith/FastFlix/releases/tag/5.5.1 thanks for report!