Another python3 error?
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?
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
Quoted 3 lines · Gary Thomas
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
Quoted 17 lines · Gary Thomas
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'
Quoted 3 lines
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)?
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
Quoted 3 lines · Gary Thomas
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
Quoted 10 lines · Ross
On 10 June 2016 at 09:39, Gary Thomas <[email protected] <mailto:[email protected]>> 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.
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
Quoted 4 lines · Gary Thomas
bitbake -u depexp used to work on this same system before the change over to
python3 in bitbake.
Sorry I meant python3 :)
Ross
Hi Gary,
Quoted 10 lines · Gary Thomas
Quoted 9 lines · Ross
On 10 June 2016 at 09:39, Gary Thomas <[email protected] <mailto:[email protected]>> 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.
Quoted 6 lines
Quoted 1 line
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
Quoted 6 lines · Maxin B. John
Had the same experience. We need to modify
depexp.pyto 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