beralt / horepg

A simple translator between the Horizion JSON format and the XMLTV format

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error message when executing horepgd

rayholland opened this issue · comments

I'm getting following error:

root@tvheadend:/usr/local/bin# python3 /usr/local/bin/horepgd.py -s /home/hts/.hts/tvheadend/epggrab/xmltv.sock -p /run/horepgd.pid -u hts -g video -tvh tvheadend -tvh_username xxxxxxx -tvh_password xxxxxxxxxx
DEBUG:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): tvheadend
DEBUG:requests.packages.urllib3.connectionpool:http://tvheadend:9981 "GET /api/channel/list HTTP/1.1" 200 960
DEBUG:root:Fetching listings for 30 channels
DEBUG:root:Switching hosts
DEBUG:root:Switching hosts
DEBUG:root:Adding 364 programmes for channel Nicktoons
Traceback (most recent call last):
File "/usr/local/bin/horepgd.py", line 4, in
import('pkg_resources').run_script('HorEPG==0.1', 'horepgd.py')
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 739, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 1501, in run_script
exec(script_code, namespace, namespace)
File "/usr/local/lib/python3.5/dist-packages/HorEPG-0.1-py3.5.egg/EGG-INFO/scripts/horepgd.py", line 146, in
File "/usr/local/lib/python3.5/dist-packages/HorEPG-0.1-py3.5.egg/EGG-INFO/scripts/horepgd.py", line 142, in main
File "/usr/local/lib/python3.5/dist-packages/HorEPG-0.1-py3.5.egg/EGG-INFO/scripts/horepgd.py", line 89, in run_import
File "/usr/local/lib/python3.5/dist-packages/HorEPG-0.1-py3.5.egg/horepg/tvheadend.py", line 33, in send
FileNotFoundError: [Errno 2] No such file or directory

Sorry, my mistake. I forgot to enable the external XMLTV in tvheadend (vinkje enabled). It is working now. This issue can be closed