From e89f812a0af56beda951c1dce6113a61d6db8cda Mon Sep 17 00:00:00 2001 From: Robert Yang Date: Fri, 1 Feb 2013 16:56:45 +0800 Subject: bitbake: knotty.py: fix unknown event bb.event.DiskFull There is an error: ERROR: No new tasks can be excuted since the disk space monitor action is "STOPTASKS"! ERROR: Unknown event: This is because we don't handle the event bb.event.DiskFull in knotty.py, we don't want the knotty to do anything here since we have done everything in monitordisk.py, so just ignore this event would fix the problem. [YOCTO #3523] (Bitbake rev: 571d88c10dee674a27d39db81bc245425fe2b27e) Signed-off-by: Robert Yang Signed-off-by: Richard Purdie --- bitbake/lib/bb/ui/knotty.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bitbake/lib/bb/ui/knotty.py b/bitbake/lib/bb/ui/knotty.py index 8c63d74d9c..82111a1104 100644 --- a/bitbake/lib/bb/ui/knotty.py +++ b/bitbake/lib/bb/ui/knotty.py @@ -449,7 +449,8 @@ def main(server, eventHandler, tf = TerminalFilter): bb.runqueue.runQueueExitWait, bb.event.OperationStarted, bb.event.OperationCompleted, - bb.event.OperationProgress)): + bb.event.OperationProgress, + bb.event.DiskFull)): continue logger.error("Unknown event: %s", event) -- cgit v1.2.3-54-g00ecf