I run Debian testing (w/ linux 2.6.3), and installed freevo from the .debs.

*** In idlebar.system.procstats, function getMemUsage(self).

It caused Freevo to crash, as the meminfo format was not matching the format of /proc/meminfo with this kernel. The number is found in column 1, and it is not in bytes, but in KB. Here is a fix, perhaps someone wants to incorporate it into Freevo:

# was       free = int(string.split(string.split(meminfo,'\n')[1])[3])
            free = int(string.split(string.split(meminfo,'\n')[1])[1])

# was   self.currentMem = _('%iM') % (((free)/1024)/1024)
        self.currentMem = _('%iM') % ((free)/1024)



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to