LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Python modules in Superkaramba (https://www.linuxquestions.org/questions/linux-software-2/python-modules-in-superkaramba-77987/)

wakeupbomb 08-01-2003 07:41 AM

Python modules in Superkaramba
 
Iv'e installed Superkaramba and it seems to work OK. But none of the themes load properly. If I try and load LQ I get this

superkaramba: TaskManager::TaskManager()
superkaramba: WARNING: KDE detected X Error: BadDrawable (invalid Pixmap or Window parameter) \x09
Major opcode: \x0e
ImportError: No module named lq
------------------------------------------------------
What does ImportError mean?

It means that I couldn't load a python add-on for lq.theme
If this is a regular theme and doesn't use python
extensions, than nothing is wrong.
------------------------------------------------------
superkaramba: WARNING: KDE detected X Error: BadDrawable (invalid Pixmap or Window parameter) \x09
Major opcode: \x0e

And it doesn't seem to be working properly. I just get a small bar with my web browser in it

And when I try to load slickbar I get this, and pyxmms is installed

superkaramba: TaskManager::TaskManager()
Error: Could Not Load Panel 'TaskPanel': Not A Valid Panel
Error: Could Not Load Panel 'XMMSPanel': Not A Valid Panel
Error: Could Not Load Panel 'QuickLaunchPanel': Not A Valid Panel
Error: Could Not Load Panel 'PagerPanel': Not A Valid Panel

:-s Any ideas whats wrong? I've been trying to figure it out for a while
:study:

Anyone here use superkaramba and can help? Thanks :) I don't really know whats going on

rmartine 08-01-2003 01:51 PM

Hey! Thanks for trying to use my LQ theme!

What version of Superkaramba are you using and how exactly are you running the theme? Just to make sure, you are using Kde 3.1 right?

It should be pretty safe to ignore the Import Errors.

wakeupbomb 08-01-2003 04:34 PM

Hey there, thanks for replying :D
I'm using superkaramba 0.29 and i'm running the theme by opening it through the superkaramba using the menu. I think I might be missing the point of it or something. I'm really quite unsure how all this karamba stuff works to be honest, experimenting and failing. I'll try reading the documentation stuff again
And yeah i'm using KDE 3.1:study:

rmartine 08-01-2003 04:42 PM

Hmm.. you sort of lost me when you said you're opening it through a menu. You've probably done this but try opening LQ, assuming you followed the directions in the README, this way

bash2.50$ superkaramba /home/you/.superkaramba/LQ/lq.theme

DrOzz 08-01-2003 05:06 PM

i don't want to take you away from wakeupbombs problem rmartine, but as i see you are viewing this thread i was wondering if you could check out mine
and see if you know how to do it...just the transparency stuff, dont' worry about the other questions i have asked....i have it so that it looks like its transparent but when i remove the background image in the theme it just turns black but since i have a black background it looks transparent...but i am wanting to know how to make it "real" transparent.

wakeupbomb 08-01-2003 05:12 PM

OK, well what I didn't mention, cause i'm stupid, is that LinuxQuestions bar shows up but there is no news for it. It's just blank.
I'm guessing news should show up right?
Or have I missed the point completely

And one other thing, is there anyway to make karamba and superkaramba themes remain ontop of the desktop. Not get hidden by other windows?

Cheers

I have read the documentation by the way. I never install anything without reading the READMEs for fear of breaking my system.

Thanks

Hang on think iv'e figured it out, don't reply yet. Or shout at me

DrOzz 08-01-2003 05:20 PM

maybe you installed the lq theme to the a different folder other than /home/user/.superkaramba/LQ which is what is specified in the code for the theme...if not then not sure :D

wakeupbomb 08-01-2003 05:21 PM

Well I just moved it all into the right folders and it still doesn't work. Oh well obviously not for me. Darn

Cheers anyway

Strike 08-01-2003 05:50 PM

If the ImportError is still what is the main source of the problem it just means you need the "lq" python library. Should be named "lq.py" or "lq.pyc" or "lq.pyo" if it's on your filesystem somewhere.

rmartine 08-01-2003 05:51 PM

Ahh.. Ok I think I can help now.

The headlines are contained in a file called $LQ/tmp/text. The $LQ/tmp/headlines file is similar but has a couple lines that I needed to filter out.

There is a script called linuxquestions that executes a bunch of commands, then echos the contents of file $LQ/tmp/text to the screen.

If the headlines aren't showing up look in that file. If it's blank, then look in the linuxquestions script and make sure the LQ environment variable is pointing to where you have the theme installed.

If LQ is pointed correctly and the $LQ/tmp/text file is empty then try looking at the $LQ/tmp/headlines file. If that one is blank then the problem might be with rdf.pl

Sorry about all this.

wakeupbomb 08-01-2003 07:27 PM

Right, well the headlines file is blank as is the text file and the linuxquestions file has loads of stuff in it and has
LQ="/home/brian/.superkaramba/LQ/"
which is the right directory
But still no news :-s
Very strange

Cheers

rmartine 08-03-2003 11:55 AM

Ok....

Sorry about all this, try looking in the streams file which should be in the same directory as the other files I mentioned. If that one is blank also... I don't know.

The rdf.pl file might now be workined correctly?

:(

wakeupbomb 08-03-2003 05:55 PM

Just as a word of warning gonna be a little while before I can check that file as Gentoo is currently installing in place of Windows XP and well its doing the "emerge kde" bit. So that's gonna take millions of hours. hehe. All fun

Shall check the file when I get the chance
Iv'e probably done something wrong with it without realising

Cheers:)


All times are GMT -5. The time now is 08:27 PM.