Skip to contentSkip to conversation

knotty.py: fix unknown event bb.event.DiskFull

PATCH New Robert Yang 1 participant 2 messages Feb 1, 2013

lore
Share & tools
lore
#0 lore raw

cover knotty.py: fix unknown event bb.event.DiskFull

The following changes since commit 8d80483e2f0f755a61087be1dffaf595fbc467fd:

bitbake: bitbake-layers: print the recipe's depends that crosses a layer boundary (2013-01-31 14:00:03 +0000)

are available in the git repository at:

git://git.pokylinux.org/poky-contrib robert/knotty
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=robert/knotty

Robert Yang (1):
knotty.py: fix unknown event bb.event.DiskFull

 bitbake/lib/bb/ui/knotty.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Signature · 1 line
1.7.11.2
#1 lore raw

PATCH 1/1 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: <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]

---
 bitbake/lib/bb/ui/knotty.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
bitbake/lib/bb/ui/knotty.py +2 -1
index a2983ca..6834b83 100644
@@ -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)
Signature · 1 line
1.7.11.2