The stack trace pretty much explains the issue: the unit system within your
database changed. You have to pick a system, then stick with it.

Did you change option *target_unit* within [StdConvert]?

On Mon, Jan 29, 2024 at 10:50 PM Δημήτρης Βήχος <hobbyline...@gmail.com>
wrote:

> im use 5.0.0 version with debian install .
> sudenly weewx stop to generate graphs all rest reports ang pages works
> normal
> my log.tried allready to erase the images from var/www/html/weewx but
> weewx cant genetate graphs .
>
> 2024-01-30T08:30:57.714899+02:00 metfm weewxd[20618]: INFO weewx.manager:
> Added record 2024-01-30 08:30:00 EET (1706596200) to database 'weewx.sdb'
> 2024-01-30T08:30:57.735728+02:00 metfm weewxd[20618]: INFO weewx.manager:
> Added record 2024-01-30 08:30:00 EET (1706596200) to daily summary in
> 'weewx.sdb'
> 2024-01-30T08:30:58.510882+02:00 metfm weewxd[20618]: INFO
> weewx.cheetahgenerator: Generated 8 files for report SeasonsReport in 0.68
> seconds
> 2024-01-30T08:30:58.535195+02:00 metfm weewxd[20618]: ERROR
> weewx.reportengine: Caught unrecoverable exception in generator
> 'weewx.imagegenerator.ImageGenerator'
> 2024-01-30T08:30:58.535301+02:00 metfm weewxd[20618]: ERROR
> weewx.reportengine:         ****  Unit type cannot change within an
> aggregation interval.
> 2024-01-30T08:30:58.536457+02:00 metfm weewxd[20618]: ERROR
> weewx.reportengine:         ****  Traceback (most recent call last):
> 2024-01-30T08:30:58.536496+02:00 metfm weewxd[20618]: ERROR
> weewx.reportengine:         ****    File
> "/usr/share/weewx/weewx/reportengine.py", line 207, in run
> 2024-01-30T08:30:58.536533+02:00 metfm weewxd[20618]: ERROR
> weewx.reportengine:         ****      obj.start()
> 2024-01-30T08:30:58.536569+02:00 metfm weewxd[20618]: ERROR
> weewx.reportengine:         ****    File
> "/usr/share/weewx/weewx/reportengine.py", line 399, in start
> 2024-01-30T08:30:58.536604+02:00 metfm weewxd[20618]: ERROR
> weewx.reportengine:         ****      self.run()
> 2024-01-30T08:30:58.536631+02:00 metfm weewxd[20618]: ERROR
> weewx.reportengine:         ****    File
> "/usr/share/weewx/weewx/imagegenerator.py", line 37, in run
> 2024-01-30T08:30:58.536658+02:00 metfm weewxd[20618]: ERROR
> weewx.reportengine:         ****      self.gen_images(self.gen_ts)
> 2024-01-30T08:30:58.536691+02:00 metfm weewxd[20618]: ERROR
> weewx.reportengine:         ****    File
> "/usr/share/weewx/weewx/imagegenerator.py", line 100, in gen_images
> 2024-01-30T08:30:58.536719+02:00 metfm weewxd[20618]: ERROR
> weewx.reportengine:         ****      plot = self.gen_plot(plotgen_ts,
> 2024-01-30T08:30:58.536745+02:00 metfm weewxd[20618]: ERROR
> weewx.reportengine:         ****             ^^^^^^^^^^^^^^^^^^^^^^^^^
> 2024-01-30T08:30:58.536771+02:00 metfm weewxd[20618]: ERROR
> weewx.reportengine:         ****    File
> "/usr/share/weewx/weewx/imagegenerator.py", line 236, in gen_plot
> 2024-01-30T08:30:58.536797+02:00 metfm weewxd[20618]: ERROR
> weewx.reportengine:         ****      start_vec_t, stop_vec_t, data_vec_t =
> weewx.xtypes.get_series(
> 2024-01-30T08:30:58.536823+02:00 metfm weewxd[20618]: ERROR
> weewx.reportengine:         ****
>  ^^^^^^^^^^^^^^^^^^^^^^^^
> 2024-01-30T08:30:58.536850+02:00 metfm weewxd[20618]: ERROR
> weewx.reportengine:         ****    File
> "/usr/share/weewx/weewx/xtypes.py", line 109, in get_series
> 2024-01-30T08:30:58.536876+02:00 metfm weewxd[20618]: ERROR
> weewx.reportengine:         ****      return xtype.get_series(obs_type,
> timespan, db_manager, aggregate_type,
> 2024-01-30T08:30:58.536903+02:00 metfm weewxd[20618]: ERROR
> weewx.reportengine:         ****
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 2024-01-30T08:30:58.536933+02:00 metfm weewxd[20618]: ERROR
> weewx.reportengine:         ****    File
> "/usr/share/weewx/weewx/xtypes.py", line 250, in get_series
> 2024-01-30T08:30:58.536960+02:00 metfm weewxd[20618]: ERROR
> weewx.reportengine:         ****      raise weewx.UnsupportedFeature("Unit
> type cannot change "
> 2024-01-30T08:30:58.536988+02:00 metfm weewxd[20618]: ERROR
> weewx.reportengine:         ****  weewx.UnsupportedFeature: Unit type
> cannot change within an aggregation interval.
> 2024-01-30T08:30:58.537014+02:00 metfm weewxd[20618]: ERROR
> weewx.reportengine:         ****  Generator terminated
> 2024-01-30T08:30:58.537280+02:00 metfm weewxd[20618]: Traceback (most
> recent call last):
> 2024-01-30T08:30:58.537408+02:00 metfm weewxd[20618]:   File
> "/usr/share/weewx/weewx/reportengine.py", line 207, in run
> 2024-01-30T08:30:58.537468+02:00 metfm weewxd[20618]:     obj.start()
> 2024-01-30T08:30:58.537519+02:00 metfm weewxd[20618]:   File
> "/usr/share/weewx/weewx/reportengine.py", line 399, in start
> 2024-01-30T08:30:58.537576+02:00 metfm weewxd[20618]:     self.run()
> 2024-01-30T08:30:58.537639+02:00 metfm weewxd[20618]:   File
> "/usr/share/weewx/weewx/imagegenerator.py", line 37, in run
> 2024-01-30T08:30:58.537698+02:00 metfm weewxd[20618]:
> self.gen_images(self.gen_ts)
> 2024-01-30T08:30:58.537750+02:00 metfm weewxd[20618]:   File
> "/usr/share/weewx/weewx/imagegenerator.py", line 100, in gen_images
> 2024-01-30T08:30:58.537809+02:00 metfm weewxd[20618]:     plot =
> self.gen_plot(plotgen_ts,
> 2024-01-30T08:30:58.537862+02:00 metfm weewxd[20618]:
>  ^^^^^^^^^^^^^^^^^^^^^^^^^
> 2024-01-30T08:30:58.537921+02:00 metfm weewxd[20618]:   File
> "/usr/share/weewx/weewx/imagegenerator.py", line 236, in gen_plot
> 2024-01-30T08:30:58.537980+02:00 metfm weewxd[20618]:     start_vec_t,
> stop_vec_t, data_vec_t = weewx.xtypes.get_series(
> 2024-01-30T08:30:58.538037+02:00 metfm weewxd[20618]:
>                       ^^^^^^^^^^^^^^^^^^^^^^^^
> 2024-01-30T08:30:58.538094+02:00 metfm weewxd[20618]:   File
> "/usr/share/weewx/weewx/xtypes.py", line 109, in get_series
> 2024-01-30T08:30:58.538152+02:00 metfm weewxd[20618]:     return
> xtype.get_series(obs_type, timespan, db_manager, aggregate_type,
> 2024-01-30T08:30:58.538211+02:00 metfm weewxd[20618]:
>  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 2024-01-30T08:30:58.538275+02:00 metfm weewxd[20618]:   File
> "/usr/share/weewx/weewx/xtypes.py", line 250, in get_series
> 2024-01-30T08:30:58.538339+02:00 metfm weewxd[20618]:     raise
> weewx.UnsupportedFeature("Unit type cannot change "
> 2024-01-30T08:30:58.538404+02:00 metfm weewxd[20618]:
> weewx.UnsupportedFeature: Unit type cannot change within an aggregation
> interval.
> 2024-01-30T08:30:58.539710+02:00 metfm weewxd[20618]: INFO
> weewx.reportengine: Copied 5 files to /var/www/html/weewx
> 2024-01-30T08:30:58.548300+02:00 metfm weewxd[20618]: INFO
> weewx.reportengine: Copied 6 files to /var/www/html/weewx/ss
> 2024-01-30T08:30:58.622120+02:00 metfm weewxd[20618]: INFO
> weewx.cheetahgenerator: Generated 2 files for report SteelSeries in 0.07
> seconds
> 2024-01-30T08:30:58.625251+02:00 metfm weewxd[20618]: ERROR
> weewx.reportengine: Caught unrecoverable exception in generator
> 'weewx.imagegenerator.ImageGenerator'
> 2024-01-30T08:30:58.625328+02:00 metfm weewxd[20618]: ERROR
> weewx.reportengine:         ****  Unit type cannot change within an
> aggregation interval.
> 2024-01-30T08:30:58.625926+02:00 metfm weewxd[20618]: ERROR
> weewx.reportengine:         ****  Traceback (most recent call last):
> 2024-01-30T08:30:58.625980+02:00 metfm weewxd[20618]: ERROR
> weewx.reportengine:         ****    File
> "/usr/share/weewx/weewx/reportengine.py", line 207, in run
> 2024-01-30T08:30:58.626044+02:00 metfm weewxd[20618]: ERROR
> weewx.reportengine:         ****      obj.start()
> 2024-01-30T08:30:58.626084+02:00 metfm weewxd[20618]: ERROR
> weewx.reportengine:         ****    File
> "/usr/share/weewx/weewx/reportengine.py", line 399, in start
> 2024-01-30T08:30:58.626123+02:00 metfm weewxd[20618]: ERROR
> weewx.reportengine:         ****      self.run()
> 2024-01-30T08:30:58.626162+02:00 metfm weewxd[20618]: ERROR
> weewx.reportengine:         ****    File
> "/usr/share/weewx/weewx/imagegenerator.py", line 37, in run
> 2024-01-30T08:30:58.626201+02:00 metfm weewxd[20618]: ERROR
> weewx.reportengine:         ****      self.gen_images(self.gen_ts)
> 2024-01-30T08:30:58.626241+02:00 metfm weewxd[20618]: ERROR
> weewx.reportengine:         ****    File
> "/usr/share/weewx/weewx/imagegenerator.py", line 100, in gen_images
> 2024-01-30T08:30:58.626280+02:00 metfm weewxd[20618]: ERROR
> weewx.reportengine:         ****      plot = self.gen_plot(plotgen_ts,
> 2024-01-30T08:30:58.626319+02:00 metfm weewxd[20618]: ERROR
> weewx.reportengine:         ****             ^^^^^^^^^^^^^^^^^^^^^^^^^
> 2024-01-30T08:30:58.626357+02:00 metfm weewxd[20618]: ERROR
> weewx.reportengine:         ****    File
> "/usr/share/weewx/weewx/imagegenerator.py", line 236, in gen_plot
> 2024-01-30T08:30:58.626396+02:00 metfm weewxd[20618]: ERROR
> weewx.reportengine:         ****      start_vec_t, stop_vec_t, data_vec_t =
> weewx.xtypes.get_series(
> 2024-01-30T08:30:58.626435+02:00 metfm weewxd[20618]: ERROR
> weewx.reportengine:         ****
>  ^^^^^^^^^^^^^^^^^^^^^^^^
> 2024-01-30T08:30:58.626475+02:00 metfm weewxd[20618]: ERROR
> weewx.reportengine:         ****    File
> "/usr/share/weewx/weewx/xtypes.py", line 109, in get_series
> 2024-01-30T08:30:58.626514+02:00 metfm weewxd[20618]: ERROR
> weewx.reportengine:         ****      return xtype.get_series(obs_type,
> timespan, db_manager, aggregate_type,
> 2024-01-30T08:30:58.626557+02:00 metfm weewxd[20618]: ERROR
> weewx.reportengine:         ****
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 2024-01-30T08:30:58.626596+02:00 metfm weewxd[20618]: ERROR
> weewx.reportengine:         ****    File
> "/usr/share/weewx/weewx/xtypes.py", line 250, in get_series
> 2024-01-30T08:30:58.626636+02:00 metfm weewxd[20618]: ERROR
> weewx.reportengine:         ****      raise weewx.UnsupportedFeature("Unit
> type cannot change "
> 2024-01-30T08:30:58.626676+02:00 metfm weewxd[20618]: ERROR
> weewx.reportengine:         ****  weewx.UnsupportedFeature: Unit type
> cannot change within an aggregation interval.
> 2024-01-30T08:30:58.626725+02:00 metfm weewxd[20618]: Traceback (most
> recent call last):
> 2024-01-30T08:30:58.626837+02:00 metfm weewxd[20618]: ERROR
> weewx.reportengine:         ****  Generator terminated
> 2024-01-30T08:30:58.626888+02:00 metfm weewxd[20618]:   File
> "/usr/share/weewx/weewx/reportengine.py", line 207, in run
> 2024-01-30T08:30:58.626962+02:00 metfm weewxd[20618]:     obj.start()
> 2024-01-30T08:30:58.627023+02:00 metfm weewxd[20618]:   File
> "/usr/share/weewx/weewx/reportengine.py", line 399, in start
> 2024-01-30T08:30:58.627093+02:00 metfm weewxd[20618]:     self.run()
> 2024-01-30T08:30:58.627151+02:00 metfm weewxd[20618]:   File
> "/usr/share/weewx/weewx/imagegenerator.py", line 37, in run
> 2024-01-30T08:30:58.627220+02:00 metfm weewxd[20618]:
> self.gen_images(self.gen_ts)
> 2024-01-30T08:30:58.627311+02:00 metfm weewxd[20618]:   File
> "/usr/share/weewx/weewx/imagegenerator.py", line 100, in gen_images
> 2024-01-30T08:30:58.627404+02:00 metfm weewxd[20618]:     plot =
> self.gen_plot(plotgen_ts,
> 2024-01-30T08:30:58.627485+02:00 metfm weewxd[20618]:
>  ^^^^^^^^^^^^^^^^^^^^^^^^^
> 2024-01-30T08:30:58.627577+02:00 metfm weewxd[20618]:   File
> "/usr/share/weewx/weewx/imagegenerator.py", line 236, in gen_plot
> 2024-01-30T08:30:58.627668+02:00 metfm weewxd[20618]:     start_vec_t,
> stop_vec_t, data_vec_t = weewx.xtypes.get_series(
> 2024-01-30T08:30:58.627754+02:00 metfm weewxd[20618]:
>                       ^^^^^^^^^^^^^^^^^^^^^^^^
> 2024-01-30T08:30:58.627841+02:00 metfm weewxd[20618]:   File
> "/usr/share/weewx/weewx/xtypes.py", line 109, in get_series
> 2024-01-30T08:30:58.627926+02:00 metfm weewxd[20618]:     return
> xtype.get_series(obs_type, timespan, db_manager, aggregate_type,
> 2024-01-30T08:30:58.628013+02:00 metfm weewxd[20618]:
>  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 2024-01-30T08:30:58.628100+02:00 metfm weewxd[20618]:   File
> "/usr/share/weewx/weewx/xtypes.py", line 250, in get_series
> 2024-01-30T08:30:58.628185+02:00 metfm weewxd[20618]:     raise
> weewx.UnsupportedFeature("Unit type cannot change "
> 2024-01-30T08:30:58.628268+02:00 metfm weewxd[20618]:
> weewx.UnsupportedFeature: Unit type cannot change within an aggregation
> interval.
> 2024-01-30T08:30:59.876687+02:00 metfm weewxd[20618]: INFO
> weewx.reportengine: ftpgenerator: Ftp'd 10 files in 1.25 second
>
> --
> 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/0b6353e4-3dd8-4748-8533-91e842cb7a0cn%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/0b6353e4-3dd8-4748-8533-91e842cb7a0cn%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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zEDHKasJGMxFUn869i%3D1Mc3zerqL3r_D%2BGRD-C68hO5E9A%40mail.gmail.com.

Reply via email to