<?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>2027</bug_id>
          
          <creation_ts>2012-02-25 05:25:18 +0000</creation_ts>
          <short_desc>depexp UI fails with &quot;No module named progress&quot;</short_desc>
          <delta_ts>2012-02-25 11:59:59 +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>BitBake</product>
          <component>bitbake</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Darren Hart">dvhart</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>josh</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>18743</commentid>
    <comment_count>0</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2012-02-25 05:25:18 +0000</bug_when>
    <thetext>Trying to debug a dependency chain in poky-tiny with master as of:
c9e95d3363d28ae92eb9ed1ed560ad3769482f8a

$ bitbake -u depexp -g core-image-minimal
Gtk-Message: Failed to load module &quot;pk-gtk-module&quot;
Gtk-Message: Failed to load module &quot;canberra-gtk-module&quot;
Traceback (most recent call last):
  File &quot;/home/dvhart/source/poky-tiny/bitbake/bin//bitbake&quot;, line 258, in &lt;module&gt;
    ret = main()
  File &quot;/home/dvhart/source/poky-tiny/bitbake/bin//bitbake&quot;, line 178, in main
    ui_main = get_ui(configuration)
  File &quot;/home/dvhart/source/poky-tiny/bitbake/bin//bitbake&quot;, line 68, in get_ui
    module = __import__(&quot;bb.ui&quot;, fromlist = [interface])
  File &quot;/home/dvhart/source/poky-tiny/bitbake/lib/bb/ui/depexp.py&quot;, line 27, in &lt;module&gt;
    from bb.ui.crumbs.progress import ProgressBar
ImportError: No module named progress</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18746</commentid>
    <comment_count>1</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2012-02-25 05:51:01 +0000</bug_when>
    <thetext>Looks like the patch introducing the new hob deleted the file which includes the progressbar class implementation used by depexp.

It&apos;s enough just to copy that file back in. See 
https://github.com/incandescant/bitbake/commit/e321d0a6b4c40f0f2c13a191ae1ddf7165c45ff4</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18747</commentid>
    <comment_count>2</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2012-02-25 05:53:34 +0000</bug_when>
    <thetext>Patch submitted to the BitBake list to re-add this file</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18748</commentid>
    <comment_count>3</comment_count>
      <attachid>338</attachid>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2012-02-25 05:54:25 +0000</bug_when>
    <thetext>Created attachment 338
The missing progress.py file

Darren, drop this in bitbake/lib/bb/ui/crumbs to have depexp functional again</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18749</commentid>
    <comment_count>4</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2012-02-25 06:04:21 +0000</bug_when>
    <thetext>Thanks Joshua, works for me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18755</commentid>
    <comment_count>5</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-02-25 11:59:59 +0000</bug_when>
    <thetext>Fix now in master: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=2ff96d664e8e003f64de42187fce9ad0f9646070</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>338</attachid>
            <date>2012-02-25 05:54:25 +0000</date>
            <delta_ts>2012-02-25 05:54:25 +0000</delta_ts>
            <desc>The missing progress.py file</desc>
            <filename>progress.py</filename>
            <type>text/x-python</type>
            <size>648</size>
            <attacher name="Joshua Lock - Disabled">josh</attacher>
            
              <data encoding="base64">aW1wb3J0IGd0awoKY2xhc3MgUHJvZ3Jlc3NCYXIoZ3RrLkRpYWxvZyk6CiAgICBkZWYgX19pbml0
X18oc2VsZiwgcGFyZW50KToKCiAgICAgICAgZ3RrLkRpYWxvZy5fX2luaXRfXyhzZWxmLCBmbGFn
cz0oZ3RrLkRJQUxPR19NT0RBTCB8IGd0ay5ESUFMT0dfREVTVFJPWV9XSVRIX1BBUkVOVCkpCiAg
ICAgICAgc2VsZi5zZXRfdGl0bGUoIlBhcnNpbmcgbWV0YWRhdGEsIHBsZWFzZSB3YWl0Li4uIikK
ICAgICAgICBzZWxmLnNldF9kZWZhdWx0X3NpemUoNTAwLCAwKQogICAgICAgIHNlbGYuc2V0X3Ry
YW5zaWVudF9mb3IocGFyZW50KQogICAgICAgIHNlbGYucHJvZ3Jlc3MgPSBndGsuUHJvZ3Jlc3NC
YXIoKQogICAgICAgIHNlbGYudmJveC5wYWNrX3N0YXJ0KHNlbGYucHJvZ3Jlc3MpCiAgICAgICAg
c2VsZi5zaG93X2FsbCgpCgogICAgZGVmIHVwZGF0ZShzZWxmLCB4LCB5KToKICAgICAgICBzZWxm
LnByb2dyZXNzLnNldF9mcmFjdGlvbihmbG9hdCh4KS9mbG9hdCh5KSkKICAgICAgICBzZWxmLnBy
b2dyZXNzLnNldF90ZXh0KCIlMmQgJSUiICUgKHgqMTAwL3kpKQoKICAgIGRlZiBwdWxzZShzZWxm
KToKICAgICAgICBzZWxmLnByb2dyZXNzLnNldF90ZXh0KCJMb2FkaW5nLi4uIikKICAgICAgICBz
ZWxmLnByb2dyZXNzLnB1bHNlKCkK
</data>

          </attachment>
      

    </bug>

</bugzilla>