Public bug reported:
Traceback (most recent call last):
File "/usr/bin/indicator-cpufreq", line 85, in <module>
ind = MyIndicator(options.show_frequency)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/indicator_cpufreq/indicator.py", line
78, in __init__
menu_item = Gtk.RadioMenuItem.new_with_label(group,
readable_frequency(freq))
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/indicator_cpufreq/indicator.py", line
34, in readable_frequency
label = _("%s GHz") % locale.format(_("%.2f"), f / 1.0e6)
^^^^^^^^^^^^^
AttributeError: module 'locale' has no attribute 'format'. Did you mean:
'_format'?
Encountered on Ubuntu 24.10
Version:
indicator-cpufreq:
Installed: 0.2.2-0ubuntu4
Candidate: 0.2.2-0ubuntu4
Version table:
*** 0.2.2-0ubuntu4 500
500 http://us.archive.ubuntu.com/ubuntu oracular/universe amd64 Packages
500 http://us.archive.ubuntu.com/ubuntu oracular/universe i386 Packages
100 /var/lib/dpkg/status
EXPECTED BEHAVIOR:
Program runs on user session login.
WHAT ACTUALLY HAPPENED:
Traceback, as seen above.
ProblemType: Bug
DistroRelease: Ubuntu 24.10
Package: indicator-cpufreq 0.2.2-0ubuntu4
ProcVersionSignature: Ubuntu 6.11.0-13.14-generic 6.11.0
Uname: Linux 6.11.0-13-generic x86_64
ApportVersion: 2.30.0-0ubuntu4
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: KDE
Date: Fri Jan 17 17:00:55 2025
InstallationDate: Installed on 2024-03-09 (315 days ago)
InstallationMedia: Kubuntu 23.10 "Mantic Minotaur" - Release amd64 (20231010)
PackageArchitecture: all
SourcePackage: indicator-cpufreq
UpgradeStatus: Upgraded to oracular on 2025-01-07 (10 days ago)
** Affects: indicator-cpufreq (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug oracular
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2095207
Title:
On load, indicator-cpufreq crashes due to an attribute error.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/indicator-cpufreq/+bug/2095207/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs