Hello,
I’ve been trying multiple ways I’ve found online to get the Browser Streaming Example to work but haven’t had any luck. I’m using VNC to connect to the Pi over a wireless network and after I try the “sudo ./robot_web_server.py” command I get the following error:
sockjs.tornado will use json module
/home/pi/Desktop/goPiGo/Software/Python/Examples/Browser_Streaming_Robot/www
Starting web server…
Traceback (most recent call last):
File “./robot_web__server.py”, line 241, in <module>
http_server.listen( 80 )
File “/usr/local/lib/python2.7/dist-packages/tornado/tcpserver.py”, line 125,
in listen
sockets = bind_sockets(port, address=address)
File “/usr/local/lib/python2.7/dist-packages/tornado/netutil.py”, line 137, in
bind_socks
sock.bind(sockaddr)
File “/usr/lib/python2.7/socket.py”, line 224, in meth
return getattr(self._sock,name)(*args)
socket.error: [Errno 98] Address Already in use
Closing
I’m not sure if this is an issue with the setup on the pi or my network here. I try going to the 192.168.1.18 address that the pi is on and it pulls up a default Raspian for Robots page with information about using VNC to connect to the pi. Any information you can provide about why this may be happening will be appreciated.
Version V 6.6
Updated on 2015.11.04