runningbuild.py: fix goggle ui
PATCH 1/1 runningbuild.py: fix goggle ui
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'
--- lib/bb/ui/crumbs/runningbuild.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
lib/bb/ui/crumbs/runningbuild.py +1 -1
@@ -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"):
Signature · 1 line
1.7.7.6
Quoted 9 lines · Eric Bénard
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, inevent_handle_idle_func
build.handle_event (event, pbar)
File ".../bitbake/lib/bb/ui/crumbs/runningbuild.py", line 287, inhandle_event
pbar.set_text(event.msg)
AttributeError: 'ProgressBar' object has no attribute 'set_text'Signed-off-by Eric Bénard<[email protected]>
Quoted 17 lines
--- lib/bb/ui/crumbs/runningbuild.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)lib/bb/ui/crumbs/runningbuild.py +1
-1@@ -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"):
Signature · 3 lines
Joshua '贾詡' Lock
Yocto Project "Johannes factotum"
Intel Open Source Technology Centre