qabro crashes when unicode characters in the `snap list` output

Bug #1782331 reported by Pierre Equoy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bugit
Fix Released
High
Pierre Equoy

Bug Description

Sometimes, during attachment processing, qabro returns an error. When checking qabro.log, we can see:

UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 5: ordinal not in range(128)

After some investigation, it is because it uses the output of `snap list`, which sometimes contains unicode characters such as the '…' in the line below:

caracalla-kernel 4.4.0-2025.26-1 92 edge/… canonical kernel,ignore-validation

Pierre Equoy (pieq)
Changed in qabro:
milestone: none → 0.7
assignee: nobody → Pierre Equoy (pieq)
importance: Undecided → High
Pierre Equoy (pieq)
Changed in qabro:
milestone: 0.7 → 0.8
status: New → Fix Committed
Pierre Equoy (pieq)
Changed in qabro:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.