Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I2C LCD not work
#1
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
Reply


Messages In This Thread
I2C LCD not work - by ZioMauri - 2023 Aug 23, 10:13 PM
RE: I2C LCD not work - by dan - 2023 Aug 26, 03:20 PM
RE: I2C LCD not work - by dan - 2023 Aug 26, 03:48 PM
RE: I2C LCD not work - by ZioMauri - 2023 Sep 05, 11:13 PM
RE: I2C LCD not work - by dan - 2023 Sep 06, 02:59 PM
RE: I2C LCD not work - by ZioMauri - 2023 Sep 06, 04:09 PM
RE: I2C LCD not work - by ZioMauri - 2023 Sep 06, 07:34 PM
RE: I2C LCD not work - by dan - 2023 Sep 07, 02:59 PM
RE: I2C LCD not work - by ZioMauri - 2023 Sep 07, 03:42 PM
RE: I2C LCD not work - by dan - 2023 Sep 08, 02:32 PM
RE: I2C LCD not work - by dan - 2023 Sep 08, 02:52 PM

Forum Jump:


Users browsing this thread: 7 Guest(s)