You didn't show us much context for lhe log, but I suspect that you have a
mix of old software and new configuration files.

V4.5.1 allows you to specify aggregation intervals like so:

aggregate_interval = hour

But, your version is rejecting that.

Set debug=1, stop weewxd, then restart it. Post the log from startup
through the first reporting cycle. That will allow us to see what version
you are actually running.

-tk

On Wed, May 19, 2021 at 3:35 AM Luca Oberto <[email protected]> wrote:

> Hi,
> I installed weewx on a raspberrypi and it was running well with version
> 4.4.0 and Lacrosse WS-2357 weather station.
> Some days ago I upgraded the system with apt-get update and apt-get
> upgrade. Version 4.5.1 is now installed and seems to work.
>
> The problem I have is that graphs for wind and rain are not updating. They
> are stopped as they were before the upgrade. Other graphs are ok.
>
> I am absolutely not an expert in programming or with linux so I do not
> understand what's the problem and how to solve it.
> Any help is appreciated.
>
> In the log I have the following text:
>
> May 19 12:00:54 raspberrypi weewx[530] ERROR weewx.reportengine: Caught
> unrecoverable exception in generator 'weewx.imagegenerator.ImageGenerator'
> May 19 12:00:54 raspberrypi weewx[530] ERROR weewx.reportengine:
>  ****  invalid literal for int() with base 10: 'hour'
> May 19 12:00:54 raspberrypi weewx[530] ERROR weewx.reportengine:
>  ****  Traceback (most recent call last):
> May 19 12:00:54 raspberrypi weewx[530] ERROR weewx.reportengine:
>  ****    File "/usr/share/weewx/weewx/reportengine.py", line 196, in run
> May 19 12:00:54 raspberrypi weewx[530] ERROR weewx.reportengine:
>  ****      obj.start()
> May 19 12:00:54 raspberrypi weewx[530] ERROR weewx.reportengine:
>  ****    File "/usr/share/weewx/weewx/reportengine.py", line 281, in start
> May 19 12:00:54 raspberrypi weewx[530] ERROR weewx.reportengine:
>  ****      self.run()
> May 19 12:00:54 raspberrypi weewx[530] ERROR weewx.reportengine:
>  ****    File "/usr/share/weewx/weewx/imagegenerator.py", line 41, in run
> May 19 12:00:54 raspberrypi weewx[530] ERROR weewx.reportengine:
>  ****      self.genImages(self.gen_ts)
> May 19 12:00:54 raspberrypi weewx[530] ERROR weewx.reportengine:
>  ****    File "/usr/share/weewx/weewx/imagegenerator.py", line 167, in
> genImages
> May 19 12:00:54 raspberrypi weewx[530] ERROR weewx.reportengine:
>  ****      # Aggregation specified. Get the interval.
> May 19 12:00:54 raspberrypi weewx[530] ERROR weewx.reportengine:
>  ****    File "/usr/lib/python3/dist-packages/configobj.py", line 991, in
> as_int
> May 19 12:00:54 raspberrypi weewx[530] ERROR weewx.reportengine:
>  ****      return int(self[key])
> May 19 12:00:54 raspberrypi weewx[530] ERROR weewx.reportengine:
>  ****  ValueError: invalid literal for int() with base 10: 'hour'
> May 19 12:00:54 raspberrypi weewx[530] ERROR weewx.reportengine:
>  ****  Generator terminated
> May 19 12:00:54 raspberrypi weewx[530] INFO weewx.reportengine: Copied 0
> files to /var/www/html/weewx
>
> Any ideas?
> Thank you,
> Luca
>
> --
> 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 on the web visit
> https://groups.google.com/d/msgid/weewx-user/3e8f2fbb-cb68-456e-839a-75e4977f1656n%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/3e8f2fbb-cb68-456e-839a-75e4977f1656n%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 on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zEBE6izbvUVpCXF_qg__5iyYA02dszHjmxsnHVmB3TUtxQ%40mail.gmail.com.

Reply via email to