historical_max ?

75 views
Skip to first unread message

vince

unread,
Oct 30, 2020, 8:10:26 PM10/30/20
to weewx-user
Tom - I noticed in my logs that the historical_max was throwing errors.  Looks like I have historical 0.10 that I think you posted reference to a long time ago, best I can tell it was mid-April this year perhaps.

For 4.2.0 do I want to uninstall that and use tkeffer/weewx-xaggs instead ?

I'm assuming I want to uninstall the old 'historical' extension and install this one to catch up ???

Tom Keffer

unread,
Oct 30, 2020, 8:26:56 PM10/30/20
to weewx-user
Yes. You need to use weewx-xaggs.

The old weewx-xstats monkey-patched the tags system. V4.2 has a more elegant solution that doesn't require that.

--
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/e56f8c9a-38bc-47fe-aa9e-4cb62314b22co%40googlegroups.com.

vince

unread,
Oct 30, 2020, 9:02:05 PM10/30/20
to weewx-user
On Friday, October 30, 2020 at 5:26:56 PM UTC-7, Tom Keffer wrote:
Yes. You need to use weewx-xaggs.


Great - thanks !

I used the 4.2.0 extension installer but at runtime I see errors that the aggregation is unknown.

Digging a little it looks like your install.py has a couple bugs perhaps.


Shouldn't:

xtypes_services='user.xstats.XStatsService',

Actually be:

xtypes_service='user.xaggs.XAggsService',
                        ^^^^^ ^^^^
                ^
                |
           (singular)


Guessing you missed a commit+push when you renamed the file+service perhaps (?)

Tom Keffer

unread,
Oct 31, 2020, 7:08:04 AM10/31/20
to weewx-user
It should be plural, but the class type is xaggs.XAggsService.

Fixed in commit 09e64cf.

Thanks for spotting that.

-tk


--
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.

vince

unread,
Oct 31, 2020, 4:24:15 PM10/31/20
to weewx-user
Thanks Tom.  Fun extension.
Reply all
Reply to author
Forward
0 new messages