Hi My DB... 4 years. Sqlite Lastest version of weewx (3.8.2).
I try now with new belchertown_highchartsSearchX.py and: wee_reports... not finished.....never...... pi@meteomontaos:~ $ sudo wee_reports Using configuration file /etc/weewx/weewx.conf Generating for all time and no errors in log. Greetings and thanks. El lunes, 3 de septiembre de 2018, 13:39:21 (UTC+2), Pat escribió: > > Juan, I'm still struggling with trying to re-create this error. Just > curious if you've updated to version 0.6 > <https://github.com/poblabs/weewx-belchertown/releases>? I don't think > it'll fix anything, but I'd like to see if you're on the latest version. If > so, set debug = 1 in weewx.conf, and post the log reports. I need to see > everything after the log line: "Belchertown Extension: version 0.6" > > Some more questions: > > 1. How old is your database? > 2. What type of database are you using (mysql, sqlite)? > 3. What version of weewx? > > If you'd like, you can open a new issue on the GitHub skin repo > <https://github.com/poblabs/weewx-belchertown/issues>, so that way your > messages don't get lost in this thread and we can work together on the > issue. > > > > On Monday, September 3, 2018 at 2:00:53 AM UTC-4, Juan Antonio Mosquera > wrote: > > I'm still having the same problem. Had not been solved already in > previous versions? I would like to try this skin ... but I can not. > > El jueves, 30 de agosto de 2018, 20:14:47 (UTC+2), Pat escribió: > > Juan, how did you install weewx? APT/YUM or setup.py? > > On Thursday, August 30, 2018 at 2:27:32 AM UTC-4, Juan Antonio Mosquera > wrote: > > Hi, my steps> > > pi@meteomontaos:~ $ sudo vim /etc/weewx/weewx.conf > pi@meteomontaos:~ $ sudo wee_extension --install > weewx-belchertown-0.5.tar.gz > Request to install 'weewx-belchertown-0.5.tar.gz' > Extracting from tar archive weewx-belchertown-0.5.tar.gz > Saving installer file to /usr/share/weewx/user/installer/Belchertown > Saved configuration dictionary. Backup copy at > /etc/weewx/weewx.conf.20180830075700 > Finished installing extension 'weewx-belchertown-0.5.tar.gz' > pi@meteomontaos:~ $ sudo wee_extension --list > Extension Name Version Description > Belchertown 0.1 A clean modern skin with real time streaming > updates and interactive charts. Modeled after BelchertownWeather.com > csv 0.5 Emit loop or archive data in CSV format. > pi@meteomontaos:~ $ sudo vim /etc/weewx/weewx.conf > pi@meteomontaos:~ $ sudo service weewx stop > pi@meteomontaos:~ $ sudo service weewx start > pi@meteomontaos:~ $ sudo journalctl -f > > > Change your .py and result> > > > Aug 30 08:25:41 meteomontaos weewx[11275]: reportengine: Caught > unrecoverable exception in generator weewx.cheetahgenerator.CheetahGenerator > Aug 30 08:25:41 meteomontaos weewx[11275]: **** start time (1514674800) > is greater than stop time (1420066800) > Aug 30 08:25:41 meteomontaos weewx[11275]: **** Traceback (most recent > call last): > Aug 30 08:25:41 meteomontaos weewx[11275]: **** File > "/usr/share/weewx/weewx/reportengine.py", line 239, in run > Aug 30 08:25:41 meteomontaos weewx[11275]: **** obj.start() > Aug 30 08:25:41 meteomontaos weewx[11275]: **** File > "/usr/share/weewx/weewx/reportengine.py", line 273, in start > Aug 30 08:25:41 meteomontaos weewx[11275]: **** self.run() > Aug 30 08:25:41 meteomontaos weewx[11275]: **** File > "/usr/share/weewx/weewx/cheetahgenerator.py", line 158, in run > Aug 30 08:25:41 meteomontaos weewx[11275]: **** ngen = > self.generate(gen_dict[section_name], self.gen_ts) > Aug 30 08:25:41 meteomontaos weewx[11275]: **** File > "/usr/share/weewx/weewx/cheetahgenerator.py", line 232, in generate > Aug 30 08:25:41 meteomontaos weewx[11275]: **** ngen += > self.generate(section[subsection], gen_ts) > Aug 30 08:25:41 meteomontaos weewx[11275]: **** File > "/usr/share/weewx/weewx/cheetahgenerator.py", line 232, in generate > Aug 30 08:25:41 meteomontaos weewx[11275]: **** ngen += > self.generate(section[subsection], gen_ts) > Aug 30 08:25:41 meteomontaos weewx[11275]: **** File > "/usr/share/weewx/weewx/cheetahgenerator.py", line 320, in generate > Aug 30 08:25:41 meteomontaos weewx[11275]: **** default_binding) > Aug 30 08:25:41 meteomontaos weewx[11275]: **** File > "/usr/share/weewx/weewx/cheetahgenerator.py", line 372, in _getSearchList > Aug 30 08:25:41 meteomontaos weewx[11275]: **** searchList += > obj.get_extension_list(timespan, db_lookup) > Aug 30 08:25:41 meteomontaos weewx[11275]: **** File > "/usr/share/weewx/user/belchertown_highchartsSearchX.py", line 1350, in > get_extension_list > Aug 30 08:25:41 meteomontaos weewx[11275]: **** (time_start_vt, > time_stop_vt, outTemp_vt) = db_lookup().getSqlVectors(TimeSpan(_start_ts, > timespan.stop), 'outTemp', 'max', 86400) > Aug 30 08:25:41 meteomontaos weewx[11275]: **** File > "/usr/share/weewx/weeutil/weeutil.py", line 315, in __new__ > Aug 30 08:25:41 meteomontaos weewx[11275]: **** raise > ValueError("start time (%d) is greater than stop time (%d)" % (args[0], > args[1])) > Aug 30 08:25:41 meteomontaos weewx[11275]: **** ValueError: start time > (1514674800) is greater than stop time (1420066800) > Aug 30 08:25:41 meteomontaos weewx[11275]: **** Generator terminated > > > > El miércoles, 29 de agosto de 2018, 17:42:41 (UTC+2), Pat escribió: > > So you get that error with 0.5? Or you re-install and it is OK now? > > On Wednesday, August 29, 2018 at 11:32:36 AM UTC-4, Juan Antonio Mosquera > wrote: > > I installed 0.5 version... and weewx 3.8.2 running in Raspberry Pi B+. And > now... I uninstalled your extension. When extension running OK I install it. > > El miércoles, 29 de agosto de 2018, 17:24:27 (UTC+2), Pat escribió: > > Juan, which version did you install? This particular error should have > been resolved in 0.5 > <https://github.com/poblabs/weewx-belchertown/releases>. Please upgrade > to that version. > > > On Wednesday, August 29, 2018 at 11:16:52 AM UTC-4, Juan Antonio Mosquera > wrote: > > My result is: > > > Aug 29 17:16:28 meteomontaos wee_reports[4760]: reportengine: Caught > unrecoverable exception in generator weewx.cheetahgenerator.CheetahGenerator > Aug 29 17:16:28 meteomontaos wee_reports[4760]: **** start time > (1514674800) is greater than stop time (1420066800) > Aug 29 17:16:28 meteomontaos wee_reports[4760]: **** Traceback (most > recent call last): > Aug 29 17:16:28 meteomontaos wee_reports[4760]: **** File > "/usr/share/weewx/weewx/reportengine.py", line 239, in run > Aug 29 17:16:28 meteomontaos wee_reports[4760]: **** obj.start() > Aug 29 17:16:28 meteomontaos wee_reports[4760]: **** File > "/usr/share/weewx/weewx/reportengine.py", line 273, in start > Aug 29 17:16:28 meteomontaos wee_reports[4760]: **** self.run() > Aug 29 17:16:28 meteomontaos wee_reports[4760]: **** File > "/usr/share/weewx/weewx/cheetahgenerator.py", line 158, in run > Aug 29 17:16:28 meteomontaos wee_reports[4760]: **** ngen = > self.generate(gen_dict[section_name], self.gen_ts) > Aug 29 17:16:28 meteomontaos wee_reports[4760]: **** File > "/usr/share/weewx/weewx/cheetahgenerator.py", line 232, in generate > Aug 29 17:16:28 meteomontaos wee_reports[4760]: **** ngen += > self.generate(section[subsection], gen_ts) > Aug 29 17:16:28 meteomontaos wee_reports[4760]: **** File > "/usr/share/weewx/weewx/cheetahgenerator.py", line 232, in generate > Aug 29 17:16:28 meteomontaos wee_reports[4760]: **** ngen += > self.generate(section[subsection], gen_ts) > Aug 29 17:16:28 meteomontaos wee_reports[4760]: **** File > "/usr/share/weewx/weewx/cheetahgenerator.py", line 320, in generate > Aug 29 17:16:28 meteomontaos wee_reports[4760]: **** default_binding) > Aug 29 17:16:28 meteomontaos wee_reports[4760]: **** File > "/usr/share/weewx/weewx/cheetahgenerator.py", line 372, in _getSearchList > Aug 29 17:16:28 meteomontaos wee_reports[4760]: **** searchList += > obj.get_extension_list(timespan, db_lookup) > Aug 29 17:16:28 meteomontaos wee_reports[4760]: **** File > "/usr/share/weewx/user/belchertown_highchartsSearchX.py", line 1350, in > get_extension_list > Aug 29 17:16:28 meteomontaos wee_reports[4760]: **** (time_start_vt, > time_stop_vt, outTemp_vt) = db_lookup().getSqlVectors(TimeSpan(_start_ts, > timespan.stop), 'outTemp', 'max', 86400) > Aug 29 17:16:28 meteomontaos wee_reports[4760]: **** File > "/usr/share/weewx/ > > ... -- 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. For more options, visit https://groups.google.com/d/optout.