Wow. That was an obscure bug. Fixed in commit b6d2424
<https://github.com/weewx/weewx/commit/b6d2424482c2a7dc6b46e7f542c644e13383baea>,
to appear in V4.1.2... someday.

If you want something that works now, you have two choices:

   1. Either use Python 2.7, or Python 3.5. Later versions of Python won't
   work. Or,
   2. Replace files weeutil/config.py
   <https://raw.githubusercontent.com/weewx/weewx/master/bin/weeutil/config.py>,
   weewx/cheetahgenerator.py
   
<https://raw.githubusercontent.com/weewx/weewx/master/bin/weewx/cheetahgenerator.py>,
   and weewx/reportengine.py
   
<https://raw.githubusercontent.com/weewx/weewx/master/bin/weewx/reportengine.py>
   with their corresponding versions from the repository. I've supplied the
   links.

-tk

On Tue, Jun 2, 2020 at 5:17 AM Jacques Terrettaz <[email protected]>
wrote:

> Thanks Tom
>
> Le 2 juin 2020 à 14:05, Tom Keffer <[email protected]> a écrit :
>
> I was able to replicate your error. It has to do with some obscure
> side-effects of deep copying the configuration dictionary.
>
> I will figure out a workaround.
>
> -tk
>
> On Tue, Jun 2, 2020 at 4:59 AM Jacques Terrettaz <[email protected]>
> wrote:
>
>> Yes, it was also working here with 4.1.0, but no more with 4.1.1
>>
>> Le mardi 2 juin 2020 13:42:56 UTC+2, Graham Eddy a écrit :
>>>
>>> when i copy&paste your logging config of Jun 2020 02:11:13 -0700 (PDT)⁩ into
>>> my weewx.conf for 4.1.0, it works fine.
>>> i think look elsewhere for your issue
>>> ____________
>>> *Graham Eddy*
>>>
>>> On 2 Jun 2020, at 9:27 pm, Jacques Terrettaz <[email protected]> wrote:
>>>
>>> Thanks for the suggestion, but the syntax error is still here after this
>>> change..
>>>
>>> Le mardi 2 juin 2020 12:52:19 UTC+2, Graham Eddy a écrit :
>>>>
>>>> in weewx.conf, try changing “level = {log_level}” to “level = DEBUG"
>>>> ____________
>>>>
>>>>
>>> --
>>> 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/31de8947-7553-46a3-9771-e729669eff00%40googlegroups.com
>>> <https://groups.google.com/d/msgid/weewx-user/31de8947-7553-46a3-9771-e729669eff00%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>>
>>>
>> --
>> 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/29c10a28-de1c-4ec7-ada2-349cb7c02138%40googlegroups.com
>> <https://groups.google.com/d/msgid/weewx-user/29c10a28-de1c-4ec7-ada2-349cb7c02138%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
> --
> 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/AoMpHUamrUY/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/CAPq0zEC9Fow-L%2Bzac5TFohnveQ5qFNaORpZxr8wvRdxpoSGWUw%40mail.gmail.com
> <https://groups.google.com/d/msgid/weewx-user/CAPq0zEC9Fow-L%2Bzac5TFohnveQ5qFNaORpZxr8wvRdxpoSGWUw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
>
> --
> 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/7AE470EF-2C9D-457D-88FD-0AE7518CE8BA%40gmail.com
> <https://groups.google.com/d/msgid/weewx-user/7AE470EF-2C9D-457D-88FD-0AE7518CE8BA%40gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAPq0zEBpd3r%3DPDFGi%2BCQonf6mGTY36Ju0C0vd7WDWjcRr11aBg%40mail.gmail.com.

Reply via email to