[bitbake-devel] [PATCH 2/2] prserv: fix import of sqlite3

Richard Purdie richard.purdie at linuxfoundation.org
Fri Jan 20 16:44:47 UTC 2012


On Sun, 2012-01-15 at 22:03 +0100, Martin Jansa wrote:
> * this is used in all other bitbake parts where sqlite3 is used, don't
>   know why it wasn't used here, but it fails e.g. on Gentoo
>   Traceback (most recent call last):
>     File "bin/bitbake", line 39, in <module>
>       from bb import cooker
>     File "lib/bb/cooker.py", line 39, in <module>
>       import prserv.serv
>     File "lib/prserv/serv.py", line 4, in <module>
>       import xmlrpclib,sqlite3
>   ImportError: No module named sqlite3
> 
> Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
> ---
>  lib/prserv/serv.py |    7 ++++++-
>  1 files changed, 6 insertions(+), 1 deletions(-)

Merged to master along with 1/2.

Why this is needed I'm not sure since I thought sqlite3 was included in
python 2.6 onwards. Since you're running into it and it doesn't hurt
anything I've merged it though.

Cheers,

Richard





More information about the bitbake-devel mailing list