Don't play
antikruk opened this issue · comments
Exception in thread Thread-7:
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/psutil/init.py", line 1172, in _send_signal
os.kill(self.pid, sig)
PermissionError: [Errno 1]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/usr/lib/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "/opt/kickoff-player-git/handlers/stream.py", line 51, in open_stream
self.close()
File "/opt/kickoff-player-git/handlers/stream.py", line 45, in close
self.stop_acestream()
File "/opt/kickoff-player-git/handlers/stream.py", line 91, in stop_acestream
kill_proccess('acestreamengine')
File "/opt/kickoff-player-git/helpers/utils.py", line 156, in kill_proccess
process.kill()
File "/usr/lib/python3.6/site-packages/psutil/init.py", line 287, in wrapper
return fun(self, *args, **kwargs)
File "/usr/lib/python3.6/site-packages/psutil/init.py", line 1246, in kill
self._send_signal(signal.SIGKILL)
File "/usr/lib/python3.6/site-packages/psutil/init.py", line 1183, in _send_signal
raise AccessDenied(self.pid, self._name)
psutil._exceptions.AccessDenied: psutil.AccessDenied (pid=622, name='acestreamengine')