You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi every one,
I followed the following steps and would need some insight on the reason of the issue :
1- Tested the code on my laptop (Win10) and it works fine --> OK
2- Tested it on my NVIDIA Jetson nano with (Ubuntu 18.04.4-bionic) but i get the following error.
--> http 101 - gone
~/Documents/Python/00_scripts$ python3 goprostream.py
Traceback (most recent call last):
File "/usr/lib/python3.6/urllib/request.py", line 1325, in do_open
encode_chunked=req.has_header('Transfer-encoding'))
File "/usr/lib/python3.6/http/client.py", line 1264, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/lib/python3.6/http/client.py", line 1310, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/lib/python3.6/http/client.py", line 1259, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib/python3.6/http/client.py", line 1038, in _send_output
self.send(msg)
File "/usr/lib/python3.6/http/client.py", line 976, in send
self.connect()
File "/usr/lib/python3.6/http/client.py", line 948, in connect
(self.host,self.port), self.timeout, self.source_address)
File "/usr/lib/python3.6/socket.py", line 724, in create_connection
raise err
File "/usr/lib/python3.6/socket.py", line 713, in create_connection
sock.connect(sa)
OSError: [Errno 101] Network is unreachable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "goprostream.py", line 162, in <module>
gopro_live()
File "goprostream.py", line 65, in gopro_live
response_raw = urlopen('http://10.5.5.9/gp/gpControl').read().decode('utf-8')
File "/usr/lib/python3.6/urllib/request.py", line 223, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python3.6/urllib/request.py", line 526, in open
response = self._open(req, data)
File "/usr/lib/python3.6/urllib/request.py", line 544, in _open
'_open', req)
File "/usr/lib/python3.6/urllib/request.py", line 504, in _call_chain
result = func(*args)
File "/usr/lib/python3.6/urllib/request.py", line 1353, in http_open
return self.do_open(http.client.HTTPConnection, req)
File "/usr/lib/python3.6/urllib/request.py", line 1327, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [Errno 101] Network is unreachable>
3- I try again on Win10 and it gives the same error
4- I stop wifi emision on the gopro and restart it
5- I try on Win10 it works
From here i thought that maybe it got "paired" with the Win 10 computer somehow and tried again on the Jetson nano --> Not working.
What could I check to get rig of this http 101 error ? I tried modifying my wifi settings on the nano but it was of no help.
Bonus question : is the 2-3s lag normal ? Can it be improved ?
Thank a lot anyway for this great code.
Bye !
The text was updated successfully, but these errors were encountered:
Hi every one,
I followed the following steps and would need some insight on the reason of the issue :
1- Tested the code on my laptop (Win10) and it works fine --> OK
2- Tested it on my NVIDIA Jetson nano with (Ubuntu 18.04.4-bionic) but i get the following error.
--> http 101 - gone
3- I try again on Win10 and it gives the same error
4- I stop wifi emision on the gopro and restart it
5- I try on Win10 it works
From here i thought that maybe it got "paired" with the Win 10 computer somehow and tried again on the Jetson nano --> Not working.
What could I check to get rig of this http 101 error ? I tried modifying my wifi settings on the nano but it was of no help.
Bonus question : is the 2-3s lag normal ? Can it be improved ?
Thank a lot anyway for this great code.
Bye !
The text was updated successfully, but these errors were encountered: