jezdez / pytuio

Automatically exported from code.google.com/p/pytuio
MIT License
2 stars 0 forks source link

Address already in use error #3

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. (before installation) I comment out 39. line of __init__.py in tuio.
2. then compile it, (installed successfully) 
3. python example1.py

What is the expected output? What do you see instead?

Traceback (most recent call last):
  File "example1.py", line 2, in <module>
    tracking = tuio.Tracking()
  File "/usr/local/lib/python2.6/dist-packages/tuio/__init__.py", line 29,
in __init__
    self.open_socket()
  File "/usr/local/lib/python2.6/dist-packages/tuio/__init__.py", line 41,
in open_socket
    self.socket.bind((self.host, self.port))
  File "<string>", line 1, in bind
socket.error: [Errno 98] Address already in use

What version of the product are you using? On what operating system?

Ubuntu 9.10 Karmic Koala 
pytuio-0.1
reacTIVision 1.4 (May 20 2009)

Original issue reported on code.google.com by erkangu...@gmail.com on 29 Mar 2010 at 10:27

GoogleCodeExporter commented 8 years ago
Hello again, 
I solve the problem by changing my port in:
track = tuio.Tracking(host='127.0.0.1', port 3332)

It works. Then I changed the port value with 3332 in the reactivision.xml file. 
I run
both of them. Despite tracking fingers, example1.py program doesn't print 
anything.
What can be the problem?

Original comment by erkangu...@gmail.com on 29 Mar 2010 at 10:40