Liquid Weather ++

Karamba & Superkaramba by Matti 1794 comments

I'm pretty sure it's a superkaramba error. I may write two scripts in the meantime. One that has the meterClicked function, and one that uses the old method of detecting whether an icon is clicked. However, it'll be a couple of days before I can get a working version. Hope people can wait.

Matt - Aug 09 2003
Liquid Weather ++

Karamba & Superkaramba by Matti 1794 comments

Does it cycle through all of the days if you click on the main (ie big) picture?

When you say the meterClicked callback is called several times, what is being printed to show this? Which version of the theme are you using - I ask this, because all the print statements in that call back are uncommented by default in the current theme.

I'm really keen to track down what's causing this.

Let me know.

Matt - Aug 08 2003
Liquid Weather ++

Karamba & Superkaramba by Matti 1794 comments

I see a commonality (of sorts) between the problem suffering from this bug. Suse 8.2, and Gentoo users are among the more predominant. Is there any chance either of you could upgrade to python 2.3, to see if that helps at all?

Thanks

Matt - Aug 06 2003
Liquid Weather ++

Karamba & Superkaramba by Matti 1794 comments

For Los Angeles, the URL at weather.com is:

http://www.weather.com/weather/local/USCA0639?lswe=los+angeles&lswa=WeatherLocalUndeclared&whatprefs=

Therefore the code is:

USCA0639

This is case sensitive.

Good Luck

Matt - Aug 06 2003
Liquid Weather ++

Karamba & Superkaramba by Matti 1794 comments

Go to weather.com, and get the relevant location code.

Matt - Aug 06 2003
Liquid Weather ++

Karamba & Superkaramba by Matti 1794 comments

Thanks for the info. I was kind of hoping that you had the same system configuration as the other person suffering from this problem - ie. suse8.2, with python2.2.3 - but alas. I can't narrow it down to a particular python installation.

Is your installation stock? Is there the possibility of upgrading your python installation to a higher version? Now I can see why you were having problems with the strip command earlier. If you can upgrade python, have a go at that, and let me know if that fixes it.

Let me know. - Jul 15 2003
Liquid Weather ++

Karamba & Superkaramba by Matti 1794 comments

I'm aware of this problem, but unable to fix it. It seems to affect a minute percentage of people (so far 2 of 2000). I have asked for fixes on the python newsgroup, but no one can understand why this is happening. It seems that your install of python is ignoring basic flow control structures (ie if/else constructs).

I have sent a slightly modified script to the other person experiencing this problem, but they haven't gotten back to me as to whether this works.

In the meantime, can you let me know which distro you're using, and which version of python you are using (type python in the console, and copy and paste the output here).

I'm still working on it, although hitting a lot of dead ends.

Matt - Jul 15 2003
Liquid Weather ++

Karamba & Superkaramba by Matti 1794 comments

Which version of superkaramba?

Matt - Jul 11 2003
Liquid Weather ++

Karamba & Superkaramba by Matti 1794 comments

What distro, what version of python?

Matt - Jul 11 2003
Liquid Weather ++

Karamba & Superkaramba by Matti 1794 comments

The webpage you go to has a URL (I am assuming you understand that). That URL looks something like:

http://www.weather.com/outlook/travel/local/ASXX0023?whatprefs=&lswe=canberra&lswa=WeatherLocalUndeclared

Take the "ASXX0023" bit (please note it will be different depending on what city you are using, but in the same place and in the same format), and insert it in the URL in the k_weather.py script at the place where it says "NZXX0049".

Hope that is a little clearer. - Jul 11 2003
Liquid Weather ++

Karamba & Superkaramba by Matti 1794 comments

You need to go to www.weather.com, and find a forecast for your city, then copy the URL into the k_weather.py script at the appropriate point (it should be commented). You should be able to simply replace the last alpha-numeric part of the URL that is already in there. Have a look at the URL that's in that script, as you need to insert "w3" into the URL somewhere (you'll see where in the script).

Good luck.

Matt

- Jul 10 2003
Liquid Weather ++

Karamba & Superkaramba by Matti 1794 comments

I have sent a couple of files to you for debugging purposes (using the email addy you have registered under on this site).

Let me know (via email) how you get on.

ta

Matt - Jul 09 2003
Liquid Weather ++

Karamba & Superkaramba by Matti 1794 comments

Thanks for the info. The problem you describe would occur if the if/else construct in the clickArea callback was not being interpreted correctly by the python interpreter. It is being honoured on my system, and I presume on the hundreds of other systems people are using this theme on. When I get home tonight, I'll put some debugging stuff in the script, and send it to you to try, and send the output back to me. - Jul 08 2003
Liquid Weather ++

Karamba & Superkaramba by Matti 1794 comments

Thanks for the description. I am at work at the mo, so can't really apply any thought to what might be causing this. However, can you run it from console, and let me know if you get any errors?

Ta - Jul 08 2003
Liquid Weather ++

Karamba & Superkaramba by Matti 1794 comments

Can you please describe the problem exactly. What you click, and what happens from there.

ta

Matt - Jul 08 2003
Liquid Weather ++

Karamba & Superkaramba by Matti 1794 comments

Can you run it from console and see if it spits any errors?

TA - Jul 08 2003
Liquid Weather ++

Karamba & Superkaramba by Matti 1794 comments

Try 0.7.2. I have removed the strip() function from this version, and used a different function to achieve the same end. Let me know if this fixes it. - Jul 08 2003
Liquid Weather ++

Karamba & Superkaramba by Matti 1794 comments

Are you double clicking, or single clicking? If double clicking, then that will be your problem. - Jul 07 2003
Liquid Weather ++

Karamba & Superkaramba by Matti 1794 comments

Try 0.7.1, and let me know if this fixes it.

ta - Jul 07 2003
Liquid Weather ++

Karamba & Superkaramba by Matti 1794 comments

Sorry, I just don't have the answer to this. strip() takes one argument in 2.2.3, so I have no idea why you are getting errors. Sorry. - Jul 07 2003
Liquid Weather ++

Karamba & Superkaramba by Matti 1794 comments

What speed is your box?

Re the other themes. Osnews is a theme I've written, which is available on this site (called "multi-news").

The image centre is one that I've also written, but is particular to my setup, and wouldn't work on anyone elses box, so it's not publicly available (sorry).

Matt - Jul 06 2003
Liquid Weather ++

Karamba & Superkaramba by Matti 1794 comments

Upgrade to superkaramba 0.28. - Jul 06 2003
osX Bar

Karamba & Superkaramba by stefano 54 comments

