Yes im running the latest buster on an RPI4. Running host after running PYTHONPATH just replied connection timed out , no servers could be reached. Yet my RPI3 works perfectly ok.
On Fri, 10 Apr 2020, 17:55 John Kline, <j...@johnkline.com> wrote: > My guess is that the Akamai servers that you are being directed to are > acting up when you are getting the denied messages. > > The temporary name resolution could also be Akamai dns problems. > > Immediately after you see the temporary failure, does running ‘host > datapoint.metoffice.gov.uk‘ resolve? > > Just grasping at straws for these remaining questions: > What raspberry pi, what version of Raspbian, what version of Py3? (I’m > running an up to date RPi4 with Buster 4.19.97-v7l+ #1294 SMP Thu Jan 30 > 13:21:14 GMT 2020 armv7l GNU/Linux and Python 3.7.3 on my end to try this > and all is working fine.) > > On Apr 10, 2020, at 9:28 AM, Phil Owers <philip.c.ow...@gmail.com> wrote: > > > At the cursor > pi@raspberrypi:/home/weewx $ PYTHONPATH=/home/weewx/bin python3 > /home/weewx/bin/user/forecast.py --method UKMO --action download --loc > 354731 --api-key xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxf051 > None > pi@raspberrypi:/home/weewx $ > > In the log > Apr 10 17:17:12 raspberrypi forecast[3785] INFO __main__: MainThread: > UKMO: download forecast from ' > http://datapoint.metoffice.gov.uk/public/data/val/wxfcs/all/json/354731?res=3hourly&key=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXf051 > ' > Apr 10 17:17:32 raspberrypi forecast[3785] ERROR __main__: MainThread: > UKMO: failed attempt 1 to download forecast: <urlopen error [Errno -3] > Temporary failure in name resolution> > Apr 10 17:17:52 raspberrypi forecast[3785] ERROR __main__: MainThread: > UKMO: failed attempt 2 to download forecast: <urlopen error [Errno -3] > Temporary failure in name resolution> > Apr 10 17:18:01 raspberrypi kernel: [23984.559200] brcmfmac: > brcmf_run_escan: error (-110) > Apr 10 17:18:01 raspberrypi kernel: [23984.559217] brcmfmac: > brcmf_cfg80211_scan: scan error (-110) > Apr 10 17:18:12 raspberrypi forecast[3785] ERROR __main__: MainThread: > UKMO: failed attempt 3 to download forecast: <urlopen error [Errno -3] > Temporary failure in name resolution> > Apr 10 17:18:12 raspberrypi forecast[3785] ERROR __main__: MainThread: > UKMO: failed to download forecast > > Phil > On Wednesday, April 8, 2020 at 3:11:31 PM UTC+1, Phil Owers wrote: >> >> Just downloaded the forecast extension which was 3.3.2.which I think is >> the latest on to a python 3 only machine (weewx 4.0.0b18) and it fails >> forecast.py Line 567 except OSError , e; with an underscore under the , >> Just wondered if anybody else has had this. >> Cheers Phil >> > -- > You received this message because you are subscribed to the Google Groups > "weewx-user" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to weewx-user+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/21c677cf-99b6-412d-8085-24dfea8e5b7c%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/21c677cf-99b6-412d-8085-24dfea8e5b7c%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > -- > You received this message because you are subscribed to the Google Groups > "weewx-user" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to weewx-user+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/758FAA47-402E-467A-BB66-681A4E3E8C28%40johnkline.com > <https://groups.google.com/d/msgid/weewx-user/758FAA47-402E-467A-BB66-681A4E3E8C28%40johnkline.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CALTQ7pP-Zz4b8%2BOWAtawr4%2BEvP%3DKjk-hvZq0LJwmriP36aJd-g%40mail.gmail.com.