Have you tried running the service in DEBUG mode from a command line
where it does have access to a console window?
Note, my knowledge of py2exe is "stale", but last I knew, there was no
provision to run in DEBUG mode if py2exe was used, but it is possible
to do so prior to bundling the code in py2exe.
Gordon Scott wrote:
try posting some of your code, But it sounds like your service
is crashing. Check the EventLog to see if there are any application
A common problem is using 'print' statements. A windows service
does not have a stdout, so if you are using 'print' statements it can
On 2/17/06, Brian Olsen <email@example.com> wrote:
Is this the error you are getting? If you you need to actually install
>the service and run it from the control panel, you can't run a
> by just launching the exe. you need to '-install' or '-remove' the
> service using the exe and then start using the control panel
> You don't run the service yourself - windows does it for you after
> have it installed.
> Doesn't the exe print this help?
> Services are supposed to be run by the system after they have
> These command line options are available for (de)installation:
> -user: <arg>
> -password: <arg>
> You can install the service by running 'yourexe -install', and then
> start and stop it via control panel.
Thanks Gordon and Thomas.
I got the sample service working.
However, for my script, it responded that it was not starting up in a
timely fashion, which led me to assume that running the exe on the
line will give me information why it is doing this. (I guess it
:) It seems to be instead something in my code that is causing my
problem (which I am slowly finding now.)
This SF.net email is sponsored by: Splunk Inc. Do you grep through log
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
Py2exe-users mailing list