[oe-commits] [bitbake] 14/15: toaster: fix 'Unhandled MetadataEvent' error

git at git.openembedded.org git at git.openembedded.org
Wed Sep 28 14:05:09 UTC 2016


rpurdie pushed a commit to branch master-next
in repository bitbake.

commit 114a3fe3f23ef09782c5aa18f425d0d0dbdfdd35
Author: Ed Bartosh <ed.bartosh at linux.intel.com>
AuthorDate: Tue Sep 27 16:16:55 2016 +0100

    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 at linux.intel.com>
    Signed-off-by: Michael Wood <michael.g.wood at intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 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 569957a..2bc45b6 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:

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list