Image 01
profile-image

wganderson12

warren anderson
Aero AIO

Karamba & Superkaramba by AdrienV 342 comments

On my laptop, if my battery is fully charged acpi will report

present rate: unknown

in /proc/acpi/battery/BAT0/state. This leads to a failure at line 38 in acpi_aio.py

rate = float(match.group(3))

because rate cannot be converted to float. A quick fix for this (which I implemented in my version) is to replace that line with:

try:
rate = float(match.group(3))
except:
rate = 0

Hope that helps anyone else having the same problem. - Jun 19 2006
Aero AIO: RSS News Feed

Karamba & Superkaramba by LeeSieLung 22 comments

I have figured out through some experimentation that rss_aero is not having trouble with url's that have an xml extension (per se), but just the one that I wanted to give it. I haven't tracked down the exact issue, but it seems that there is something being passed to from the feed to rss_aero when it fetches the summary that is not what it expects - in particular, it is an object without a length attribute and so len() fails on it and raises an exception. If I have some time, I might look into this a bit more later. - Mar 25 2006
Aero AIO: RSS News Feed

Karamba & Superkaramba by LeeSieLung 22 comments

First, I have replaced my other rss feed theme with this - it's very nice. Thanks! Three feature requests for future editions:

1) ability to handle xml and atom feeds
2) name of feed shown in theme (perhaps instead of Rss News?)
3) ability to switch between feeds without having to reconfigure.

Thanks again! - Mar 25 2006