From patchwork Wed Mar 21 15:44:51 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [bitbake-devel] runningbuild.py: fix goggle ui Date: Wed, 21 Mar 2012 15:44:51 -0000 From: Eric BENARD X-Patchwork-Id: 24021 Message-Id: <1332344691-24973-1-git-send-email-eric@eukrea.com> To: bitbake-devel@lists.openembedded.org without this fix I get the following error once the build is finished : Traceback (most recent call last): File ".../bitbake/lib/bb/ui/goggle.py", line 35, in event_handle_idle_func build.handle_event (event, pbar) File ".../bitbake/lib/bb/ui/crumbs/runningbuild.py", line 287, in handle_event pbar.set_text(event.msg) AttributeError: 'ProgressBar' object has no attribute 'set_text' Signed-off-by: Eric Bénard Signed-off-by: Joshua Lock --- lib/bb/ui/crumbs/runningbuild.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/bb/ui/crumbs/runningbuild.py b/lib/bb/ui/crumbs/runningbuild.py index 4c3fe2c..343eac9 100644 --- a/lib/bb/ui/crumbs/runningbuild.py +++ b/lib/bb/ui/crumbs/runningbuild.py @@ -284,7 +284,7 @@ class RunningBuild (gobject.GObject): # handle when the build is finished self.emit("build-complete") if pbar: - pbar.set_text(event.msg) + pbar.set_title(event.msg) elif isinstance(event, bb.command.CommandFailed): if event.error.startswith("Exited with"):