Open darrylmorley opened 7 years ago
@darrylmorley try installing python3-gevent
package
Bad advice. If /home/config/tvhProxy/venv/bin/python3 /home/config/tvhProxy/tvhProxy.py
gives you that error you showed, try doing this:
cd /home/config/tvhProxy
. venv/bin/activate
pip install -r requirements.txt # you should see (venv) in front of the prompt
python3 tvhProxy.py
● tvhProxy.service - A simple proxy for Plex and Tvheadend Loaded: loaded (/etc/systemd/system/tvhProxy.service; enabled; vendor preset: enabled) Active: inactive (dead) (Result: exit-code) since Tue 2017-08-01 23:24:25 CEST; 1s ago Process: 10064 ExecStart=/home/config/tvhProxy/venv/bin/python3 /home/config/tvhProxy/tvhProxy.py (code=exited, status=1/FAILURE) Main PID: 10064 (code=exited, status=1/FAILURE) Aug 01 23:24:25 Ubuntu-1604-xenial-64-minimal systemd[1]: tvhProxy.service: Unit entered failed state. Aug 01 23:24:25 Ubuntu-1604-xenial-64-minimal systemd[1]: tvhProxy.service: Failed with result 'exit-code'. Aug 01 23:24:25 Ubuntu-1604-xenial-64-minimal systemd[1]: tvhProxy.service: Service hold-off time over, scheduling restart. Aug 01 23:24:25 Ubuntu-1604-xenial-64-minimal systemd[1]: Stopped A simple proxy for Plex and Tvheadend. Aug 01 23:24:25 Ubuntu-1604-xenial-64-minimal systemd[1]: tvhProxy.service: Start request repeated too quickly. Aug 01 23:24:25 Ubuntu-1604-xenial-64-minimal systemd[1]: Failed to start A simple proxy for Plex and Tvheadend.
When trying to run the file directly I get:
Traceback (most recent call last): File "tvhProxy.py", line 1, in
from gevent import monkey; monkey.patch_all()
ImportError: No module named 'gevent'