ps: Aero AIO plugin

Karamba & Superkaramba

Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

0
Become a Fan
5.0

Description:
Plugin for Aero AIO that show the 6 most resource intensive processes. You can choose whether to sort on CPU, mem or elapsed time.

REQUIREMENTS: Aero AIO >= 0.9.1

USAGE:
- Install the plugin via the Aero-AIO config dialog. The columns have headings
Last changelog:

ver 1.0.2
- Use Aero AIO 0.9.1 API

ver 1.0.1
- Fixed sorting on memory size


Ratings & Comments

21 Comments

peterho

Hi Kovid, Here is the error message. Note that aero AIO was working before I tried adding this plugin. Remove the plugin still gives me the same error message. sys.path.insert(0, '/usr/share/apps/superkaramba/themes/aero_aio.skz') Traceback (most recent call last): File "/usr/share/apps/superkaramba/themes/aero_aio.skz/aero_aio.py", line 129, in ? File "/usr/share/apps/superkaramba/themes/aero_aio.skz/aero_aio.py", line 111, in __globalimport__ File "", line 2, in ? File "/home/peter/.aero_aio/ps_aio.py", line 1, in ? import karamba, re, time, traceback, subprocess ImportError: No module named subprocess ------------------------------------------------------ What does ImportError mean? It means that I couldn't load a python add-on aero_aio.py If this is a regular theme and doesn't use python extensions, then nothing is wrong. ------------------------------------------------------

peterho

Hi Kovid, Here is the error message. Note that aero AIO was working before I tried adding this plugin. Remove the plugin still gives me the same error message. sys.path.insert(0, '/usr/share/apps/superkaramba/themes/aero_aio.skz') Traceback (most recent call last): File "/usr/share/apps/superkaramba/themes/aero_aio.skz/aero_aio.py", line 129, in ? File "/usr/share/apps/superkaramba/themes/aero_aio.skz/aero_aio.py", line 111, in __globalimport__ File "", line 2, in ? File "/home/peter/.aero_aio/ps_aio.py", line 1, in ? import karamba, re, time, traceback, subprocess ImportError: No module named subprocess ------------------------------------------------------ What does ImportError mean? It means that I couldn't load a python add-on aero_aio.py If this is a regular theme and doesn't use python extensions, then nothing is wrong. ------------------------------------------------------

peterho

Hi Kovid, Here is the error message. Note that aero AIO was working before I tried adding this plugin. Remove the plugin still gives me the same error message. sys.path.insert(0, '/usr/share/apps/superkaramba/themes/aero_aio.skz') Traceback (most recent call last): File "/usr/share/apps/superkaramba/themes/aero_aio.skz/aero_aio.py", line 129, in ? File "/usr/share/apps/superkaramba/themes/aero_aio.skz/aero_aio.py", line 111, in __globalimport__ File "", line 2, in ? File "/home/peter/.aero_aio/ps_aio.py", line 1, in ? import karamba, re, time, traceback, subprocess ImportError: No module named subprocess ------------------------------------------------------ What does ImportError mean? It means that I couldn't load a python add-on aero_aio.py If this is a regular theme and doesn't use python extensions, then nothing is wrong. ------------------------------------------------------

kovidgoyal

You need to have python >= 2.4 Superkaramba is unable to load the subprocess module needed by ps. You can check this by starting python at the command line and trying the command import subprocess If you want to remove ps uninstall aero aio and delete the directory ~/.aero_aio

peterho

I already have python 2.4. installed. Forgive for my ignorance, but I am still new to linux, so I do not understand your comments about "using the command import process"

kovidgoyal

In a terminal type python press enter. Then at the python prompt type import subprocess and press enter. That should give you an error. What distribution are you using? Debian?

peterho

Kovid, I am using : 2.6.12-1-686. Although I have both python 2.3. and 2.4. On typing python at the command prompt, version 2.3. and not 2.4 is running (see below) Is there a way of changing this (perhaps I should remove python 2.3, assuming it is not needed for any other programs) Here is the error message: Python 2.3.5 (#2, Mar 6 2006, 10:12:24) [GCC 4.0.3 20060304 (prerelease) (Debian 4.0.2-10)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import subprocess Traceback (most recent call last): File "", line 1, in ? ImportError: No module named subprocess >>>

kovidgoyal

I'm afraid there is no simple way of doing this. You need to ask on the forums of the distribution you are using.

peterho

Ok. thanks for all your help.

peterho

I have installed Aero AIO 0.9 and it was working fine until I installed the ps: Aero AIO plugin using the GUI configuration. I could not see the icon, so I reloaded the theme. This resulted in 2 errors, the aero AIO became invisible and I can no longer access the Configure theme to try to remove the plugin. Is this an error??? I have the Soundmania theme running and an old version of hoschimon. I tried to uninstall aero AIO and reinstall it again, but is still invisible and I'm unable to reconfigure it. Any thoughts???

kovidgoyal

Hmm...that should not be happening. The ps theme works fine for me with 0.9. Can you start aero aio in a terminal like this superkaramba aero_aio.skz and post the output. If you just want to get rid of ps delete ~/.aero_aio

AdrienV

It's working fine for me too.

kovidgoyal

Yeah his problem was because he was using python 2.3 which doesn't have the subprocess module.

peterho

HI, I have sorted out the problem for aero AIO and now it works again. The problem was I had python 2.3 running instead of 2.4. However, both the netstart and the ps plugin still do not work.

kovidgoyal

What is the error you get when you run it in a terminal?

peterho

Hi Kovid, Actually when I have install ps: aero AIO, I was unable to run it. I installed the plugin through the configure plugin interface. After "apply", it returns to AERO AIO, but then "blocks". I am unable to use it. This happened before. If I then remove it from my desktop and run it in a terminal, the terminal does not show any output. Using the superkaramba interface to add it to the desktop, results in AERO AIO appearing invisible. Sorry there does not seem to be any error output in the terminal. I haven't got a clue what to do next, except that AERO AIO works fine,without installing your 2 plugins. This is a shame because I think you have done a very nice job here. Incidently, I managed to install the amarok plugin in the same manner and this did not give me any problems with AERO AIO.

kovidgoyal

Hmm...the only thing common to netstat and ps is the subprocess module. When you replaced python 2.3 with 2.4, did you recompile SK against 2.4? SK may still be using 2.3...one other user had a similar problem.

pantaray

Very neat! I like it!

kovidgoyal

Thanks.

Hintzy

That's a great idea for an AIO plugin! Very useful! Thanks!

kovidgoyal

Thanks...glad you like it.

Pling
0 Affiliates
Details
license
version 1.0.2
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 1

More Karamba & Superkaramba from kovidgoyal:

SKopete
kovidgoyal
last update date: 18 years ago

Score 5.0

Aero AIO: netstat plugin
kovidgoyal
last update date: 19 years ago

Score 5.0

Aero AIO: cpu/mem plugin mod
kovidgoyal
last update date: 19 years ago

Score 5.0

SKaz
kovidgoyal
last update date: 19 years ago

Score 5.0

Aero AIO: Kmail based mail notification
kovidgoyal
last update date: 19 years ago

Score 5.0

Aero AIO mods for clock and system info
kovidgoyal
last update date: 19 years ago

Score 5.0

Other Karamba & Superkaramba:

Evolution Task Theme (for Karamba)
L0rclA5CII
last update date: 22 years ago

Score 5.0

Karambaqua
manor
last update date: 22 years ago

Score 5.0

Karamba Print Queue Monitor
Praxxus
last update date: 22 years ago

Score 5.0

The DarkGirl wallpaper and Karamba theme
xray
last update date: 22 years ago

Score 5.0

TecnoBar for Karamba
ZIOlele
last update date: 22 years ago

Score 5.0

Karamba Ink Level Monitor
Praxxus
last update date: 22 years ago

Score 5.0