-
Improvement
-
Resolution: Fixed
-
Major
-
master
Turning on demo mode, turning it off, then turning it on again a second time will crash the control panel with the exception:
Dec 04 06:48:06 raspberrypi4-64 python3[716]: Traceback (most recent call last): Dec 04 06:48:06 raspberrypi4-64 python3[716]: File "/usr/libexec/agl-demo-control-panel/Widgets/ICPage.py", line 280, in handle_Script_toggle Dec 04 06:48:06 raspberrypi4-64 python3[716]: self.vehicle_simulator.start() Dec 04 06:48:06 raspberrypi4-64 python3[716]: File "/usr/libexec/agl-demo-control-panel/Widgets/ICPage.py", line 387, in start Dec 04 06:48:06 raspberrypi4-64 python3[716]: self.thread.start() Dec 04 06:48:06 raspberrypi4-64 python3[716]: File "/usr/lib/python3.10/threading.py", line 930, in start Dec 04 06:48:06 raspberrypi4-64 python3[716]: raise RuntimeError("threads can only be started once") Dec 04 06:48:06 raspberrypi4-64 python3[716]: RuntimeError: threads can only be started once
# | Subject | Branch | Project | Status | CR | V |
---|---|---|---|---|---|---|
29499,1 | Fix demo mode crash due to demo mode toggle | master | src/agl-demo-control-panel | Status: MERGED | +2 | 0 |
29507,2 | agl-demo-control-panel: update SRCREV | master | AGL/meta-agl-demo | Status: MERGED | +2 | +1 |