Closed UrTerrible closed 1 month ago
Getting to the error in windows service is a little hard, but I will walk you through it.
Thank you so much for responding so quickly!
I get the following error:
Traceback (most recent call last):
File "C:\Program Files\cabernet\tvh_main.py", line 28, in <module>
from lib import main
File "C:\Program Files\cabernet\lib\main.py", line 48, in <module>
import lib.clients.hdhr.hdhr_server as hdhr_server
File "C:\Program Files\cabernet\lib\clients\__init__.py", line 1, in <module>
import lib.clients.epg2xml
File "C:\Program Files\cabernet\lib\clients\epg2xml.py", line 29, in <module>
from lib.common.decorators import getrequest
File "C:\Program Files\cabernet\lib\common\decorators.py", line 22, in <module>
import httpcore
ModuleNotFoundError: No module named 'httpcore'
I tried to use pip to install httpcore and it says it is already installed. I am really a noob. I apologize lol.
The issue is that httpcore must be installed so the service account can see the module. By you running pip, it will look at your account and not the service account. If pip is installed correctly, cabernet will install the module for you, but again is must be installed so the service account can see it. You can try running pip from an admin window and see if that fixes it.
Hmm. I tried to run pip via admin cmd and I recieved the same info; httpcore is installed. I'm under the assumption pip is installed with Python thus I am unsure why it wouldn't work. Additionally, running tvh_main.py manually via cmd is successful. This to me says that httpcore is installed, unless I stand corrected. Your help is much appreciated.
you needing httpcore is strange. I looked and the latest version of cabernet no longer requires it. Try RC01.
I will add the installer in just a bit...
installer for RC01 added in case you need it.
You're a king amongst men! Thanks a million for your help thus far.
I get this error upon using the installer. I truly have no idea what it means.
Solved it! I was able to create a config.ini via manually running tvh_main in a new directory and copied it over to the default location. Seems to be working. Thank you!
glad it worked out. closing ticket
All of a sudden, the Windows service will no longer start. I have tried restarting, reinstalling, and deletion and re-registering of the service. Very unsure what changed.
The issue states: "Windows could not start the Cabernet service on Local Computer. The service did not return an error. This could be an internal Windows error or an internal service error.".