-
Notifications
You must be signed in to change notification settings - Fork 64
Open
Description
I have got an old phone with phyphox 1.1.6 and I cannot get update data using link
http://192.168.0.4:8080/get?gyr_time=0.63739031&gyrX=0.63739031%7Cgyr_time&gyrY=0.63739031%7Cgyr_time&gyrZ=0.63739031%7Cgyr_time&gyr=0.63739031%7Cgyr_time
In https://phyphox.org/wiki/index.php/Remote-interface_communication there is no comment about phyphox version with get.
error is http.client.RemoteDisconnected: Remote end closed connection without response
INFO: http://192.168.0.4:8080/get?gyr_time=0.63739031&gyrX=0.63739031%7Cgyr_time&gyrY=0.63739031%7Cgyr_time&gyrZ=0.63739031%7Cgyr_time&gyr=0.63739031%7Cgyr_time
Traceback (most recent call last):
File "C:\Users\laurent\AppData\Local\Programs\Python\Python313\Lib\pdb.py", line 2480, in main
pdb._run(target)
~~~~~~~~^^^^^^^^
File "C:\Users\laurent\AppData\Local\Programs\Python\Python313\Lib\pdb.py", line 2220, in _run
self.run(target.code)
~~~~~~~~^^^^^^^^^^^^^
File "C:\Users\laurent\AppData\Local\Programs\Python\Python313\Lib\bdb.py", line 666, in run
exec(cmd, globals, locals)
~~~~^^^^^^^^^^^^^^^^^^^^^^
File "<string>", line 1, in <module>
File "C:\lib\phyphox-py\src\phyphox\phyphox.py", line 490, in <module>
my_phone.get_measure(full_data=False)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "C:\lib\phyphox-py\src\phyphox\phyphox.py", line 391, in get_measure
with urllib.request.urlopen(self.base_url + lnk) as reponse:
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\laurent\AppData\Local\Programs\Python\Python313\Lib\urllib\request.py", line 189, in urlopen
return opener.open(url, data, timeout)
~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
File "C:\Users\laurent\AppData\Local\Programs\Python\Python313\Lib\urllib\request.py", line 489, in open
response = self._open(req, data)
File "C:\Users\laurent\AppData\Local\Programs\Python\Python313\Lib\urllib\request.py", line 506, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
'_open', req)
File "C:\Users\laurent\AppData\Local\Programs\Python\Python313\Lib\urllib\request.py", line 466, in _call_chain
result = func(*args)
File "C:\Users\laurent\AppData\Local\Programs\Python\Python313\Lib\urllib\request.py", line 1348, in http_open
return self.do_open(http.client.HTTPConnection, req)
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\laurent\AppData\Local\Programs\Python\Python313\Lib\urllib\request.py", line 1323, in do_open
r = h.getresponse()
File "C:\Users\laurent\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 1430, in getresponse
response.begin()
~~~~~~~~~~~~~~^^
File "C:\Users\laurent\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 331, in begin
version, status, reason = self._read_status()
~~~~~~~~~~~~~~~~~^^
File "C:\Users\laurent\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 300, in _read_status
raise RemoteDisconnected("Remote end closed connection without"
" response")
http.client.RemoteDisconnected: Remote end closed connection without response
Uncaught exception. Entering post mortem debugging
Running 'cont' or 'step' will restart the program
> c:\users\laurent\appdata\local\programs\python\python313\lib\http\client.py(300)_read_status()
-> raise RemoteDisconnected("Remote end closed connection without"
with full data it's OK with link
http://192.168.0.4:8080/get?gyr_time=full&gyrX=full&gyrY=full&gyrZ=full&gyr=full
and with phyphox 1.2.0 there is no problem
Metadata
Metadata
Assignees
Labels
No labels