python2.3.3 + win32all-163 + py2exe0.5.0
(also tried with pywin32-200.win32-py2.3)
running the console-script "FBxmlserv. py" with python-interpreter and as
EXE-prog goes well.
running the service-module "FBservice. py" with python-interpreter also
works fine
but after comiling with py2exe (with no warnings or errors!) i get on
every host the same error message
when trying to execute the FBservice.exe
FBservice.exe Connecting to the Service Control Manager
Traceback (most recent call last):
File "boot_service.p y" line 158, in ?
pywintypes.erro r: (1063, 'StartServiceCt rlDispatcher', 'Der
Dienstprozess konnte keine Verbindung zum Dienstcontrolle r herstellen.')
has anyone an idee, what to do?
thanks
my "setup.py" script:
from distutils.core import setup
import py2exe
import sys
if len(sys.argv) < 2:
sys.argv.append ( "py2exe" )
sys.argv.append ( "--verbose" )
sys.argv.append ( "--packages" )
sys.argv.append ( "encodings" )
#sys.argv.appen d ( "-q" ) # be quiet
class Target:
def __init__ (self, **kw):
self.__dict__.u pdate ( kw )
# for versioninfo resources
self.version = "0.9.0"
FBserver = Target (
description = "firebird backend server",
script = "FBxmlserv. py",
)
FBservice = Target (
description = "firebird windows nt service",
modules = ["FBservice"],
)
excludes = [ "pywin.debugger .dbgcon", "pywin.dialogs" , "pywin.dialogs. list" ]
setup (
options = { "py2exe" : {
"compressed " : 1,
"optimize" : 2,
"excludes" : excludes
}
},
zipfile = "lib/shared.zip",
service = [FBservice],
console = [FBserver],
)