No camera view in WebUI
Forums:
When I load the WebUI script, the camera preview does not show. I get a broken image. The controls still work, but nothing from the camera.
In the terminal I get this error:
----------------------------------------
Exception happened during processing of request from ('10.0.4.153', 63210)
Traceback (most recent call last):
File "/usr/lib/python2.7/SocketServer.py", line 293, in _handle_request_noblock
self.process_request(request, client_address)
File "/usr/lib/python2.7/SocketServer.py", line 321, in process_request
self.finish_request(request, client_address)
File "/usr/lib/python2.7/SocketServer.py", line 334, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/lib/python2.7/SocketServer.py", line 655, in __init__
self.handle()
File "./yeti2Web.py", line 178, in handle
if sendFrame != None:
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
----------------------------------------
it is repeated over and over.
piborg
Thu, 10/31/2019 - 16:53
Permalink
Web UI error
This is a problem we have seen before, it can be fixed easily :)
Open the
yeti2Web.py
script in a text editor and change the lines withto
This should be on lines 178 and 232.