One of your plots is requesting an aggregation type, but not giving an aggregation interval. For example, and this is just an example, you're asking for a year plot of temperature, aggregated by average, but not giving the aggregation interval (hour? day? month?).
Look over your skin.conf carefully. It's in there somewhere! -tk On Tue, Jun 3, 2025 at 3:48 PM chin0x <[email protected]> wrote: > Hey guys, > I had weewx running on Simulation with Belchertown for a while without any > issues, it generated the graphs properly. > Today I switched to Interceptor driver with my GW2000 (WS90) and now it > did not generate the graphs anymore. I have no clue what it is... > > Here is the log: > > Jun 4 00:20:26 weewx weewxd[807]: ERROR weewx.reportengine: Caught > unrecoverable exception in generator > 'user.belchertown.HighchartsJsonGenerator' > Jun 4 00:20:26 weewx weewxd[807]: ERROR weewx.reportengine: **** > Error trying to use database binding wx_binding to graph observation > outTemp. Error was: unsupported operand type(s) for %: 'NoneType' and 'int'. > Jun 4 00:20:26 weewx weewxd[807]: ERROR weewx.reportengine: **** > Traceback (most recent call last): > Jun 4 00:20:26 weewx weewxd[807]: ERROR weewx.reportengine: **** > File "/usr/share/weewx/weewx/xtypes.py", line 109, in get_series > Jun 4 00:20:26 weewx weewxd[807]: ERROR weewx.reportengine: **** > return xtype.get_series(obs_type, timespan, db_manager, aggregate_type, > Jun 4 00:20:26 weewx weewxd[807]: ERROR weewx.reportengine: **** > File "/usr/share/weewx/weewx/xtypes.py", line 703, in get_series > Jun 4 00:20:26 weewx weewxd[807]: ERROR weewx.reportengine: **** > and aggregate_interval % 86400: > Jun 4 00:20:26 weewx weewxd[807]: ERROR weewx.reportengine: **** > TypeError: unsupported operand type(s) for %: 'NoneType' and 'int' > Jun 4 00:20:26 weewx weewxd[807]: ERROR weewx.reportengine: **** > Jun 4 00:20:26 weewx weewxd[807]: ERROR weewx.reportengine: **** > During handling of the above exception, another exception occurred: > Jun 4 00:20:26 weewx weewxd[807]: ERROR weewx.reportengine: **** > Jun 4 00:20:26 weewx weewxd[807]: ERROR weewx.reportengine: **** > Traceback (most recent call last): > Jun 4 00:20:26 weewx weewxd[807]: ERROR weewx.reportengine: **** > File "/etc/weewx/bin/user/belchertown.py", line 3727, in > get_observation_data > Jun 4 00:20:26 weewx weewxd[807]: ERROR weewx.reportengine: **** > (time_start_vt, time_stop_vt, obs_vt) = weewx.xtypes.get_series( > Jun 4 00:20:26 weewx weewxd[807]: ERROR weewx.reportengine: **** > File "/usr/share/weewx/weewx/xtypes.py", line 114, in get_series > Jun 4 00:20:26 weewx weewxd[807]: ERROR weewx.reportengine: **** > return xtype.get_series(obs_type, timespan, db_manager, aggregate_type, > Jun 4 00:20:26 weewx weewxd[807]: ERROR weewx.reportengine: **** > File "/usr/share/weewx/weewx/xtypes.py", line 703, in get_series > Jun 4 00:20:26 weewx weewxd[807]: ERROR weewx.reportengine: **** > and aggregate_interval % 86400: > Jun 4 00:20:26 weewx weewxd[807]: Traceback (most recent call last): > Jun 4 00:20:26 weewx weewxd[807]: File > "/usr/share/weewx/weewx/xtypes.py", line 109, in get_series > Jun 4 00:20:26 weewx weewxd[807]: return xtype.get_series(obs_type, > timespan, db_manager, aggregate_type, > Jun 4 00:20:26 weewx weewxd[807]: File > "/usr/share/weewx/weewx/xtypes.py", line 703, in get_series > Jun 4 00:20:26 weewx weewxd[807]: and aggregate_interval % 86400: > Jun 4 00:20:26 weewx weewxd[807]: TypeError: unsupported operand type(s) > for %: 'NoneType' and 'int' > Jun 4 00:20:26 weewx weewxd[807]: During handling of the above exception, > another exception occurred: > Jun 4 00:20:26 weewx weewxd[807]: Traceback (most recent call last): > Jun 4 00:20:26 weewx weewxd[807]: File > "/etc/weewx/bin/user/belchertown.py", line 3727, in get_observation_data > Jun 4 00:20:26 weewx weewxd[807]: (time_start_vt, time_stop_vt, > obs_vt) = weewx.xtypes.get_series( > Jun 4 00:20:26 weewx weewxd[807]: File > "/usr/share/weewx/weewx/xtypes.py", line 114, in get_series > Jun 4 00:20:26 weewx weewxd[807]: return xtype.get_series(obs_type, > timespan, db_manager, aggregate_type, > Jun 4 00:20:26 weewx weewxd[807]: File > "/usr/share/weewx/weewx/xtypes.py", line 703, in get_series > Jun 4 00:20:26 weewx weewxd[807]: and aggregate_interval % 86400: > Jun 4 00:20:26 weewx weewxd[807]: TypeError: unsupported operand type(s) > for %: 'NoneType' and 'int' > Jun 4 00:20:26 weewx weewxd[807]: During handling of the above exception, > another exception occurred: > Jun 4 00:20:26 weewx weewxd[807]: Traceback (most recent call last): > Jun 4 00:20:26 weewx weewxd[807]: File > "/usr/share/weewx/weewx/reportengine.py", line 248, in run > Jun 4 00:20:26 weewx weewxd[807]: obj.start() > Jun 4 00:20:26 weewx weewxd[807]: File > "/usr/share/weewx/weewx/reportengine.py", line 465, in start > Jun 4 00:20:26 weewx weewxd[807]: self.run() > Jun 4 00:20:26 weewx weewxd[807]: File > "/etc/weewx/bin/user/belchertown.py", line 2756, in run > Jun 4 00:20:26 weewx weewxd[807]: series_data = > self.get_observation_data( > Jun 4 00:20:26 weewx weewxd[807]: File > "/etc/weewx/bin/user/belchertown.py", line 3735, in get_observation_data > Jun 4 00:20:26 weewx weewxd[807]: raise Warning( > Jun 4 00:20:26 weewx weewxd[807]: ERROR weewx.reportengine: **** > TypeError: unsupported operand type(s) for %: 'NoneType' and 'int' > Jun 4 00:20:26 weewx weewxd[807]: Warning: Error trying to use database > binding wx_binding to graph observation outTemp. Error was: unsupported > operand type(s) for %: 'NoneType' and 'int'. > Jun 4 00:20:26 weewx weewxd[807]: ERROR weewx.reportengine: **** > Jun 4 00:20:26 weewx weewxd[807]: ERROR weewx.reportengine: **** > During handling of the above exception, another exception occurred: > Jun 4 00:20:26 weewx weewxd[807]: ERROR weewx.reportengine: **** > Jun 4 00:20:26 weewx weewxd[807]: ERROR weewx.reportengine: **** > Traceback (most recent call last): > Jun 4 00:20:26 weewx weewxd[807]: ERROR weewx.reportengine: **** > File "/usr/share/weewx/weewx/reportengine.py", line 248, in run > Jun 4 00:20:26 weewx weewxd[807]: ERROR weewx.reportengine: **** > obj.start() > Jun 4 00:20:26 weewx weewxd[807]: ERROR weewx.reportengine: **** > File "/usr/share/weewx/weewx/reportengine.py", line 465, in start > Jun 4 00:20:26 weewx weewxd[807]: ERROR weewx.reportengine: **** > self.run() > Jun 4 00:20:26 weewx weewxd[807]: ERROR weewx.reportengine: **** > File "/etc/weewx/bin/user/belchertown.py", line 2756, in run > Jun 4 00:20:26 weewx weewxd[807]: ERROR weewx.reportengine: **** > series_data = self.get_observation_data( > Jun 4 00:20:26 weewx weewxd[807]: ERROR weewx.reportengine: **** > File "/etc/weewx/bin/user/belchertown.py", line 3735, in > get_observation_data > Jun 4 00:20:26 weewx weewxd[807]: ERROR weewx.reportengine: **** > raise Warning( > Jun 4 00:20:26 weewx weewxd[807]: ERROR weewx.reportengine: **** > Warning: Error trying to use database binding wx_binding to graph > observation outTemp. Error was: unsupported operand type(s) for %: > 'NoneType' and 'int'. > Jun 4 00:20:26 weewx weewxd[807]: ERROR weewx.reportengine: **** > Generator terminated > > -- > 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 visit > https://groups.google.com/d/msgid/weewx-user/e57154cd-dd08-46fa-bfdb-f287b64f63b7n%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/e57154cd-dd08-46fa-bfdb-f287b64f63b7n%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 visit https://groups.google.com/d/msgid/weewx-user/CAPq0zED%2BfJ58azRb8-SJ7gqidLB8TqjruooAjEr6pTJgMHyMig%40mail.gmail.com.
