jeanslack / Videomass

Videomass is a free, open source and cross-platform GUI for FFmpeg and yt-dlp
https://jeanslack.github.io/Videomass/
GNU General Public License v3.0
1.12k stars 51 forks source link

AssertionError "invalid bitmap" in Videomass 5.0.2 -- possible reversion? #248

Closed wiloma closed 7 months ago

wiloma commented 1 year ago

Thanks for taking the time to ask a question!

Hi, I've installed Videomass 5.0.2 using pipx on Debian Sid. When I try to start from Terminal I get the dreaded C++ assertion failed" error. I know this was a problem with versions before 4.0.3. Is it back?

System: Videomass: 5.0.2 (released) Platform: Linux Version: #1 SMP PREEMPT_DYNAMIC Debian 6.5.8-1 (2023-10-22) Release: 6.5.0-3-amd64 Architecture: ('64bit', 'ELF') Python: 3.11.6 (main, Oct 8 2023, 05:06:43) [GCC 13.2.0] wxPython: 4.2.1 gtk3 (phoenix) wxWidgets 3.2.2.1

Error: Info: executable=/home/omar/.local/bin/videomass Traceback (most recent call last): File "/home/omar/.local/pipx/venvs/videomass/lib/python3.11/site-packages/videomass/gui_app.py", line 106, in OnInit self.wizard(self.iconset['videomass']) File "/home/omar/.local/pipx/venvs/videomass/lib/python3.11/site-packages/videomass/gui_app.py", line 155, in wizard main_frame = Wizard(wizardicon) ^^^^^^^^^^^^^^^^^^ File "/home/omar/.local/pipx/venvs/videomass/lib/python3.11/site-packages/videomass/vdms_dialogs/wizard_dlg.py", line 528, in init self.pageOne = PageOne(self, icon_videomass) # start... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/omar/.local/pipx/venvs/videomass/lib/python3.11/site-packages/videomass/vdms_dialogs/wizard_dlg.py", line 70, in init img = bitmap.ConvertToImage() ^^^^^^^^^^^^^^^^^^^^^^^ wx._core.wxAssertionError: C++ assertion ""IsOk()"" failed at /tmp/pip-install-4et7op2m/wxpython_a1d2f35db54144e99a0e718f776de1ee/ext/wxWidgets/src/gtk/bitmap.cpp(800) in ConvertToImage(): invalid bitmap OnInit returned false, exiting...

jeanslack commented 10 months ago

Hi, Sorry for late, I completely forgot to reply to you.

I'm sorry, but unfortunately, not using Debian Sid, I can't reproduce your problem. But I can assure you that on Debian11 bullseye (the old stable) and Debian12 bookworm (stable) I have not encountered this problem. Have you solved it in the meantime?

jeanslack commented 7 months ago

Closed due to inactivity

wiloma commented 7 months ago

Ahoy Gianluca!

Sorry, you wound up in my junk mail and I just found it.

I did solve the bitmap problem. I just forget how. Oops. It still shows up on OS X, but that is less surprising.

I'm fine marking it solved.

--Omar

On Mar 25, 2024, at 3:57 PM, Gianluca Pernigotto @.***> wrote:

Closed due to inactivity

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.