Hi,
We bought the GoPiGo some months ago. We have tried most of the projects succesfuly, but now we’re having problems to make the Browser Streaming Robot work. At the beginning it worked well, but since last days of August we’re getting this error:
pi@raspberrypi ~ cd Desktop/GoPiGo/Software/Python/Examples/Browser\ Streaming\ Robot/
pi@raspberrypi ~/Desktop/GoPiGo/Software/Python/Examples/Browser Streaming Robot
sudo chmod +x robot_web_server.py
pi@raspberrypi ~/Desktop/GoPiGo/Software/Python/Examples/Browser Streaming Robot
$ sudo ./robot_web_server.py
sockjs.tornado will use json module
/home/pi/Desktop/GoPiGo/Software/Python/Examples/Browser Streaming Robot/home/pi/Desktop/GoPiGo/Software/Python/Examples/Browser Streaming Robot/www
Starting web server…
Uncaught exception GET / (10.10.10.181)
HTTPServerRequest(protocol=‘http’, host=‘10.10.10.182’, method=‘GET’, uri=’/’, version=‘HTTP/1.1’, remote_ip=‘10.10.10.181’, headers={‘Connection’: ‘Keep-Alive’, ‘Accept-Language’: ‘es-ES,es;q=0.5’, ‘Accept-Encoding’: ‘gzip, deflate’, ‘Host’: ‘10.10.10.182’, ‘Accept’: ‘text/html, application/xhtml+xml, image/jxr, /’, ‘User-Agent’: ‘Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36 Edge/12.10240’})
Traceback (most recent call last):
File “/usr/local/lib/python2.7/dist-packages/tornado/web.py”, line 1332, in _execute
result = method(*self.path_args, **self.path_kwargs)
File “./robot_web_server.py”, line 180, in get
self.render( webPath + “/index.html” )
File “/usr/local/lib/python2.7/dist-packages/tornado/web.py”, line 665, in render
html = self.render_string(template_name, **kwargs)
File “/usr/local/lib/python2.7/dist-packages/tornado/web.py”, line 769, in render_string
t = loader.load(template_name)
File “/usr/local/lib/python2.7/dist-packages/tornado/template.py”, line 343, in load
self.templates[name] = self._create_template(name)
File “/usr/local/lib/python2.7/dist-packages/tornado/template.py”, line 370, in _create_template
with open(path, “rb”) as f:
IOError: [Errno 2] No such file or directory: '/home/pi/Desktop/GoPiGo/Software/Python/Examples/Browser Streaming Robot/home/pi/Desktop/GoPiGo/Software/Python/Examples/Browser Streaming Robot/www/index.html’
500 GET / (10.10.10.181) 57.34ms
We’ve tested in different networks and we always get the same error. We have tested the camera with the raspistill -v -o test.jpg
command and it works properly so we think it is not a camera issue.
Looking for your help,
Franco