Public bug reported:
Invoking `gufw` in a terminal causes the program to crash immediately
after authorization of firewall change due to
```
> gufw
/usr/bin/gufw: line 2: [: too many arguments
ls: cannot access '/usr/lib/python*/site-packages/gufw/gufw.py': No such file
or directory
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 80, in __init__
self._set_initial_values()
File "/usr/share/gufw/gufw/gufw/view/gufw.py", line 283, in
_set_initial_values
self.listening = ListeningReport(self)
File "/usr/share/gufw/gufw/gufw/view/listening.py", line 35, in __init__
self._show_report()
File "/usr/share/gufw/gufw/gufw/view/listening.py", line 48, in _show_report
self._view_report(report, self.previous_report)
File "/usr/share/gufw/gufw/gufw/view/listening.py", line 83, in _view_report
self.gufw.listening_model.set_value(iter_row, 1,
int(line_split[1].strip())) # port
ValueError: invalid literal for int() with base 10: 'WARN:'
```
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: gufw 20.04.1-1
ProcVersionSignature: Ubuntu 5.4.0-42.46-generic 5.4.44
Uname: Linux 5.4.0-42-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu27.6
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: XFCE
Date: Fri Aug 7 11:21:25 2020
InstallationDate: Installed on 2015-04-20 (1935 days ago)
InstallationMedia: Ubuntu-Server 14.10 "Utopic Unicorn" - Release amd64
(20141022.2)
PackageArchitecture: all
SourcePackage: gui-ufw
UpgradeStatus: Upgraded to focal on 2020-04-24 (104 days ago)
** Affects: gui-ufw (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug focal
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1890794
Title:
gufw fails to start due to "ls: cannot access '/usr/lib/python*/site-
packages/gufw/gufw.py': No such file or directory"
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gui-ufw/+bug/1890794/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs