Comments (12)
@ThePeePs Thank you! That worked! Not sure what the issue was, but I frankly don't care now. haha
from weewx-belchertown.
Ping...
from weewx-belchertown.
what did you change in the template?
from weewx-belchertown.
Its at the default now. Making changes had no effect...I had to make changes to the kiosk.html file itself that was created during the install.
from weewx-belchertown.
the kiosk.html.tmpl in the main Belchertown directory is what's used to generate the new kiosk.html page on every achieve loop of weewx. If the changes you are making are outside of the the elements that get updated by the JavaScript from MQTT events, you will need to refresh the page to see the changes.
from weewx-belchertown.
I know that....thats what I am saying...it is never updating. It made the kisok.html file on install, and that was it. Any recommendations on where to look to figure out what is/isn't going on? (BTW, thanks for replying, I do appreciate it.)
from weewx-belchertown.
Does the main page (index.html) get updated like it should?
from weewx-belchertown.
Yes. Literally everything else is working as it should.
from weewx-belchertown.
are there any errors or warnings in the weewx log file?
from weewx-belchertown.
Took me a while to parse through it (113MB), but I think I found something (below). Thoughts?
2024-01-08T16:15:27.965825-05:00 weather weewx[132051] ERROR weewx.cheetahgenerator: Compilation of template /etc/weewx/skins/Belchertown/kiosk.html.tmpl failed with exception '<class 'Cheetah.Parser.ParseError'>'
2024-01-08T16:15:27.966561-05:00 weather weewx[132051] ERROR weewx.cheetahgenerator: **** Ignoring template /etc/weewx/skins/Belchertown/kiosk.html.tmpl
2024-01-08T16:15:27.967605-05:00 weather weewx[132051] ERROR weewx.cheetahgenerator: **** Reason: #012#012Some #directives are missing their corresponding #end ___ tag: if#012Line 465, column 33 in file /etc/weewx/skins/Belchertown/kiosk.html.tmpl#012#012Line|Cheetah Code#012----|-------------------------------------------------------------#012462 | </main>#012463 | </div>#012464 |#012465 | #include "footer.html.tmpl" #012 ^
2024-01-08T16:15:27.972720-05:00 weather weewx[132051] ERROR weewx.cheetahgenerator: **** Traceback (most recent call last):
2024-01-08T16:15:27.973184-05:00 weather weewx[132051] ERROR weewx.cheetahgenerator: **** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 332, in generate
2024-01-08T16:15:27.973580-05:00 weather weewx[132051] ERROR weewx.cheetahgenerator: **** compiled_template = Cheetah.Template.Template(
2024-01-08T16:15:27.973972-05:00 weather weewx[132051] ERROR weewx.cheetahgenerator: **** ^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-01-08T16:15:27.974642-05:00 weather weewx[132051] ERROR weewx.cheetahgenerator: **** File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1337, in __init__
2024-01-08T16:15:27.975217-05:00 weather weewx[132051] ERROR weewx.cheetahgenerator: **** self._compile(source, file, compilerSettings=compilerSettings)
2024-01-08T16:15:27.975766-05:00 weather weewx[132051] ERROR weewx.cheetahgenerator: **** File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1634, in _compile
2024-01-08T16:15:27.976916-05:00 weather weewx[132051] ERROR weewx.cheetahgenerator: **** templateClass = self.compile(source, file,
2024-01-08T16:15:27.977182-05:00 weather weewx[132051] ERROR weewx.cheetahgenerator: **** ^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-01-08T16:15:27.977304-05:00 weather weewx[132051] ERROR weewx.cheetahgenerator: **** File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 775, in compile
2024-01-08T16:15:27.977407-05:00 weather weewx[132051] ERROR weewx.cheetahgenerator: **** compiler.compile()
2024-01-08T16:15:27.977504-05:00 weather weewx[132051] ERROR weewx.cheetahgenerator: **** File "/usr/lib/python3/dist-packages/Cheetah/Compiler.py", line 1810, in compile
2024-01-08T16:15:27.977673-05:00 weather weewx[132051] ERROR weewx.cheetahgenerator: **** self._parser.parse()
2024-01-08T16:15:27.977820-05:00 weather weewx[132051] ERROR weewx.cheetahgenerator: **** File "/usr/lib/python3/dist-packages/Cheetah/Parser.py", line 1561, in parse
2024-01-08T16:15:27.977980-05:00 weather weewx[132051] ERROR weewx.cheetahgenerator: **** self.assertEmptyOpenDirectivesStack()
2024-01-08T16:15:27.978152-05:00 weather weewx[132051] ERROR weewx.cheetahgenerator: **** File "/usr/lib/python3/dist-packages/Cheetah/Parser.py", line 2785, in assertEmptyOpenDirectivesStack
2024-01-08T16:15:27.978293-05:00 weather weewx[132051] ERROR weewx.cheetahgenerator: **** raise ParseError(self, msg=errorMsg)
2024-01-08T16:15:27.978406-05:00 weather weewx[132051] ERROR weewx.cheetahgenerator: **** Cheetah.Parser.ParseError:
2024-01-08T16:15:27.978556-05:00 weather weewx[132051] ERROR weewx.cheetahgenerator: ****
2024-01-08T16:15:27.978734-05:00 weather weewx[132051] ERROR weewx.cheetahgenerator: **** Some #directives are missing their corresponding #end ___ tag: if
2024-01-08T16:15:27.978851-05:00 weather weewx[132051] ERROR weewx.cheetahgenerator: **** Line 465, column 33 in file /etc/weewx/skins/Belchertown/kiosk.html.tmpl
2024-01-08T16:15:27.978952-05:00 weather weewx[132051] ERROR weewx.cheetahgenerator: ****
2024-01-08T16:15:27.979054-05:00 weather weewx[132051] ERROR weewx.cheetahgenerator: **** Line|Cheetah Code
2024-01-08T16:15:27.979178-05:00 weather weewx[132051] ERROR weewx.cheetahgenerator: **** ----|-------------------------------------------------------------
2024-01-08T16:15:27.979725-05:00 weather weewx[132051] ERROR weewx.cheetahgenerator: **** 462 | </main>
2024-01-08T16:15:27.980063-05:00 weather weewx[132051] ERROR weewx.cheetahgenerator: **** 463 | </div>
2024-01-08T16:15:27.980192-05:00 weather weewx[132051] ERROR weewx.cheetahgenerator: **** 464 |
2024-01-08T16:15:27.980288-05:00 weather weewx[132051] ERROR weewx.cheetahgenerator: **** 465 | #include "footer.html.tmpl"
2024-01-08T16:15:27.980392-05:00 weather weewx[132051] ERROR weewx.cheetahgenerator: **** ^
2024-01-08T16:15:27.980512-05:00 weather weewx[132051] ERROR weewx.cheetahgenerator: ****
2024-01-08T16:15:28.044969-05:00 weather weewx[132051] INFO weewx.cheetahgenerator: Generated 11 files for report Belchertown in 2.98 seconds
2024-01-08T16:15:28.052871-05:00 weather weewx[132051] INFO weewx.reportengine: Copied 3 files to /var/www/html
from weewx-belchertown.
Looks like an #end if
might be missing. Since it doesn't say what #if
it's looking at, your best bet might be to copy kiosk.html.tmpl from the repo, and replace it with your current one, and see if that fixes it.
And/or compare it to your current one to see if you can find the missing #end if
line
from weewx-belchertown.
I'll give that a try, thanks for your help again!
from weewx-belchertown.
Related Issues (20)
- Missing Charts HOT 11
- Upgrading to 1.3 from 1.2 HOT 2
- "drizzle" icon is missing during install and will show as broken in forecasts HOT 2
- Can't find locale HOT 1
- If Aeris throws an exception Belchertown doesn't update HOT 7
- Forecast finds the database locked, exception issue HOT 1
- Change in default charts on home page HOT 2
- Wind Rose does not seem accurate on the longer time lines HOT 1
- Pi page showing "undefined" and unformatted values after access/refresh HOT 2
- Belchertown taking forever on some weewx v5 systems HOT 22
- 29th February HOT 1
- Graphs appear with delay on refresh
- In js/belchertown.js.tmpl function get_outTemp_color returns incorrect color when outTemp <= 0 and unit is "degree_C"
- Data is being rounded to 0
- View from Reports / NOAA
- display miles instead of kilometer HOT 2
- I am getting errors after upgrading to weewx v5.0.1 and belchertown 1.3.1 HOT 1
- Missing forecast icons from pages (except home page) HOT 9
- Current Conditions Stuck/Stale
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from weewx-belchertown.