[Pkg-utopia-maintainers] Bug#944078: firewall-applet: applet does not appear
Toni Mueller
toni at debian.org
Sun Nov 3 20:54:53 GMT 2019
Package: firewall-applet
Version: 0.7.2-1
Severity: important
Dear Maintainer,
I am trying to run the firewall-applet on my buster machine, and neither
the buster version nor the version in testing actually create the tray
applet. Instead, the program just hangs with no output. For the buster
version, I have stepped through the program to figure out where it
hangs:
$ python3 -m pdb /usr/bin/firewall-applet
> /usr/bin/firewall-applet(23)<module>()
-> import sys
(Pdb) n
> /usr/bin/firewall-applet(24)<module>()
-> from PyQt5 import QtGui, QtCore, QtWidgets
(Pdb)
> /usr/bin/firewall-applet(26)<module>()
-> import gi
(Pdb)
> /usr/bin/firewall-applet(27)<module>()
-> gi.require_version('Notify', '0.7')
(Pdb)
> /usr/bin/firewall-applet(28)<module>()
-> from gi.repository import Notify
(Pdb)
> /usr/bin/firewall-applet(30)<module>()
-> import os
(Pdb)
> /usr/bin/firewall-applet(31)<module>()
-> from dbus.mainloop.pyqt5 import DBusQtMainLoop
(Pdb)
> /usr/bin/firewall-applet(32)<module>()
-> import functools
(Pdb)
> /usr/bin/firewall-applet(34)<module>()
-> from firewall import config
(Pdb)
> /usr/bin/firewall-applet(35)<module>()
-> from firewall.core.fw_nm import nm_is_imported, nm_get_zone_of_connection, \
(Pdb)
> /usr/bin/firewall-applet(39)<module>()
-> from firewall.core.watcher import Watcher
(Pdb)
> /usr/bin/firewall-applet(40)<module>()
-> from firewall.client import FirewallClient
(Pdb)
> /usr/bin/firewall-applet(41)<module>()
-> import slip.dbus
(Pdb)
> /usr/bin/firewall-applet(42)<module>()
-> import dbus
(Pdb)
> /usr/bin/firewall-applet(43)<module>()
-> import signal
(Pdb)
> /usr/bin/firewall-applet(45)<module>()
-> import gettext
(Pdb)
> /usr/bin/firewall-applet(46)<module>()
-> gettext.textdomain(config.DOMAIN)
(Pdb)
> /usr/bin/firewall-applet(47)<module>()
-> _ = gettext.gettext
(Pdb)
> /usr/bin/firewall-applet(49)<module>()
-> PATH = [ ]
(Pdb)
> /usr/bin/firewall-applet(50)<module>()
-> for p in os.getenv("PATH").split(":"):
(Pdb)
> /usr/bin/firewall-applet(51)<module>()
-> if p not in PATH:
(Pdb)
> /usr/bin/firewall-applet(52)<module>()
-> PATH.append(p)
(Pdb)
> /usr/bin/firewall-applet(50)<module>()
-> for p in os.getenv("PATH").split(":"):
(Pdb)
> /usr/bin/firewall-applet(51)<module>()
-> if p not in PATH:
(Pdb)
> /usr/bin/firewall-applet(52)<module>()
-> PATH.append(p)
(Pdb)
> /usr/bin/firewall-applet(50)<module>()
-> for p in os.getenv("PATH").split(":"):
(Pdb)
> /usr/bin/firewall-applet(51)<module>()
-> if p not in PATH:
(Pdb)
> /usr/bin/firewall-applet(52)<module>()
-> PATH.append(p)
(Pdb)
> /usr/bin/firewall-applet(50)<module>()
-> for p in os.getenv("PATH").split(":"):
(Pdb)
> /usr/bin/firewall-applet(51)<module>()
-> if p not in PATH:
(Pdb)
> /usr/bin/firewall-applet(52)<module>()
-> PATH.append(p)
(Pdb)
> /usr/bin/firewall-applet(50)<module>()
-> for p in os.getenv("PATH").split(":"):
(Pdb)
> /usr/bin/firewall-applet(51)<module>()
-> if p not in PATH:
(Pdb)
> /usr/bin/firewall-applet(52)<module>()
-> PATH.append(p)
(Pdb)
> /usr/bin/firewall-applet(50)<module>()
-> for p in os.getenv("PATH").split(":"):
(Pdb)
> /usr/bin/firewall-applet(51)<module>()
-> if p not in PATH:
(Pdb)
> /usr/bin/firewall-applet(52)<module>()
-> PATH.append(p)
(Pdb)
> /usr/bin/firewall-applet(50)<module>()
-> for p in os.getenv("PATH").split(":"):
(Pdb)
> /usr/bin/firewall-applet(51)<module>()
-> if p not in PATH:
(Pdb)
> /usr/bin/firewall-applet(52)<module>()
-> PATH.append(p)
(Pdb)
> /usr/bin/firewall-applet(50)<module>()
-> for p in os.getenv("PATH").split(":"):
(Pdb)
> /usr/bin/firewall-applet(51)<module>()
-> if p not in PATH:
(Pdb)
> /usr/bin/firewall-applet(52)<module>()
-> PATH.append(p)
(Pdb)
> /usr/bin/firewall-applet(50)<module>()
-> for p in os.getenv("PATH").split(":"):
(Pdb)
> /usr/bin/firewall-applet(51)<module>()
-> if p not in PATH:
(Pdb)
> /usr/bin/firewall-applet(52)<module>()
-> PATH.append(p)
(Pdb)
> /usr/bin/firewall-applet(50)<module>()
-> for p in os.getenv("PATH").split(":"):
(Pdb)
> /usr/bin/firewall-applet(51)<module>()
-> if p not in PATH:
(Pdb)
> /usr/bin/firewall-applet(52)<module>()
-> PATH.append(p)
(Pdb)
> /usr/bin/firewall-applet(50)<module>()
-> for p in os.getenv("PATH").split(":"):
(Pdb)
> /usr/bin/firewall-applet(51)<module>()
-> if p not in PATH:
(Pdb)
> /usr/bin/firewall-applet(52)<module>()
-> PATH.append(p)
(Pdb)
> /usr/bin/firewall-applet(50)<module>()
-> for p in os.getenv("PATH").split(":"):
(Pdb)
> /usr/bin/firewall-applet(54)<module>()
-> def search_app(app):
(Pdb)
> /usr/bin/firewall-applet(61)<module>()
-> NM_CONNECTION_EDITOR = ""
(Pdb)
> /usr/bin/firewall-applet(62)<module>()
-> for binary in [ "/usr/bin/nm-connection-editor",
(Pdb)
> /usr/bin/firewall-applet(68)<module>()
-> if os.path.exists(binary):
(Pdb)
> /usr/bin/firewall-applet(69)<module>()
-> NM_CONNECTION_EDITOR = binary
(Pdb)
> /usr/bin/firewall-applet(70)<module>()
-> break
(Pdb)
> /usr/bin/firewall-applet(72)<module>()
-> PY2 = sys.version < '3'
(Pdb)
> /usr/bin/firewall-applet(74)<module>()
-> def escape(text):
(Pdb)
> /usr/bin/firewall-applet(80)<module>()
-> def fromUTF8(text):
(Pdb)
> /usr/bin/firewall-applet(87)<module>()
-> class ZoneInterfaceEditor(QtWidgets.QDialog):
(Pdb)
> /usr/bin/firewall-applet(160)<module>()
-> class ZoneConnectionEditor(ZoneInterfaceEditor):
(Pdb)
> /usr/bin/firewall-applet(185)<module>()
-> class ZoneSourceEditor(ZoneInterfaceEditor):
(Pdb)
> /usr/bin/firewall-applet(201)<module>()
-> class ShieldsEditor(QtWidgets.QDialog):
(Pdb)
> /usr/bin/firewall-applet(336)<module>()
-> class AboutDialog(QtWidgets.QDialog):
(Pdb)
> /usr/bin/firewall-applet(413)<module>()
-> class TrayApplet(QtWidgets.QSystemTrayIcon):
(Pdb)
> /usr/bin/firewall-applet(1116)<module>()
-> if len(sys.argv) > 1:
(Pdb)
> /usr/bin/firewall-applet(1125)<module>()
-> signal.signal(signal.SIGINT, signal.SIG_DFL)
(Pdb)
> /usr/bin/firewall-applet(1127)<module>()
-> app = QtWidgets.QApplication(sys.argv)
(Pdb)
> /usr/bin/firewall-applet(1128)<module>()
-> app.setQuitOnLastWindowClosed(False)
(Pdb)
> /usr/bin/firewall-applet(1130)<module>()
-> applet = TrayApplet()
(Pdb)
> /usr/bin/firewall-applet(1131)<module>()
-> applet.show()
(Pdb)
> /usr/bin/firewall-applet(1132)<module>()
-> sys.exit(app.exec_())
(Pdb) p applet
<__main__.TrayApplet object at 0x7f00337deca8>
(Pdb) n
^C
The applet object is apparently being created, but then, it just hangs,
so I pressed Control-C to get out of the program.
The following additional information might be helpful:
* I have just installed the program and eg. not yet configured
firewalld.
* I am running plain awesome, not Gnome or something like that.
* My iptables rules are so far managed with firehol (but I am looking
into possible migration).
I have other applets running in my systray, so I am a bit confused why
this one wouldn't start.
Cheers,
Toni
-- System Information:
Debian Release: 10.1
APT prefers stable
APT policy: (550, 'stable'), (500, 'stable-updates'), (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 4.19.0-6-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages firewall-applet depends on:
ii firewall-config 0.7.2-1
ii firewalld 0.7.2-1
ii gir1.2-nm-1.0 1.14.6-2
ii gir1.2-notify-0.7 0.7.7-4
ii python3 3.7.3-1
ii python3-dbus 1.2.8-3
ii python3-dbus.mainloop.pyqt5 5.11.3+dfsg-1+b3
ii python3-gi 3.30.4-1
ii python3-pyqt5 5.11.3+dfsg-1+b3
ii python3-slip-dbus 0.6.5-2
firewall-applet recommends no packages.
firewall-applet suggests no packages.
-- no debconf information
More information about the Pkg-utopia-maintainers
mailing list