<?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>2052</bug_id>
          
          <creation_ts>2012-03-02 08:56:43 +0000</creation_ts>
          <short_desc>bitbake-prserv-tool import failed with no PRSERV set</short_desc>
          <delta_ts>2012-04-05 15:53:52 +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>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.2 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jiajun Xu">jiajun.xu</reporter>
          <assigned_to name="Lianhao Lu">lianhao.lu</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>richard.purdie</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>18844</commentid>
    <comment_count>0</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2012-03-02 08:56:43 +0000</bug_when>
    <thetext>tree/branch: poky/1.2_M3
commit: 320558f494c618f53e0c773db3ea0109476e8359

With 1.2 M3, if we run &quot;bitbake-preserv-tool import&quot; to import a .inc file without setting PRSERV_HOST and PRSERV_PORT in local.conf, bitbake will report error and never return a value.
Error as below:
######
jxu49@vt-nhm4:~/osel/m3/pr$ bitbake-prserv-tool import ../build/export.inc
ERROR: Connecting to PR service None:None failed: int() argument must be a string or a number, not &apos;NoneType&apos;################################################################################  | ETA:  00:00:00
ERROR: Execution of event handler &apos;primport_handler&apos; failed
ERROR: Command execution failed: Exited with 1
######</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18892</commentid>
    <comment_count>1</comment_count>
    <who name="Lianhao Lu">lianhao.lu</who>
    <bug_when>2012-03-07 07:41:46 +0000</bug_when>
    <thetext>Patch submitted at http://git.yoctoproject.org/cgit.cgi/poky-contrib/commit/?h=llu/bug2052&amp;id=985672cba7c76c5357200575e206024a940430f3</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18926</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-03-08 20:46:52 +0000</bug_when>
    <thetext>Fixed in master http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=e189a7113ca44eb202d1da8139678ba9729286b4</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19953</commentid>
    <comment_count>3</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2012-04-05 15:53:52 +0000</bug_when>
    <thetext>Verify the bug as fixed in 1.2 M4 testing with following commit:

tree/branch: poky/1.2_M4
commit: da6233ea034f35eff59306fdad31f318c340c359</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>