weewx-highcharts is a search list based extension I first put together in 2016 to support Highcharts generated plots (in fact it should be completely rewritten and greatly simplified given the series tags support introduced in WeeWX v4.5.0). I last touched the extension in 2021 and do not use it anymore myself plus I am not in a position to do any work on the extension until the end of August.
That being said, the error you are encountering now is due to the absence of the appTemp daily summary table. This is most likely because you are not using the new wview_extended database schema (though it is a little puzzling if the extension was working before your upgrade as if it was working previously that indicates the appTemp daily summary table must have existed earlier and an upgrade should not resulted in appTemp being removed from your database schema). You can try using wee_database <http://weewx.com/docs.html/latest/utilities.htm#Action_--add-column> to add appTemp to your database: wee_database --add-column=appTemp This may (or may not) fix the current error. The error trace you posted also indicates that pyephem is not installed, this will prevent WeeWX from calculating maxSolarRad. You can install pyephem using sudo apt install python3-pyephem if WeeWX is being run under python3. If WeeWX is being run under python2 you will need to install pyephem via: pip install ephem Even with pyephem installed I suspect you will get a maxSolarRad related error. Gary On Friday, 28 July 2023 at 14:56:08 UTC+1 [email protected] wrote: > Thanks. > > I updated highcharts to 0.3.2 and this is the result: > > > Jul 28 15:26:02 raspberrypi wee_reports[5982] INFO weewx.engine: > StdConvert target unit is 0x1 > > Jul 28 15:26:02 raspberrypi wee_reports[5982] INFO weewx.wxservices: > StdWXCalculate will use data binding wx_binding > > Jul 28 15:26:02 raspberrypi wee_reports[5982] INFO weewx.engine:Archive > will use data binding wx_binding > > Jul 28 15:26:02 raspberrypi wee_reports[5982] INFO weewx.engine:Record > generation will be attempted in 'hardware' > > Jul 28 15:26:02 raspberrypi wee_reports[5982] INFO weewx.engine:Using > archive interval of 900 seconds (specified by hardware) > > Jul 28 15:26:02 raspberrypi wee_reports[5982] INFO > user.forecast:MainThread: OWM: forecast version 3.4.0b11 > > Jul 28 15:26:02 raspberrypi wee_reports[5982] INFO > user.forecast:MainThread: OWM: interval=10800 max_age=604800 > api_key=XXXXXXXXXXXXXXXXXXXXXXXXXXXX0d4a location=41.98,2.82 fc=5day3hour > > Jul 28 15:26:02 raspberrypi wee_reports[5982] INFO user.forecast: > MainThread: Zambretti: forecast version 3.4.0b11 > > Jul 28 15:26:02 raspberrypi wee_reports[5982] INFO > user.forecast:MainThread: Zambretti: interval=600 max_age=604800 > winddir_period=1800 pressure_period=10800 hemisphere=NORTH > lower_pressure=950.0 upper_pressure=1050.0 > > Jul 28 15:26:02 raspberrypi wee_reports[5982] INFO > weewx.restx:StationRegistry: Registration not requested. > > Jul 28 15:26:02 raspberrypi wee_reports[5982] INFO > weewx.restx:Wunderground: Posting not enabled. > > Jul 28 15:26:02 raspberrypi wee_reports[5982] INFO weewx.restx:PWSweather: > Posting not enabled. > > Jul 28 15:26:02 raspberrypi wee_reports[5982] INFO weewx.restx:CWOP: > Posting not enabled. > > Jul 28 15:26:02 raspberrypi wee_reports[5982] INFO weewx.restx:WOW: > Posting not enabled. > > Jul 28 15:26:02 raspberrypi wee_reports[5982] INFO weewx.restx:AWEKAS: > Posting not enabled. > > Jul 28 15:26:02 raspberrypi wee_reports[5982] INFO weewx.engine:'pyephem' > not detected, extended almanac data is not available > > Jul 28 15:26:09 raspberrypi wee_reports[5982] INFO > weewx.cheetahgenerator:Generated 8 files for report SeasonsReport in 6.92 > seconds > > Jul 28 15:26:13 raspberrypi wee_reports[5982] INFO > weewx.imagegenerator:Generated 15 images for report SeasonsReport in 3.85 > seconds > > Jul 28 15:26:13 raspberrypi wee_reports[5982] INFO > weewx.reportengine:Copied 89 files to /var/www/html/weewx > > Jul 28 15:26:14 raspberrypi wee_reports[5982] INFO > user.stackedwindrose:Generated 2 images for StackedWindRose in 0.23 seconds > > Jul 28 15:26:17 raspberrypi wee_reports[5982] INFO > weewx.cheetahgenerator:Generated 12 files for report forecast in 2.99 > seconds > > Jul 28 15:26:17 raspberrypi wee_reports[5982] INFO > weewx.reportengine:Copied 89 files to /var/www/html/weewx/forecast > > Jul 28 15:26:18 raspberrypi wee_reports[5982] ERROR > weewx.reportengine:Caught unrecoverable exception in generator > 'weewx.cheetahgenerator.CheetahGenerator' > > Jul 28 15:26:18 raspberrypi wee_reports[5982] ERROR > weewx.reportengine:**** no such table: archive_day_appTemp > > Jul 28 15:26:18 raspberrypi wee_reports[5982] ERROR > weewx.reportengine:**** Traceback (most recent call last): > > Jul 28 15:26:18 raspberrypi wee_reports[5982] ERROR > weewx.reportengine:**** File "/usr/share/weewx/weedb/sqlite.py", line 39, > in guarded_fn > > Jul 28 15:26:18 raspberrypi wee_reports[5982] ERROR > weewx.reportengine:**** return fn(*args, **kwargs) > > Jul 28 15:26:18 raspberrypi wee_reports[5982] ERROR > weewx.reportengine:**** File "/usr/share/weewx/weedb/sqlite.py", line 233, > in execute > > Jul 28 15:26:18 raspberrypi wee_reports[5982] ERROR > weewx.reportengine:**** return sqlite3.Cursor.execute(self, *args, **kwargs) > > Jul 28 15:26:18 raspberrypi wee_reports[5982] ERROR > weewx.reportengine:**** sqlite3.OperationalError: no such table: > archive_day_appTemp > > Jul 28 15:26:18 raspberrypi wee_reports[5982] ERROR > weewx.reportengine:**** > > Jul 28 15:26:18 raspberrypi wee_reports[5982] ERROR > weewx.reportengine:**** During handling of the above exception, another > exception occurred: > > Jul 28 15:26:18 raspberrypi wee_reports[5982] ERROR > weewx.reportengine:**** > > Jul 28 15:26:18 raspberrypi wee_reports[5982] ERROR > weewx.reportengine:**** Traceback (most recent call last): > > Jul 28 15:26:18 raspberrypi wee_reports[5982] ERROR > weewx.reportengine:**** File "/usr/share/weewx/weewx/reportengine.py", line > 197, in run > > Jul 28 15:26:18 raspberrypi wee_reports[5982] ERROR > weewx.reportengine:**** obj.start() > > Jul 28 15:26:18 raspberrypi wee_reports[5982] ERROR > weewx.reportengine:**** File "/usr/share/weewx/weewx/reportengine.py", line > 385, in start > > Jul 28 15:26:18 raspberrypi wee_reports[5982] ERROR > weewx.reportengine:**** self.run() > > Jul 28 15:26:18 raspberrypi wee_reports[5982] ERROR > weewx.reportengine:**** File "/usr/share/weewx/weewx/cheetahgenerator.py", > line 169, in run > > Jul 28 15:26:18 raspberrypi wee_reports[5982] ERROR > weewx.reportengine:**** ngen = self.generate(gen_dict[section_name], > section_name, self.gen_ts) > > Jul 28 15:26:18 raspberrypi wee_reports[5982] ERROR > weewx.reportengine:**** File "/usr/share/weewx/weewx/cheetahgenerator.py", > line 229, in generate > > Jul 28 15:26:18 raspberrypi wee_reports[5982] ERROR > weewx.reportengine:**** ngen += self.generate(section[subsection], > subsection, gen_ts) > > Jul 28 15:26:18 raspberrypi wee_reports[5982] ERROR > weewx.reportengine:**** File "/usr/share/weewx/weewx/cheetahgenerator.py", > line 229, in generate > > Jul 28 15:26:18 raspberrypi wee_reports[5982] ERROR > weewx.reportengine:**** ngen += self.generate(section[subsection], > subsection, gen_ts) > > Jul 28 15:26:18 raspberrypi wee_reports[5982] ERROR > weewx.reportengine:**** File "/usr/share/weewx/weewx/cheetahgenerator.py", > line 325, in generate > > Jul 28 15:26:18 raspberrypi wee_reports[5982] ERROR > weewx.reportengine:**** _filename)) > > Jul 28 15:26:18 raspberrypi wee_reports[5982] ERROR > weewx.reportengine:**** File "/usr/share/weewx/weewx/cheetahgenerator.py", > line 415, in _getSearchList > > Jul 28 15:26:18 raspberrypi wee_reports[5982] ERROR > weewx.reportengine:**** search_list += obj.get_extension_list(timespan, > db_lookup) > > Jul 28 15:26:18 raspberrypi wee_reports[5982] ERROR > weewx.reportengine:**** File > "/usr/share/weewx/user/highchartssearchlist.py", line 590, in > get_extension_list > > Jul 28 15:26:18 raspberrypi wee_reports[5982] ERROR > weewx.reportengine:**** ['min', 'max', 'avg']) > > Jul 28 15:26:18 raspberrypi wee_reports[5982] ERROR > weewx.reportengine:**** File > "/usr/share/weewx/user/highchartssearchlist.py", line 156, in > get_day_summary_vectors > > Jul 28 15:26:18 raspberrypi wee_reports[5982] ERROR > weewx.reportengine:**** for _rec in _cursor.execute(sql_str): > > Jul 28 15:26:18 raspberrypi wee_reports[5982] ERROR > weewx.reportengine:**** File "/usr/share/weewx/weedb/sqlite.py", line 47, > in guarded_fn > > Jul 28 15:26:18 raspberrypi wee_reports[5982] ERROR > weewx.reportengine:**** raise weedb.NoTableError(e) > > Jul 28 15:26:18 raspberrypi wee_reports[5982] ERROR > weewx.reportengine:**** weedb.NoTableError: no such table: > archive_day_appTemp > > Jul 28 15:26:18 raspberrypi wee_reports[5982] ERROR > weewx.reportengine:**** Generator terminated > > > El dia dijous, 27 de juliol de 2023 a les 23:01:24 UTC+2, Tom Keffer va > escriure: > >> See https://github.com/gjr80/weewx-highcharts/issues/10 >> >> >> On Thu, Jul 27, 2023 at 1:34 PM [email protected] <[email protected]> >> wrote: >> >>> Hello, since the 24th at 22:30 weewx has stopped. It does not even >>> update the log. >>> >>> I have updated to version 4.10.2 (I had 4.6 before but nothing changed). >>> >>> Weewx works on a 3B raspi. >>> >>> >>> generated with: sudo wee_report: >>> >>> >>> Jul 27 22:08:26 raspberrypi wee_reports[20850] ERROR weewx.reportengine: >>> >>> Caught unrecoverable exception in generator >>> 'weewx.cheetahgenerator.CheetahGenerator' >>> >>> Jul 27 22:08:26 raspberrypi wee_reports[20850] ERROR weewx.reportengine: >>> >>> **** '>' not supported between instances of 'NoneType' and 'float' >>> >>> Jul 27 22:08:26 raspberrypi wee_reports[20850] ERROR weewx.reportengine: >>> >>> **** Traceback (most recent call last): >>> >>> Jul 27 22:08:26 raspberrypi wee_reports[20850] ERROR weewx.reportengine: >>> >>> **** File "/usr/share/weewx/weewx/reportengine.py", line 197, in run >>> >>> Jul 27 22:08:26 raspberrypi wee_reports[20850] ERROR weewx.reportengine: >>> >>> **** obj.start() >>> >>> Jul 27 22:08:26 raspberrypi wee_reports[20850] ERROR weewx.reportengine: >>> >>> **** File "/usr/share/weewx/weewx/reportengine.py", line 385, in start >>> >>> Jul 27 22:08:26 raspberrypi wee_reports[20850] ERROR weewx.reportengine: >>> >>> **** self.run() >>> >>> Jul 27 22:08:26 raspberrypi wee_reports[20850] ERROR weewx.reportengine: >>> >>> **** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 169, in run >>> >>> Jul 27 22:08:26 raspberrypi wee_reports[20850] ERROR weewx.reportengine: >>> >>> **** ngen = self.generate(gen_dict[section_name], section_name, >>> self.gen_ts) >>> >>> Jul 27 22:08:26 raspberrypi wee_reports[20850] ERROR weewx.reportengine: >>> >>> **** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 229, in >>> generate >>> >>> Jul 27 22:08:26 raspberrypi wee_reports[20850] ERROR weewx.reportengine: >>> >>> **** ngen += self.generate(section[subsection], subsection, gen_ts) >>> >>> Jul 27 22:08:26 raspberrypi wee_reports[20850] ERROR weewx.reportengine: >>> >>> **** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 229, in >>> generate >>> >>> Jul 27 22:08:26 raspberrypi wee_reports[20850] ERROR weewx.reportengine: >>> >>> **** ngen += self.generate(section[subsection], subsection, gen_ts) >>> >>> Jul 27 22:08:26 raspberrypi wee_reports[20850] ERROR weewx.reportengine: >>> >>> **** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 325, in >>> generate >>> >>> Jul 27 22:08:26 raspberrypi wee_reports[20850] ERROR weewx.reportengine: >>> >>> **** _filename)) >>> >>> Jul 27 22:08:26 raspberrypi wee_reports[20850] ERROR weewx.reportengine: >>> >>> **** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 415, in >>> _getSearchList >>> >>> Jul 27 22:08:26 raspberrypi wee_reports[20850] ERROR weewx.reportengine: >>> >>> **** search_list += obj.get_extension_list(timespan, db_lookup) >>> >>> Jul 27 22:08:26 raspberrypi wee_reports[20850] ERROR weewx.reportengine: >>> >>> **** File "/usr/share/weewx/user/highchartssearchlist.py", line 1243, in >>> get_extension_list >>> >>> Jul 27 22:08:26 raspberrypi wee_reports[20850] ERROR weewx.reportengine: >>> >>> **** period) >>> >>> Jul 27 22:08:26 raspberrypi wee_reports[20850] ERROR weewx.reportengine: >>> >>> **** File "/usr/share/weewx/user/highchartssearchlist.py", line 961, in >>> calc_windrose >>> >>> Jul 27 22:08:26 raspberrypi wee_reports[20850] ERROR weewx.reportengine: >>> >>> **** max_speed = max(speed_vec_vt.value) >>> >>> Jul 27 22:08:26 raspberrypi wee_reports[20850] ERROR weewx.reportengine: >>> >>> **** TypeError: '>' not supported between instances of 'NoneType' and >>> 'float' >>> >>> Jul 27 22:08:26 raspberrypi wee_reports[20850] ERROR weewx.reportengine: >>> >>> **** Generator terminated. >>> >>> >>> excuse me for this English., I'm Catalan and I translated with Im >>> Translator >>> >>> -- >>> 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/e947f11e-e21a-4e23-b65f-bc8d8056ca0en%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/weewx-user/e947f11e-e21a-4e23-b65f-bc8d8056ca0en%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/f11924db-e320-40f8-a522-aa095d69e4b3n%40googlegroups.com.
