I see you are running from source on windows.

Probably you need to install the Mark Hammond Win32 extensions.

http://python.net/crew/mhammond/win32/Downloads.html

Massimo

On Feb 26, 3:28 am, "[email protected]" <[email protected]> wrote:
> Microsoft Windows [Version 6.0.6000]
> Copyright (c) 2006 Microsoft Corporation.  All rights reserved.
>
> C:\Users\Debebe>cd ../../
>
> Tim:
>
> I am getting errors when I tried to create windows service.
> I have the following trace messages; I have the latest version of
> web2py:
>
> What I did : First tried to install web2py, then start the windows
> service  using the command => python web2py.py -W start -L options.py.
> See below the commands I used and the output corresponding to the
> commands:
>
> C:\Python25> python C:\web2py\web2py.py -W install
> WARNING:root:no file locking
> default applications appear to be installed already
> web2py Enterprise Web Framework
> Created by Massimo Di Pierro, Copyright 2007-2009
> Version 1.56.3 (2009-02-16 10:07:09)
> Database drivers available: SQLite3, MySQL
> Traceback (most recent call last):
>   File "C:\web2py\web2py.py", line 22, in <module>
>     start()
>   File "c:\web2py\gluon\widget.py", line 723, in start
>     web2py_windows_service_handler(['', options.winservice],
> NameError: global name 'web2py_windows_service_handler' is not defined
>
> C:
> \Python25>--------------------------------------------------------------------
> --------------------------------------------------------------------------------
> --------------------------------------------------------------------------------
> ----
> '-------------------------------------------------------------------------------
> --------------------------------------------------------------------------------
> -------------------------------------------------------------------------'
> is no
> t recognized as an internal or external command,
> operable program or batch file.
>
> C:\Python25> python C:\web2py\web2py.py -W start -L options.py
> WARNING:root:no file locking
> default applications appear to be installed already
> web2py Enterprise Web Framework
> Created by Massimo Di Pierro, Copyright 2007-2009
> Version 1.56.3 (2009-02-16 10:07:09)
> Database drivers available: SQLite3, MySQL
> Traceback (most recent call last):
>   File "C:\web2py\web2py.py", line 22, in <module>
>     start()
>   File "c:\web2py\gluon\widget.py", line 723, in start
>     web2py_windows_service_handler(['', options.winservice],
> NameError: global name 'web2py_windows_service_handler' is not defined
>
> best regards:
> dbb
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to