On Die, 12 Jul 2005, Norbert Preining wrote: > Starting gdesklets from [EMAIL PROTECTED] and starting the Memo gdesklets > breaks with > invalid literal for float(): 1.6 > /usr/share/gdesklets/Sensors/IconButton/__init__.py > > Setting LANG=C before starting gdesklets daemon fixes this problem.
I have seen that this bug has gotten the tag unreproducible, which suprises me, as I can reporduce it always: Here more information: First I start gdesklets from a shell: $ echo $LANG [EMAIL PROTECTED] $ gdesklets start gdesklets-daemon wird gestartet... In 1618 Millisekunden mit dem Daemon verbunden. (gdesklets-daemon:5166): Pango-CRITICAL **: pango_context_load_font: assertion `pango_font_description_get_size (desc) != 0' failed (several of these messages ...) Then I start the gdesklet shell $ gdesklets shell $ Which works. Now I start "Memo display ver 0.2.1" with a double click and the followingRuntime Error window pops up: Runtime Error /usr/share/gdesklets/Displays/memo/memo.display An error occured while executing a desklet: Details: invalid literal for float(): 1.6 /usr/share/gdesklets/Sensors/IconButton/__init__.py 15 16 Sensor.__init__(self) 17 self._set_config_type("animation", TYPE_BOOL, int(animation)) 18 self._set_config_type("ib_command", TYPE_STRING, cmd) 19 > 20 self.__scaledzoom = float(zoom) 21 self.__zoom = 1.0 22 self.__counter = 0 23 self.__change = 0 24 self.__sign = 1 25 26 self.__zoom_steps = (float(zoom) - 1.0) / self.__ANIM_STEPS Forthermore, my CPU sweeps up to 99% used by python PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 5166 norbert 15 0 42904 21m 11m S 99.0 4.2 2:29.50 python where 5166 is the gdesklets-daemon: 5166 ? Sl 2:47 python /usr/lib/gdesklets/gdesklets-daemon Calling gdesklets stop makes the CPU load go down immediately. Calling desklets with $ export LANG=C $ gdesklets start Starting gdesklets-daemon... Connected to daemon in 1717 milliseconds. (Interestingly also NO strange pango errors). $gdesklets shell $ I select the memo applet, it starts and is shown, without any problem. I still cannot configure (see bug #317978) Best wishes Norbert ------------------------------------------------------------------------------- Dr. Norbert Preining <preining AT logic DOT at> Università di Siena sip:[EMAIL PROTECTED] +43 (0) 59966-690018 gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094 ------------------------------------------------------------------------------- SWANIBOST (adj.) Complete shagged out after a hard day having income tax explained to you. --- Douglas Adams, The Meaning of Liff -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]