Python 3.5 amd64 and win32service

eryk sun eryksun at gmail.com
Wed Oct 5 08:03:43 EDT 2016


On Wed, Oct 5, 2016 at 7:43 AM, Nagy László Zsolt <gandalf at shopzeus.com> wrote:
> It did not help. I still get the same error message (service did not
> respond in time).

Can you run the service executable directly? From the command line
check `sc qc TestService`. Run the BINARY_PATH_NAME executable, e.g.

    for /f "tokens=1* delims=: " %i in (
    'sc qc TestService ^| findstr BINARY_PATH_NAME') do @%j

output:

    C - Python Service Manager
    Options:
     -register - register the EXE - this should generally not be necessary.
     -debug servicename [parms] - debug the Python service.

    NOTE: You do not start the service using this program - start the
    service using Control Panel, or 'net start service_name'



More information about the Python-list mailing list