Ahojky Waladire, nejde reset sessesion, ohlasí to toto.... A server error occurred. Please contact the administrator, a nejde spustit zadny kanal.... scrpt pod linux hlasí chyby.... Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/bottle.py", line 876, in _handle
return route.call(**args)
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/bottle.py", line 1756, in wrapper
rv = callback(*a, **ka)
^^^^^^^^^^^^^^^^^^
File "/home/service.o2tv.server/libs/web.py", line 90, in play_num
channel = channels[int(str(channel).replace('.mpd', ''))]['name']
~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: 1254959
213.155.225.250 - - [04/Sep/2024 08:49:11] "GET /play_num/1254959.mpd HTTP/1.1" 500 767
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/bottle.py", line 876, in _handle
return route.call(**args)
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/bottle.py", line 1756, in wrapper
rv = callback(*a, **ka)
^^^^^^^^^^^^^^^^^^
File "/home/service.o2tv.server/libs/web.py", line 90, in play_num
channel = channels[int(str(channel).replace('.mpd', ''))]['name']
~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/bottle.py", line 876, in _handle
return route.call(**args)
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/bottle.py", line 1756, in wrapper
rv = callback(*a, **ka)
^^^^^^^^^^^^^^^^^^
File "/home/service.o2tv.server/libs/web.py", line 90, in play_num
channel = channels[int(str(channel).replace('.mpd', ''))]['name']
~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: 1254959
213.155.225.250 - - [04/Sep/2024 08:49:11] "GET /play_num/1254959.mpd HTTP/1.1" 500 767
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/bottle.py", line 876, in _handle
return route.call(**args)
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/bottle.py", line 1756, in wrapper
rv = callback(*a, **ka)
^^^^^^^^^^^^^^^^^^
File "/home/service.o2tv.server/libs/web.py", line 90, in play_num
channel = channels[int(str(channel).replace('.mpd', ''))]['name']
~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
