--- Begin Message ---
Package: reportbug
Version: 13.0.1
Severity: normal
Dear Maintainer,
For some reason, reportbug refuses to start (with GTK, it’s OK in the text
interface) from one of my lxterm tabs.
Here is the error message:
> reportbug reportbug
Traceback (most recent call last):
File "/usr/bin/reportbug", line 2386, in <module>
main()
File "/usr/bin/reportbug", line 1071, in main
if newui.initialize():
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/reportbug/ui/gtk_ui.py", line 1901, in
initialize
assistant = application.call_in_main_thread(ReportbugAssistant,
application)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/reportbug/ui/gtk_ui.py", line 596, in
call_in_main_thread
raise ret
File "/usr/lib/python3/dist-packages/reportbug/ui/gtk_ui.py", line 583, in
callback
ret = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/reportbug/ui/gtk_ui.py", line 1610, in
__init__
Gtk.Assistant.__init__(self)
File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 508, in
__init__
raise RuntimeError(
RuntimeError: Gtk couldn't be initialized. Use Gtk.init_check() if you want to
handle this case.
But I can run it the next tab in the same lxterm window (with the GTK interface
of course).
Yours,
nicolas
-- Package-specific info:
** Environment settings:
INTERFACE="gtk"
** /home/nicolas/.reportbugrc:
reportbug_version "12.0.0"
mode standard
ui gtk
realname "Nicolas Patrois"
email "nicolas.patrois@free.fr"
smtphost "smtp.free.fr"
smtptls
-- System Information:
Debian Release: trixie/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.10.9-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages reportbug depends on:
ii apt 2.9.8
ii python3 3.12.6-1
ii python3-reportbug 13.0.1
ii sensible-utils 0.0.24
reportbug recommends no packages.
Versions of packages reportbug suggests:
pn claws-mail <none>
ii debconf 1.5.87
pn debsums <none>
ii dlocate 1.14
pn emacs-bin-common <none>
ii exim4-daemon-light [mail-transport-agent] 4.98-1
ii file 1:5.45-3
ii gnupg 2.2.43-8
ii python3-urwid 2.6.15-1
ii reportbug-gtk 13.0.1
ii xdg-utils 1.1.3-4.1
Versions of packages python3-reportbug depends on:
ii apt 2.9.8
ii file 1:5.45-3
ii python3 3.12.6-1
ii python3-apt 2.9.0+b1
ii python3-debian 0.1.49
ii python3-debianbts 4.1.1
ii python3-requests 2.32.3+dfsg-1
ii sensible-utils 0.0.24
python3-reportbug suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
On 18.09.2024, Nicolas Patrois wrote:
> File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 508, in
> __init__
> raise RuntimeError(
> RuntimeError: Gtk couldn't be initialized. Use Gtk.init_check() if you want to
> handle this case.
>
> But I can run it the next tab in the same lxterm window (with the GTK interface
> of course).
Please try to investigate the root cause of the GTK failure in your
lxterm window, and get it fixed where it is. I don't see anything that
we could usefully do on the reportbug side, so I'm closing this report.
--- End Message ---