<?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>2709</bug_id>
          
          <creation_ts>2012-07-06 11:13:23 +0000</creation_ts>
          <short_desc>[Hob2] elf image type causes Hob error</short_desc>
          <delta_ts>2012-08-13 21:10:30 +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></status_whiteboard>
          <keywords></keywords>
          <priority>High</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.3 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Shane Wang">shane.wang</reporter>
          <assigned_to name="Kai Kang">kai.kang</assigned_to>
          <cc>belen.barros.pena</cc>
    
    <cc>hongnax.xu</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>jiajun.xu</cc>
    
    <cc>laurentiu.serban</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>zhenfeng.zhao</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>22867</commentid>
    <comment_count>0</comment_count>
    <who name="Shane Wang">shane.wang</who>
    <bug_when>2012-07-06 11:13:23 +0000</bug_when>
    <thetext>When I select images from Hob and try to open images, the backend shows:

an@HP:/opt/123/build3$ hob
Traceback (most recent call last):
  File &quot;/home/an/workspace/poky-contrib/bitbake/lib/bb/ui/crumbs/hig.py&quot;, line 1255, in select_path_cb
    self.fill_image_store()
  File &quot;/home/an/workspace/poky-contrib/bitbake/lib/bb/ui/crumbs/hig.py&quot;, line 1268, in fill_image_store
    for real_image_type in hcc.SUPPORTED_IMAGE_TYPES[image_type]:
KeyError: &apos;elf&apos;
^CTraceback (most recent call last):
  File &quot;/home/an/workspace/poky-contrib/bitbake/lib/bb/ui/hob.py&quot;, line 55, in event_handle_idle_func
    event = eventHandler.getEvent()
  File &quot;/home/an/workspace/poky-contrib/bitbake/lib/bb/server/process.py&quot;, line 233, in getEvent
    return self.get(False)
  File &quot;/usr/lib/python2.7/multiprocessing/queues.py&quot;, line 129, in get
    if not self._poll(block and (deadline-time.time()) or 0.0):
KeyboardInterrupt

which was brought in by the commit http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=c9b01af84b64edba056f959c349895e0698324e6</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22868</commentid>
    <comment_count>1</comment_count>
    <who name="Shane Wang">shane.wang</who>
    <bug_when>2012-07-06 11:14:32 +0000</bug_when>
    <thetext>I assigned it to Kai. What we need to do is to sync up hcc.SUPPORTED_IMAGE_TYPES[image_type] in Hob to add &quot;elf&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22917</commentid>
    <comment_count>2</comment_count>
    <who name="Shane Wang">shane.wang</who>
    <bug_when>2012-07-10 01:00:24 +0000</bug_when>
    <thetext>*** Bug 2722 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23139</commentid>
    <comment_count>3</comment_count>
    <who name="Shane Wang">shane.wang</who>
    <bug_when>2012-07-17 01:46:25 +0000</bug_when>
    <thetext>*** Bug 2770 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23140</commentid>
    <comment_count>4</comment_count>
    <who name="Shane Wang">shane.wang</who>
    <bug_when>2012-07-17 02:00:21 +0000</bug_when>
    <thetext>Since bug 2770 is marked as high, upgrade this to high.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23191</commentid>
    <comment_count>5</comment_count>
    <who name="Kai Kang">kai.kang</who>
    <bug_when>2012-07-18 03:23:15 +0000</bug_when>
    <thetext>Patch for fix this issus has been merged, Yocto commit 4bd0338972a1a64829734c43501a3a74c510421a

But Richard&apos;s opionion is that the code need to be rewrite and keep this bug open for now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23225</commentid>
    <comment_count>6</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2012-07-18 17:13:14 +0000</bug_when>
    <thetext>Hi Kai,

Please close this bug since it&apos;s a high and open another bug per RP&apos;s suggestion.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23235</commentid>
    <comment_count>7</comment_count>
    <who name="Kai Kang">kai.kang</who>
    <bug_when>2012-07-19 02:44:10 +0000</bug_when>
    <thetext>Bug 2795 is create to follow the code update.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23990</commentid>
    <comment_count>8</comment_count>
    <who name="Laurentiu Serban">laurentiu.serban</who>
    <bug_when>2012-08-13 21:10:30 +0000</bug_when>
    <thetext>Setting this to verified according to the latest comments</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>