Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't run windows service anymore #86

Open
frueter opened this issue May 5, 2022 · 1 comment
Open

can't run windows service anymore #86

frueter opened this issue May 5, 2022 · 1 comment

Comments

@frueter
Copy link

frueter commented May 5, 2022

Hi,

as described in more detail in the forum I can no longer start the shotgun event handler service on windows 10.
I thought it might be because I was still using Python2 so I uninstalled it and reinstalled using Python 3 via these steps:

  • pulled the latest shotgunEvents framework from github
  • installed Python 3.7.7
  • installed win32 via " D:\Python37_7\python.exe -m pip install win32"
  • installed service in an elevated powershell via: D:\Python37_7\python.exe D:\SG_Event_Daemon\src\shotgunEventDaemon.py install
  • tried to start the service via the "Services" window but got this error in the event viewer:
    "The Shotgun Event Handler service terminated with the following service-specific error:
    Incorrect function."

When trying to start the service from the powerline I don't get an error but it won't start anyway
D:\Python37_7\python.exe D:\SG_Event_Daemon\src\shotgunEventDaemon.py start

I tried the same thing with (Active)Python 2.7 (the very same one that had worked for a couple of years on htis machine) but am getting the same error.

EDIT: Running the service in the foreground in a powershell work just fine.

Any ideas how to fix or at least debug this?

Cheers,
frank

@monomon
Copy link

monomon commented Jul 12, 2022

There are probably errors in the log? Which is wherever you configured it to be (I think ProgramData is default?)

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

No branches or pull requests

2 participants