Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATH for-next] package/htop: remove 0xe2 from MetersPanel.c
Date: Sun, 25 Feb 2018 23:20:08 +0100	[thread overview]
Message-ID: <20180225232008.04986f15@windsurf.home> (raw)
In-Reply-To: <20180220222025.3202-1-romain.naour@gmail.com>

Hello,

On Tue, 20 Feb 2018 23:20:25 +0100, Romain Naour wrote:
> This non ascii character trigger an issue with MakeHeader.py.
> 
> ./scripts/MakeHeader.py MetersPanel.c
> Traceback (most recent call last):
>   File "./scripts/MakeHeader.py", line 32, in <module>
>     for line in file.readlines():
>   File "[...]/output/host/lib/python3.6/encodings/ascii.py", line 26, in decode
>     return codecs.ascii_decode(input, self.errors)[0]
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 956: ordinal not in range(128)
> 
> Fixes:
> http://autobuild.buildroot.net/results/8ed/8edb78b054a265447fd0e83f67cba5f978be4ed6
> 
> Signed-off-by: Romain Naour <romain.naour@gmail.com>
> ---
> Matt, can you test on "U16.04 Bacon" autobuilder ? I can't reproduce here.

I do agree with Arnout that a better fix would be nice, but in the mean
time, I applied your patch to the next branch (after initially screwing
up and applying it to the master branch).

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com

      parent reply	other threads:[~2018-02-25 22:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-20 22:20 [Buildroot] [PATH for-next] package/htop: remove 0xe2 from MetersPanel.c Romain Naour
2018-02-21  3:15 ` Matthew Weber
2018-02-25 16:54 ` Arnout Vandecappelle
2018-02-25 20:30   ` Romain Naour
2018-02-25 23:20     ` Arnout Vandecappelle
2018-02-25 22:20 ` Thomas Petazzoni [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=20180225232008.04986f15@windsurf.home \
    --to=thomas.petazzoni@bootlin.com \
    --cc=buildroot@busybox.net \
    /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