Page 1 of 1

Dynamic Bible Explorer Crash on Linux (Wayland)

Posted: Mon Aug 04, 2025 9:06 pm
by nymusicman
This issue might only be for Wayland, but I'm not sure yet.

Bible Analyer crashes when trying to open the Dynamic Bible Explorer

Here is the Traceback

Code: Select all

Version: Bible Analyzer 5.6.5.04 
Application Path: /run/host/home/<user>
Modules Path: /home/<user>/Documents/BibleAnalyzer
User Path: /home/<user>/.config/bibleanalyzer
Current Ref: Rom 9:7
Current Bible: BSBs
Current Dict: Torrey
Current Comm: PNT
Current Word: Genesis

Operating System: Linux 6.15.9-zen1-1-zen x86_64
System Architecture: 64bit x86_64
Frozen: False

#---- End System Information ----#


#---- Traceback Info ----#

*** Mon Aug  4 21:52:25 2025 ***
Traceback (most recent call last):
  File "/opt/bibleanalyzer/ba-565.zip/onoff/onoffbutton.py", line 1423, in OnFocus
    if wx.GetKeyState(self.mnemonic) and self._oob_group_id:
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
wx._core.wxAssertionError: C++ assertion ""Assert failure"" failed at ./src/unix/utilsx11.cpp(2645) in wxGetKeyStateGTK(): Unsupported key 0, the only supported ones are: Ctrl, Alt, Shift, Caps Lock, Num Lock and Scroll Lock for GTK 3.18+

#---- End Traceback Info ----#
My System

Code: Select all

    nymusicman@garuda-ser8
                             OS Garuda Linux x86_64
                            ├ Kernel Linux 6.15.9-zen1-1-zen
                            ├󰏖 Packages 2498 (pacman)[stable]
                            └ Shell fish 4.0.2

                            ├󰧨 Window Manager Hyprland 0.50.0-65-g1b86d35f7 (Wayland)
                            ├󰧨 Login Manager sddm-autologin 0.21.0 (Wayland)
                            ├󰉼 Color Themes Sweet-Dark [GTK2/3/4]
                            ├󰀻 System Icons Sweet-Rainbow [GTK2/3/4]
                            ├ System Fonts Fira Sans (10pt) [GTK2/3/4]
                            └ Terminal WezTerm 20250725-073938-dd6e5bd2

                            󰌢 PC Mini PC
                            ├󰻠 CPU AMD Ryzen 7 8745HS (16) @ 4.97 GHz
                            ├󰍛 GPU AMD Radeon 780M Graphics [Integrated]
                            ├󰍛 Vulkan 1.4.311 - radv [Mesa 25.1.7-arch1.1]
                            └󰍹 Display(s) 2560x1600 @ 60 Hz (as 2048x1280) in 13" [External]
                            └󰍹 Display(s) 1920x1080 @ 60 Hz in 24" [External]
                            
                        
I don't know how much this C++ code could translate, but a similar issue was talked about here: https://stackoverflow.com/questions/732 ... land-issue.

I'm using the setup in the Perfect Setup thread in Linux Matters, but I've also tested this with the BibleAnalyzer package in the AUR. Same results. My host system is using Hyprland 0.5 with Wayland.

When you click Report Error or Close, the dialogue just comes back. The only way out is to click Abort and crash the entire program.

Re: Dynamic Bible Explorer Crash on Linux (Wayland)

Posted: Tue Aug 05, 2025 6:51 am
by Tim
It appears Wayland (or something in the Linux page manager) does not accept the default keycodes that work on Ubuntu systems.

Re: Dynamic Bible Explorer Crash on Linux (Wayland)

Posted: Tue Aug 05, 2025 7:35 am
by nymusicman
To test this further, I fired up a fresh install of Desktop Ubuntu 24.04 in a VM. This crash happens in default Unity on Ubuntu as well. While I agree that it's probably Wayland's fault. I really would appreciate if you could look into fixing this for Wayland, even if it's just for Ubuntu GNOME/Unity.
Screenshot_2025-08-05-08-38-54_13995.png
Screenshot_2025-08-05-08-38-54_13995.png (172.44 KiB) Viewed 13472 times