[Zope3-Users] Running Zope3 as a Windows XP Service

2006-06-22 Thread Daniel Roberson

How do you, or can you, run Zope 3 as a Windows XP service?
I only see or read about using the runzope command from the bin directory.
I want to register it as a Windows XP service.
Any suggestions???
begin:vcard
fn:Daniel Roberson
n:Roberson;Daniel
org:Robert Daniels, LLC
adr;dom:;;6514 Hillsboro Lane;Fort Wayne;Indiana;46835
email;internet:[EMAIL PROTECTED]
title:Founder and Managing Director
tel;work:260.486.1860
tel;fax:260.486.1860
tel;cell:260.750.3407
x-mozilla-html:TRUE
url:http://www.robertdaniels.net
version:2.1
end:vcard

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Running Zope3 as a Windows XP Service

2006-06-22 Thread Tim Peters

[Daniel Roberson]

How do you, or can you, run Zope 3 as a Windows XP service?
I only see or read about using the runzope command from the bin directory.
I want to register it as a Windows XP service.
Any suggestions???


I don't know the current state of the Zope3 docs, but if you can't
find anything there, you could follow the last part of the developer
instructions for testing a Zope3 Windows installer before it's
released:

http://www.zope.org/DevHome/Wikis/DevSite/Projects/ComponentArchitecture/ZopeWindowsRelease

Look for Try running Zope as a Windows Service.  It's not hard, and
especially not the second time you do it ;-)
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Running Zope3 as a Windows XP Service

2006-06-22 Thread Tim Peters

I have tried to go the c:\zope\bin directory and run the
zopeservice.py.  It aborts with the message:

C:\zope\binzopeservice.py
Traceback (most recent call last):
  File C:\zope\bin\zopeservice.py, line 84, in ?
from zope.app.winservice.service import Service
  File C:\Python24\Lib\site-packages\zope\app\winservice\service.py,
line 20,
in ?
import pywintypes
ImportError: No module named pywintypes

C:\zope\bin

Any idea on where to get the missing file and where to install it


Ah, looks like you need to install the Python pywin32 extensions
first.  Any recent release should work fine:

   http://starship.python.net/crew/skippy/win32/Downloads.html

That's actually a link to the author's page, which asks you to go to
SourceForge.  I would have given you the SourceForge link directly,
except SourceForge is dead at the moment :-( so I couldn't verify the
link.

When SourceForge is up again, download a recent pywin32 installer and
run it.  Then try zopeservice.py again.  You shouldn't do that the way
you showed above, but the way shown in the instructions referenced
before:

   zopeservice.py --startup auto install

Then use the Windows Services GUI to start the service, or use

   zopeservice.py start

Etc.
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users