Hi Massimo,

Apologies for the delay in following up.

2009/6/3 mdipierro <mdipie...@cs.depaul.edu>:
> If you start python from the web2py folder, can you do
> import gluon.winservice?
> If you start python from the gluon folder can you do
> import winservice?
> Can you edit main and at the bottom insert
> print os.getcwd()
> When you start web2py as service, what is the output? Is it your
> web2py folder?
>

I've not yet tried the above, as I was contacted off-list by another
web2py user who reported that he had patched /gluon/winservice.py at
line 141 by updating 'winservice.Web2pyService' to
'gluon.winservice.Web2pyService'.

I can confirm that this has worked for me, and I am now running web2py
as a service under WinP, and can stop and start the service at the
prompt as described in the AlterEgo page and using the Windows applet.

(This was under version 1.63.5, freshly downloaded to test today, BTW).

Is there anything else I can do to help with this, or does this
clarify the issue from your PoV?


-- 

Regards,

PhilK

Email: p...@xfr.co.uk

'a bell is a cup...until it is struck'

--~--~---------~--~----~------------~-------~--~----~
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