Public bug reported:
Ubuntu 20.04 Focal
gufw version 20.04.1
If in the application profile there are duplicates, ufw reports a
warning. For example:
WARN: Duplicate profile 'Apache Secure', using last found
WARN: Duplicate profile 'Apache Full', using last found
But gufw then fails to start:
/usr/bin/gufw: line 2: [: =: unary operator expected
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:'
If I fix the duplicate profile, still I see the following message:
/usr/bin/gufw: line 2: [: =: unary operator expected
Regards
** Affects: gui-ufw (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1939446
Title:
For duplicate profile gufw fails
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gui-ufw/+bug/1939446/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs