As requested. Scanning the logging see repeated reporting of loading of StdReport, but no text clearly pointing to errors in execution of StandardReport, nor any results. But as explained in the first message of this thread, have 'limited' experience with weewx ...
Op vrijdag 30 april 2021 om 11:28:53 UTC+2 schreef gjr80: > The config files and template tell us what should be happening but the log > will tell us what is actually happening. Have you looked in the log? Are > there any errors? You already have debug = 1 in weewx.conf so you should be > able to work out from the log what is being generated and what is not. Post > at least 10 minutes of log here and we can see what is going on. > > Gary > On Friday, 30 April 2021 at 19:00:29 UTC+10 [email protected] wrote: > >> Tom, >> Puzzled/baffled, because following the hints from you and taking into >> account also the hints from the much earlier discussion between you and >> Franklin Bockstael, but still no file openweerdata.htm appearing in folder >> /home/weewx/public_html. >> >> Have attached the (probably) relevant setup-files: >> - weewx.conf which in folder /home/weewx enables Standard-skin and sets >> the related HTML_Root to /home/weewx/public_html >> (*on purpose*, to get a different output from 'basic' etc.) >> - skin.conf which in folder /home/weewx/skins/Standard in the >> [ToDate]-segment at the first lines enables/sets the template for owd (and >> disables the 'later', other templates) >> - the template openweerdata.htm.tmpl as located in >> /home/weewx/skins/Standard >> >> The adapted conf-files seem OK, but now the nagging feeling that the >> template has an inhibiting error. >> But that is contradicted by the fact that Franklin Bockstael has it in >> operation since long time without problems. >> >> During testing not running WeeWx as daemon, but 'discrete start' by >> command ./bin/weexd >> >> Do you see a solution? >> >> >> Op woensdag 28 april 2021 om 15:40:06 UTC+2 schreef [email protected]: >> >>> I should add that the template must also be listed in the corresponding >>> skin.conf, in the [[ToDate]] section. >>> >>> On Wed, Apr 28, 2021 at 6:31 AM Tom Keffer <[email protected]> wrote: >>> >>>> Yes, the skin has to be enabled for any of the templates in the skin's >>>> folder to be processed. So, if you put your "HWA" template in ./Standard, >>>> then the report StandardReport must be enabled. >>>> >>>> Or, you can put HWA in your "./basic" folder, then enable your basic >>>> report. >>>> >>>> Either way will work. >>>> >>>> On Wed, Apr 28, 2021 at 1:07 AM Ton vanN <[email protected]> wrote: >>>> >>>>> *Brainwave?* >>>>> Aiming at a first, basic realisation the folder >>>>> /home/weewx/skins/Standard seeming the 'obvious' place, the template for >>>>> generation of the HWA-file was put in that folder. >>>>> Considering similarity with generation of other html-files the call to >>>>> the HWA-template was put in skin.conf in same folder >>>>> /home/weewx/skins/Standard >>>>> >>>>> Looking in /home/weewx at the below setting in weewx.conf, starting to >>>>> doubt that such choice is correct. >>>>> >>>>> [[StandardReport]] >>>>> # This is the old "Standard" skin. By default, it is not >>>>> enabled. >>>>> skin = Standard >>>>> enable = false >>>>> [[basic]] >>>>> skin = basic >>>>> HTML_ROOT = /var/weewx/reports >>>>> [[[Extras]]] >>>>> current = INST_SKIN_ROOT/basic/current.inc >>>>> hilo = INST_SKIN_ROOT/basic/hilo.inc >>>>> >>>>> If enable=false, *it looks as if* 'Standard'will not be called and >>>>> (as consequence no call to the HWA-template at it's present location). >>>>> But if that assumption is correct, where should I alternatively put >>>>> the template and call to the HWA-template to stay in line with 'normal >>>>> practise'? >>>>> *[Or simple enabling of 'Standard'?]* >>>>> Op woensdag 28 april 2021 om 08:30:52 UTC+2 schreef Ton vanN: >>>>> >>>>>> As requested, attached is the repeating segment of the syslog with >>>>>> debug=1 >>>>>> >>>>>> Op dinsdag 27 april 2021 om 13:21:12 UTC+2 schreef [email protected]: >>>>>> >>>>>>> Please try again, but this time set debug=1 first. >>>>>>> >>>>>>> Stop weewx >>>>>>> Set debug=1 (in weewx.conf) >>>>>>> Restart weewx >>>>>>> Post the log from startup. >>>>>>> >>>>>>> -tk >>>>>>> >>>>>>> On Fri, Mar 26, 2021 at 5:41 AM Ton vanN <[email protected]> wrote: >>>>>>> >>>>>>>> Related syslog-segment from RPI_CLI obtained with PuttySSH >>>>>>>> >>>>>>>> Op vrijdag 26 maart 2021 om 10:00:19 UTC+1 schreef Ton vanN: >>>>>>>> >>>>>>>>> Novice to WeeWX. >>>>>>>>> Have the main progam as simulator up and running (= see files >>>>>>>>> updating in folder public_html ). >>>>>>>>> Now trying to implement a template to generate an uploadfile for >>>>>>>>> HetWeerActueel. >>>>>>>>> [has been discussed earlier in this forum, but that discussion >>>>>>>>> apparently not ending with working solution] >>>>>>>>> >>>>>>>>> Template [attached in zip-file] should generate a htm-file. >>>>>>>>> For activation of the template I inserted the following text in >>>>>>>>> /home/weewx/skins/Standard/skin.conf at the end of the section >>>>>>>>> CheetahGenerator >>>>>>>>> >>>>>>>>> [[HWA]] >>>>>>>>> # Report that generates an uploadfile for HetWeerActueel. >>>>>>>>> [[[OWD]]] >>>>>>>>> template = openweerdata_wx.htm.tmpl >>>>>>>>> >>>>>>>>> Would expect the generated htm-file to appear in folder public_html >>>>>>>>> When running WeeWX no errors (which is OK), but also nowhere the >>>>>>>>> expected htm-file: >>>>>>>>> what needs to be done to activate file-generation? >>>>>>>>> >>>>>>>> -- >>>>>>>> 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/d6591a4a-09d9-41f7-8092-5e0fcbc113ccn%40googlegroups.com >>>>>>>> >>>>>>>> <https://groups.google.com/d/msgid/weewx-user/d6591a4a-09d9-41f7-8092-5e0fcbc113ccn%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/33bd4fee-48c9-42dd-9e1e-ce04ba727dddn%40googlegroups.com >>>>> >>>>> <https://groups.google.com/d/msgid/weewx-user/33bd4fee-48c9-42dd-9e1e-ce04ba727dddn%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/9446dcc8-ebd9-4d63-9198-c501af3b1988n%40googlegroups.com.
SysLog20210430.rar
Description: application/rar
