drum-machine icon indicating copy to clipboard operation
drum-machine copied to clipboard

App crash on start

Open kriptolix opened this issue 8 months ago • 2 comments

Describe the bug The application does not open if called via the shortcut, when executed in the terminal it displays the error reported below.

To Reproduce Click on the shortcut or execute in terminal.

Expected behavior App is expected to open.

Additional context

System Details Report


Report details

  • Date generated: 2025-04-23 19:11:56

Hardware Information:

  • Hardware Model: Gigabyte Technology Co., Ltd. A520M K V2
  • Memory: 16.0 GiB
  • Processor: AMD Ryzen™ 5 5600G with Radeon™ Graphics × 12
  • Graphics: AMD Radeon™ RX 6700 XT
  • Disk Capacity: 1.0 TB

Software Information:

  • Firmware Version: F2
  • OS Name: Fedora Linux 42.20250416.0 (Silverblue)
  • OS Build: (null)
  • OS Type: 64-bit
  • GNOME Version: 48
  • Windowing System: Wayland
  • Kernel Version: Linux 6.14.2-300.fc42.x86_64

The terminal execution output:

$ flatpak run io.github.revisto.drum-machine
Traceback (most recent call last):
  File "/app/bin/drum-machine", line 45, in <module>
    from drum_machine import main
  File "/app/share/drum-machine/drum_machine/main.py", line 21, in <module>
    from .application import DrumMachineApplication
  File "/app/share/drum-machine/drum_machine/application.py", line 25, in <module>
    from .window import DrumMachineWindow
  File "/app/share/drum-machine/drum_machine/window.py", line 27, in <module>
    from .services.sound_service import SoundService
  File "/app/share/drum-machine/drum_machine/services/sound_service.py", line 21, in <module>
    import pygame
  File "/app/lib/python3.12/site-packages/pygame/__init__.py", line 92, in <module>
    from pygame.base import *  # pylint: disable=wildcard-import; lgtm[py/polluting-import]
    ^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: Dynamic linking causes SDL downgrade! (compiled with version 2.30.12, linked to 2.30.8)

kriptolix avatar Apr 23 '25 22:04 kriptolix

@kriptolix Hi, could you please double-check to see if the problem still exists?

Revisto avatar Aug 02 '25 07:08 Revisto

Yes. Same error but the last line is:

RuntimeError: Dynamic linking causes SDL downgrade! (compiled with version 2.32.8, linked to 2.30.8)

kriptolix avatar Aug 09 '25 12:08 kriptolix