[gnome-continuous-yocto/gnomeostree-3.28-rocko: 2769/8267] bitbake: toaster: fix 'Unhandled MetadataEvent' error



commit af0f6793448ed948d748705529fdf8c0f8a764e1
Author: Ed Bartosh <ed bartosh linux intel com>
Date:   Tue Sep 27 16:16:55 2016 +0100

    bitbake: 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.
    
    (Bitbake rev: 114a3fe3f23ef09782c5aa18f425d0d0dbdfdd35)
    
    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>

 bitbake/lib/bb/ui/toasterui.py |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/bitbake/lib/bb/ui/toasterui.py b/bitbake/lib/bb/ui/toasterui.py
index 569957a..2bc45b6 100644
--- a/bitbake/lib/bb/ui/toasterui.py
+++ b/bitbake/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:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]