I need to add, that the 24 our graph is working, the others not (3 days, 
week, month) etc.
I'm not sure if this is not working since I started with a new database and 
haven't that much values in it actually.

I attached you the graph.conf

chin0x schrieb am Mittwoch, 4. Juni 2025 um 00:48:48 UTC+2:

> 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/5daa79cc-55a3-4871-8bc6-63c5cca3f4c5n%40googlegroups.com.

Attachment: graphs.conf.example
Description: Binary data

Reply via email to