Todays build log.
Here is what I did today. Pretty much exactly the same behavior. I highly doubt it is a network issue since I believe the red light should go on on the camera module when streaming and it doesn’t turn on.
I also went to run the video streaming example and that didn’t work either…same problem and no red light.
Here is today’s build and error log:
Download Dexter V 5.2 disk image
Image this to SD card
Boot RPi
Run sudo raspi-config
Expand File size to match card (32gig)
Reboot
Go strait /Desktop/GoPiGo/Software/Python/Examples/Browser controlled robot
Run it with sudo python robot_web_browser.py
After “Starting Web Browser” one wheel on the robot was continuously going.
Kill process.
sudo apt-get update
sudo apt-get upgrade
Reboot
Run Dexter Software Updater.
Reboot
Run basic_test_all and check firmware version (it is V13)
All motors work properly.
test camera module with raspistill -o testfile.jpg
Light turns on…picture taken.
Open .jpg with picture viewr.
Pic looks good. Camera module works.
Rerun robot_web_server.py
Same behavior same problems…gets to the point where the dialog states "webserver started"
Then no additional information.
I tried to get into it from several avenues using http://raspberrypi.local/ as well as http://192.168.1.16/ which is its address on my local intranet.
After trying to get into it for a while it eventuall it crashes and I get this error log (this usually happens after trying to start up another Midori session after I have tried to access the web server.
The error log comes after Web server started here it is in this case:
pi@raspberrypi ~/Desktop/GoPiGo/Software/Python/Examples/Browser Streaming Robot $ sudo python robot_web_server.py
sockjs.tornado will use json module
/www
Starting web server…
Uncaught exception GET / (192.168.1.16)
HTTPServerRequest(protocol=‘http’, host=‘raspberrypi.local’, method=‘GET’, uri=’/’, version=‘HTTP/1.1’, remote_ip=‘192.168.1.16’, headers={‘Connection’: ‘Keep-Alive’, ‘Accept-Language’: ‘en-gb;q=0.750’, ‘Accept-Encoding’: ‘gzip, deflate’, ‘Host’: ‘raspberrypi.local’, ‘Accept’: ‘text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8’, ‘User-Agent’: ‘Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-gb) AppleWebKit/535+ (KHTML, like Gecko) Version/5.0 Safari/535.22+ Midori/0.4’})
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 163, 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: ‘/www/index.html’
500 GET / (192.168.1.16) 21.70ms
404 GET /favicon.ico (192.168.1.16) 9.08ms
404 GET /favicon.ico (192.168.1.16) 3.39ms
404 GET /favicon.ico (192.168.1.16) 4.03ms
Uncaught exception GET / (192.168.1.16)
HTTPServerRequest(protocol=‘http’, host=‘raspberrypi.local’, method=‘GET’, uri=’/’, version=‘HTTP/1.1’, remote_ip=‘192.168.1.16’, headers={‘Connection’: ‘Keep-Alive’, ‘Accept-Language’: ‘en-gb;q=0.750’, ‘Accept-Encoding’: ‘gzip, deflate’, ‘Host’: ‘raspberrypi.local’, ‘Accept’: 'text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8’, ‘User-Agent’: ‘Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-gb) AppleWebKit/535+ (KHTML, like Gecko) Version/5.0 Safari/535.22+ Midori/0.4’})
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 163, 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: ‘/www/index.html’
500 GET / (192.168.1.16) 5.46ms
404 GET /favicon.ico (192.168.1.16) 3.97ms
404 GET /favicon.ico (192.168.1.16) 3.61ms
Uncaught exception GET / (192.168.1.16)
HTTPServerRequest(protocol=‘http’, host=‘192.168.1.16’, method=‘GET’, uri=’/’, version=‘HTTP/1.1’, remote_ip=‘192.168.1.16’, headers={‘Connection’: ‘Keep-Alive’, ‘Accept-Language’: ‘en-gb;q=0.750’, ‘Accept-Encoding’: ‘gzip, deflate’, ‘Host’: ‘192.168.1.16’, ‘Accept’: 'text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8’, ‘User-Agent’: ‘Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-gb) AppleWebKit/535+ (KHTML, like Gecko) Version/5.0 Safari/535.22+ Midori/0.4’})
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 163, 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: '/www/index.html’
500 GET / (192.168.1.16) 8.77ms
404 GET /favicon.ico (192.168.1.16) 9.09ms
404 GET /favicon.ico (192.168.1.16) 3.21ms
404 GET /favicon.ico (192.168.1.16) 3.03ms
I can’t see I’m doing anything wrong. I’ve had the same behavior on 2 differnet networks both home and work. I even tried to get into the server from running midori on the pi itself and I get a 500 internal server error.
Any help?
Thanks Karen…looking forward to what you might have to say.
Mark