-
Notifications
You must be signed in to change notification settings - Fork 748
Description
Description
Currently when using containerd snapshotter (e.g. can be enabled on HAOS 17 dev builds as mentioned in that comment home-assistant/operating-system#4360 (review)) Supervisor container image download progress processing raises errors like TypeError: unsupported operand type(s) for +=: 'int' and 'NoneType':
2025-11-05 14:46:03.749 DEBUG (MainThread) [supervisor.bus] Fire event 'docker_image_pull_update' with 'PullLogEntry(job_id='96e947dfba2b4923936b304840f6e798', id='1444a2cdea29', status='Extracting', progress='9 s', progress_detail=PullProgressDetail(current=9, total=None), error=None)'
2025-11-05 14:46:03.749 ERROR (MainThread) [asyncio] Task exception was never retrieved
future: <Task finished name='Task-38680' coro=<DockerInterface.install.<locals>.process_pull_image_log() done, defined at /usr/src/supervisor/supervisor/docker/interface.py:404> exception=TypeError("unsupported operand type(s) for +=: 'int' and 'NoneType'")>
Traceback (most recent call last):
File "/usr/src/supervisor/supervisor/docker/interface.py", line 406, in process_pull_image_log
self._process_pull_image_log(curr_job_id, reference)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/supervisor/supervisor/docker/interface.py", line 345, in _process_pull_image_log
total += job.extra["total"]
TypeError: unsupported operand type(s) for +=: 'int' and 'NoneType'
Additional context
No response
Copilot