Skip to contentSkip to conversation

"bitbake-layers show-overlayed" generates python traceback

DISCUSSION Robert P. J. Day 2 participants 2 messages Mar 19, 2012

lore
Share & tools
lore
#0 lore raw

just goofing around with a utility i'd never noticed before,
bitbake-layers, and tested it on a simple qemux86 configuration:

$ bitbake-layers show-overlayed
Parsing recipes..done.
Traceback (most recent call last):
  File "/home/rpjday/oe/oe-core/bitbake/bin/bitbake-layers", line 593, in <module>
    sys.exit(main(sys.argv[1:]) or 0)
  File "/home/rpjday/oe/oe-core/bitbake/bin/bitbake-layers", line 47, in main
    cmds.onecmd(' '.join(args))
  File "/usr/lib/python2.7/cmd.py", line 219, in onecmd
    return func(arg)
  File "/home/rpjday/oe/oe-core/bitbake/bin/bitbake-layers", line 216, in do_show_overlayed
    logger.note('No overlayed files found')
AttributeError: 'BBLogger' object has no attribute 'note'
$

is there a special context i need to run this in?

rday

Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
#1 lore raw
Quoted 17 lines · On Monday 19 March 2012 07:07:18 Robert P. J. Day wrote:

just goofing around with a utility i'd never noticed before,
bitbake-layers, and tested it on a simple qemux86 configuration:

$ bitbake-layers show-overlayed
Parsing recipes..done.
Traceback (most recent call last):
  File "/home/rpjday/oe/oe-core/bitbake/bin/bitbake-layers", line 593, in
<module> sys.exit(main(sys.argv[1:]) or 0)
  File "/home/rpjday/oe/oe-core/bitbake/bin/bitbake-layers", line 47, in
main cmds.onecmd(' '.join(args))
  File "/usr/lib/python2.7/cmd.py", line 219, in onecmd
    return func(arg)
  File "/home/rpjday/oe/oe-core/bitbake/bin/bitbake-layers", line 216, in
do_show_overlayed logger.note('No overlayed files found')
AttributeError: 'BBLogger' object has no attribute 'note'
$
Quoted 1 line

is there a special context i need to run this in?

No, this is a bug. Looking at a fix now.

Cheers,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre