<?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>1219</bug_id>
          
          <creation_ts>2011-07-07 00:47:53 +0000</creation_ts>
          <short_desc>[HOB] lots of bug traces when launching hob</short_desc>
          <delta_ts>2011-08-01 22:12:34 +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>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>Patch submitted for review</status_whiteboard>
          <keywords></keywords>
          <priority>High</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.1 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jiajun Xu">jiajun.xu</reporter>
          <assigned_to name="Joshua Lock - Disabled">josh</assigned_to>
          <cc>jessica.zhang</cc>
    
    <cc>lianhao.lu</cc>
    
    <cc>liping.ke</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</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>14579</commentid>
    <comment_count>0</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2011-07-07 00:47:53 +0000</bug_when>
    <thetext>Tree/Branch: Poky/Master
Commit: d4132fa12885fc050313a5c9aa6903e4fa92c94f

When launching hob, a lot of bug traces printed on console. Check following:

######
jxu49@vt-nhm4:~/osel/poky-hob/build$ DISPLAY=:1.0 bitbake -u hob -t xmlrpc
Xlib:  extension &quot;RANDR&quot; missing on display &quot;:1.0&quot;.
Traceback (most recent call last):
  File &quot;/home/jxu49/osel/poky-hob/bitbake/lib/bb/ui/crumbs/configurator.py&quot;, line 275, in configFound
    self._addConfigFile(path)
  File &quot;/home/jxu49/osel/poky-hob/bitbake/lib/bb/ui/crumbs/configurator.py&quot;, line 117, in _addConfigFile
    pref, sep, filename = path.rpartition(&quot;/&quot;)
AttributeError: &apos;NoneType&apos; object has no attribute &apos;rpartition&apos;
######</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14603</commentid>
    <comment_count>1</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2011-07-07 13:57:26 +0000</bug_when>
    <thetext>Do you see this every time you launch the UI? 

If so I will need to review the logic there...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14607</commentid>
    <comment_count>2</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2011-07-07 14:51:45 +0000</bug_when>
    <thetext>I can see it every time I brought up HOB, I believe same does Liping</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14608</commentid>
    <comment_count>3</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2011-07-07 15:17:08 +0000</bug_when>
    <thetext>Interesting, I can&apos;t reproduce. Can you share:

i) how you run hob - a full shell history from (and including) initialising the build env to launch may help
ii) your Python version
iii) your distro &amp; version</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14697</commentid>
    <comment_count>4</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2011-07-12 13:10:04 +0000</bug_when>
    <thetext>I&apos;ve root caused this issue and am working on a patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14699</commentid>
    <comment_count>5</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2011-07-12 14:53:44 +0000</bug_when>
    <thetext>For those following along, the problem was that the GUI was calling the
findConfigFilePath command of the cooker looking for a UI specific config file.
However the findConfigFilePath command was buggy such that it would fire the
ConfigFilePathFound event regardless of whether a file was actually found or
not, leading to the UI trying to handle the event and process a None object as
a file path.

The submitted patch updates the cooker to only fire events in the finder
methods when something is actually found.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14732</commentid>
    <comment_count>6</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2011-07-14 09:52:21 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=0fc41bdf07f6404bf92197d15e177cb7f3740228


&quot;cooker: only return *Found events if something was actually found

The cooker methods which fire FooBarFound style events should only fire the event when an item was actually found, rather than each time the method is called. Fixes [YOCTO #1219]&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15133</commentid>
    <comment_count>7</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2011-08-01 22:12:34 +0000</bug_when>
    <thetext>Verify with commit 46cf540e63a848512617b20fd8492f81bfb2f704, the bug is fixed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>