If I remember correctly, you migrate from a rather old installation that most likely didn't use the extended database schema. My best guess is, that you didn't upgrade your database to schemas.wview_extended.schema See: https://github.com/weewx/weewx/blob/master/bin/schemas/wview.py => doesn't contain "maxSolarRad" vs. https://github.com/weewx/weewx/blob/master/bin/schemas/wview_extended.py => conains "maxSolarRad"
The skin's configuration is assuming having the extended schema, so now your options are: - Not using the predefined Chart - Using the predefined chart without "maxSolarRad", problem here: in this case I don't know any other solution than removing it in skin .conf. I'll check an improvement - Migrate to the extended schema, see: https://weewx.com/docs/latest/customizing.htm#transfer_database_using_new_schema Yves Martin schrieb am Donnerstag, 13. Juli 2023 um 14:14:37 UTC+2: > Hi, > > I have this recurent error : > > Jul 13 08:11:47 weewx4-raspi weewx[7143] DEBUG user.jsonengine: Generating > history for obs_name maxSolarRad and column_name maxSolarRad with binding > None > Jul 13 08:11:47 weewx4-raspi weewx[7143] ERROR weewx.reportengine: Caught > unrecoverable exception in generator 'user.jsonengine.JSONGenerator' > Jul 13 08:11:47 weewx4-raspi weewx[7143] ERROR weewx.reportengine: > **** 'maxSolarRad' > Jul 13 08:11:47 weewx4-raspi weewx[7143] ERROR weewx.reportengine: > **** Traceback (most recent call last): > Jul 13 08:11:47 weewx4-raspi weewx[7143] ERROR weewx.reportengine: > **** File "/usr/share/weewx/weewx/reportengine.py", line 197, in run > Jul 13 08:11:47 weewx4-raspi weewx[7143] ERROR weewx.reportengine: > **** obj.start() > Jul 13 08:11:47 weewx4-raspi weewx[7143] ERROR weewx.reportengine: > **** File "/usr/share/weewx/weewx/reportengine.py", line 385, in start > Jul 13 08:11:47 weewx4-raspi weewx[7143] ERROR weewx.reportengine: > **** self.run() > Jul 13 08:11:47 weewx4-raspi weewx[7143] ERROR weewx.reportengine: > **** File "/usr/share/weewx/user/jsonengine.py", line 51, in run > Jul 13 08:11:47 weewx4-raspi weewx[7143] ERROR weewx.reportengine: > **** self.gen_data() > Jul 13 08:11:47 weewx4-raspi weewx[7143] ERROR weewx.reportengine: > **** File "/usr/share/weewx/user/jsonengine.py", line 128, in gen_data > Jul 13 08:11:47 weewx4-raspi weewx[7143] ERROR weewx.reportengine: > **** ret, category_history = self.gen_history_data(category, > data_type, live_$ > Jul 13 08:11:47 weewx4-raspi weewx[7143] ERROR weewx.reportengine: > **** File "/usr/share/weewx/user/jsonengine.py", line 210, in > gen_history_data > Jul 13 08:11:47 weewx4-raspi weewx[7143] ERROR weewx.reportengine: > **** db_value_tuple = weewx.units.as_value_tuple(rec, column_name) > Jul 13 08:11:47 weewx4-raspi weewx[7143] ERROR weewx.reportengine: > **** File "/usr/share/weewx/weewx/units.py", line 1644, in as_value_tuple > Jul 13 08:11:47 weewx4-raspi weewx[7143] ERROR weewx.reportengine: > **** val = record_dict[obs_type] > Jul 13 08:11:47 weewx4-raspi weewx[7143] ERROR weewx.reportengine: > **** KeyError: 'maxSolarRad' > Jul 13 08:11:47 weewx4-raspi weewx[7143] ERROR weewx.reportengine: > **** Generator terminated > > Any idea? > > Yves, > YMartin.com/meteo > -- 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/2cb011d0-8bc7-42b3-8abb-39a937ce0acbn%40googlegroups.com.
