22.9.2024, 17:27
Dobry den, prosim o radu
rpi zero 2w(debian 11.10) - doinstalovany pip a bootle. Playlist funguje, epg funguje, ale zakladna stranka hlasi
Error: 500 Internal Server Error
Sorry, the requested URL 'http://10.100.3.181:8081/' caused an error:
Internal Server Error
Log z rpi
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/bottle.py", line 994, in _handle
out = route.call(**args)
File "/usr/local/lib/python3.9/dist-packages/bottle.py", line 2024, in wrapper
rv = callback(*a, **ka)
File "/home/user/script.o2tv.server/libs/web.py", line 130, in page
return template(os.path.join(get_script_path(), 'resources', 'templates', 'form.tpl'), message = message, playlist_url = playlist_url, playlist_tvheadend_streamlink_url = playlist_tvheadend_streamlink_url, epg_url = epg_url, playlist = playlist)
File "/usr/local/lib/python3.9/dist-packages/bottle.py", line 4491, in template
TEMPLATES[tplid] = adapter(name=tpl, lookup=lookup, **settings)
File "/usr/local/lib/python3.9/dist-packages/bottle.py", line 4075, in __init__
self.filename = self.search(self.name, self.lookup)
File "/usr/local/lib/python3.9/dist-packages/bottle.py", line 4090, in search
raise depr(0, 12, "Use of absolute path for template name.", "Refer to templates with names or paths relative to the lookup path.")
TypeError: exceptions must derive from BaseException
10.100.3.181 - - [20/Sep/2024 21:04:11] "GET / HTTP/1.1" 500 751
Velke dik, Emil
rpi zero 2w(debian 11.10) - doinstalovany pip a bootle. Playlist funguje, epg funguje, ale zakladna stranka hlasi
Error: 500 Internal Server Error
Sorry, the requested URL 'http://10.100.3.181:8081/' caused an error:
Internal Server Error
Log z rpi
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/bottle.py", line 994, in _handle
out = route.call(**args)
File "/usr/local/lib/python3.9/dist-packages/bottle.py", line 2024, in wrapper
rv = callback(*a, **ka)
File "/home/user/script.o2tv.server/libs/web.py", line 130, in page
return template(os.path.join(get_script_path(), 'resources', 'templates', 'form.tpl'), message = message, playlist_url = playlist_url, playlist_tvheadend_streamlink_url = playlist_tvheadend_streamlink_url, epg_url = epg_url, playlist = playlist)
File "/usr/local/lib/python3.9/dist-packages/bottle.py", line 4491, in template
TEMPLATES[tplid] = adapter(name=tpl, lookup=lookup, **settings)
File "/usr/local/lib/python3.9/dist-packages/bottle.py", line 4075, in __init__
self.filename = self.search(self.name, self.lookup)
File "/usr/local/lib/python3.9/dist-packages/bottle.py", line 4090, in search
raise depr(0, 12, "Use of absolute path for template name.", "Refer to templates with names or paths relative to the lookup path.")
TypeError: exceptions must derive from BaseException
10.100.3.181 - - [20/Sep/2024 21:04:11] "GET / HTTP/1.1" 500 751
Velke dik, Emil
