Skip to content
This repository has been archived by the owner on Jun 13, 2018. It is now read-only.

tvhProxy wont start #25

Open
darrylmorley opened this issue Aug 1, 2017 · 1 comment
Open

tvhProxy wont start #25

darrylmorley opened this issue Aug 1, 2017 · 1 comment

Comments

@darrylmorley
Copy link

● 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'

@Ingramz
Copy link

Ingramz commented Aug 1, 2017

@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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants