Profile "warsow.jhansonxi" breaks gufw start
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Gufw |
Fix Released
|
Low
|
costales |
Bug Description
Traceback (most recent call last):
File "/usr/lib/
gufw = Gufw(controler.
File "/usr/lib/
self.winadd = Add(self)
File "/usr/lib/
self.apps = AppProfiles()
File "/usr/lib/
self.all_apps = self._load_
File "/usr/lib/
cfg.
File "/usr/lib/
self._read(fp, filename)
File "/usr/lib/
for lineno, line in enumerate(fp, start=1):
File "/usr/lib/
return codecs.
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 333: ordinal not in range(128)
Caused by "but I can’t find"
’ isn't a valid ascii char
Should be replaced with ' (dec 39)
Also the reference URL is outdated. The content doesn't exist anymore.
Adding some debugging code helps to identify startup issues for regular users:
def _load_from_
apps = {}
cfg = configparser.
for cfg_file in cfg_file_list:
for section in cfg.sections():
title = description = ports = categories = warning = ''
Related branches
Changed in gui-ufw: | |
status: | New → Fix Committed |
assignee: | nobody → costales (costales) |
importance: | Undecided → Low |
milestone: | none → 18.04 |
Changed in gui-ufw: | |
status: | Fix Committed → Fix Released |