Does not work on Ubuntu GNOME 17.04 beta2

Bug #1675651 reported by Patrick on 2017-03-24
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Gufw
Undecided
Unassigned

Bug Description

Do not run. I then paste information from the terminal:

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] No existe el archivo o el directorio: 'netstat'

Patrick (lordgault) on 2017-03-24
description: updated
summary: - Does not work on Ubuntu GNOME 170.4 beta2
+ Does not work on Ubuntu GNOME 17.04 beta2
Download full text (4.6 KiB)

Thanks Patrick... Hope all is well with you and your Mother...

Aye Bruce.

On 24.03.2017 08:00, Patrick wrote:
> Public bug reported:
>
> Do not run. I then paste information from the terminal:
>
> 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] No existe el archivo o el directorio: 'netstat'
>
> ** Affects: gui-ufw
> Importance: Undecided
> Status: New
>
> ** Description changed:
>
> Do not run. I then paste information from the terminal:
>
> 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)
> + File "/usr/share/gufw/gufw/gufw.py", l...

Read more...

Patrick (lordgault) wrote :

You're welcome, Bruce Newman. We are better than you and your Mother ...

costales (costales) wrote :

The package needed a depdence. It was already released (I didn't see this bug, sorry).
Best regards and thanks for your feedback Patrick.

Changed in gui-ufw:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers