<?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>644</bug_id>
          
          <creation_ts>2011-01-06 20:28:01 +0000</creation_ts>
          <short_desc>ParameterError in &quot;bitbake -e&quot;</short_desc>
          <delta_ts>2011-02-28 10:59:46 +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>1.0</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.0 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Lianhao Lu">lianhao.lu</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          <cf_verified>Program Management</cf_verified>
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>11426</commentid>
    <comment_count>0</comment_count>
    <who name="Lianhao Lu">lianhao.lu</who>
    <bug_when>2011-01-06 20:28:01 +0000</bug_when>
    <thetext>When &quot;bitbake -e&quot; on the master (with latest commit id of 3f78c071b7a04bfc486dadc387863cc0fbb53fc8), the following error was reported:

ERROR: SRCREV was used yet no valid SCM was found in SRC_URI
ERROR: Error evaluating &apos;${@bb.fetch.get_srcrev(d)}&apos;
Traceback (most recent call last):
  File &quot;/home/lulianhao/poky-build/poky/bitbake/lib/bb/data_smart.py&quot;, line 117, in expandWithRefs
    s = __expand_python_regexp__.sub(varparse.python_sub, s)
  File &quot;/home/lulianhao/poky-build/poky/bitbake/lib/bb/data_smart.py&quot;, line 76, in python_sub
    value = utils.better_eval(codeobj, DataContext(self.d))
  File &quot;/home/lulianhao/poky-build/poky/bitbake/lib/bb/utils.py&quot;, line 400, in better_eval
    return eval(source, _context, locals)
  File &quot;SRCPV&quot;, line 1, in &lt;module&gt;
  File &quot;/home/lulianhao/poky-build/poky/bitbake/lib/bb/fetch/__init__.py&quot;, line 394, in get_srcrev
    raise ParameterError
ParameterError

ERROR: SRCREV was used yet no valid SCM was found in SRC_URI
ERROR: Error evaluating &apos;${@bb.fetch.get_srcrev(d)}&apos;
Traceback (most recent call last):
  File &quot;/home/lulianhao/poky-build/poky/bitbake/lib/bb/data_smart.py&quot;, line 117, in expandWithRefs
    s = __expand_python_regexp__.sub(varparse.python_sub, s)
  File &quot;/home/lulianhao/poky-build/poky/bitbake/lib/bb/data_smart.py&quot;, line 76, in python_sub
    value = utils.better_eval(codeobj, DataContext(self.d))
  File &quot;/home/lulianhao/poky-build/poky/bitbake/lib/bb/utils.py&quot;, line 400, in better_eval
    return eval(source, _context, locals)
  File &quot;SRCPV&quot;, line 1, in &lt;module&gt;
  File &quot;/home/lulianhao/poky-build/poky/bitbake/lib/bb/fetch/__init__.py&quot;, line 394, in get_srcrev
    raise ParameterError
ParameterError

ERROR: Error evaluating &apos;${SRCPV}&apos;
Traceback (most recent call last):
  File &quot;/home/lulianhao/poky-build/poky/bitbake/lib/bb/data_smart.py&quot;, line 116, in expandWithRefs
    s = __expand_var_regexp__.sub(varparse.var_sub, s)
  File &quot;/home/lulianhao/poky-build/poky/bitbake/lib/bb/data_smart.py&quot;, line 60, in var_sub
    var = self.d.getVar(key, 1)
  File &quot;/home/lulianhao/poky-build/poky/bitbake/lib/bb/data_smart.py&quot;, line 260, in getVar
    return self.expand(value, var)
  File &quot;/home/lulianhao/poky-build/poky/bitbake/lib/bb/data_smart.py&quot;, line 132, in expand
    return self.expandWithRefs(s, varname).value
  File &quot;/home/lulianhao/poky-build/poky/bitbake/lib/bb/data_smart.py&quot;, line 117, in expandWithRefs
    s = __expand_python_regexp__.sub(varparse.python_sub, s)
  File &quot;/home/lulianhao/poky-build/poky/bitbake/lib/bb/data_smart.py&quot;, line 76, in python_sub
    value = utils.better_eval(codeobj, DataContext(self.d))
  File &quot;/home/lulianhao/poky-build/poky/bitbake/lib/bb/utils.py&quot;, line 400, in better_eval
    return eval(source, _context, locals)
  File &quot;SRCPV&quot;, line 1, in &lt;module&gt;
  File &quot;/home/lulianhao/poky-build/poky/bitbake/lib/bb/fetch/__init__.py&quot;, line 394, in get_srcrev
    raise ParameterError
ParameterError</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11999</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2011-02-23 05:18:22 +0000</bug_when>
    <thetext>Fixed in http://git.pokylinux.org/cgit.cgi/poky/commit/?id=101b599110f7bc29f52a14a968f30323aeb797ca</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12095</commentid>
    <comment_count>2</comment_count>
    <who name="Lianhao Lu">lianhao.lu</who>
    <bug_when>2011-02-24 17:31:48 +0000</bug_when>
    <thetext>Verified that with the commit http://git.pokylinux.org/cgit.cgi/poky/commit/?id=101b599110f7bc29f52a14a968f30323aeb797ca, the errors mentioned above was gone.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>