[bitbake-devel] [PATCH] ui: Improve error message if bitbake cannot import python curses module
Richard Purdie
richard.purdie at linuxfoundation.org
Wed Aug 22 12:56:55 UTC 2012
On Tue, 2012-08-21 at 16:05 -0500, Mark Hatle wrote:
> From: Konrad Scherer <Konrad.Scherer at windriver.com>
>
> On some SuSE systems, the curses python module is not installed by default.
> Instead of a python failure, we want a nicer error message.
>
> (On SuSE systems the package is typically python-curses.)
>
> Signed-off-by: Konrad Scherer <Konrad.Scherer at windriver.com>
> Signed-off-by: Jeff Polk <jeff.polk at windriver.com>
>
> Reword commit message, rebase to latest bitbake.
>
> Signed-off-by: Mark Hatle <mark.hatle at windriver.com>
> ---
> lib/bb/ui/knotty.py | 6 +++++-
> lib/bb/ui/ncurses.py | 8 +++++++-
> 2 files changed, 12 insertions(+), 2 deletions(-)
Thanks, merged to master.
I did wonder if this shouldn't just print a warning and proceed as if
the terminal were non-interactive though. Regardless, this improves the
situation.
Cheers,
Richard
More information about the bitbake-devel
mailing list