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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/21c677cf-99b6-412d-8085-24dfea8e5b7c%40googlegroups.com.

Reply via email to