From 114a3fe3f23ef09782c5aa18f425d0d0dbdfdd35 Mon Sep 17 00:00:00 2001 From: Ed Bartosh Date: Tue, 27 Sep 2016 16:16:55 +0100 Subject: [PATCH] toaster: fix 'Unhandled MetadataEvent' error New MetadataEvent 'TaskArtifacts' causes this error. Processing of this event will hopefully be implemented in future. For now it should be enough to just skip it. Signed-off-by: Ed Bartosh Signed-off-by: Michael Wood Signed-off-by: Richard Purdie --- lib/bb/ui/toasterui.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/bb/ui/toasterui.py b/lib/bb/ui/toasterui.py index 569957a2ff4..2bc45b63128 100644 --- a/lib/bb/ui/toasterui.py +++ b/lib/bb/ui/toasterui.py @@ -431,6 +431,10 @@ def main(server, eventHandler, params): buildinfohelper.scan_sdk_artifacts(event) elif event.type == "SetBRBE": buildinfohelper.brbe = buildinfohelper._get_data_from_event(event) + elif event.type == "TaskArtifacts": + # not implemented yet + # see https://bugzilla.yoctoproject.org/show_bug.cgi?id=10283 for details + pass elif event.type == "OSErrorException": logger.error(event) else: -- 2.47.3