bk1285 / rpi_wordclock

Software to create a Raspberry Pi based wordclock
GNU General Public License v3.0
214 stars 107 forks source link

Blank Web Interface - Flask not rendering template? #140

Closed coolbikerdad closed 3 years ago

coolbikerdad commented 4 years ago

Hi. I have had to make a new installation of my word clock and I am not getting the web interface rendering. I get a blank page on visiting http://, and "view source" shows me the contents of app.html as-is. Calls to the APIs give expected results though, so flask is running. Looks like Vue is not doing its thing. I have been running the clock beautifully since June (a power failure zapped my SD card), and a new build on Raspbian Stretch and Buster give the same results. Maybe something in a recent Raspbian update has broken. This is the case for a new installation just from the git sources, not my customised configuration. Has anyone else had problems with new installs lately? Regards, Neil

FrankX0 commented 4 years ago

Hi Neil, I can confirm that the web interface currently results in a blank screen. And yes: Vue is not doing its thing.

It fails to load iro.min.js from static/js (which is not there). Furthermore there is a reference error: colorByTemp is not defined

These changes have been made from end of September. @bk1285 @plotaBot can you have a look?

bk1285 commented 4 years ago

Thanks for reporting, @coolbikerdad, @FrankX0.

The issue of the missing iro.min.js should be resolved. Please update to lastest master. The reference error however, I cannot reproduce. Please report, if the issue continues to exist...

Best, Bernd

FrankX0 commented 4 years ago

Hi Bernd,

The web interface now renders correctly again (reference error is also gone now). I however still see two errors when loading the page:

Regards, Frank.

bk1285 commented 3 years ago

Please reopen, if still unresolved.