Comment 2 for bug 688138

wiewi (lwldcr) wrote :

Got the same problem.

myhost ~$ gnome-osd-client "Hello,World"
ServerError: Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/gnomeosd/server.py", line 323, in message_show_cb
    osd_msg.show(message, timeout)
  File "/usr/lib/python2.7/site-packages/gnomeosd/server.py", line 136, in show
    self.__show_task = gtasklet.Tasklet(self._show_messages())
  File "/usr/lib/python2.7/site-packages/gnomeosd/gtasklet.py", line 644, in __init__
    self.__next_round() # bootstrap
  File "/usr/lib/python2.7/site-packages/gnomeosd/gtasklet.py", line 693, in __next_round
    gen_value = self.__invoke()
  File "/usr/lib/python2.7/site-packages/gnomeosd/gtasklet.py", line 672, in __invoke
    gen_value = self.gen.next()
  File "/usr/lib/python2.7/site-packages/gnomeosd/server.py", line 178, in _show_messages
    w.move(x, y_final)
TypeError: integer argument expected, got float

Gnome-osd version: gnome-osd_0.20.1
Python version: python-2.7.2
Locale: zh_CN.UTF-8
Kernel: 2.6.39