| Summary: | [Hob2] 'HobNotebook' no attribute 'tabbar' when build failure | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] Hob | Reporter: | Jiajun Xu <jiajun.xu> |
| Component: | hob | Assignee: | anliming <limingx.l.an> |
| Status: | VERIFIED WORKSFORME | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | alexandru.c.georgescu, hongnax.xu, jessica.zhang, jiajun.xu, laurentiu.serban, ningx.ma, poky.bs.watcher, poky.watcher, shane.wang, yilongx.y.sun |
| Version: | unspecified | ||
| Target Milestone: | 1.3 M2 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
Liming's commit http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=c8c8d75f234121172117c42106f7840472a9ce66 should have already fixed that. But M1 doesn't include that because RP checked in it after M1. Verified |
tree/branch: poky/master commit: df8f55a919b3cc602ce1f1c51630c7edf6e36b55 When testing with latest master, I find if a build fails, Hob will reports 'HobNotebook' object has no attribute 'tabbar' and be no reponse. Detailed error message as below. To reproduce the issue, you could modify a recipe and make it not pass build and build the recipe only in Hob. ###### [build@jiajun-desktop hob]$ hob Traceback (most recent call last): File "/distro/m1-full/bitbake/lib/bb/ui/crumbs/builder.py", line 899, in handler_build_failed_cb self.build_failed() File "/distro/m1-full/bitbake/lib/bb/ui/crumbs/builder.py", line 882, in build_failed self.build_details_page.show_fail_page(fail_to_next_edit.split(' ')[0], fail_to_next_edit) File "/distro/m1-full/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 "/distro/m1-full/bitbake/lib/bb/ui/crumbs/builddetailspage.py", line 221, in add_build_fail_top_bar self.notebook.set_page("Issues") File "/distro/m1-full/bitbake/lib/bb/ui/crumbs/hobwidget.py", line 535, in set_page for child in self.tabbar.children: AttributeError: 'HobNotebook' object has no attribute 'tabbar' ######