OK, report back. I methodically backed this config off until I thought it
resembled the default weewx, and it still did not work. However, one other
configuration I had on hand did work, though it was minimal. The one I am
working with is busy - it runs raw.py, Belchertown, mgtt, and more.
So I spent way too much time backing things off one by one until I thought
everything was gone and it looked like the OOTB one. But it still did not
work.
I said screw it and started with the one that worked and I will build it
back step by step and will find the problem that way, eventually.
On Sunday, October 27, 2019 at 2:00:44 PM UTC-4, Tom Mitchell wrote:
>
> Thanks. So that suggests something wrong with the skin, which I have
> changed since 3.9.2. I will strip it down to a minimum (the defaults that
> are in v4a4 and see what happens.
>
> The Docker container and startup are unchanged for a long time, and they
> seem to work, so I do not suspect them. Also, I started up the container
> and exec'd a shell on it and ran wee_reports manually with the config and
> it failed just like when I just docker run it (in fact, I am running my
> four 3.9.2 sites on Kubernetes).
>
> I will play and report back, and thanks Vince for the pointer!
>
> On Sunday, October 27, 2019 at 1:01:23 PM UTC-4, vince wrote:
>>
>> We might need to see your docker-compose.yml or bash script etc. you used
>> to start up the container.
>>
>> Grepping the sources I find the following in reportengine.py:
>>
>> # Iterate over each requested report
>> for report in self.config_dict['StdReport'].sections:
>>
>> # Ignore the [[Defaults]] section
>> if report == 'Defaults':
>> continue
>>
>> # See if this report is disabled
>> enabled =
>> to_bool(self.config_dict['StdReport'][report].get('enable', True))
>> if not enabled:
>> log.debug("reportengine: Report '%s' not enabled.
>> Skipping.", report)
>> continue
>>
>> log.debug("reportengine: Running report '%s'", report)
>>
>> # Fetch and build the skin_dict:
>> try:
>> skin_dict = self._build_skin_dict(report)
>> except SyntaxError:
>> log.error(" **** Report ignored")
>> continue
>>
>>
>>
--
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/f18088ad-439b-4ed5-aa09-13277e19ceb1%40googlegroups.com.