Chrome - lost camera image
Posted: Sat Jul 11, 2015 3:41 pm
Hi,
Just connected up a Pi 2 B, everything working except camera using the Chrome. Also trying to run any image py script results in errors. As below
File "D:/Dawnwebsockets/DawnRobotics-py_websockets_bot-32753496c972/examples/get_image.py", line 21, in <module>
bot = py_websockets_bot.WebsocketsBot( args.hostname )
File "C:\Python27\lib\site-packages\py_websockets_bot\__init__.py", line 248, in __init__
self._websocket = websocket.create_connection( url )
File "C:\Python27\lib\site-packages\py_websockets_bot\websocket\__init__.py", line 214, in create_connection
websock.connect(url, **options)
File "C:\Python27\lib\site-packages\py_websockets_bot\websocket\__init__.py", line 464, in connect
self.sock.connect((hostname, port))
File "C:\Python27\lib\socket.py", line 222, in meth
return getattr(self._sock,name)(*args)
socket.error: [Errno 10061] No connection could be made because the target machine actively refused it
Network is OK and the motor and camera cradle all work OK.The motor examples and some scripts for infrared object avoidance also worked. But not the Camera. Disconnected and reconnected etc.
Swapped over the Pi 2 back to the Pi 1 and the camera won't work there either. EXCEPT in both cases when you first run the Chrome script and you do see a still picture which clears the moment you touch the two buttons this suggests that the cam IS working. It's all connected up and I've tried both a direct power feed as well as the power pack I had been using.
Any suggestions at all where I might go now? Or have a lost a camera?
Kevin.
Just connected up a Pi 2 B, everything working except camera using the Chrome. Also trying to run any image py script results in errors. As below
File "D:/Dawnwebsockets/DawnRobotics-py_websockets_bot-32753496c972/examples/get_image.py", line 21, in <module>
bot = py_websockets_bot.WebsocketsBot( args.hostname )
File "C:\Python27\lib\site-packages\py_websockets_bot\__init__.py", line 248, in __init__
self._websocket = websocket.create_connection( url )
File "C:\Python27\lib\site-packages\py_websockets_bot\websocket\__init__.py", line 214, in create_connection
websock.connect(url, **options)
File "C:\Python27\lib\site-packages\py_websockets_bot\websocket\__init__.py", line 464, in connect
self.sock.connect((hostname, port))
File "C:\Python27\lib\socket.py", line 222, in meth
return getattr(self._sock,name)(*args)
socket.error: [Errno 10061] No connection could be made because the target machine actively refused it
Network is OK and the motor and camera cradle all work OK.The motor examples and some scripts for infrared object avoidance also worked. But not the Camera. Disconnected and reconnected etc.
Swapped over the Pi 2 back to the Pi 1 and the camera won't work there either. EXCEPT in both cases when you first run the Chrome script and you do see a still picture which clears the moment you touch the two buttons this suggests that the cam IS working. It's all connected up and I've tried both a direct power feed as well as the power pack I had been using.
Any suggestions at all where I might go now? Or have a lost a camera?
Kevin.