Skip to content

Registration traceback error for device with certs #27

@BrandonLucasZhu

Description

@BrandonLucasZhu

Description

In Settings -> System, the option for register is still available. Once, register is clicked, the error is logged below.

Traceback

AttributeError: 'ICB' object has no attribute 'setattrs'
monitor | Exception in thread set_o2:
monitor | Traceback (most recent call last):
monitor | File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
monitor | self.run()
monitor | File "/usr/lib/python3.8/threading.py", line 870, in run
monitor | self._target(*self._args, **self._kwargs)
monitor | File "/app/monitor/ui/menu/sensors/o2.py", line 68, in set_o2
monitor | state.commit(icb)
monitor | File "/app/monitor/environment/state_manager.py", line 252, in commit
monitor | self.icb = state
monitor | File "/app/monitor/environment/state_manager.py", line 187, in icb
monitor | sr.icb.setattrs(**icb.dict)
monitor | AttributeError: 'ICB' object has no attribute 'setattrs'
monitor | Exception in thread set_co2:
monitor | Traceback (most recent call last):
monitor | File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
monitor | self.run()
monitor | File "/usr/lib/python3.8/threading.py", line 870, in run
monitor | self._target(*self._args, **self._kwargs)
monitor | File "/app/monitor/ui/menu/sensors/co2.py", line 69, in set_co2
monitor | state.commit(icb)
monitor | File "/app/monitor/environment/state_manager.py", line 252, in commit
monitor | self.icb = state
monitor | File "/app/monitor/environment/state_manager.py", line 187, in icb
monitor | sr.icb.setattrs(**icb.dict)
monitor | AttributeError: 'ICB' object has no attribute 'setattrs'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions