Thanks for the quick reply Massimo.  I had installed the
win32 extensions already.  But just tried again to be sure and noticed an
error at the end of the installation process that I didn't spot before.  So
you are correct - lack of properly installed win32 extensions is the
problem.

The error I got is described here:
http://sourceforge.net/tracker/index.php?func=detail&aid=3084013&group_id=78018&atid=551954

I'm looking for where the fix is and will update here if I find out any
more.

Tip for others: installing win32 extensions for Python 2.7 is a pain! You
need a lot of windows SDK stuff to get anywhere).  When I previously
installed the extensions for Python 2.5 it all went fine... that'll teach me
to upgade (or to be using Windows)!

On 17 October 2010 16:23, mdipierro <[email protected]> wrote:

> you need to install mark hammond win32 extensions
>
> On Oct 17, 7:13 am, Tom Atkins <[email protected]> wrote:
> > I have the same problem as Youngblood: I've just tried to install web2py
> as
> > a windows service and get the error below (Windows 7 32bit, Python 2.7,
> > pywin installed, latest web2py source from mercurial):
> >
> > c:\path\to\web2py>python web2py.py -W install
> > No handlers could be found for logger "web2py"
> > web2py Enterprise Web Framework
> > Created by Massimo Di Pierro, Copyright 2007-2010
> > Version 1.87.3 (2010-10-13 09:45:16)
> > Database drivers available: SQLite3
> > Starting hardcron...
> > WARNING:web2py.cron:WEB2PY CRON: Disabled because no file locking
> > Traceback (most recent call last):
> >   File "web2py.py", line 23, in <module>
> >     gluon.widget.start(cron=True)
> >   File "c:\path\to\web2py\gluon\widget.py", line 787, in
> >  start
> >     web2py_windows_service_handler(['', options.winservice],
> > NameError: global name 'web2py_windows_service_handler' is not defined
> >
> > any suggestions gratefully received.
>

Reply via email to