Your message dated Sun, 25 Apr 2010 22:44:41 -0700
with message-id <[email protected]>
and subject line ion3 abandoned upstream
has caused the Debian Bug report #404526,
regarding ion3-scripts: statusd_info.lua fails getting CPU infos
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
404526: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=404526
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ion3-scripts
Version: 20061214-1
Severity: normal


Please consider this patch that fixes info_CPU_* values wich are nill
because a wrong string.find() match in Debian systems.

thanks,

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18x40
Locale: LANG=pt_BR, LC_CTYPE=pt_BR (charmap=ISO-8859-1)

Versions of packages ion3-scripts depends on:
ii  ion3                          20061029-3 keyboard-friendly window manager w

ion3-scripts recommends no packages.

-- no debconf information
--- statusd_info.lua.old        2006-12-25 19:55:00.000000000 -0300
+++ statusd_info.lua    2006-12-25 19:52:30.000000000 -0300
@@ -62,14 +62,13 @@
        local f=io.popen('top b -n 2 -d 1|grep Cpu|tail -n 1','r')
        local s=f:read('*all')
        f:close()
-       local _, _,
-               info_CPU_user,
-               info_CPU_system,
-               info_CPU_ni,
-               info_CPU_idle,
-               info_CPU_wa,
-               info_CPU_hi,
-               info_CPU_si = string.find(s, "Cpu%(s%):%s+(%d+%.%d+%%) 
us,%s+(%d+%.%d+%%) sy,%s+(%d+%.%d+%%) ni,%s+(%d+%.%d+%%) id,%s+(%d+%.%d+%%) 
wa,%s+(%d+%.%d+%%) hi,%s+(%d+%.%d+%%) si") 
+       local _, _, info_CPU_user = string.find(s, "Cpu%(s%):%s+(%d+%.%d+%%)")
+       local _, _, info_CPU_system = string.find(s, "%s+(%d+%.%d+%%)sy")
+       local _, _, info_CPU_ni = string.find(s, "%s+(%d+%.%d+%%)ni")
+       local _, _, info_CPU_idle = string.find(s, "%s+(%d+%.%d+%%)id")
+       local _, _, info_CPU_wa = string.find(s, "%s+(%d+%.%d+%%)wa")
+       local _, _, info_CPU_hi = string.find(s, "%s+(%d+%.%d+%%)hi")
+       local _, _, info_CPU_si = string.find(s, "%s+(%d+%.%d+%%)si")
        return info_CPU_user.."", info_CPU_system.."", info_CPU_ni.."", 
info_CPU_idle.."", info_CPU_wa.."", info_CPU_hi.."", info_CPU_si..""
 end
 

--- End Message ---
--- Begin Message ---
Version: 20090110-3+rm

ion3 and ion3-scripts have been removed from Debian unstable because
they have been abandoned upstream.

-- 
Martin Michlmayr
http://www.cyrius.com/


--- End Message ---

Reply via email to