[oe] Bitbake-1.6 crashes on 'which'.

Rob Kramer robk at starhub.net.sg
Sun Oct 22 02:57:36 UTC 2006


Richard Purdie wrote:
> The patch in 1.7 is for a different problem. I've just updated the 1.6
> branch with the correct fix (add import bb to the top of shell.py).

Thanks for that, it works again now. I still got the crash below, but that
was after a bunch of reparse commands, which might have upset bitbake a bit
perhaps.

Cheers,

    Rob


BB>> which fontconfig-native
Traceback (most recent call last):
  File "/home/rob/oe/bitbake/bin/bitbake", line 1161, in ?
    main()
  File "/home/rob/oe/bitbake/bin/bitbake", line 1156, in main
    cooker.cook( BBConfiguration( options ), args[1:] )
  File "/home/rob/oe/bitbake/bin/bitbake", line 888, in cook
    self.interactiveMode()
  File "/home/rob/oe/bitbake/bin/bitbake", line 793, in interactiveMode
    shell.start( self )
  File "/home/rob/oe/bitbake/lib/bb/shell.py", line 805, in start
    bbshell.main()
  File "/home/rob/oe/bitbake/lib/bb/shell.py", line 780, in main
    self.processCommand( tokens[0], tokens[1:] or "" )
  File "/home/rob/oe/bitbake/lib/bb/shell.py", line 737, in processCommand
    result = function( self.commands, params )
  File "/home/rob/oe/bitbake/lib/bb/shell.py", line 533, in which
    lv, lf, pv, pf = bb.providers.findBestProvider(preferred,
cooker.configuration.data, cooker.status, cooker.build_cache_fail)
  File "/home/rob/oe/bitbake/lib/bb/providers.py", line 41, in
findBestProvider
    files = pkg_pn[pn]
TypeError: list indices must be integers






More information about the Openembedded-devel mailing list