Cool. Will do. I've not upgraded, because it doesn't play nice with some of my other themes (and the api's for 0.27 aren't available, so I'm not sure how to fix them). NEway, I'll upgrade, and deal with my other badly behaving themes.

Ta

Matt - Jun 20 2003
osX Bar

Karamba & Superkaramba by stefano 54 comments

When a task is added to the bar, the icon isn't resized to 48x48 (my small icons size). I've tried to work out why this isn't working right, but I'm not getting very far.

Any clues? - Jun 20 2003
karamba multi-news

Karamba & Superkaramba by Matti 13 comments

The short answer, is that I'd never heard of it before.

However, having just had a quick look at the project, it looks very interesting. I'll definitely have to investigate.

Thanks for pointing this out.

Matt - Jun 19 2003
SuperKaramba

Karamba & Superkaramba by ageitgey 320 comments

When will the new API documentation be ready?

Some of the themes I've written haven't reacted that well to the new superkaramba, and there are a couple of the new features that I'd like to implement on them.

And thanks for the great new features. - Jun 18 2003
osX Bar

Karamba & Superkaramba by stefano 54 comments

On MacOSX, the icon bounces two or three times on startup of an application. I presume a loop would do it. - Jun 18 2003
osX Bar

Karamba & Superkaramba by stefano 54 comments

I look forward to release 0.9 with the possibility of external modules. One other thing I was thinking of (to emulate osx), is that when a new icon is added to the bar (after a window opens), that the new icon bounces. I presume it wouldn't be too difficult to apply the code that bounces the icon on click to an icon when it's added to the bar.

Just a suggestion - take it or leave it.

Otherwise, this is a fantastic theme. I have sort of ignored the task bar themes, as some of them seemed quite kludgy, however, your theme is fast, and useful and is getting better with each release. Keep up the good work! - Jun 17 2003
osX Bar

Karamba & Superkaramba by stefano 54 comments

It would be great if you could fix this up. The rest of the theme is so good, that I can live with this one annoyance, however, it would be so much better if this was fixed. I have considered writing a patch myself, however, as you know your code better than anyone, I'm sure your patch would be best. Another patch I've been considering is adding a context menu when the button is middle clicked to close/maximise/minimise etc windows. A project for the coming weeks, maybe. - Jun 16 2003
Liquid Weather ++

Karamba & Superkaramba by Matti 1794 comments

Got no idea what 4suite is, sorry. It appears that it doesn't like you using the time module from python. This is a pretty standard module, and I would have thought that Redhat would include a working version of it. If I recall correctly, my theme no longer uses the time module, so you could go into the weather_liquid.py script, and delete the line:

import time

and see if that helps.

Matt - Jun 15 2003
karamba multi-news

Karamba & Superkaramba by Matti 13 comments

It folds down:

When you mouse over the main part of the widget;

When the theme updates.

It folds out:

When you mouse over the area where the handle would be (if it weren't folded downd).

You shouldn't need to have the tab out to be able to have the theme slide from the side of the screen. You just need to mouse over an area about 30 pixels wide at the side of the screen.

Hope that helps.

Matt - Jun 15 2003
Liquid Weather ++

Karamba & Superkaramba by Matti 1794 comments

That looks like normal output to me. When you say it crashes, please describe the symptoms.

Also, which version of the theme are you using?

Matt - Jun 11 2003
Liquid Weather ++

Karamba & Superkaramba by Matti 1794 comments

It requires superkaramba 0.26. Get it from netdragon.sourceforge.net

Matt - Jun 10 2003
Liquid Weather ++

Karamba & Superkaramba by Matti 1794 comments

This should have given you a clue:

ImportError: No module named xml.dom.minidom

You need to install the python module xml.dom.minidom. However, I thought this came as a pretty standard module. What distro are you using, and what version of python? - Jun 08 2003
Glas News 'Universal RDF'

Karamba & Superkaramba by GeniusR13 15 comments

Have a look at the multi-news theme. It switches between feeds using a popup menu, and you can add and remove feeds with a gui. Its also lean and fast.

Matt - Jun 06 2003
Glas News 'Universal RDF'

Karamba & Superkaramba by GeniusR13 15 comments

If you're looking for multiple feeds, have a look at the multi-news theme (shameless plug), which allows you to switch between feeds using a popup menu, and also has a gui for adding and deleting feeds. It is also lean and fast.

Matt - Jun 06 2003
Liquid Weather ++

Karamba & Superkaramba by Matti 1794 comments

Sorry, I can't really help. I could understand if you had python lower than 2.2.2 installed, however, strip takes an argument, and unless they've changed it back in 2.2.3, then I'm not sure why you're getting that error.

Can you run it in console and print the output please?

Thanks

Matt - Jun 06 2003
Liquid Weather ++

Karamba & Superkaramba by Matti 1794 comments

This bug is fixed in 0.5.

Matt - Jun 05 2003
Liquid Weather ++

Karamba & Superkaramba by Matti 1794 comments

What do you get when you type "python" in a console?

Matt - Jun 05 2003
Liquid Weather ++

Karamba & Superkaramba by Matti 1794 comments

You've got me there. I have no idea what any of that means. Some questions:

What version of Superkaramba?

What version of Python?

Is k_weather.py running and connecting, and collecting data? - run it separately, and see if it spits any errors.

Where does that output come from? - run it in a console and post the output.

Matt - Jun 05 2003
Liquid Weather ++

Karamba & Superkaramba by Matti 1794 comments

This is in response to your response to this post (We've exhausted the thread depth of this forum).

Sorry, can't help you much further. I know precious little about python, and you've now completely exhausted my knowledge. Might be worth asking a question on an appropriate mailing list/newsgroup.

Sorry


Matt - Jun 04 2003
Liquid Weather ++

Karamba & Superkaramba by Matti 1794 comments

Not sure. The problem appears to be arising from the k_weather.py script, rather than the liquid_weather.py script. Because the k_weather.py script is failing, the liquid_weather.py script is failing.

Have a look at:

http://www.python.org/cgi-bin/faqw.py?req=show&file=faq04.107.htp

which seems to describe your problem exactly.

Hope that this helps.

Matt - Jun 04 2003
Liquid Weather ++

Karamba & Superkaramba by Matti 1794 comments

Upgrade to python 2.2.2 or higher.

Matt - Jun 03 2003
Liquid Weather ++

Karamba & Superkaramba by Matti 1794 comments

Same here. The thing that is strange is that hundreds of people have downloaded this, and I've had no other feedback of a similar sort. Either people aren't having these crashes, or they don't care enough to post, and just bin it. If it is the former, then there is something strange about our respective setups that causes this problem. However, tracking that down would be difficult.

Unfortunately, I have only been coding in python for a couple of weeks, and am a complete novice. Also, the traceback indicates that there is something about the interaction between my theme and the libs used by Superkaramba that is not happy.

Have you run it in a console to see what the output is? I've looked in xsession-errors, and it is difficult to isolate anything useful. The backtrace from KCrashHandler is:

[New Thread 16384 (LWP 9581)]
0x4110b677 in waitpid () from /lib/i686/libpthread.so.0
#0 0x4110b677 in waitpid () from /lib/i686/libpthread.so.0
#1 0x4060be7b in KCrash::defaultCrashHandler(int) ()
from /usr/lib/libkdecore.so.4


I'll run it from a console when I get home tonight to see what the output is when it crashes.

I have also posted on the Superkaramba forums to see if anyone else has seen this. However, the forum doesn't seem to be that active.

Matt - Jun 03 2003
Liquid Weather ++

Karamba & Superkaramba by Matti 1794 comments

Run superkaramba from a console, and post the output. - Jun 03 2003
Liquid Weather ++

Karamba & Superkaramba by Matti 1794 comments

I've had the theme running under a separate Superkaramba process now for 7 yours, no crash. This may be the answer. Maybe there's a limit to how many themes you can run off the one superkaramba process. - Jun 02 2003
Liquid Weather ++

Karamba & Superkaramba by Matti 1794 comments

I too have it crashing after a couple of hours. I thought it might be the MDK rpm I used for SK-0.26, however, I've compiled from source, but it's no better. I have also run the theme, so that it updates every minute (for debugging purposes), and it doesn't crash on an update, so I don't think it's my code. It seems to crash only after a few hours.

However, there aren't many people having trouble with it, or if they are, they're not complaining about it.

Another thing I'm trying is running this theme separate from my other SK themes. The crash error I get refers to threading, so I thought maybe I had too many themes running (6 all up - all running using python scripts) on the one superkaramba process. I have only started it this morning, and so far no crashes yet.

I'd be interested to see the traceback on your crash, to see if it matches mine. Also, how many SK themes are you running (to test my theory)? - Jun 02 2003
Liquid Weather ++

Karamba & Superkaramba by Matti 1794 comments

Make sure your version of python is greater than 2.2.2. - Jun 01 2003
Liquid Weather ++

Karamba & Superkaramba by Matti 1794 comments

try:

superkaramba ~/path/to/liquid/liquid_weather.theme

Obviously replace "/path/to" with the actual directory path to where you put the liquid directory. - Jun 01 2003
Liquid Weather ++

Karamba & Superkaramba by Matti 1794 comments

I'm not sure I understand the error. The strip command takes one argument, so I'm not sure why your error says that it doesn't. Does anyone who knows anything about python understand this error?

Try running it from a console, and report the errors generated.

Sorry, I just don't understand the error.

Matt - Jun 01 2003