Bug 2621

Summary: [Hob2]Set_page() issue when build image in hob
Product: [Build System, Metadata & Runtime] Hob Reporter: Hongna Xu <hongnax.xu>
Component: hobAssignee: anliming <limingx.l.an>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Undecided CC: dongxiao.xu, jessica.zhang, jiajun.xu, poky.bs.watcher, poky.watcher, shane.wang, yilongx.y.sun
Version: unspecified   
Target Milestone: ---   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---
Attachments:
Description Flags
The hob window popup "close window" none

Description Hongna Xu 2012-06-19 03:33:02 UTC
Created attachment 597 [details]
The hob window popup "close window"

with 1.3 M1 commit 7f017cab0b3e4d5a4fc356eccd8eb8429b0531d0, when i build qemux86 core-image-minimal, i got the error as attachment, and the terminal which launched hob shows:
*************************
Traceback (most recent call last):
  File "/home/xuhongna/workspace/forHOB/poky/bitbake/lib/bb/ui/crumbs/builder.py", line 927, in handler_no_provider_cb
    self.build_failed()
  File "/home/xuhongna/workspace/forHOB/poky/bitbake/lib/bb/ui/crumbs/builder.py", line 902, in build_failed
    self.build_details_page.show_fail_page(fail_to_next_edit.split(' ')[0], fail_to_next_edit)
  File "/home/xuhongna/workspace/forHOB/poky/bitbake/lib/bb/ui/crumbs/builddetailspage.py", line 271, in show_fail_page
    self.build_fail_bar = self.add_build_fail_top_bar(action_names)
  File "/home/xuhongna/workspace/forHOB/poky/bitbake/lib/bb/ui/crumbs/builddetailspage.py", line 221, in add_build_fail_top_bar
    self.notebook.set_page("Issues")
TypeError: an integer is required
****************************
Comment 1 anliming 2012-06-19 08:28:38 UTC
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=2295ef1dc3fa012423a44be2d9c5468ae7191f0c
This patch had be merged to master, but not in 1.3_M1.
Comment 2 Hongna Xu 2012-06-27 08:17:34 UTC
verify it as fixed on lastest poky/master:bcc04b2880b44140176e1d2dcc955a3d3942c392