[Python-apps-team] Bug#855400: gufw should depend on net-tools (crashes without it)
João Pirralha
joaopirralha at gmail.com
Fri Feb 17 13:40:55 UTC 2017
Package: gufw
Version: 17.04.1-1
Severity: normal
Dear Maintainer,
Installing gufw on a fresh Debian stretch system (installed from a DI RC2
image) doesn't install net-tools, causing gufw to crash when starting.
Installing net-tools fixes this problem.
Traceback (most recent call last):
File "/usr/share/gufw/gufw/gufw.py", line 30, in <module>
gufw = Gufw(controler.get_frontend())
File "/usr/share/gufw/gufw/gufw/view/gufw.py", line 81, in __init__
self.winadd = Add(self)
File "/usr/share/gufw/gufw/gufw/view/add.py", line 43, in __init__
self._set_initial_values()
File "/usr/share/gufw/gufw/gufw/view/add.py", line 101, in
_set_initial_values
for ifaceName in self.gufw.fw.get_net_interfaces():
File "/usr/share/gufw/gufw/gufw/model/frontend.py", line 126, in
get_net_interfaces
return self.firewall.get_net_interfaces(exclude_iface)
File "/usr/share/gufw/gufw/gufw/model/firewall.py", line 251, in
get_net_interfaces
all_faces = self.backend.get_net_interfaces()
File "/usr/share/gufw/gufw/gufw/model/ufw_backend.py", line 462, in
get_net_interfaces
cmd = self._run_cmd(cmd_ifaces)
File "/usr/share/gufw/gufw/gufw/model/ufw_backend.py", line 37, in _run_cmd
proc = subprocess.Popen(cmd, shell=False, stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
File "/usr/lib/python3.5/subprocess.py", line 676, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.5/subprocess.py", line 1282, in _execute_child
raise child_exception_type(errno_num, err_msg)
FileNotFoundError: [Errno 2] Arquivo ou diretório não encontrado: 'netstat'
-- System Information:
Debian Release: 9.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=pt_PT.utf8, LC_CTYPE=pt_PT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages gufw depends on:
ii gir1.2-gtk-3.0 3.22.7-2
ii gir1.2-webkit2-4.0 2.14.3-1
ii policykit-1 0.105-17
ii python3-gi 3.22.0-2
pn python3:any <none>
ii ufw 0.35-4
gufw recommends no packages.
gufw suggests no packages.
-- no debconf information
More information about the Python-apps-team
mailing list