I have problems with acces "cd Desktop/GoPiGo/Software/Python/Examples/Browser Streaming Robot/"
I saw in an earlier post with two spaces, you have to use browse/ servo.
But how can I acces with three spaces like the “Browser Streaming Robot.”
Hi Karan,
I have a problem that the webbrowser do’nt give streaming video.
The errors are below: Do you have a solution for this problem ?
Thanks
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 / (192.168.178.11)
HTTPServerRequest(protocol=‘http’, host=‘raspberrypi.local’, method=‘GET’, uri=’/’, version=‘HTTP/1.1’, remote_ip=‘192.168.178.11’, headers={‘Accept-Language’: ‘nl-NL’, ‘Accept-Encoding’: ‘gzip, deflate’, ‘Host’: ‘raspberrypi.local’, ‘Accept’: ‘text/html, application/xhtml+xml, /’, ‘User-Agent’: ‘Mozilla/5.0 (Windows NT 6.3; Win64; x64; Trident/7.0; rv:11.0) like Gecko’, ‘Dnt’: ‘1’, ‘Connection’: ‘Keep-Alive’, ‘Ua-Cpu’: ‘AMD64’})
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 / (192.168.178.11) 45.31ms