Skip to content

Improve error messages from fridge system #6

@danr

Description

@danr

Improve error messages from fridge system:

2025-03-24 15:37:18.517|fridge|255872|{"msg":"stx.write(b'STX2ServiceMovePlate(STX,1,0,0,1,1,STX,2,2,13,1,1)\\r')"}
2025-03-24 15:37:52.389|fridge|255872|{"msg":"stx.read() = b'-STX;1\\r\\n'"}
2025-03-24 15:37:52.458|fridge|255872|{"msg":"Traceback (most recent call last):"}
2025-03-24 15:37:52.467|fridge|255872|{"msg":"  File \"c:\\robotlab\\labrobots\\labrobots\\machine.py\", line 186, in call"}
2025-03-24 15:37:52.474|fridge|255872|{"msg":"    value = fn(*args, **kwargs)"}
2025-03-24 15:37:52.482|fridge|255872|{"msg":"  File \"c:\\robotlab\\labrobots\\labrobots\\liconic.py\", line 326, in insert"}
2025-03-24 15:37:52.488|fridge|255872|{"msg":"    self.put(loc)"}
2025-03-24 15:37:52.493|fridge|255872|{"msg":"  File \"c:\\robotlab\\labrobots\\labrobots\\liconic.py\", line 188, in put"}
2025-03-24 15:37:52.498|fridge|255872|{"msg":"    self._move(trg_pos='Hotel', trg_slot=slot, trg_level=level)"}
2025-03-24 15:37:52.503|fridge|255872|{"msg":"  File \"c:\\robotlab\\labrobots\\labrobots\\liconic.py\", line 221, in _move"}
2025-03-24 15:37:52.509|fridge|255872|{"msg":"    assert self.call('STX2ServiceMovePlate', *args.values()) == \"1\""}
2025-03-24 15:37:52.515|fridge|255872|{"msg":"AssertionError"}
2025-03-24 15:37:52.521|fridge|255872|{"cmd":"insert","args":["1117136620","PHE002"],"type":"error","error":"AssertionError()"}
2025-03-24 15:41:49.927|fridge|256066|{"msg":"insert('1117136620', 'PHE002')","cmd":"insert","args":["1117136620","PHE002"],"type":"call"}
2025-03-24 15:41:49.940|fridge|256066|{"msg":"stx.write(b'STX2ServiceMovePlate(STX,1,0,0,1,1,STX,2,2,13,1,1)\\r')"}
2025-03-24 15:41:51.098|fridge|256066|{"msg":"stx.read() = b'-STX;7\\r\\n'"}
2025-03-24 15:41:51.108|fridge|256066|{"msg":"Traceback (most recent call last):"}
2025-03-24 15:41:51.116|fridge|256066|{"msg":"  File \"c:\\robotlab\\labrobots\\labrobots\\machine.py\", line 186, in call"}
2025-03-24 15:41:51.125|fridge|256066|{"msg":"    value = fn(*args, **kwargs)"}
2025-03-24 15:41:51.133|fridge|256066|{"msg":"  File \"c:\\robotlab\\labrobots\\labrobots\\liconic.py\", line 326, in insert"}
2025-03-24 15:41:51.140|fridge|256066|{"msg":"    self.put(loc)"}
2025-03-24 15:41:51.145|fridge|256066|{"msg":"  File \"c:\\robotlab\\labrobots\\labrobots\\liconic.py\", line 188, in put"}
2025-03-24 15:41:51.151|fridge|256066|{"msg":"    self._move(trg_pos='Hotel', trg_slot=slot, trg_level=level)"}
2025-03-24 15:41:51.157|fridge|256066|{"msg":"  File \"c:\\robotlab\\labrobots\\labrobots\\liconic.py\", line 221, in _move"}
2025-03-24 15:41:51.162|fridge|256066|{"msg":"    assert self.call('STX2ServiceMovePlate', *args.values()) == \"1\""}
2025-03-24 15:41:51.167|fridge|256066|{"msg":"AssertionError"}
2025-03-24 15:41:51.172|fridge|256066|{"cmd":"insert","args":["1117136620","PHE002"],"type":"error","error":"AssertionError()"}```

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