You are not logged in.
Pages: 1
Topic closed
Hello! I have insalled adesklets and have several running on my machine...however, I can't seem to get system monitor running...I've looked on the adesklet website and in the forums and can't figure out what's going wrong...anyhow here is the message after i type ./SystemMonitor.py:
Do you want to (r)egister this desklet or to (t)est it? t
Now testing...
============================================================
If you do not see anything (or just an initial flicker
in the top left corner of your screen), try `--help',
and see the FAQ: `info adesklets'.
============================================================
Traceback (most recent call last):
File "./SystemMonitor.py", line 1107, in ?
EventHandler(dirname(__file__)).pause()
File "./SystemMonitor.py", line 974, in __init__
adesklets.Events_handler.__init__(self)
File "/usr/lib/python2.4/site-packages/adesklets/events_handler.py", line 157, in __init__
self.ready()
File "./SystemMonitor.py", line 1004, in ready
self.meters[-1].create((8,tmp_height), self.basedir, meter[1])
File "./SystemMonitor.py", line 918, in create
info = self.parseFile(self.info_file)
File "./SystemMonitor.py", line 899, in parseFile
acpi_file = open(file, "r")
IOError: [Errno 2] No such file or directory: '/proc/acpi/battery/BAT0/info'
Any ideas? Thanks!
Offline
You need to check why you don't have /proc/acpi/battery/BAT0/info. SystemMonitor is doing what it's meant to do, but you're asking it to process data that isn't there. Alternatively, you could do without the battery monitor, in which you need to remove/comment out the relevant section in config.txt.
Offline
Thanks for the reply...
I have tried editing the config file and removing the battery meter info...
However, I'm still getting some errors...
I just deleted out the battery meter info from SystemMonitor.py...
Yes, I know its an ugly hack --but it worked.
Offline
Woo-hoo.
Next time pacman updates the package, that change will be overwritten. Seriously, read the README and edit the config file.
Offline
Yes you are correct...I of course read the README and edited the config file...however, I couldn't get it to display...the config file kept getting overwritten by the file the systemmonitor.py generates...not sure what i did wrong... :oops:
On updating...Yes...this is true...hadn't really thought that far down the road...when I update, things are not going to work...
I also hacked SystemMonitor.py so it displays my cpu temp using i2c not acpi...
So I guess when it updates I'll just hack it again (or not update)...
Thanks!
Offline
Hi there!
I had the same problem, too. You battery is maybe showed as BAT1, not BAT0. If you change BAT0 to BAT1 in your config.txt and the python script it will work fine!
Offline
maribu8789, weclome to the forum. Please read the Forum Etiquette to familiarise yourself with the way things work around here.
In this case, you have resurrected a zombie thread from nearly five years ago which, as you will see from the etiquette, is not permitted.
Thread closed.
Offline
Pages: 1
Topic closed