Forecast from UKMO no longer working after upgrade to V4 of weewx

118 views
Skip to first unread message

Ian Flipp

unread,
May 4, 2020, 7:37:59 AM5/4/20
to weewx-user
Hello everyone,

This is my first post on any forums so if I mess please advise accordingly.

I've been running weewx for many years using the WMR100 driver, the actual station is an oregan scientific from Maplins.  I've always run weewx on a RPi, now running on RPi 4.  Everything has been fine until I upgraded to V4 and I noticed the following error in my syslog:

May  4 12:20:32 backup-pi weewxd: forecast: UKMOThread: UKMO: got 38 forecast records
May  4 12:20:32 backup-pi weewxd: forecast: UKMOThread: UKMO: saving 38 forecast records
May  4 12:20:32 backup-pi weewxd: forecast: UKMOThread: UKMO: forecast failure: addRecord() got an unexpected keyword argument 'log_level'
May  4 12:20:32 backup-pi weewxd: forecast: UKMOThread: UKMO: terminating thread

I've confirmed that the datapoint key etc are correct by posting the full url into a browser and getting the data back.

It would appear that the problem is when the retrieved data is being written to the database, is this the forecast.py module? or something else.

Any help very much appreciated.

Thanks,

Ian

p q

unread,
May 4, 2020, 9:18:17 AM5/4/20
to weewx...@googlegroups.com
I had this problem with the NWS forecast. Search this forum for "addRecord() got an unexpected keyword argument 'log_level'" and you'll find a response that helped me fix it.

--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/707e2dd9-9775-43d5-b729-ad1b5c32de26%40googlegroups.com.


--
Peter Quinn
(415)794-2264

Phil Owers

unread,
May 4, 2020, 9:46:04 AM5/4/20
to weewx-user
This should help although I seem to remember somebody  saying an upgrade to weewx-forcast-3.3.2.tar.gz would be released when weewx V4 was released
Phil

Phil Owers

unread,
May 4, 2020, 9:46:49 AM5/4/20
to weewx-user
Sorry it would help if I attached this https://github.com/chaunceygardiner/weewx-forecast


On Monday, May 4, 2020 at 12:37:59 PM UTC+1, Ian Flipp wrote:

Ian Flipp

unread,
May 4, 2020, 11:39:10 AM5/4/20
to weewx-user
Thank you,

That's sorted it :-) Everything now working as expected.

Is there a way of closing the thread or do I just leave it hanging?

Cheers,
Ian

Phil Owers

unread,
May 5, 2020, 6:15:26 AM5/5/20
to weewx...@googlegroups.com
Just leave it. P

--
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+...@googlegroups.com.

Chris Weakland

unread,
May 6, 2020, 10:10:41 AM5/6/20
to weewx-user
Where can one download the the weewx-forecast.zip file? I cannot seem to find it on the page referenced above.

The instructions state:

wee_extension --install weewx-forecast.zip

Thanks again!


On Tuesday, May 5, 2020 at 6:15:26 AM UTC-4, Phil Owers wrote:
Just leave it. P

On Mon, 4 May 2020, 16:39 Ian Flipp, <idf...@gmail.com> wrote:
Thank you,

That's sorted it :-) Everything now working as expected.

Is there a way of closing the thread or do I just leave it hanging?

Cheers,
Ian

--
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...@googlegroups.com.

Chris Weakland

unread,
May 6, 2020, 10:16:51 AM5/6/20
to weewx-user
Never mind, I got it sorted out, you just have to download the zip file of the repo.


Then rename it weewx-forecast.zip

John Kline

unread,
May 6, 2020, 11:05:29 AM5/6/20
to weewx...@googlegroups.com
I just tried this.

If one clicks the download button from the repository, the file “weewx-forecast-master.zip” is downloaded.

I’ve changed the instructions to match that.

-wee_extension --install weewx-forecast.zip
+wee_extension --install weewx-forecast-master.zip

BTW, instead of renaming the file, you could have just used:
wee_extension —install master.zip

On May 6, 2020, at 7:16 AM, Chris Weakland <chris.w...@gmail.com> wrote:


To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/4827abbb-2265-4848-8de0-eaed635e785c%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages