----------------------- Original Message -----------------------
From:    mdipierro <mdipie...@cs.depaul.edu>
> On Jan 5, 9:02 pm, Iceberg <iceb...@21cn.com> wrote:
> > On Jan6, 5:26am, Fran <francisb...@googlemail.com> wrote:
> > > it's all working for me now with latest
> > > src & your new winservice.py :)
> > > All I see in Event Logs is:
> > > web2py server starting
> > > web2py server stopping
> >
> > > I removed the service & rebooted to try 1.54-bin (reboot required
> > > otherwise service fails to install).
> > > This failed in the old way - service installs but won't start:
> > > System Logs just show:
> > > Timeout (30000 milliseconds) waiting for the web2py Service service to
> > > connect.
> > > The web2py Service service failed to start due to the following
> > > error:
> > > The service did not respond to the start or control request in a
> > > timely fashion.
> > > Nothing in Application Logs.
> >
> > > src works fine, but not bin.
> > > No extra diagnostics I can see.
> >
> > > F
> >
> > I tried new winservice.py with 1.55rc4 bin, no surprise, same result
> > as Fran's 1.54 bin, installed but doesn't work.
> >
> > I quoted some words here, from an old post which I mentioned in the
> > first post of this thread:
> >  http://groups.google.com/group/web2py/browse_thread/thread/8382f8fcb7...
> >
> >      "pythoncom will register a class, so if you use web2py.exe, it
> > may cannot get the class file and run. ..... how
> > to make a zipped python exe file into a windows service ...."
> >
> > Seems that is the problem need to be solved......  hope this info is
> > useful....
> >
> > Iceberg

> 
> I do not know what this means. Meanwhile I have incorporated Tim's
> patch into
> 
> 
> Massimo

Hi folks,

Just some thoughts.

If bin distribution can not start as a service only because of the possible 
reason "pythoncom will register a class, so if you use web2py.exe, it may 
cannot get the class file and run", then, can we just try to build a special 
bin distribution, in which there is no library.zip, but a directory such as 
lib/*.pyc, pehaps in this way the winservice.pyc is able to be located by the 
"pythoncom" or something.

By the way, which wrapper does Massimo use to build web2py binary distribution? 
The py2exe? It claims it can build windows service.

Sorry for all this blah and not being specific. I know too little in windows 
service world. :(

Iceberg

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to