From: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
To: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] terminal.py: Allow devshell/menuconfig on recent gnome-terminal
Date: Thu, 18 Jun 2015 14:26:27 -0500 [thread overview]
Message-ID: <55831B63.60406@linux.intel.com> (raw)
In-Reply-To: <1433274867-5685-1-git-send-email-leonardo.sandoval.gonzalez@linux.intel.com>
ping
On 06/02/2015 02:54 PM, leonardo.sandoval.gonzalez@linux.intel.com wrote:
> From: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
>
> Recent versions of gnome-terminal does not support non-UTF8 charset:
> https://bugzilla.gnome.org/show_bug.cgi?id=732127 as a result, devshell and
> menuconfig tasks silently hang (error found on trace log of 'strace -f -v
> -s 8192 -e write=2 bitbake -c devshell quilt-native': "Non UTF-8 locale
> (ANSI_X3.4-1968) is not supported!"). As a workaround, clearing the LC_ALL
> environment variable so it uses the locale. Once fixed on the gnome-terminal
> project, this should be removed.
>
> Tested on gnome-terminal versions:
>
> GNOME Terminal 3.4.1.1
> GNOME Terminal 3.14.2 (Default on Ubuntu 15.04)
>
> [YOCTO #7791]
>
> Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
> ---
> meta/lib/oe/terminal.py | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/meta/lib/oe/terminal.py b/meta/lib/oe/terminal.py
> index 4f5c611..52a8913 100644
> --- a/meta/lib/oe/terminal.py
> +++ b/meta/lib/oe/terminal.py
> @@ -57,6 +57,12 @@ class Gnome(XTerminal):
> priority = 2
>
> def __init__(self, sh_cmd, title=None, env=None, d=None):
> + # Recent versions of gnome-terminal does not support non-UTF8 charset:
> + # https://bugzilla.gnome.org/show_bug.cgi?id=732127; as a workaround,
> + # clearing the LC_ALL environment variable so it uses the locale.
> + # Once fixed on the gnome-terminal project, this should be removed.
> + if os.getenv('LC_ALL'): os.putenv('LC_ALL','')
> +
> # Check version
> vernum = check_terminal_version("gnome-terminal")
> if vernum and LooseVersion(vernum) >= '3.10':
>
prev parent reply other threads:[~2015-06-18 19:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-02 19:54 [PATCH] terminal.py: Allow devshell/menuconfig on recent gnome-terminal leonardo.sandoval.gonzalez
2015-06-18 19:26 ` Leonardo Sandoval [this message]
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=55831B63.60406@linux.intel.com \
--to=leonardo.sandoval.gonzalez@linux.intel.com \
--cc=openembedded-core@lists.openembedded.org \
/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 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.