* Re: Another python3 error?
2016-06-10 10:06 ` Gary Thomas
@ 2016-06-10 5:54 ` Maxin B. John
2016-06-10 10:48 ` Burton, Ross
2016-06-10 10:07 ` Burton, Ross
1 sibling, 1 reply; 8+ messages in thread
From: Maxin B. John @ 2016-06-10 5:54 UTC (permalink / raw)
To: Gary Thomas; +Cc: yocto
Hi Gary,
On Fri, Jun 10, 2016 at 12:06:15PM +0200, Gary Thomas wrote:
> On 2016-06-10 10:42, Burton, Ross wrote:
> >
> >On 10 June 2016 at 09:39, Gary Thomas <gary@mlbassoc.com <mailto:gary@mlbassoc.com>> wrote:
> >
> > Any hints on which (and why it's not being recommended by the sanity checker)?
> >
> >
> >It's not recommended by the sanity checker because its only needed by depexp and on a X11-less build server will pull in
> >vast numbers of packages.
> >
> >It's the python2 GTK+2 bindings, so something like python-gtk is a good start.
>
> I do have that package installed, but I think only for python2.
>
> bitbake -u depexp used to work on this same system before the change over to
> python3 in bitbake.
Had the same experience. We need to modify depexp.py to support python3:
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=maxin/depexp
( Please note that this is a work in progress )
Best Regards,
Maxin
^ permalink raw reply [flat|nested] 8+ messages in thread
* Another python3 error?
@ 2016-06-10 8:33 Gary Thomas
2016-06-10 8:36 ` Burton, Ross
2016-06-10 8:39 ` Gary Thomas
0 siblings, 2 replies; 8+ messages in thread
From: Gary Thomas @ 2016-06-10 8:33 UTC (permalink / raw)
To: yocto
BB_VERSION = "1.31.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Ubuntu-15.10"
meta = "master:40e789d1fee7f0df2d23230fff38325119ad2935"
$ bitbake my-demo-image -g -u depexp
Traceback (most recent call last):
File "/local/poky-cutting-edge/bitbake/bin/bitbake", line 48, in <module>
cookerdata.CookerConfiguration()))
File "/local/poky-cutting-edge/bitbake/lib/bb/main.py", line 374, in bitbake_main
ui_module = import_extension_module(bb.ui, configParams.ui, 'main')
File "/local/poky-cutting-edge/bitbake/lib/bb/main.py", line 104, in import_extension_module
module = __import__(pkg.__name__, fromlist=[modulename])
File "/local/poky-cutting-edge/bitbake/lib/bb/ui/depexp.py", line 21, in <module>
import gobject
ImportError: No module named 'gobject'
bitbake -g by itself works fine. Is this a [new] issue with my
build host, or just the change over to python3?
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Another python3 error?
2016-06-10 8:33 Another python3 error? Gary Thomas
@ 2016-06-10 8:36 ` Burton, Ross
2016-06-10 8:39 ` Gary Thomas
1 sibling, 0 replies; 8+ messages in thread
From: Burton, Ross @ 2016-06-10 8:36 UTC (permalink / raw)
To: Gary Thomas; +Cc: yocto
[-- Attachment #1: Type: text/plain, Size: 244 bytes --]
On 10 June 2016 at 09:33, Gary Thomas <gary@mlbassoc.com> wrote:
> bitbake -g by itself works fine. Is this a [new] issue with my
> build host, or just the change over to python3?
>
That's missing packages on your build host.
Ross
[-- Attachment #2: Type: text/html, Size: 725 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Another python3 error?
2016-06-10 8:33 Another python3 error? Gary Thomas
2016-06-10 8:36 ` Burton, Ross
@ 2016-06-10 8:39 ` Gary Thomas
2016-06-10 8:42 ` Burton, Ross
1 sibling, 1 reply; 8+ messages in thread
From: Gary Thomas @ 2016-06-10 8:39 UTC (permalink / raw)
To: yocto
On 2016-06-10 10:33, Gary Thomas wrote:
> BB_VERSION = "1.31.0"
> BUILD_SYS = "x86_64-linux"
> NATIVELSBSTRING = "Ubuntu-15.10"
> meta = "master:40e789d1fee7f0df2d23230fff38325119ad2935"
>
> $ bitbake my-demo-image -g -u depexp
> Traceback (most recent call last):
> File "/local/poky-cutting-edge/bitbake/bin/bitbake", line 48, in <module>
> cookerdata.CookerConfiguration()))
> File "/local/poky-cutting-edge/bitbake/lib/bb/main.py", line 374, in bitbake_main
> ui_module = import_extension_module(bb.ui, configParams.ui, 'main')
> File "/local/poky-cutting-edge/bitbake/lib/bb/main.py", line 104, in import_extension_module
> module = __import__(pkg.__name__, fromlist=[modulename])
> File "/local/poky-cutting-edge/bitbake/lib/bb/ui/depexp.py", line 21, in <module>
> import gobject
> ImportError: No module named 'gobject'
>
> bitbake -g by itself works fine. Is this a [new] issue with my
> build host, or just the change over to python3?
>
Any hints on which (and why it's not being recommended by the sanity checker)?
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Another python3 error?
2016-06-10 8:39 ` Gary Thomas
@ 2016-06-10 8:42 ` Burton, Ross
2016-06-10 10:06 ` Gary Thomas
0 siblings, 1 reply; 8+ messages in thread
From: Burton, Ross @ 2016-06-10 8:42 UTC (permalink / raw)
To: Gary Thomas; +Cc: yocto
[-- Attachment #1: Type: text/plain, Size: 398 bytes --]
On 10 June 2016 at 09:39, Gary Thomas <gary@mlbassoc.com> wrote:
> Any hints on which (and why it's not being recommended by the sanity
> checker)?
>
It's not recommended by the sanity checker because its only needed by
depexp and on a X11-less build server will pull in vast numbers of packages.
It's the python2 GTK+2 bindings, so something like python-gtk is a good
start.
Ross
[-- Attachment #2: Type: text/html, Size: 817 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Another python3 error?
2016-06-10 8:42 ` Burton, Ross
@ 2016-06-10 10:06 ` Gary Thomas
2016-06-10 5:54 ` Maxin B. John
2016-06-10 10:07 ` Burton, Ross
0 siblings, 2 replies; 8+ messages in thread
From: Gary Thomas @ 2016-06-10 10:06 UTC (permalink / raw)
To: Burton, Ross; +Cc: yocto
On 2016-06-10 10:42, Burton, Ross wrote:
>
> On 10 June 2016 at 09:39, Gary Thomas <gary@mlbassoc.com <mailto:gary@mlbassoc.com>> wrote:
>
> Any hints on which (and why it's not being recommended by the sanity checker)?
>
>
> It's not recommended by the sanity checker because its only needed by depexp and on a X11-less build server will pull in
> vast numbers of packages.
>
> It's the python2 GTK+2 bindings, so something like python-gtk is a good start.
I do have that package installed, but I think only for python2.
bitbake -u depexp used to work on this same system before the change over to
python3 in bitbake.
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Another python3 error?
2016-06-10 10:06 ` Gary Thomas
2016-06-10 5:54 ` Maxin B. John
@ 2016-06-10 10:07 ` Burton, Ross
1 sibling, 0 replies; 8+ messages in thread
From: Burton, Ross @ 2016-06-10 10:07 UTC (permalink / raw)
To: Gary Thomas; +Cc: yocto
[-- Attachment #1: Type: text/plain, Size: 213 bytes --]
On 10 June 2016 at 11:06, Gary Thomas <gary@mlbassoc.com> wrote:
> bitbake -u depexp used to work on this same system before the change over
> to
> python3 in bitbake.
>
Sorry I meant python3 :)
Ross
[-- Attachment #2: Type: text/html, Size: 612 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Another python3 error?
2016-06-10 5:54 ` Maxin B. John
@ 2016-06-10 10:48 ` Burton, Ross
0 siblings, 0 replies; 8+ messages in thread
From: Burton, Ross @ 2016-06-10 10:48 UTC (permalink / raw)
To: Maxin B. John; +Cc: yocto, Gary Thomas
[-- Attachment #1: Type: text/plain, Size: 416 bytes --]
On 10 June 2016 at 06:54, Maxin B. John <maxin.john@intel.com> wrote:
>
> Had the same experience. We need to modify depexp.py to support python3:
>
> http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=maxin/depexp
> ( Please note that this is a work in progress )
>
Ah my plan to leave it until someone else fixes it has finally worked.
Thanks Maxin, it needed a rewrite in PyGI. :)
Ross
[-- Attachment #2: Type: text/html, Size: 921 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2016-06-10 10:48 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-10 8:33 Another python3 error? Gary Thomas
2016-06-10 8:36 ` Burton, Ross
2016-06-10 8:39 ` Gary Thomas
2016-06-10 8:42 ` Burton, Ross
2016-06-10 10:06 ` Gary Thomas
2016-06-10 5:54 ` Maxin B. John
2016-06-10 10:48 ` Burton, Ross
2016-06-10 10:07 ` Burton, Ross
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.