Liquid Kalendar

Karamba & Superkaramba

Source (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
Score 50.0%
Description:

Attention! to make this work, you have to install the fonts "Nimbus Mono L Regular" and "Nimbus Mono L Bold" (both included in .gz file)

Python-based, Liquid-style Calendar for Superkaramba. Needs Python 2.3

The current date is marked red. To change your language just right-click on the calendar, select "Configure theme" -> "Select your country" and choose your language. After clicking "OK" wait a second or two and it should work.
Last changelog:

15 years ago

0.4: - completely rewritten
- fixed several bugs
- more expandable now
-> easier to integrate future functions
- optical makeover

0.3: - "Just-Click"-Locale-support
- Changed Background-Image

0.2: - Now complete locale-support
- BugFix: locales
- current date is marked

0.1b: BugFix: Now Work with English Locale

0.1a: BugFix: Function after Feb. 29

sfriedrich

11 years ago

I've been using it since 2006, maybe even before. I was hoping there was a newer version by now. I'd like to see configurable beginning of the week (my week begins on Sun, not Mon). And it should have an About dialog so we can see what version we have. I checked in the files and I don't see a revision. My tarball is dated 2006, so I guess I have .04.

Report

wired2051

13 years ago

Thanks for your work but I can't enjoy it :( I've installed version 0.4 with superkaramba 4.3.5.4 on Kubuntu Dapper Drake and KDE 3.5.4

The two fonds are also installed but the Kalendar stayes still empty, that means only backround, no date.I can't change the language ore other settings neither.So I startet the kalendar.theme with the terminal

---snip---
X Error: BadDevice, invalid or uninitialized input device 154
Major opcode: 143
Minor opcode: 3
Resource id: 0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 154
Major opcode: 143
Minor opcode: 3
Resource id: 0x0
Failed to open device
---snip---
Traceback (most recent call last):
File "/home/a-zeller/KDE/Superkaramba/kalendar/kalendar.py", line 22, in ?
calendar = ckalendar.cKalendar()
File "/home/a-zeller/KDE/Superkaramba/kalendar/ckalendar.py", line 16, in __init__
self.dayArray[i] = strftime("%a", (0,0,0,0,0,0,i,0,0))[0:2]
ValueError: month out of range
---snip---

Can you help me, please?

Report

charleylc

14 years ago

I made the following modifications to kalendar v0.4 in order to get it to work properly with SuperKaramba v0.37 and Python v2.4:

-----------------------------------------------------------------------------
In kalendar.py

line 30:
change from
karamba.setMenuConfigOption(widget, "ac_locale", "0")
to
karamba.setMenuConfigOption(widget, "ac_locale", 0)

line 77:
change from
karamba.setMenuConfigOption(widget, "ac_locale", "0")
to
karamba.setMenuConfigOption(widget, "ac_locale", 0)

Note:
The "0" is changed to just 0
There are a total of two instances where the changes must be made.

-----------------------------------------------------------------------------
In ckalendar.py

line 16:
change from
self.dayArray[i] = strftime("%a", (0,0,0,0,0,0,i,0,0))[0:2]
to
self.dayArray[i] = strftime("%a", (1900,1,1,0,0,0,i,1,0))[0:2]

line 30:
change from
self.dayArray[i] = strftime("%a", (0,0,0,0,0,0,i,0,0))[0:2]
to
self.dayArray[i] = strftime("%a", (1900,1,1,0,0,0,i,1,0))[0:2]

Note:
The values in the second argument enclosed by the () need to be updated in order for the line to work.
I am unsure if this is due to changes between older versions of python and python v2.4
There are also two instances where this line needs to be updated.

-----------------------------------------------------------------------------

Hopefully this will help all to successfully run this wonderful calendar theme.
My thanks to baraquda for writing this app.

-Charley

Report

seve

14 years ago

Sorry for the 4 responses above... :P I have Superkaramba 0.36 (and can't install 0.37) and Kalendar still doesn't work with 0.36 on my computer... Can help please?

Report

seve

14 years ago

I tried that and it still doesn't work... :( Another thing I wouldn't have donne...??

Report

charleylc

14 years ago

Seve - I need more information than just "it still doesn't work" in order to help you.
I need to know what you have tried (including all installation steps), what the results were, any error messages, etc.
Please post a better description of your problem, including versions of all programs involved (i.e. linux distro and version, python version, superkaramba version, and liquid kalendar version), error messages (run superkaramba from the command line with no backgrounding - don't put a & at the end - make sure you save all error messages). Make sure you follow all installation steps - there is a step that tells you how to install the required font (it might be able to be substituted by another font, but I haven't tested that).
Thanks,
-Charley

Report

seve

14 years ago

- Kubuntu 5.10 - Python 2.3 and 2.4 (don't know if there is a problem having 2 versions but I found an applet - don't remember which - that needed 2.3) - Superkaramba 0.36 (don't succeed installing 0.37: I download it, get a .deb file and when I install it I have "dpkg : erreur de traitement de /home/seve/Desktop/31555-superkaramba_0.37RC2-1_i386.deb (--install) : la lecture du fichier "info" "/var/lib/dpkg.tmp.ci/control" du paquet a échoué : Aucun fichier ou répertoire de ce type Des erreurs ont été rencontrées pendant l'exécution : /home/seve/Desktop/31555-superkaramba_0.37RC2-1_i386.deb Press to exit..." - I tried to install Kavolo Kalendar Kavolo Kalendar 0.1, Crystal Liquid Kalendar Crystal Liquid Kalendar 1.0, Liquid Kalendar 0.4, but also other applets such as GMoo or simplegmail simplegmail 0.1, Desktop Gmail 2.4, and other calendars. I download them and then right click, then click on install. Then I get the image with only the background, but no text. When indicated, I do things to do (for example I tried to change the font, or changes the line as indicated below with "Mon", "Tue", ...), but it doens't change anything. I have no other error message. Hope I've been more clear this time. Excuse my English... I didn't understand "error messages (run superkaramba from the command line with no backgrounding - don't put a & at the end - make sure you save all error messages)." For your sentence "Make sure you follow all installation steps - there is a step that tells you how to install the required font (it might be able to be substituted by another font, but I haven't tested that).": I did it but nothing changed. Thanks.

Report

seve

14 years ago

- Kubuntu 5.10 - Python 2.3 and 2.4 (don't know if there is a problem having 2 versions but I found an applet - don't remember which - that needed 2.3) - Superkaramba 0.36 (don't succeed installing 0.37: I download it, get a .deb file and when I install it I have "dpkg : erreur de traitement de /home/seve/Desktop/31555-superkaramba_0.37RC2-1_i386.deb (--install) : la lecture du fichier "info" "/var/lib/dpkg.tmp.ci/control" du paquet a échoué : Aucun fichier ou répertoire de ce type Des erreurs ont été rencontrées pendant l'exécution : /home/seve/Desktop/31555-superkaramba_0.37RC2-1_i386.deb Press to exit..." - I tried to install Kavolo Kalendar Kavolo Kalendar 0.1, Crystal Liquid Kalendar Crystal Liquid Kalendar 1.0, Liquid Kalendar 0.4, but also other applets such as GMoo or simplegmail simplegmail 0.1, Desktop Gmail 2.4, and other calendars. I download them and then right click, then click on install. Then I get the image with only the background, but no text. When indicated, I do things to do (for example I tried to change the font, or changes the line as indicated below with "Mon", "Tue", ...), but it doens't change anything. I have no other error message. Hope I've been more clear this time. Excuse my English... I didn't understand "error messages (run superkaramba from the command line with no backgrounding - don't put a & at the end - make sure you save all error messages)." For your sentence "Make sure you follow all installation steps - there is a step that tells you how to install the required font (it might be able to be substituted by another font, but I haven't tested that).": I did it but nothing changed. Thanks.

Report

seve

14 years ago

- Kubuntu 5.10 - Python 2.3 and 2.4 (don't know if there is a problem having 2 versions but I found an applet - don't remember which - that needed 2.3) - Superkaramba 0.36 (don't succeed installing 0.37: I download it, get a .deb file and when I install it I have "dpkg : erreur de traitement de /home/seve/Desktop/31555-superkaramba_0.37RC2-1_i386.deb (--install) : la lecture du fichier "info" "/var/lib/dpkg.tmp.ci/control" du paquet a échoué : Aucun fichier ou répertoire de ce type Des erreurs ont été rencontrées pendant l'exécution : /home/seve/Desktop/31555-superkaramba_0.37RC2-1_i386.deb Press to exit..." - I tried to install Kavolo Kalendar Kavolo Kalendar 0.1, Crystal Liquid Kalendar Crystal Liquid Kalendar 1.0, Liquid Kalendar 0.4, but also other applets such as GMoo or simplegmail simplegmail 0.1, Desktop Gmail 2.4, and other calendars. I download them and then right click, then click on install. Then I get the image with only the background, but no text. When indicated, I do things to do (for example I tried to change the font, or changes the line as indicated below with "Mon", "Tue", ...), but it doens't change anything. I have no other error message. Hope I've been more clear this time. Excuse my English... I didn't understand "error messages (run superkaramba from the command line with no backgrounding - don't put a & at the end - make sure you save all error messages)." For your sentence "Make sure you follow all installation steps - there is a step that tells you how to install the required font (it might be able to be substituted by another font, but I haven't tested that).": I did it but nothing changed. Thanks.

Report

seve

14 years ago

- Kubuntu 5.10 - Python 2.3 and 2.4 (don't know if there is a problem having 2 versions but I found an applet - don't remember which - that needed 2.3) - Superkaramba 0.36 (don't succeed installing 0.37: I download it, get a .deb file and when I install it I have "dpkg : erreur de traitement de /home/seve/Desktop/31555-superkaramba_0.37RC2-1_i386.deb (--install) : la lecture du fichier "info" "/var/lib/dpkg.tmp.ci/control" du paquet a échoué : Aucun fichier ou répertoire de ce type Des erreurs ont été rencontrées pendant l'exécution : /home/seve/Desktop/31555-superkaramba_0.37RC2-1_i386.deb Press to exit..." - I tried to install Kavolo Kalendar Kavolo Kalendar 0.1, Crystal Liquid Kalendar Crystal Liquid Kalendar 1.0, Liquid Kalendar 0.4, but also other applets such as GMoo or simplegmail simplegmail 0.1, Desktop Gmail 2.4, and other calendars. I download them and then right click, then click on install. Then I get the image with only the background, but no text. When indicated, I do things to do (for example I tried to change the font, or changes the line as indicated below with "Mon", "Tue", ...), but it doens't change anything. I have no other error message. Hope I've been more clear this time. Excuse my English... I didn't understand "error messages (run superkaramba from the command line with no backgrounding - don't put a & at the end - make sure you save all error messages)." For your sentence "Make sure you follow all installation steps - there is a step that tells you how to install the required font (it might be able to be substituted by another font, but I haven't tested that).": I did it but nothing changed. Thanks.

Report

digitalsimulacra

14 years ago

If the calendar comes up blank when you run it, this may help you: it looks like there was a change to the strftime(...) function in a recent update to python, because that seems to be the line causing problems. I was able to get it working by changing this segment:
    self.dayArray = ["", "", "", "", "", "", ""]
    while i <= 6:
        self.dayArray[i] = strftime("%a", (0,0,0,0,0,0,i,0,0))[0:2]
    i = i + 1
to this:
    self.dayArray = ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"]
You can probably use whatever day names are appropriate for your system. BTW, this segment occurs twice, and I believe it's in the ckalendar.py file.
This will mess up the ability to handle multiple locales, but since you can put in whatever day names you want it shouldn't matter.

Report

janet

14 years ago

When I start kalendar only the background picture is shown. The fonts are installed. How does the kalendar.theme call the py-file? It is not mentioned in the kalendar.theme

Report

Keeper

14 years ago

yes, I have this bug too =(
Traceback (most recent call last):
File "/home/keeper/Documents/Text/karamba/kalendar/kalendar.py", line 22, in ?
calendar = ckalendar.cKalendar()
File "/home/keeper/Documents/Text/karamba/kalendar/ckalendar.py", line 16, in __init__
self.dayArray[i] = strftime("%a", (0,0,0,0,0,0,i,0,0))[0:2]
ValueError: month out of range
------------------------------------------------------
What does ImportError mean?

It means that I couldn't load a python add-on for kalendar.theme
If this is a regular theme and doesn't use python
extensions, then nothing is wrong.
------------------------------------------------------

Report

phxguy

14 years ago

when i try to load this from the konsole this is what i get:

Traceback (most recent call last):
File "/home/phxguy/.superkaramba/kalendar/kalendar.py", line 22, in ?
calendar = ckalendar.cKalendar()
File "/home/phxguy/.superkaramba/kalendar/ckalendar.py", line 16, in __init__
self.dayArray[i] = strftime("%a", (0,0,0,0,0,0,i,0,0))[0:2]
ValueError: month out of range

can anyone help me out

Report

ogetbilo

15 years ago

any chance to upgrade the script to SK 0.35?

Report

rcbell

15 years ago

I had a few minutes today and looked into it. The fix is actually quite easy. Just change 2 lines in the kalendar.py file with your favorite editor. Fix as follows:

Change: karamba.setMenuConfigOption(widget, "ac_locale", "0")
To this: karamba.setMenuConfigOption(widget, "ac_locale", 0)

And change: karamba.setMenuConfigOption(widget, "ac_locale", "0")
To this: karamba.setMenuConfigOption(widget, "ac_locale", 0)

All you're doing is changing the "0" at the end of each line to 0. Hope this helps.

Report

paxx

14 years ago

Thanks rcbell, that fixed it! :)

Now, I wonder, is there something I can edit in the script to make the week start in Sunday instead of Monday?

Report

rcbell

15 years ago

I'd really like to see an update as well.

Report

NullMind

15 years ago

any idea how to change the text to white ?

I try changing the 0 and 1 to 255, 255, 255 but the text wontshow if I do any changes there

Report

nightwriter

15 years ago

Seems that it only can display a full month if the month spans no more than 5 weeks Aug 2004 spans 6 (it starts on a Sunday ...) and the 6th row wont display. Bummer.

Report

sfriedrich

15 years ago

Aug 30 isn't shown on August calendar

Report

spookman

15 years ago

Hello,
I would like to first column of the Kalendar to show Sunday instead of Monday.. How can I change this?

Report

symbiont

15 years ago

This theme doesn't require Python 2.3. Get rid of "import datetime", which goes unused, and the theme operates correctly. Redhat 7.3, 9, FC1 users should be happy to hear this.

Report

furgas

15 years ago

And what should be done to make this theme "pl_PL" supported? I see only background picture no matter what country I choose.

Report

stigster

15 years ago

I'm having som trouble aligning the numbers.
See screen shot:
http://satan.abuse.cx/~stig/shot.png

Report

15 years ago

0.4: - completely rewritten
- fixed several bugs
- more expandable now
-> easier to integrate future functions
- optical makeover

0.3: - "Just-Click"-Locale-support
- Changed Background-Image

0.2: - Now complete locale-support
- BugFix: locales
- current date is marked

0.1b: BugFix: Now Work with English Locale

0.1a: BugFix: Function after Feb. 29

12345678910
product-maker Base: 4 x 5.0 Ratings
Be the first to comment
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.4
updated Apr 11 2004
added Feb 02 2004
downloads 24h
0
mediaviews 24h 0
pageviews 24h 3