I will add that when the time is right, it might be helpful to the
developers when I reproduce this all again. I am happy to do that - I have
all of this under version control. I just don't know when the time is
right, meaning I would want to do this once the v4 software is thought to
be ready for that. I would guess that's the first beta. but might be wrong.
On Sunday, October 27, 2019 at 3:54:43 PM UTC-4, Tom Mitchell wrote:
>
> 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/2607861d-9c63-4855-bb5a-913b5603cf32%40googlegroups.com.