<?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>1220</bug_id>
          
          <creation_ts>2011-07-07 00:59:54 +0000</creation_ts>
          <short_desc>[HOB] lots of error printed when existing from configuration save dialog</short_desc>
          <delta_ts>2011-07-10 23:18:09 +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 out 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>
    
    <cc>sgw</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>14580</commentid>
    <comment_count>0</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2011-07-07 00:59:54 +0000</bug_when>
    <thetext>Tree/Branch: Poky/Master
Commit: d4132fa12885fc050313a5c9aa6903e4fa92c94f


When clicking exit button of hob, it will prompt if you want to save customisations. If we choose yes and choose no in save configuration dialog, bitbake will print a lot of error log as below:

#######
Traceback (most recent call last):
  File &quot;/home/jxu49/osel/poky-hob/bitbake/lib/bb/ui/hob.py&quot;, line 91, in destroy_window
    self.quit()
  File &quot;/home/jxu49/osel/poky-hob/bitbake/lib/bb/ui/hob.py&quot;, line 106, in quit
    self.save_recipe_file()
  File &quot;/home/jxu49/osel/poky-hob/bitbake/lib/bb/ui/hob.py&quot;, line 315, in save_recipe_file
    rep.writeRecipe(self.save_path, self.model)
  File &quot;/home/jxu49/osel/poky-hob/bitbake/lib/bb/ui/crumbs/tasklistmodel.py&quot;, line 68, in writeRecipe
    if os.path.exists(writepath):
  File &quot;/usr/lib/python2.6/genericpath.py&quot;, line 18, in exists
    st = os.stat(path)
TypeError: coercing to Unicode: need string or buffer, NoneType found
#######</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14626</commentid>
    <comment_count>1</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2011-07-08 10:20:42 +0000</bug_when>
    <thetext>Fixed in BitBake master: 3412fbd6a16980e0fba7742c32675eea9d77d6c0

&quot;lib/bb/ui/hob: don&apos;t error when dismissing save as dialog

If the user decides to cancel the save as dialog we should not try and save
regardless.

Fixes [YOCTO #1220]&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14641</commentid>
    <comment_count>2</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2011-07-08 15:30:03 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=20e820883927514f1b66288265dd952af5dd5e19</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14658</commentid>
    <comment_count>3</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2011-07-10 23:18:09 +0000</bug_when>
    <thetext>Verify with commit f974868cadf74d0cf8380b2c6a4152d2fa4590b5, the bug is fixed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>