This sounds like the problem that Luc reported, and I was also experiencing.

Tom came up with a change to xtypes.py and for whatever reason it
doesn't appear to have made it into weewx 4.

This fix cured our problem of hanging reports. Mysql was through the
roof and delaying the report generation.
That file is attached at the following, along with the discussion

https://groups.google.com/d/msg/weewx-development/fmprpi4yJrI/iQ7Rw8srAQAJ

On 07/05/2020, Jacques Terrettaz <jterret...@gmail.com> wrote:
> here is the log after Weewx startup :
>
> May  7 10:44:49 meteopi systemd[1]: Starting LSB: weewx weather system...
> May  7 10:44:49 meteopi weewx[22175] INFO __main__: Initializing weewx
> version 4.0.0
> May  7 10:44:49 meteopi weewx[22175] INFO __main__: Using Python 3.7.3
> (default, Dec 20 2019, 18:57:59) #012[GCC 8.3.0]
> May  7 10:44:49 meteopi weewx[22175] INFO __main__: Platform
> Linux-4.19.97-v7+-armv7l-with-debian-10.3
> May  7 10:44:49 meteopi weewx[22175] INFO __main__: Locale is 'fr_CH.UTF-8'
> May  7 10:44:49 meteopi weewx[22175] INFO __main__: PID file is
> /var/run/weewx.pid
> May  7 10:44:49 meteopi weewx[22179] INFO __main__: Using configuration
> file /etc/weewx/weewx.conf
> May  7 10:44:49 meteopi weewx[22163]: Starting weewx weather system: weewx.
> May  7 10:44:49 meteopi systemd[1]: Started LSB: weewx weather system.
> May  7 10:44:49 meteopi weewx[22179] INFO weewx.engine: Loading station
> type Vantage (weewx.drivers.vantage)
> May  7 10:44:49 meteopi weewx[22179] INFO weewx.engine: StdConvert target
> unit is 0x1
> May  7 10:44:49 meteopi weewx[22179] INFO weewx.wxservices: The following
> values will be calculated: pressure=prefer_hardware,
> altimeter=prefer_hardware, appTemp=prefer_hardware,
> barometer=prefer_hardware, beaufort=prefer_hardware, cloudbase=software,
> dewpoint=prefer_hardware, ET=prefer_hardware, heatindex=prefer_hardware,
> humidex=software, inDewpoint=prefer_hardware, maxSolarRad=prefer_hardware,
> rainRate=prefer_hardware, windchill=prefer_hardware,
> windrun=prefer_hardware
> May  7 10:44:49 meteopi weewx[22179] INFO weewx.wxservices: The following
> algorithms will be used for calculations: altimeter=aaASOS,
> maxSolarRad=Bras
> May  7 10:44:49 meteopi weewx[22179] INFO weewx.engine: Archive will use
> data binding wx_binding
> May  7 10:44:49 meteopi weewx[22179] INFO weewx.engine: Record generation
> will be attempted in 'hardware'
> May  7 10:44:49 meteopi weewx[22179] INFO weewx.engine: Using archive
> interval of 300 seconds (specified by hardware)
> May  7 10:44:50 meteopi weewx[22179] INFO weewx.restx: StationRegistry:
> Station will be registered.
> May  7 10:44:50 meteopi weewx[22179] INFO weewx.restx: Wunderground:
> Posting not enabled.
> May  7 10:44:50 meteopi weewx[22179] INFO weewx.restx: PWSweather: Posting
> not enabled.
> May  7 10:44:50 meteopi weewx[22179] INFO weewx.restx: CWOP: Posting not
> enabled.
> May  7 10:44:50 meteopi weewx[22179] INFO weewx.restx: WOW: Posting not
> enabled.
> May  7 10:44:50 meteopi weewx[22179] INFO weewx.restx: AWEKAS: Posting not
> enabled.
> May  7 10:44:50 meteopi weewx[22179] INFO user.mqtt: service version is
> 0.22
> May  7 10:44:50 meteopi weewx[22179] INFO user.mqtt: binding to ['loop',
> 'archive']
> May  7 10:44:50 meteopi weewx[22179] INFO user.mqtt: topic is weather
> May  7 10:44:50 meteopi weewx[22179] INFO user.mqtt: desired unit system is
>
> METRIC
> May  7 10:44:50 meteopi weewx[22179] INFO user.mqtt: data will be uploaded
> to mqtt://XXXXXXXXXXX
> May  7 10:44:50 meteopi /weewxd: restx: Newdata: service version is 2.0
> May  7 10:44:50 meteopi /weewxd: restx: Newdata: Data will be uploaded to
> http://XXXXXXXXX
> May  7 10:44:50 meteopi /weewxd: restx: Romma: service version is 2.0
> May  7 10:44:50 meteopi /weewxd: restx: Romma: Data will be uploaded to
> http://XXXXXXXXXXX
> May  7 10:44:50 meteopi /weewxd: restx: Emetsys: service version is 2.0
> May  7 10:44:50 meteopi /weewxd: restx: Emetsys: Data will be uploaded to
> http:/XXXXXXXXXXXXX
> May  7 10:44:50 meteopi /weewxd: windy: version is 0.5
> May  7 10:44:50 meteopi /weewxd: windy: Data will be uploaded to
> https://stations.windy.com/pws/update
> May  7 10:44:50 meteopi weewx[22179] INFO __main__: Starting up weewx
> version 4.0.0
> May  7 10:44:50 meteopi weewx[22179] INFO weewx.engine: Clock error is
> -0.23 seconds (positive is fast)
> May  7 10:44:50 meteopi weewx[22179] INFO weewx.engine: Using binding
> 'wx_binding' to database 'weewx'
> May  7 10:44:50 meteopi weewx[22179] INFO weewx.manager: Starting backfill
> of daily summaries
> May  7 10:44:50 meteopi weewx[22179] INFO weewx.engine: Starting main
> packet loop.
>
> --
> 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/a7d49717-c19e-4a15-bf4b-b7883ab9f189%40googlegroups.com.
>


-- 


Cheers
 Glenn

rorpi - read only raspberry pi & various weewx addons
https://github.com/glennmckechnie

-- 
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/CAAraAzhsx00u9%2B-%2BiiV7STiTpPevjEbVejBxxxfZWk4g3j77Kg%40mail.gmail.com.

Reply via email to