Hello, I must be failing somewhere but followed instructions to install this (Ubuntu 18.04 with Apache2; cgi mod enabled) but cannot get this to work. Apache error log spits out (see below)
I have a .cgi and a .py test page which work - but are very simple
As an aside, I do have David P's js version working; so I CAN manage something...
<pre>
[Fri Sep 24 14:11:04.731995 2021] [core:notice] [pid 43595:tid 140394749135808] AH00094: Command line: '/usr/sbin/apache2'
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3.6/tempfile.py", line 401, in
mkstempinner
fd =os.open(file, flags, 0o600)
FileNotFoundError: [Errno 2] No such file or directory: '/var/www/html/pythonerrors/tmpdc207m2w.html'
Original exception was:
Traceback (most recent call last):
File "/usr/lib/cgi-bin/tvh_epg.py", line 1615, in <module>
web_interface()
File "/usr/lib/cgi-bin/tvh_epg.py", line 1550, in web_interface
html_page_header()
File "/usr/lib/cgi-bin/tvh_epg.py", line 1334, in html_page_header
if BG_COL_PAGE in MY_SETTINGS[SETTINGS_SECTION] and MY_SETTINGS.get(SETTINGS_SECTION, BG_COL_PAGE) != '':
File "/usr/lib/python3.6/configparser.py", line 959, in
getitem__
raise KeyError(key)
KeyError: 'user'
[Fri Sep 24 14:11:23.088810 2021] [http:error] [pid 43599:tid 140394536879872] [client 192.xxx.x.xx:58886] AH02429: Response header name '<!--' contains invalid characters, aborting request