[oe] List of dependent packages
Ray Lehtiniemi
rayl at mail.com
Wed Sep 27 13:53:41 UTC 2006
On Wednesday 27 September 2006 07:45, Ray Lehtiniemi wrote:
> On Wednesday 27 September 2006 01:36, Joaquim Duran wrote:
> > myFilterProvider preferred_versions[pn] =
> > bb.providers.findBestProvider(pn, pkg_pn)[2:4] TypeError:
> > findBestProvider() takes at least 3 arguments (2 given)
>
> i've found that there are several files under lib/bb/ with this problem.
>
> this patch is cut and pasted, so is probably whitespace mangled....
whoops, ignore that last patch. upon closer inspection, i was actually seeing
a different error with bb.providers.findBestProvider than you are... mine
looked like this:
Traceback (most recent call last):
File "/opt/oe/bitbake/bin/bitbake", line 1161, in ?
main()
File "/opt/oe/bitbake/bin/bitbake", line 1156, in main
cooker.cook( BBConfiguration( options ), args[1:] )
File "/opt/oe/bitbake/bin/bitbake", line 888, in cook
self.interactiveMode()
File "/opt/oe/bitbake/bin/bitbake", line 793, in interactiveMode
shell.start( self )
File "/opt/oe/bitbake/lib/bb/shell.py", line 804, in start
bbshell.main()
File "/opt/oe/bitbake/lib/bb/shell.py", line 779, in main
self.processCommand( tokens[0], tokens[1:] or "" )
File "/opt/oe/bitbake/lib/bb/shell.py", line 736, in processCommand
result = function( self.commands, params )
File "/opt/oe/bitbake/lib/bb/shell.py", line 532, in which
lv, lf, pv, pf = bb.providers.findBestProvider(preferred,
cooker.configuration.data, cooker.status, cooker.build_cache_fail)
NameError: global name 'bb' is not defined
ray
More information about the Openembedded-devel
mailing list