[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: M8T time offset
From: |
Gary E. Miller |
Subject: |
Re: M8T time offset |
Date: |
Wed, 22 Jan 2020 13:19:46 -0800 |
Yo Denny!
On Wed, 22 Jan 2020 08:03:27 -0800
Denny Page <address@hidden> wrote:
> Here is the error I___m receiving in current master:
>
> substituter(["contrib/webgps"], ["contrib/webgps.in"])
> scons: *** [contrib/webgps] UnicodeDecodeError : 'ascii' codec can't
> decode byte 0xc2 in position 4930: ordinal not in range(128)
> Traceback (most recent call last): File
> "/usr/lib64/python3.6/site-packages/SCons/Action.py", line 1209, in
> execute result = self.execfunction(target=target, source=rsources,
> env=env) File "/mars/software/public/gpsd/SConstruct", line 1981, in
> substituter content = sfp.read() File
> "/usr/lib64/python3.6/encodings/ascii.py", line 26, in decode return
> codecs.ascii_decode(input, self.errors)[0] UnicodeDecodeError:
> 'ascii' codec can't decode byte 0xc2 in position 4930: ordinal not in
> range(128) scons: building terminated because of errors.
I tried on scons 3.1.1 and 3.1.2, with Python 3.8.1. Unable to duplicate.
But it does look like the usual Python 2 vs 3 mess.
Can you provide your full build log? And scons version?
The 0xc2 is part of the valid UTF-8 char 0xc2 0xb0, the degree sign.
Since this is for HTML, I just replaced the degree by "°" which should
finesse the whole unicode fsck. Pull git head and see if that works for you.
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
address@hidden Tel:+1 541 382 8588
Veritas liberabit vos. -- Quid est veritas?
"If you can't measure it, you can't improve it." - Lord Kelvin
pgpMhUaV1qEJ9.pgp
Description: OpenPGP digital signature
- M8T time offset, Denny Page, 2020/01/21
- Re: M8T time offset, Gary E. Miller, 2020/01/21
- Re: M8T time offset, Denny Page, 2020/01/21
- Re: M8T time offset, Gary E. Miller, 2020/01/21
- Re: M8T time offset, Denny Page, 2020/01/21
- Re: M8T time offset, Gary E. Miller, 2020/01/21
- Re: M8T time offset, Denny Page, 2020/01/22
- Re: M8T time offset,
Gary E. Miller <=
- Re: M8T time offset, Denny Page, 2020/01/22
- Re: M8T time offset, Gary E. Miller, 2020/01/22