aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bb/ui
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2016-09-27 16:16:55 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-28 10:45:25 +0100
commit114a3fe3f23ef09782c5aa18f425d0d0dbdfdd35 (patch)
tree033bcffa56119aa769aac9d6e77ac178c78dbc84 /lib/bb/ui
parentc8f4ca008bf9396b0ed45d44bfe2220c82a614a9 (diff)
downloadbitbake-contrib-114a3fe3f23ef09782c5aa18f425d0d0dbdfdd35.tar.gz
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 <ed.bartosh@linux.intel.com> Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/ui')
-rw-r--r--lib/bb/ui/toasterui.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/bb/ui/toasterui.py b/lib/bb/ui/toasterui.py
index 569957a2f..2bc45b631 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: