Using saratoga SLE inside Seasons skin

69 views
Skip to first unread message

pravee...@gmail.com

unread,
Aug 15, 2022, 6:23:01 AM8/15/22
to weewx-user
Hi,

I am trying to use saratoga SLEs inside Seasons skin. I have specified SLEs like in attacked skin.conf.snip. When I run wee_reports I get error as attached error_saratoga.
The funny thing is same tmpl works perfectly when included in skin.conf under WEEWXtags skin.conf (which comes with saratoga extension installation)

So I am a bit flummoxed as to why I am not able to use the SLE in Seasons skin.

Regards,
Praveen




error_saratoga.png
skin.conf.snip

pravee...@gmail.com

unread,
Aug 15, 2022, 6:38:26 AM8/15/22
to weewx-user
Is it because the Weewx saratoga has ws_binding as data_binding while Seasons doesnt have.

gjr80

unread,
Aug 16, 2022, 2:07:55 AM8/16/22
to weewx-user
The error you have posted is from a SLE that only uses the binding to the main WeeWX database, it does not use ws_binding, so I am confident the error has nothing to do with ws_binding or the lack thereof. Nor is it likely an issue with incompatibility with the Seasons skin. I suspect the issue is more likely some incompatibility between the SLE concerned, MonthStats, and the wee_reports environment. Whilst weewx-saratoga was put together in 2021 much of the code, in particular the SLEs, is some eight or more years old and whilst updated for various WeeWX changes over the years it likely has some issues when run using wee_reports.  I will try to find time to have a look at the problem, though unless it is a quick fix it will likely be some time before I have time to track down and fix the error.

Not sure what you are trying to achieve, though judging by your questions regarding iterating over months/years, I gather you are trying to develop some sort of historical monthly aggregate based reporting. If that is the case, and if you are going to continue to use the weewx-saratoga SLEs, I would suggest you just load those SLEs that are required (I suspect that you probably  just want the MonthStats SLE). You might find running a separate WeeWX development install with a short (1-2 minute) archive interval may compensate for being unable to use wee_reports with this SLE.

Gary

Praveen Chandrasekaran

unread,
Aug 16, 2022, 4:37:15 AM8/16/22
to weewx-user
When the template is run via weewxtags skin.conf isn't wee_reports used then?

--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/Eo9Dd9yBIe0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/bbf5ac20-5d5e-4471-8292-cc3e77ec8a72n%40googlegroups.com.

gjr80

unread,
Aug 16, 2022, 4:47:47 AM8/16/22
to weewx-user
I am not sure what you mean. The template can be 'run' either as part of a running WeeWX instance or via wee_reports. The former does not use wee_reports in any way. The latter uses wee_reports which sets up a dummy WeeWX engine to 'run' the reports in the specified (or implied) WeeWX config file.

Gary

Praveen Chandrasekaran

unread,
Aug 16, 2022, 4:54:39 AM8/16/22
to weewx-user
I did see the issue when using it in seasons skin even when reports were generated as part of 5 min archive period. I then started running wee_reports to see if I could debug it..

gjr80

unread,
Aug 16, 2022, 5:17:33 AM8/16/22
to weewx-user
I'm a little confused. I read your initial post as the SLEs worked when used in a skin under WeeWX but the same setup failed when used under wee_reports. Is this not the case? It would help to know exactly what the problem is/is not so that I don't spend time looking for a non-existent fault.

Gary

Praveen Chandrasekaran

unread,
Aug 16, 2022, 5:25:18 AM8/16/22
to weewx...@googlegroups.com
If I place the search_list_extensions and template in skin.conf in WEEWXTags folder, they work fine.

However if i place the same in Seasons skin.conf, then they error out.


Reply all
Reply to author
Forward
0 new messages