Failed to lunch Menulibre in the presence of entries with invalid names

Bug #1789635 reported by exprosic
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MenuLibre
Fix Released
Undecided
Unassigned

Bug Description

I installed an app under non-utf8 locale. Some of its non-utf8 encoded/named menu entry files stopped Menulibre from being lunched.

I am using Menulibre 2.2.0. I think I have located the bug:

"menulibre/util.py" -> "determine_bad_desktop_files" -> "for line in result.stderr.decode().split('\n')"

where "result.stderr" may not always be decodable.

Revision history for this message
Sean Davis (bluesabre) wrote :

I believe this commit should resolve the issue. Can you check and confirm?

https://git.launchpad.net/menulibre/commit/?id=d87fe6742c28cb0ee0b514b46e7ea803af0576de

Changed in menulibre:
status: New → Fix Committed
Sean Davis (bluesabre)
Changed in menulibre:
milestone: none → 2.2.1
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.