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. > > On 12 October 2010 19:17, mdipierro <[email protected]> wrote: > > > If you run from source, do you Mark hammond win32 extensions > > insatlled? > > > On Oct 12, 12:49 pm, Youngblood <[email protected]> wrote: > > > I am running web2py from source (version 1.87.2) in a windows os. When > > > I try to start web2py with the -t option I get the following error: > > > > Traceback (most recent call last): > > > File "web2py.py", line 23, in <module> > > > gluon.widget.start(cron=True) > > > File "C:\web2py\gluon\widget.py", line 826, in start > > > master = web2pyDialog(root, options) > > > File "C:\web2py\gluon\widget.py", line 266, in __init__ > > > self.tb = contrib.taskbar_widget.TaskBarIcon() > > > NameError: global name 'contrib' is not defined > > > > I've also tried to install web2py as a service, but when I run > > > "python.exe web2py.py -W install" I get the following error: > > > > Traceback (most recent call last): > > > File "web2py.py", line 23, in <module> > > > gluon.widget.start(cron=True) > > > File "C:\web2py\gluon\widget.py", line 787, in start > > > web2py_windows_service_handler(['', options.winservice], > > > NameError: global name 'web2py_windows_service_handler' is not defined > > > > Is there a solution to these 2 problems? > >

