<?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>2596</bug_id>
          
          <creation_ts>2012-06-13 11:00:42 +0000</creation_ts>
          <short_desc>[Hob2] traceback when DISPLAY is not set</short_desc>
          <delta_ts>2012-09-10 09:32:46 +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>1.2</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</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 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Cristiana Voicu">cristiana.voicu</assigned_to>
          <cc>alexandru.damian</cc>
    
    <cc>andreea.b.proca</cc>
    
    <cc>jason.wessel</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>jiajun.xu</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</cc>
    
    <cc>song.liu</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>22108</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2012-06-13 11:00:42 +0000</bug_when>
    <thetext>If you don&apos;t have DISPLAY set when running hob then you get a traceback which is rather difficult to understand:

Traceback (most recent call last):
  File &quot;/home/paul/poky/poky/bitbake/bin//bitbake&quot;, line 259, in &lt;module&gt;
    ret = main()
  File &quot;/home/paul/poky/poky/bitbake/bin//bitbake&quot;, line 248, in main
    return server.launchUI(ui_main, server_connection.connection, server_connection.events)
  File &quot;/home/paul/poky/poky/bitbake/lib/bb/server/process.py&quot;, line 269, in launchUI
    return bb.cooker.server_main(self.cooker, uifunc, *args)
  File &quot;/home/paul/poky/poky/bitbake/lib/bb/cooker.py&quot;, line 1407, in server_main
    ret = func(*args)
  File &quot;/home/paul/poky/poky/bitbake/lib/bb/ui/hob.py&quot;, line 71, in main
    builder = Builder(hobHandler, recipe_model, package_model)
AttributeError: &apos;NoneType&apos; object has no attribute &apos;get_width&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24930</commentid>
    <comment_count>1</comment_count>
    <who name="Cristiana Voicu">cristiana.voicu</who>
    <bug_when>2012-09-07 13:49:10 +0000</bug_when>
    <thetext>patch merged to master</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24964</commentid>
    <comment_count>2</comment_count>
    <who name="Andreea Brandusa Proca">andreea.b.proca</who>
    <bug_when>2012-09-10 09:32:46 +0000</bug_when>
    <thetext>Verified.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>