Comment 2 for bug 752699

Linus Seelinger (s-linus) wrote :

self.x_mouse is not the only place where there needs to be a typecast. after adding these typecasts, it works well.

Yet, there is another problem on ubuntu 11.04:

Traceback (most recent call last):
  File "/home/gabriel/Arbeitsfläche/tuiototouchbridge/", line 110, in <module>
  File "/usr/local/lib/python2.7/dist-packages/tuio/", line 29, in __init__
  File "/usr/local/lib/python2.7/dist-packages/tuio/", line 39, in open_socket
    self.socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEPORT, 1)
AttributeError: 'module' object has no attribute 'SO_REUSEPORT'

By replacing 'SO_REUSEPORT' by 'SO_REUSEADDR', I could make it work.