IOError in CPU Frequency Monitor: [Errno 2] No such file or directory: '/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies'

Bug #785615 reported by slucepan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Awn Extras
Fix Released
Low
onox

Bug Description

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/awn/extras/awnlib.py", line 1580, in init_start
    applet_class(applet)
  File "/usr/share/avant-window-navigator/applets/cpufreq/cpufreq.py", line 126, in __init__
    self.setup_context_menu()
  File "/usr/share/avant-window-navigator/applets/cpufreq/cpufreq.py", line 191, in setup_context_menu
    self.initialize_backend(self.applet.settings["cpu_number"])
  File "/usr/share/avant-window-navigator/applets/cpufreq/cpufreq.py", line 157, in initialize_backend
    self.setup_main_dialog()
  File "/usr/share/avant-window-navigator/applets/cpufreq/cpufreq.py", line 213, in setup_main_dialog
    for i in self.backend.get_frequencies():
  File "/usr/share/avant-window-navigator/applets/cpufreq/cpufreq.py", line 367, in get_frequencies
    return map(int, open(os.path.join(sysfs_dir, "cpu" + str(self.__cpu_nr), "cpufreq/scaling_available_frequencies")).read().strip().split())
IOError: [Errno 2] No such file or directory: '/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies'

Related branches

Revision history for this message
Gabor Karsay (gabor-karsay) wrote :

Thank you for your bug report. Please add your version of Awn Extras and name and version of your distro.

tags: added: cpu-freq traceback
Changed in awn-extras:
assignee: nobody → onox (onox)
onox (onox)
Changed in awn-extras:
status: New → Incomplete
Revision history for this message
onox (onox) wrote :

Fixed in revision 1529.

Changed in awn-extras:
importance: Undecided → Low
milestone: none → 0.4.2
status: Incomplete → Fix Committed
Povilas Kanapickas (p12)
Changed in awn-extras:
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.