From patchwork Fri Feb 1 08:56:45 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [bitbake-devel,1/1] knotty.py: fix unknown event bb.event.DiskFull Date: Fri, 01 Feb 2013 08:56:45 -0000 From: Robert Yang X-Patchwork-Id: 43793 Message-Id: To: Cc: Zhenfeng.Zhao@windriver.com 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] Signed-off-by: Robert Yang --- 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 a2983ca..6834b83 100644 --- a/bitbake/lib/bb/ui/knotty.py +++ b/bitbake/lib/bb/ui/knotty.py @@ -453,7 +453,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)