#40 .exe service error

closed-invalid
nobody
None
5
2004-02-16
2004-02-12
No

I get the following error when using py2exe 2.5 and
win32-200. I have confirmed this error on several
different machines.

C:\Python23\Lib\site-
packages\py2exe\samples\advanced>C:\Python23
\Lib\site-packages\py2exe\samples\advanced\dist\My
Service.exe
Connecting to the Service Control Manager
Traceback (most recent call last):
File "boot_service.py", line 158, in ?
pywintypes.error:
(1063, 'StartServiceCtrlDispatcher', 'The service process
could not connect to the service contro
ller.')

Discussion

  • Thomas Heller

    Thomas Heller - 2004-02-16

    Logged In: YES
    user_id=11105

    This is not a bug. See here:

    <http://groups.google.de/groups?hl=de&lr=&ie=UTF-8&oe=utf-8&threadm=mailman.1472.1076516592.12720.python-list%40python.org&rnum=1&prev=/groups%3Fq%3Dpy2exe%2Bfailed%2Bfor%2Brunning%2Bcompiled%2Bservice%26hl%3Dde%26lr%3D%26ie%3DUTF-8%26oe%3Dutf-8%26selm%3Dmailman.1472.1076516592.12720.python-list%2540python.org%26rnum%3D1>

     
  • Thomas Heller

    Thomas Heller - 2004-02-16
    • status: open --> closed-invalid
     
  • Nobody/Anonymous

    Logged In: NO

    If possible, maybe you should add a message saying "This
    executable can only be started from a service manager, not
    by command line" or something like that. The error message
    seems rather suspisious.

     
  • Thomas Heller

    Thomas Heller - 2004-02-19

    Logged In: YES
    user_id=11105

    I will change the message that is displayed in 0.5.1.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks