chin0x
unread,Jun 3, 2025, 6:48:48 PM6/3/25Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to weewx-user
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