Deprecated locale.format() in indicator.py
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
indicator-cpufreq (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
System: Ubuntu: 24.04
The locale.format() function has been deprecated in Python 3.7 and removed in 3.12. Instead locale.
Traceback (most recent call last):
File "/usr/bin/
ind = MyIndicator(
File "/usr/lib/
menu_item = Gtk.RadioMenuIt
File "/usr/lib/
label = _("%s GHz") % locale.
AttributeError: module 'locale' has no attribute 'format'. Did you mean: '_format'?
Status changed to 'Confirmed' because the bug affects multiple users.