Hellowlol / HTPC-Manager

A fully responsive interface to manage all your favorite software on your Htpc.
MIT License
344 stars 48 forks source link

TVHeadend connection error #534

Open Stealth1081 opened 7 years ago

Stealth1081 commented 7 years ago

Please forgive any information or layout errors, first time posting an issue on github.

HTPC-Manager seems to not be able to connect to tvheadend.

Below is a the only log file i could find specific to HTPC-Manager

Specific error seems to be

TypeError: not enough arguments for format string 2017-02-14 22:13:41 :: cherrypy.error.47333621572752 :: ERROR :: [14/Feb/2017:22:13:41] HTTP

Traceback (most recent call last): File "/app/htpcmanager/libs/cherrypy/_cprequest.py", line 670, in respond response.body = self.handler() File "/app/htpcmanager/libs/cherrypy/lib/encoding.py", line 217, in call self.body = self.oldhandler(*args, kwargs) File "/app/htpcmanager/libs/cherrypy/lib/jsontools.py", line 63, in json_handler value = cherrypy.serving.request._json_inner_handler(*args, *kwargs) File "/app/htpcmanager/libs/cherrypy/_cpdispatch.py", line 61, in call return self.callable(self.args, self.kwargs) File "/app/htpcmanager/modules/tvheadend.py", line 83, in DVRList return self.fetch("api/dvr/entry/grid_" + strType, None) File "/app/htpcmanager/modules/tvheadend.py", line 113, in fetch self.logger.error('%s %s failed error: %s' % strQuery, rgpData, e)

I don't understand the error and it could be something i did wrong, apologies if it is.

Hellowlol commented 7 years ago

I can fix the error that is logged but I still think this module is broken. I don't have a tvcard so I have no way to test this.

Stealth1081 commented 7 years ago

Hi thanks for the reply.

If you think the module is broken i guess it is not worth fixing. If its an easy fix and you have the time i can provide log files and happy to test the functionality if it helps others.