2023 Aug 23, 10:13 PM
lcd_adj plugin returns blank page with "internal server error"
I started SIP manually with these commands:
sudo systemctl stop sip
cd SIP
sudo python sip.py
When I select the SETTING LCD button it returns blank page with "internal server error"
This is the error it gives me:
File "/home/mauri/SIP/web/template.py", line 1130, in _template
self._cache[name] = self._load_template(name)
File "/home/mauri/SIP/web/template.py", line 1108, in _load_template
return Template(
File "/home/mauri/SIP/web/template.py", line 943, in __init__
code = self.compile_template(text, filename)
File "/home/mauri/SIP/web/template.py", line 1020, in compile_template
compiled_code = compile(code, filename, "exec")
File "templates/lcd_adj.html", line 7
// Initialize behaviors
^
SyntaxError: invalid syntax
Template traceback:
File 'templates/lcd_adj.html', line 7
// Initialize behaviors
::ffff:192.168.10.103:53596 - - [23/Aug/2023 23:47:55] "HTTP/1.1 GET /lcd" - 500 Internal Server Error
I started SIP manually with these commands:
sudo systemctl stop sip
cd SIP
sudo python sip.py
When I select the SETTING LCD button it returns blank page with "internal server error"
This is the error it gives me:
File "/home/mauri/SIP/web/template.py", line 1130, in _template
self._cache[name] = self._load_template(name)
File "/home/mauri/SIP/web/template.py", line 1108, in _load_template
return Template(
File "/home/mauri/SIP/web/template.py", line 943, in __init__
code = self.compile_template(text, filename)
File "/home/mauri/SIP/web/template.py", line 1020, in compile_template
compiled_code = compile(code, filename, "exec")
File "templates/lcd_adj.html", line 7
// Initialize behaviors
^
SyntaxError: invalid syntax
Template traceback:
File 'templates/lcd_adj.html', line 7
// Initialize behaviors
::ffff:192.168.10.103:53596 - - [23/Aug/2023 23:47:55] "HTTP/1.1 GET /lcd" - 500 Internal Server Error