From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Martin Jansa <martin.jansa@gmail.com>
Cc: bitbake-devel@lists.openembedded.org
Subject: Re: [PATCH 2/2] prserv: fix import of sqlite3
Date: Fri, 20 Jan 2012 16:44:47 +0000 [thread overview]
Message-ID: <1327077887.4268.18.camel@ted> (raw)
In-Reply-To: <1326661433-26379-2-git-send-email-Martin.Jansa@gmail.com>
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@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
next prev parent reply other threads:[~2012-01-20 16:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-15 21:03 [PATCH 1/2] setup.py: install prserv too Martin Jansa
2012-01-15 21:03 ` [PATCH 2/2] prserv: fix import of sqlite3 Martin Jansa
2012-01-20 16:44 ` Richard Purdie [this message]
2012-01-20 17:01 ` Martin Jansa
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=1327077887.4268.18.camel@ted \
--to=richard.purdie@linuxfoundation.org \
--cc=bitbake-devel@lists.openembedded.org \
--cc=martin.jansa@gmail.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox