LogWatch

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:

LogWatch is a Python based multilog viewer for superkaramba.
Last changelog:

16 years ago

version 0.2
- Code was improved
- Selected log has another color
- Kdialog open file mode usage was removed, for compatibility with stable kde ( =< 3.1.4 )

version 0.1
- First release

qet123

14 years ago

I think there is a problem using it with
SuperKaramba 0.36, the latest one. When I press the 'add log' menu, nothing happens. I love this theme. Please help.

Report

j24

14 years ago

Change line 60 of logwatch.py from:

karamba.setMenuConfigOption(widget, "addlog", "0")

to:
karamba.setMenuConfigOption(widget, "addlog", 0)

(delete the quotes around "0")

Report

charleylc

13 years ago

Lines 60 AND 149 must be changed in the same manner (take the quotes off around the 0).

Report

kenyon

14 years ago

Still doesn't do anything.

Report

pluggerlockett

13 years ago

Thanks for that. Up and running without a problem now.

Report

pluggerlockett

13 years ago

Unfortunately, I'm having the same issue. I can run up logwatcher, and the window appears, including the text "Select a log file to view". Right click and select "Add a Log" and nothing happens. Applied fix described above and the app still doesn't work. Details below in regards to system, and more will be provided if needed. I'd really like to have this widget running.

Using SuperKaramba 0.39
KDE 3.5.1 Level "a"
Suse 10.1

Report

kenyon

13 years ago

Try logview here: http://www.kde-look.org/content/show.php?content=8466

I've been using it for many months. Works fine.

Report

tomjas

15 years ago

Hello!
Is it possible to change font encoding in this theme? I use iso8859-2 so there is a lot of unreadable characters in logs in logwatch.
Regards

Report

uplink

16 years ago

Hi, great project, but I have a one problem with it. How can I deal with this: Everytime I start KDE, when the logwatch starts with it I must add the logs again. Is there an option for the logwatch to remember my logs and to open them every time I start it?

Tnx, anyway.

Report

mattia

16 years ago

It is possible to resize the window?
I edit ~/.superkaramba/logwatch.rc, then run superkaramba but it always starts with a widgetHeight of 121.. And when I close it, it writes widgetHeight=121 in my ~/.superkaramba/logwatch.rc.

Is it possible to chanhe this behavior?

Report

mattia

16 years ago

ooops!
Sorry! Found it!

changed MAX_LINES in /usr/share/karamba/themes/logwatch/logwatch.py

byez!

P.S.: good theme!

Report

sammy2ooo

16 years ago

Hi

really nice toy. But it only startes when i uncomment the second line in logwatch.py containing "import string". Does it call a var from karamba which can't be found on my system?

Btw:
Qt: 3.2.1
KDE: 3.1.4
superkaramba: 0.32

I have created a file in my ~/.kde/Autostart folder. But logwatch (or karamba?!?!) seems to forget the logfile i have choosen :(

Report

bluephile

16 years ago

I really want to try this, but the theme is stuck at the "Please wait while the weather loads" display. I see the following output in my console:

Call to widgetUpdated failed
Traceback (most recent call last):
File "/X/BlueChicken3/BlueChicken3.py", line 955, in initWidget
makeWeather(widget)
File "/X/BlueChicken3/BlueChicken3.py", line 59, in makeWeather
WeatherFile.updateWeatherPage(local, zipcode)
AttributeError: Weather instance has no attribute 'updateWeatherPage'
There is no time for you
There is no time for you
There is no time for you

The above message just repeats over and over again.

Thanks!

Report

bluephile

16 years ago

I'm sorry! I posted under the wrong project!!

Report

Peman

16 years ago

hi,
this themes is cool, but when i run it, it is always on top.
do you know how to avoid this?
thx

Report

C

nemir

16 years ago

Hi!
There is an option in the theme file, under the "KARAMBA" command, to turn on this feature ("ONTOP = true"). The default is "false", so try to put "ONTOP = false" explicitally and let me know.

[]'s Roberto

Report

hrholme

16 years ago

I love your wallpaper, where did you get it?

Report

StefanT

16 years ago

Here on this site. Have found the image, but not the posting/article.

However, this url contains it:
http://www.kde-look.org/content/preview.php?file=5272-1.jpg

Report

BenNavis

16 years ago

This is a great idea since roottail isn't working on KDE.
But: How do I choose a file to watch?
'configure theme --> add a log' isn't working...

Report

ex-gnome

16 years ago

Yeah, I really would like to use this theme to monitor my ftp traffic, thanks for starting this project....

Unforunately however, it doesn't work for me either.

As posted before me, you're code for the dialog box in the config menu is a bit off. Check out line 131, this is where you problem is:

command = ["kdialog", "--title", "Select the log file to view", "--getopenfilename", "/var/log"]

There is no option "getopenfilename". At least not in kde 3.1.4

After changing this line though, the theme still doesn't work properly. I'll look over the code some more, see what I can find. Of course I know this is only version 0.1, but I like the idea so far. Hope you get it working perfect so I can use it.

Thanks

Report

C

nemir

16 years ago

It's true... this version is for kde 3.2 (alpha). I'll release another version with some improvements. Any other bug/suggestion? :-)

[]'s Roberto

Report

manor

16 years ago

Change it to this:

command = ["kdialog", "--title", "Select the log file to view", "--inputbox", "Path to Logfile", "/var/log"]


That worked for me :)

Report

16 years ago

version 0.2
- Code was improved
- Selected log has another color
- Kdialog open file mode usage was removed, for compatibility with stable kde ( =< 3.1.4 )

version 0.1
- First release

12345678910
product-maker Base: 4 x 5.0 Ratings
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.2
updated Oct 24 2003
added Oct 21 2003
downloads 24h
0
mediaviews 24h 0
pageviews 24h 0