Skip to content

Crash on Launch #382

@JoeyBelvar

Description

@JoeyBelvar

Steps to Reproduce

Steps to reproduce the behavior:

  1. Open from shortcut
  2. Bouncy icon, then nothing
  3. Try open from command line
  4. error + stack trace (below)

Expected behavior

Not crash?

Problematic behavior

Explain what actually happens, and how it differs from expectation

Desktop (please complete the following information):

  • Operating System / Distrobution : Bazzite
  • Desktop Environment : KDE Plasma

Installation Method

  • flatpak (0.7.9)

Discord client information

  • Install method : tar
  • Version : stable 536904 (aa8652e) Host 0.0.135 x64 Build Override: N/A Linux 64-bit (6.19.11-ogc1.1.fc44.x86_64)

Additional context

deck@bazzite:~$ flatpak run --command=sh io.github.trigg.discover_overlay
[📦 io.github.trigg.discover_overlay ~]$ discover-overlay 
/app/lib/python3.12/site-packages/discover_overlay/discover_overlay.py:24: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
  import pkg_resources
INFO - discover_overlay.discover_overlay - Starting Discover Overlay: 0.7.8
ERROR - discover_overlay.discover_overlay - Gtk couldn't be initialized. Use Gtk.init_check() if you want to handle this case.
ERROR - discover_overlay.discover_overlay - Traceback (most recent call last):
  File "/app/lib/python3.12/site-packages/discover_overlay/discover_overlay.py", line 544, in entrypoint
    Discover(rpc_file, config_file, channel_file,
  File "/app/lib/python3.12/site-packages/discover_overlay/discover_overlay.py", line 77, in __init__
    self.create_gui()
  File "/app/lib/python3.12/site-packages/discover_overlay/discover_overlay.py", line 422, in create_gui
    self.voice_overlay = VoiceOverlayWindow(self)
                         ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/lib/python3.12/site-packages/discover_overlay/voice_overlay.py", line 42, in __init__
    OverlayWindow.__init__(self, discover, piggyback)
  File "/app/lib/python3.12/site-packages/discover_overlay/overlay.py", line 55, in __init__
    Gtk.Window.__init__(self, type=self.detect_type())
                                   ^^^^^^^^^^^^^^^^^^
  File "/app/lib/python3.12/site-packages/discover_overlay/overlay.py", line 45, in detect_type
    window = Gtk.Window()
             ^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/gi/overrides/Gtk.py", line 505, in __init__
    raise RuntimeError(
RuntimeError: Gtk couldn't be initialized. Use Gtk.init_check() if you want to handle this case.

[📦 io.github.trigg.discover_overlay ~]$ 

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions