All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ray Lehtiniemi <rayl@mail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: List of dependent packages
Date: Wed, 27 Sep 2006 07:53:41 -0600	[thread overview]
Message-ID: <200609270753.41280.rayl@mail.com> (raw)
In-Reply-To: <200609270745.13235.rayl@mail.com>

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




  reply	other threads:[~2006-09-27 13:59 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-26 11:22 List of dependent packages Joaquim Duran
2006-09-26 10:58 ` Christopher Lang
2006-09-26 12:36   ` Joaquim Duran
2006-09-26 12:01 ` Paul Sokolovsky
2006-09-26 13:47   ` Richard Purdie
2006-09-26 15:35   ` Joaquim Duran
2006-09-26 14:57     ` pHilipp Zabel
2006-09-26 15:26       ` Richard Purdie
2006-09-26 16:01       ` Joaquim Duran
2006-09-27  7:36     ` Joaquim Duran
2006-09-27 13:45       ` Ray Lehtiniemi
2006-09-27 13:53         ` Ray Lehtiniemi [this message]
2006-09-27 19:17       ` Paul Sokolovsky
2006-09-28  7:46         ` Joaquim Duran

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200609270753.41280.rayl@mail.com \
    --to=rayl@mail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.