I have seen something like this before (issue #579
<https://github.com/weewx/weewx/issues/579>).

The problem is being caused by the deep copying of a ConfigObj structure.
ConfigObj tries to fill in the interpolations during the copy but, of
course, 'asctime' is not available --- it's only available when logging
something.

This was fixed, but not released yet. In the meantime, you have two choices:

   1. You can work around the problem by changing the values in
   weeutil/logger.py to what you need; or
   2. You can use the current (totally runable) version in GitHub.


-tk

On Wed, Sep 30, 2020 at 2:48 PM vince <vinceska...@gmail.com> wrote:

> On Wednesday, September 30, 2020 at 11:50:45 AM UTC-7, Tom Quinn wrote:
>>
>> that seems to work just fine... I think. this looks like I think it
>> should.
>>
>>
>> /home/weewx/bin/user # python timetest.py
>>
>>
> Can you verify 'python' there is python3 specifically ?
>
> python -V
>
> (just in case you have both python2 and python3 installed and your system
> default isn't the python you think weewx is running)
>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/ce3fa614-e49f-4f28-8c61-572875f821c7o%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/ce3fa614-e49f-4f28-8c61-572875f821c7o%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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zEDLt2GOU%3D6K8AdExzcFrxGfx-UgdT%2BJL_y4sM_AA2iTkw%40mail.gmail.com.

Reply via email to