I am testing with 3.5 version board.
I tested it with Odrivetool and it’s clear.
Odrivetool is 0.5.2.post0.
There was a problem during the test for control in python.
The problem occurs in save_configuration().
So I tested it in console mode as below.
The test results were the same error for both python 3.9 and 3.8.
– test log –
Python 3.8.7 (tags/v3.8.7:6503f05, Dec 21 2020, 17:59:51) [MSC v.1928 64 bit (AMD64)] on win32
Type “help”, “copyright”, “credits” or “license” for more information.
import odrive
odrv0 = odrive.find_any()
odrv0.save_configuration()
Traceback (most recent call last):
File “”, line 1, in
File “D:\SVN\rbiotech\Mobility\motion\source\pythonProject1\venv\Lib\site-packages\odrive\pyfibre\fibre\libfibre.py”, line 582, in call
return run_coroutine_threadsafe(self._libfibre.loop, lambda: self.call(*args))
File “D:\SVN\rbiotech\Mobility\motion\source\pythonProject1\venv\Lib\site-packages\odrive\pyfibre\fibre\libfibre.py”, line 297, in run_coroutine_threadsafe
return future.result()
File “C:\Program Files\Python38\lib\concurrent\futures_base.py”, line 439, in result
return self.__get_result()
File “C:\Program Files\Python38\lib\concurrent\futures_base.py”, line 388, in __get_result
raise self._exception
File “D:\SVN\rbiotech\Mobility\motion\source\pythonProject1\venv\Lib\site-packages\odrive\pyfibre\fibre\libfibre.py”, line 292, in func_async
result = await result
File “D:\SVN\rbiotech\Mobility\motion\source\pythonProject1\venv\Lib\site-packages\odrive\pyfibre\fibre\libfibre.py”, line 549, in async_call
tx_buf, rx_chunk, is_closed = await agen.asend((tx_buf, self._rx_size - len(rx_buf), True))
File “D:\SVN\rbiotech\Mobility\motion\source\pythonProject1\venv\Lib\site-packages\odrive\pyfibre\fibre\libfibre.py”, line 471, in asend
return await self.anext()
File “D:\SVN\rbiotech\Mobility\motion\source\pythonProject1\venv\Lib\site-packages\odrive\pyfibre\fibre\libfibre.py”, line 500, in anext
raise _get_exception(status)
fibre.libfibre.ObjectLostError: the object disappeared