Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Sep 2005 16:07:02 +0200
From:      Eugene Rogoza <euro@i.com.ua>
To:        freebsd-gnome@freebsd.org
Subject:   Anybody using "gDesklets-multitail"? Mine doesn't work properly
Message-ID:  <1128002822.977.12.camel@localhost>

next in thread | raw e-mail | index | archive | help
Hi everyone,

I've just upgraded my ports tree, updated 'gdesklets-0.35.1_1' to
'gdesklets-0.35.1_2' and installed 'gdesklets-multitail-0.3.1_1'.

I was wondering if anybody's got this stuff working? On my machine that
desklet starts just fine, even allows to configure itself (with some
glitches), but when it comes to real tailing of a logfile, here's what I
get:

>==========================================================[09/29/05-15:48:47]===
>Warning: <bound method Display.__set_settings of <Display object
>(GtkHBox) at 0x84e4f4c>>(({'line[0]': '               __ __   _  >__
_  __', 'line[2]': " /  ' \\/ // // // __// // __// _ >`// // / ",
'name[4]': '[messages]', 'linecount[4]': '', 'name[0]': '', >'name[2]':
'', 'linecolor[5]': '', 'linecolor[3]': '#101011', >'linecount[2]': '',
'linecolor[1]': '#101000', 'linecount[0]': '', >'line[4]': "Sep 29
15:33:31 inspiron vpnc[918]: can't open >pidfile /var/run/vpnc/pid for
writing", 'line[3]': '/_/_/_/\\_,_//_/ \
>\__//_/ \\__/ \\_,_//_//_/  ', 'name[3]': '', 'line[1]': '  __ _  __ >
>__ / // /_ (_)/ /_ ___ _ (_)/ /', 'name[5]': '', 'name[1]': '', >
>'linecolor[4]': '#000000', 'linecount[5]': '', 'linecolor[2]': >
>'#111011', 'length': 6, 'linecount[3]': '', 'linecolor[0]': '#101011',
> 'line[5]': '', 'linecount[1]': ''}, u'mt')) has raised an exception
> while running in main thread.
> The error was:
> string index out of range
>
>
>Traceback (most recent call last):
>  File "/usr/X11R6/lib/gdesklets/utils/__init__.py", line 182, in
>run_in_main_thread
>    return function(*args)
>  File "/usr/X11R6/lib/gdesklets/display/Display.py", line 641, in
>__set_settings
>    target.set_xml_prop(prop, value)
>  File "/usr/X11R6/lib/gdesklets/display/DataTarget.py", line 132, in
>set_xml_prop
>    self.set_prop_from_string(key, value)
>  File "/usr/X11R6/lib/gdesklets/utils/Element.py", line 76, in
>set_prop_from_string
>    self.set_prop(key, typeconverter.str2type(datatype, value))
>  File "/usr/X11R6/lib/gdesklets/utils/Element.py", line 101, in
>set_prop
>    setter(key, value)
>  File "/usr/X11R6/lib/gdesklets/display/TargetLabel.py", line 259, in
>_setp_color
>    self.__set_color(value)
>  File "/usr/X11R6/lib/gdesklets/display/TargetLabel.py", line 217, in
>__set_color
>    self.__color = utils.parse_color(color)
>  File "/usr/X11R6/lib/gdesklets/utils/__init__.py", line 57, in
>parse_color
>    if (color[0] == "#" and len(color) == 9):
>IndexError: string index out of range
>/usr/X11R6/share/gnome/gdesklets/Sensors/MultiTail/watchlist.py:33:
>GtkDeprecationWarning: gtk.FALSE is deprecated, use False instead
>  vbox = gtk.VBox(gtk.FALSE, 0)
/usr/X11R6/share/gnome/gdesklets/Sensors/MultiTail/watchlist.py:45:
>DeprecationWarning: use gtk.TreeView
>  self.list = gtk.CList(self.__columns)
>/usr/X11R6/share/gnome/gdesklets/Sensors/MultiTail/watchlist.py:57:
>GtkDeprecationWarning: gtk.TRUE is deprecated, use True instead
>  hbox = gtk.HBox(gtk.TRUE, gtk.FALSE)
>/usr/X11R6/share/gnome/gdesklets/Sensors/MultiTail/watchlist.py:57:
>GtkDeprecationWarning: gtk.FALSE is deprecated, use False instead
>  hbox = gtk.HBox(gtk.TRUE, gtk.FALSE)
>/usr/X11R6/share/gnome/gdesklets/Sensors/MultiTail/watchlist.py:58:
>GtkDeprecationWarning: gtk.FALSE is deprecated, use False instead
>  vbox.pack_start(hbox, gtk.FALSE, gtk.FALSE)
>/usr/X11R6/share/gnome/gdesklets/Sensors/MultiTail/watchlist.py:61:
>GtkDeprecationWarning: gtk.FALSE is deprecated, use False instead
>  hbox.pack_start(b_add, gtk.FALSE, gtk.TRUE)
>/usr/X11R6/share/gnome/gdesklets/Sensors/MultiTail/watchlist.py:61:
>GtkDeprecationWarning: gtk.TRUE is deprecated, use True instead
>  hbox.pack_start(b_add, gtk.FALSE, gtk.TRUE)
>/usr/X11R6/share/gnome/gdesklets/Sensors/MultiTail/watchlist.py:65:
>GtkDeprecationWarning: gtk.FALSE is deprecated, use False instead
>  hbox.pack_start(b_reset, gtk.FALSE, gtk.TRUE)
>/usr/X11R6/share/gnome/gdesklets/Sensors/MultiTail/watchlist.py:65:
>GtkDeprecationWarning: gtk.TRUE is deprecated, use True instead
>  hbox.pack_start(b_reset, gtk.FALSE, gtk.TRUE)
>/usr/X11R6/share/gnome/gdesklets/Sensors/MultiTail/watchlist.py:69:
>GtkDeprecationWarning: gtk.FALSE is deprecated, use False instead
>  hbox.pack_start(b_remove, gtk.FALSE, gtk.TRUE)
>/usr/X11R6/share/gnome/gdesklets/Sensors/MultiTail/watchlist.py:69:
>GtkDeprecationWarning: gtk.TRUE is deprecated, use True instead
>  hbox.pack_start(b_remove, gtk.FALSE, gtk.TRUE)
>/usr/X11R6/share/gnome/gdesklets/Sensors/MultiTail/watchlist.py:73:
>GtkDeprecationWarning: gtk.FALSE is deprecated, use False instead
>  vbox.pack_start(b_close, gtk.FALSE, gtk.FALSE)
>/usr/X11R6/share/gnome/gdesklets/Sensors/MultiTail/watchlist.py:208:
>GtkDeprecationWarning: gtk.TRUE is deprecated, use True instead
>  colorsel.set_has_palette(gtk.TRUE)

I have 'python-2.4.1_1' installed.

Aside from this log, the desklet itself hangs and the "python" process
takes up 80% of CPU until I kill it.

Every thought is appreciated, especially from the people who have (or
had) it working.

Eugene

P.S. It is already the second desklet that doesn't work. I doubt the
words "nice framework" which I found googling out there :-(




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1128002822.977.12.camel>