Openembedded Bitbake Development
 help / color / mirror / Atom feed
* Joshua Lock : ui/crumbs/runningbuild: handle InvalidTask events
@ 2011-12-20 13:21 git
  0 siblings, 0 replies; only message in thread
From: git @ 2011-12-20 13:21 UTC (permalink / raw)
  To: bitbake-devel

Module: bitbake.git
Branch: master
Commit: 540ba78075bd525776aa23bf38bee66350c66534
URL:    http://git.openembedded.org/?p=bitbake.git&a=commit;h=540ba78075bd525776aa23bf38bee66350c66534

Author: Joshua Lock <josh@linux.intel.com>
Date:   Tue Dec 13 14:45:41 2011 -0800

ui/crumbs/runningbuild: handle InvalidTask events

The knotty UI just ignores these and so should RunningBuild, if these events
aren't handled the UI appears to hang.

Fixes [YOCTO #1665]

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

---

 lib/bb/ui/crumbs/runningbuild.py |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/lib/bb/ui/crumbs/runningbuild.py b/lib/bb/ui/crumbs/runningbuild.py
index 509590a..4f609fc 100644
--- a/lib/bb/ui/crumbs/runningbuild.py
+++ b/lib/bb/ui/crumbs/runningbuild.py
@@ -179,6 +179,10 @@ class RunningBuild (gobject.GObject):
             # that we need to attach to a task.
             self.tasks_to_iter[(package, task)] = i
 
+        # If we don't handle these the GUI does not proceed
+        elif isinstance(event, bb.build.TaskInvalid):
+            return
+
         elif isinstance(event, bb.build.TaskBase):
             current = self.tasks_to_iter[(package, task)]
             parent = self.tasks_to_iter[(package, None)]




^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2011-12-20 13:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-20 13:21 Joshua Lock : ui/crumbs/runningbuild: handle InvalidTask events git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox