[bitbake-devel,1/1] knotty.py: fix unknown event bb.event.DiskFull

Submitted by Robert Yang on Feb. 1, 2013, 8:56 a.m. | Patch ID: 43793


Message ID e0003fc8f4d0046be8813fd3b80cdc06f0933d49.1359697886.git.liezhi.yang@windriver.com
State New
Headers show

Commit Message

Robert Yang Feb. 1, 2013, 8:56 a.m.
There is an error:

ERROR: No new tasks can be excuted since the disk space monitor action
ERROR: Unknown event: <bb.event.DiskFull object at 0x2ab6310>

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 <liezhi.yang@windriver.com>
 bitbake/lib/bb/ui/knotty.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Patch hide | download patch | download mbox

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.event.OperationProgress)):
+                                  bb.event.OperationProgress,
+                                  bb.event.DiskFull)):
             logger.error("Unknown event: %s", event)