weather package weather-2.3_1 and port.
Dave M.
oldriverbsd9 at gmail.com
Wed May 8 03:23:54 UTC 2019
I have weather-2.3_1 installed on FreeBSD freebsd12 12.0-RELEASE-p3
FreeBSD 12.0-RELEASE-p3 GENERIC amd64, and the command, `weather lax`
gives the output:
Searching via airport...
Traceback (most recent call last):
File "/usr/local/bin/weather", line 66, in <module>
if selections.get_bool("conditions", argument) or not (
File "/usr/local/lib/python3.6/site-packages/weather.py", line 102,
in get_bool
return bool(self.get(option, argument))
File "/usr/local/lib/python3.6/site-packages/weather.py", line 83, in
get
quiet=self.get_bool("quiet")
File "/usr/local/lib/python3.6/site-packages/weather.py", line 749,
in guess
stations.read(datafile)
File "/usr/local/lib/python3.6/configparser.py", line 697, in read
self._read(fp, filename)
File "/usr/local/lib/python3.6/configparser.py", line 1015, in _read
for lineno, line in enumerate(fp, start=1):
File "/usr/local/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 0xc3 in position
3699: ordinal not in range(128)
That is with latest package install or port compiled. Although it does
work compiled with `DEFAULT_VERSIONS+=python=2.7` in make.conf
What to do?
Thanks in advance, Dave Males.
More information about the freebsd-ports
mailing list