<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>2581</bug_id>
          
          <creation_ts>2012-06-12 04:36:06 +0000</creation_ts>
          <short_desc>[Hob2] &apos;HobNotebook&apos; no attribute &apos;tabbar&apos; when build failure</short_desc>
          <delta_ts>2012-07-31 12:46:19 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>Hob</product>
          <component>hob</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.3 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jiajun Xu">jiajun.xu</reporter>
          <assigned_to name="anliming">limingx.l.an</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>hongnax.xu</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>jiajun.xu</cc>
    
    <cc>laurentiu.serban</cc>
    
    <cc>ningx.ma</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>shane.wang</cc>
    
    <cc>yilongx.y.sun</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>22019</commentid>
    <comment_count>0</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2012-06-12 04:36:06 +0000</bug_when>
    <thetext>tree/branch: poky/master
commit: df8f55a919b3cc602ce1f1c51630c7edf6e36b55

When testing with latest master, I find if a build fails, Hob will reports &apos;HobNotebook&apos; object has no attribute &apos;tabbar&apos; 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 &quot;/distro/m1-full/bitbake/lib/bb/ui/crumbs/builder.py&quot;, line 899, in handler_build_failed_cb
    self.build_failed()
  File &quot;/distro/m1-full/bitbake/lib/bb/ui/crumbs/builder.py&quot;, line 882, in build_failed
    self.build_details_page.show_fail_page(fail_to_next_edit.split(&apos; &apos;)[0], fail_to_next_edit)
  File &quot;/distro/m1-full/bitbake/lib/bb/ui/crumbs/builddetailspage.py&quot;, line 271, in show_fail_page
    self.build_fail_bar = self.add_build_fail_top_bar(action_names)
  File &quot;/distro/m1-full/bitbake/lib/bb/ui/crumbs/builddetailspage.py&quot;, line 221, in add_build_fail_top_bar
    self.notebook.set_page(&quot;Issues&quot;)
  File &quot;/distro/m1-full/bitbake/lib/bb/ui/crumbs/hobwidget.py&quot;, line 535, in set_page
    for child in self.tabbar.children:
AttributeError: &apos;HobNotebook&apos; object has no attribute &apos;tabbar&apos;
######</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22020</commentid>
    <comment_count>1</comment_count>
    <who name="Shane Wang">shane.wang</who>
    <bug_when>2012-06-12 04:59:42 +0000</bug_when>
    <thetext>Liming&apos;s commit http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=c8c8d75f234121172117c42106f7840472a9ce66 should have already fixed that.

But M1 doesn&apos;t include that because RP checked in it after M1.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23648</commentid>
    <comment_count>2</comment_count>
    <who name="Laurentiu Serban">laurentiu.serban</who>
    <bug_when>2012-07-31 12:46:19 +0000</bug_when>
    <thetext>Verified</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>