Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash during connect #58

Open
PatrickBaus opened this issue Jun 22, 2024 · 0 comments
Open

Crash during connect #58

PatrickBaus opened this issue Jun 22, 2024 · 0 comments

Comments

@PatrickBaus
Copy link
Owner

kraken-stream | future: <Task finished name='Task-5' coro=<HostManager.run() done, defined at /app/managers.py:381> exception=ValueError('Invalid sid: 0. sid must be in (0, ).')>
kraken-stream | Traceback (most recent call last):
kraken-stream | File "/app/managers.py", line 403, in run
kraken-stream | await sensor_stream
kraken-stream | File "/opt/venv/lib/python3.12/site-packages/aiostream/core.py", line 65, in wait_stream
kraken-stream | async for item in streamer:
kraken-stream | File "/opt/venv/lib/python3.12/site-packages/aiostream/aiter_utils.py", line 207, in aexit
kraken-stream | await self._aiterator.athrow(value)
kraken-stream | File "/opt/venv/lib/python3.12/site-packages/aiostream/aiter_utils.py", line 207, in aexit
kraken-stream | await self._aiterator.athrow(value)
kraken-stream | File "/opt/venv/lib/python3.12/site-packages/aiostream/aiter_utils.py", line 207, in aexit
kraken-stream | await self._aiterator.athrow(value)
kraken-stream | [Previous line repeated 14 more times]
kraken-stream | File "/opt/venv/lib/python3.12/site-packages/tinkerforge_async/bricklet_temperature_v2.py", line 270, in read_events
kraken-stream | yield Event(self, 0, function_id, self.__value_to_si(value))
kraken-stream | File "/opt/venv/lib/python3.12/site-packages/aiostream/stream/combine.py", line 69, in zip
kraken-stream | yield (item,)
kraken-stream | File "/opt/venv/lib/python3.12/site-packages/aiostream/stream/combine.py", line 124, in smap
kraken-stream | yield func(*item)
kraken-stream | File "/opt/venv/lib/python3.12/site-packages/aiostream/stream/advanced.py", line 110, in base_combine
kraken-stream | yield item
kraken-stream | File "/opt/venv/lib/python3.12/site-packages/aiostream/stream/advanced.py", line 110, in base_combine
kraken-stream | yield item
kraken-stream | File "/opt/venv/lib/python3.12/site-packages/aiostream/stream/combine.py", line 46, in chain
kraken-stream | yield item
kraken-stream | File "/opt/venv/lib/python3.12/site-packages/aiostream/stream/advanced.py", line 110, in base_combine
kraken-stream | yield item
kraken-stream | File "/opt/venv/lib/python3.12/site-packages/aiostream/stream/advanced.py", line 110, in base_combine
kraken-stream | yield item
kraken-stream | File "/app/helper_functions.py", line 186, in context
kraken-stream | yield item
kraken-stream | File "/opt/venv/lib/python3.12/site-packages/aiostream/stream/advanced.py", line 110, in base_combine
kraken-stream | yield item
kraken-stream | File "/opt/venv/lib/python3.12/site-packages/aiostream/stream/combine.py", line 46, in chain
kraken-stream | yield item
kraken-stream | File "/app/helper_functions.py", line 186, in context
kraken-stream | yield item
kraken-stream | File "/opt/venv/lib/python3.12/site-packages/aiostream/stream/advanced.py", line 110, in base_combine
kraken-stream | yield item
kraken-stream | File "/app/helper_functions.py", line 145, in retry
kraken-stream | yield item
kraken-stream | File "/opt/venv/lib/python3.12/site-packages/aiostream/stream/advanced.py", line 110, in base_combine
kraken-stream | yield item
kraken-stream | File "/opt/venv/lib/python3.12/site-packages/aiostream/stream/combine.py", line 69, in zip
kraken-stream | yield (item,)
kraken-stream | File "/opt/venv/lib/python3.12/site-packages/aiostream/stream/combine.py", line 124, in smap
kraken-stream | yield func(*item)
kraken-stream | File "/opt/venv/lib/python3.12/site-packages/aiostream/stream/advanced.py", line 75, in base_combine
kraken-stream | result = task.result()
kraken-stream | ^^^^^^^^^^^^^
kraken-stream | File "/opt/venv/lib/python3.12/site-packages/aiostream/stream/combine.py", line 123, in smap
kraken-stream | async for item in streamer:
kraken-stream | File "/opt/venv/lib/python3.12/site-packages/aiostream/stream/combine.py", line 68, in zip
kraken-stream | async for item in streamer:
kraken-stream | File "/opt/venv/lib/python3.12/site-packages/aiostream/stream/advanced.py", line 75, in base_combine
kraken-stream | result = task.result()
kraken-stream | ^^^^^^^^^^^^^
kraken-stream | File "/app/helper_functions.py", line 144, in retry
kraken-stream | async for item in streamer:
kraken-stream | File "/opt/venv/lib/python3.12/site-packages/aiostream/stream/advanced.py", line 75, in base_combine
kraken-stream | result = task.result()
kraken-stream | ^^^^^^^^^^^^^
kraken-stream | File "/app/helper_functions.py", line 185, in context
kraken-stream | async for item in streamer:
kraken-stream | File "/opt/venv/lib/python3.12/site-packages/aiostream/stream/combine.py", line 45, in chain
kraken-stream | async for item in streamer:
kraken-stream | File "/opt/venv/lib/python3.12/site-packages/aiostream/aiter_utils.py", line 207, in aexit
kraken-stream | await self._aiterator.athrow(value)
kraken-stream | File "/opt/venv/lib/python3.12/site-packages/aiostream/aiter_utils.py", line 207, in aexit
kraken-stream | await self._aiterator.athrow(value)
kraken-stream | File "/opt/venv/lib/python3.12/site-packages/aiostream/aiter_utils.py", line 207, in aexit
kraken-stream | await self._aiterator.athrow(value)
kraken-stream | [Previous line repeated 6 more times]
kraken-stream | File "/opt/venv/lib/python3.12/site-packages/tinkerforge_async/bricklet_temperature_v2.py", line 270, in read_events
kraken-stream | yield Event(self, 0, function_id, self.__value_to_si(value))
kraken-stream | File "/opt/venv/lib/python3.12/site-packages/aiostream/stream/combine.py", line 69, in zip
kraken-stream | yield (item,)
kraken-stream | File "/opt/venv/lib/python3.12/site-packages/aiostream/stream/combine.py", line 124, in smap
kraken-stream | yield func(*item)
kraken-stream | File "/opt/venv/lib/python3.12/site-packages/aiostream/stream/advanced.py", line 110, in base_combine
kraken-stream | yield item
kraken-stream | File "/opt/venv/lib/python3.12/site-packages/aiostream/stream/advanced.py", line 110, in base_combine
kraken-stream | yield item
kraken-stream | File "/opt/venv/lib/python3.12/site-packages/aiostream/stream/combine.py", line 46, in chain
kraken-stream | yield item
kraken-stream | File "/opt/venv/lib/python3.12/site-packages/aiostream/stream/advanced.py", line 110, in base_combine
kraken-stream | yield item
kraken-stream | File "/opt/venv/lib/python3.12/site-packages/aiostream/stream/advanced.py", line 110, in base_combine
kraken-stream | yield item
kraken-stream | File "/app/helper_functions.py", line 186, in context
kraken-stream | yield item
kraken-stream | File "/opt/venv/lib/python3.12/site-packages/aiostream/stream/advanced.py", line 75, in base_combine
kraken-stream | result = task.result()
kraken-stream | ^^^^^^^^^^^^^
kraken-stream | File "/app/helper_functions.py", line 185, in context
kraken-stream | async for item in streamer:
kraken-stream | File "/opt/venv/lib/python3.12/site-packages/aiostream/stream/advanced.py", line 75, in base_combine
kraken-stream | result = task.result()
kraken-stream | ^^^^^^^^^^^^^
kraken-stream | File "/opt/venv/lib/python3.12/site-packages/aiostream/stream/advanced.py", line 75, in base_combine
kraken-stream | result = task.result()
kraken-stream | ^^^^^^^^^^^^^
kraken-stream | File "/opt/venv/lib/python3.12/site-packages/aiostream/stream/combine.py", line 45, in chain
kraken-stream | async for item in streamer:
kraken-stream | File "/opt/venv/lib/python3.12/site-packages/aiostream/stream/advanced.py", line 75, in base_combine
kraken-stream | result = task.result()
kraken-stream | ^^^^^^^^^^^^^
kraken-stream | File "/opt/venv/lib/python3.12/site-packages/aiostream/stream/combine.py", line 123, in smap
kraken-stream | async for item in streamer:
kraken-stream | File "/opt/venv/lib/python3.12/site-packages/aiostream/stream/combine.py", line 68, in zip
kraken-stream | async for item in streamer:
kraken-stream | File "/opt/venv/lib/python3.12/site-packages/aiostream/stream/advanced.py", line 75, in base_combine
kraken-stream | result = task.result()
kraken-stream | ^^^^^^^^^^^^^
kraken-stream | File "/opt/venv/lib/python3.12/site-packages/aiostream/stream/advanced.py", line 75, in base_combine
kraken-stream | result = task.result()
kraken-stream | ^^^^^^^^^^^^^
kraken-stream | File "/opt/venv/lib/python3.12/site-packages/aiostream/stream/combine.py", line 154, in func
kraken-stream | yield await corofn(arg, *args)
kraken-stream | ^^^^^^^^^^^^^^^^^^^^^^^^
kraken-stream | File "/opt/venv/lib/python3.12/site-packages/aiostream/stream/transform.py", line 84, in astarfunc
kraken-stream | return await awaitable
kraken-stream | ^^^^^^^^^^^^^^^
kraken-stream | File "/app/sensors/drivers/tinkerforge.py", line 205, in _set_callback_configuration
kraken-stream | await self.device.set_callback_configuration(sid, *config)
kraken-stream | File "/opt/venv/lib/python3.12/site-packages/tinkerforge_async/bricklet_thermocouple_v2.py", line 202, in set_callback_configuration
kraken-stream | raise ValueError(f"Invalid sid: {sid}. sid must be in (0, ).")
kraken-stream | ValueError: Invalid sid: 0. sid must be in (0, ).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant