All of lore.kernel.org
 help / color / mirror / Atom feed
* Missing sanity / dependency
@ 2015-10-08 20:59 Gary Thomas
  2015-10-08 21:40 ` Burton, Ross
  0 siblings, 1 reply; 3+ messages in thread
From: Gary Thomas @ 2015-10-08 20:59 UTC (permalink / raw)
  To: Yocto Project

I just ran across this on a [fairly new] system:

$ bitbake meta-toolchain -g -u depexp
Traceback (most recent call last):
   File "/local/poky-cutting-edge/bitbake/bin/bitbake", line 45, in <module>
     cookerdata.CookerConfiguration()))
   File "/local/poky-cutting-edge/bitbake/lib/bb/main.py", line 334, in bitbake_main
     ui_module = import_extension_module(bb.ui, configParams.ui, 'main')
   File "/local/poky-cutting-edge/bitbake/lib/bb/main.py", line 103, in import_extension_module
     module = __import__(pkg.__name__, fromlist = [modulename])
   File "/local/poky-cutting-edge/bitbake/lib/bb/ui/depexp.py", line 22, in <module>
     import gtk
ImportError: No module named gtk

Should this have been caught by the sanity checker, or perhaps
handled better?  In my Ubuntu case, I was missing python-gtk2
and friends.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Missing sanity / dependency
  2015-10-08 20:59 Missing sanity / dependency Gary Thomas
@ 2015-10-08 21:40 ` Burton, Ross
  2015-10-08 22:15   ` Gary Thomas
  0 siblings, 1 reply; 3+ messages in thread
From: Burton, Ross @ 2015-10-08 21:40 UTC (permalink / raw)
  To: Gary Thomas; +Cc: Yocto Project

[-- Attachment #1: Type: text/plain, Size: 1516 bytes --]

That bug was fixed some time ago, try updating your clone.  In particular I
expect your checkout is before
poky bb34181b42b62e0476ba9e12f9125ed9f785cf23.

Ross

On 8 October 2015 at 21:59, Gary Thomas <gary@mlbassoc.com> wrote:

> I just ran across this on a [fairly new] system:
>
> $ bitbake meta-toolchain -g -u depexp
> Traceback (most recent call last):
>   File "/local/poky-cutting-edge/bitbake/bin/bitbake", line 45, in <module>
>     cookerdata.CookerConfiguration()))
>   File "/local/poky-cutting-edge/bitbake/lib/bb/main.py", line 334, in
> bitbake_main
>     ui_module = import_extension_module(bb.ui, configParams.ui, 'main')
>   File "/local/poky-cutting-edge/bitbake/lib/bb/main.py", line 103, in
> import_extension_module
>     module = __import__(pkg.__name__, fromlist = [modulename])
>   File "/local/poky-cutting-edge/bitbake/lib/bb/ui/depexp.py", line 22, in
> <module>
>     import gtk
> ImportError: No module named gtk
>
> Should this have been caught by the sanity checker, or perhaps
> handled better?  In my Ubuntu case, I was missing python-gtk2
> and friends.
>
> --
> ------------------------------------------------------------
> Gary Thomas                 |  Consulting for the
> MLB Associates              |    Embedded world
> ------------------------------------------------------------
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>

[-- Attachment #2: Type: text/html, Size: 2177 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Missing sanity / dependency
  2015-10-08 21:40 ` Burton, Ross
@ 2015-10-08 22:15   ` Gary Thomas
  0 siblings, 0 replies; 3+ messages in thread
From: Gary Thomas @ 2015-10-08 22:15 UTC (permalink / raw)
  To: Burton, Ross; +Cc: Yocto Project

On 2015-10-08 15:40, Burton, Ross wrote:
> That bug was fixed some time ago, try updating your clone.  In particular I expect your checkout is before poky bb34181b42b62e0476ba9e12f9125ed9f785cf23.

Nope - I'm at master:eac61f37e36099f74485dab398b57f3812826d17 (current tip)
and I still get the same error.

> On 8 October 2015 at 21:59, Gary Thomas <gary@mlbassoc.com <mailto:gary@mlbassoc.com>> wrote:
>
>     I just ran across this on a [fairly new] system:
>
>     $ bitbake meta-toolchain -g -u depexp
>     Traceback (most recent call last):
>        File "/local/poky-cutting-edge/bitbake/bin/bitbake", line 45, in <module>
>          cookerdata.CookerConfiguration()))
>        File "/local/poky-cutting-edge/bitbake/lib/bb/main.py", line 334, in bitbake_main
>          ui_module = import_extension_module(bb.ui, configParams.ui, 'main')
>        File "/local/poky-cutting-edge/bitbake/lib/bb/main.py", line 103, in import_extension_module
>          module = __import__(pkg.__name__, fromlist = [modulename])
>        File "/local/poky-cutting-edge/bitbake/lib/bb/ui/depexp.py", line 22, in <module>
>          import gtk
>     ImportError: No module named gtk
>
>     Should this have been caught by the sanity checker, or perhaps
>     handled better?  In my Ubuntu case, I was missing python-gtk2
>     and friends.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-10-08 22:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-08 20:59 Missing sanity / dependency Gary Thomas
2015-10-08 21:40 ` Burton, Ross
2015-10-08 22:15   ` Gary Thomas

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.