[2021-03-21T11:34:07.763Z][ERROR] datastreamservicelib.service (87257) /Users/rambo/.virtualenvs/mcscpi/lib/python3.8/site-packages/datastreamservicelib/service.py:report_error_remove_tracking:163 | Task <Task finished name='mmtask' coro=<MCSCPIService.multimeter_task() done, defined at /Users/rambo/devel/miocoach/python/python-mcscpi/src/mcscpi/service.py:47> exception=RuntimeError('Recursion on get_error detected')> raised exception Recursion on get_error detected
[2021-03-21T11:34:07.763Z][ERROR] datastreamservicelib.service (87257) /Users/rambo/.virtualenvs/mcscpi/lib/python3.8/site-packages/datastreamservicelib/service.py:default_exception_handler:80 | Unhandled in loop <_UnixSelectorEventLoop running=True closed=False debug=False>
Traceback (most recent call last):
File "/Users/rambo/.virtualenvs/mcscpi/lib/python3.8/site-packages/scpi/scpi.py", line 201, in ask
return await self.transport.get_response()
File "/Users/rambo/.virtualenvs/mcscpi/lib/python3.8/site-packages/scpi/transports/gpib/base.py", line 78, in get_response
return await self.lltransport.get_response()
File "/Users/rambo/.virtualenvs/mcscpi/lib/python3.8/site-packages/scpi/transports/gpib/prologix.py", line 59, in get_response
return await self.send_and_read("++read eoi")
File "/Users/rambo/.virtualenvs/mcscpi/lib/python3.8/site-packages/scpi/transports/gpib/prologix.py", line 76, in send_and_read
await asyncio.sleep(0)
File "/Users/rambo/.pyenv/versions/3.8.6/lib/python3.8/asyncio/tasks.py", line 641, in sleep
await __sleep0()
File "/Users/rambo/.pyenv/versions/3.8.6/lib/python3.8/asyncio/tasks.py", line 635, in __sleep0
yield
asyncio.exceptions.CancelledError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/rambo/.pyenv/versions/3.8.6/lib/python3.8/asyncio/events.py", line 81, in _run
self._context.run(self._callback, *self._args)
File "/Users/rambo/.virtualenvs/mcscpi/lib/python3.8/site-packages/datastreamservicelib/service.py", line 164, in report_error_remove_tracking
raise exc
File "/Users/rambo/devel/miocoach/python/python-mcscpi/src/mcscpi/service.py", line 59, in multimeter_task
response = await device.ask("MEAS:VOLT:DC? 1,0.0005")
File "/Users/rambo/.virtualenvs/mcscpi/lib/python3.8/site-packages/scpi/scpi.py", line 215, in safe_ask
await self.check_error(command)
File "/Users/rambo/.virtualenvs/mcscpi/lib/python3.8/site-packages/scpi/scpi.py", line 171, in check_error
code, errstr = await self.get_error()
File "/Users/rambo/.virtualenvs/mcscpi/lib/python3.8/site-packages/scpi/scpi.py", line 158, in get_error
response = await self.ask("SYST:ERR?")
File "/Users/rambo/.virtualenvs/mcscpi/lib/python3.8/site-packages/scpi/scpi.py", line 205, in ask
await self.check_error(command)
File "/Users/rambo/.virtualenvs/mcscpi/lib/python3.8/site-packages/scpi/scpi.py", line 171, in check_error
code, errstr = await self.get_error()
File "/Users/rambo/.virtualenvs/mcscpi/lib/python3.8/site-packages/scpi/scpi.py", line 155, in get_error
raise RuntimeError("Recursion on get_error detected")
RuntimeError: Recursion on get_error detected
[2021-03-21T11:34:07.765Z][DEBUG] datastreamservicelib.service (87257) /Users/rambo/.virtualenvs/mcscpi/lib/python3.8/site-packages/datastreamservicelib/service.py:quit:52 | called with code=200
[2021-03-21T11:34:07.765Z][ERROR] datastreamservicelib.service (87257) /Users/rambo/.virtualenvs/mcscpi/lib/python3.8/site-packages/datastreamservicelib/service.py:stop_lingering_tasks:238 | Task <Task finished name='mmtask' coro=<MCSCPIService.multimeter_task() done, defined at /Users/rambo/devel/miocoach/python/python-mcscpi/src/mcscpi/service.py:47> exception=RuntimeError('Recursion on get_error detected')> returned exception
Traceback (most recent call last):
File "/Users/rambo/.virtualenvs/mcscpi/lib/python3.8/site-packages/scpi/scpi.py", line 201, in ask
return await self.transport.get_response()
File "/Users/rambo/.virtualenvs/mcscpi/lib/python3.8/site-packages/scpi/transports/gpib/base.py", line 78, in get_response
return await self.lltransport.get_response()
File "/Users/rambo/.virtualenvs/mcscpi/lib/python3.8/site-packages/scpi/transports/gpib/prologix.py", line 59, in get_response
return await self.send_and_read("++read eoi")
File "/Users/rambo/.virtualenvs/mcscpi/lib/python3.8/site-packages/scpi/transports/gpib/prologix.py", line 76, in send_and_read
await asyncio.sleep(0)
File "/Users/rambo/.pyenv/versions/3.8.6/lib/python3.8/asyncio/tasks.py", line 641, in sleep
await __sleep0()
File "/Users/rambo/.pyenv/versions/3.8.6/lib/python3.8/asyncio/tasks.py", line 635, in __sleep0
yield
asyncio.exceptions.CancelledError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/rambo/.virtualenvs/mcscpi/lib/python3.8/site-packages/datastreamservicelib/service.py", line 235, in stop_lingering_tasks
await self.stop_task_graceful(task)
File "/Users/rambo/.virtualenvs/mcscpi/lib/python3.8/site-packages/datastreamservicelib/service.py", line 226, in stop_task_graceful
return await task
File "/Users/rambo/.pyenv/versions/3.8.6/lib/python3.8/asyncio/events.py", line 81, in _run
self._context.run(self._callback, *self._args)
File "/Users/rambo/.virtualenvs/mcscpi/lib/python3.8/site-packages/datastreamservicelib/service.py", line 164, in report_error_remove_tracking
raise exc
File "/Users/rambo/devel/miocoach/python/python-mcscpi/src/mcscpi/service.py", line 59, in multimeter_task
response = await device.ask("MEAS:VOLT:DC? 1,0.0005")
File "/Users/rambo/.virtualenvs/mcscpi/lib/python3.8/site-packages/scpi/scpi.py", line 215, in safe_ask
await self.check_error(command)
File "/Users/rambo/.virtualenvs/mcscpi/lib/python3.8/site-packages/scpi/scpi.py", line 171, in check_error
code, errstr = await self.get_error()
File "/Users/rambo/.virtualenvs/mcscpi/lib/python3.8/site-packages/scpi/scpi.py", line 158, in get_error
response = await self.ask("SYST:ERR?")
File "/Users/rambo/.virtualenvs/mcscpi/lib/python3.8/site-packages/scpi/scpi.py", line 205, in ask
await self.check_error(command)
File "/Users/rambo/.virtualenvs/mcscpi/lib/python3.8/site-packages/scpi/scpi.py", line 171, in check_error
code, errstr = await self.get_error()
File "/Users/rambo/.virtualenvs/mcscpi/lib/python3.8/site-packages/scpi/scpi.py", line 155, in get_error
raise RuntimeError("Recursion on get_error detected")
RuntimeError: Recursion on get_error detected