Dynamic Bible Explorer Crash on Linux (Wayland)

The place to post any Bugs or Problems you may have with the Current Release Version
Post Reply
nymusicman
Posts: 73
Joined: Wed Jul 01, 2009 11:22 pm

Dynamic Bible Explorer Crash on Linux (Wayland)

Post 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.
Attachments
Screenshot_2025-08-04-22-02-35_12055.png
Screenshot_2025-08-04-22-02-35_12055.png (33.5 KiB) Viewed 5087 times

Tim
Site Admin
Posts: 1627
Joined: Sun Dec 07, 2008 1:14 pm

Re: Dynamic Bible Explorer Crash on Linux (Wayland)

Post by Tim »

It appears Wayland (or something in the Linux page manager) does not accept the default keycodes that work on Ubuntu systems.
Tim Morton
Developer, Bible Analyzer

But to him that worketh not, but believeth on him that justifieth the ungodly, his faith is counted for righteousness. (Rom 4:5 AV)

nymusicman
Posts: 73
Joined: Wed Jul 01, 2009 11:22 pm

Re: Dynamic Bible Explorer Crash on Linux (Wayland)

Post 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 5078 times

Post Reply