Re: [Zope-dev] Re: Zope Service on Windows

2004-12-18 Thread Christian Theune
Howdi,

Am Samstag, den 18.12.2004, 09:09 +0100 schrieb Andreas Jung:
> 
> I suggest we schedule that for 2.7.5. As I understood  Christian, the 
> service
> machinery is now working again (for 2.7.4). So we could add these
> enhancements to 2.7.5.

I'd be fine with that.

Additionally, I need to review what the difference between 2.7 and 2.8
is, as 2.8 wasn't broken at all.

Cheers,
Theuni

-- 
gocept gmbh & co. kg - schalaunische str. 6 - 06366 koethen - germany
www.gocept.com - [EMAIL PROTECTED] - phone +49 3496 30 99 112 -
fax +49 3496 30 99 118 - zope and plone consulting and development


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Re: Zope Service on Windows

2004-12-18 Thread Andreas Jung

--On Freitag, 17. Dezember 2004 10:35 Uhr -0500 Tres Seaver 
<[EMAIL PROTECTED]> wrote:

Mark Hammond wrote:
I just checked in how I finally got Zope 2.7.x to run as a service on
Windows again.

See also http://collector.zope.org/Zope/1533 - this has a number of
changes to make services much more reliable on Windows.  My patch
includes your change, but along the lines of Tim's objection, mine
compromises with:
+os.environ["PYTHONPATH"] = os.environ.get("PYTHONPATH", "") + ";" +
SOFTWARE_HOME
My patches also have the killer feature of writing any Zope stdout to the
Windows event log in the case of error - critical if you hope to see what
the underlying error was.  The patch also allows for Zope to be
terminated gracefully (rather than unconditionally terminating it as
now), re-instates support for Windows NT, and allows for a complete,
functioning pywin32 build to be used (including win32com etc).
Just-by-way-of-reminder ly,
+1 for landing Mark's patch as a prerequisite to fixing *any*
Windows-service related bug in the future.
I suggest we schedule that for 2.7.5. As I understood  Christian, the 
service
machinery is now working again (for 2.7.4). So we could add these
enhancements to 2.7.5.

Andreas
___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Re: Zope Service on Windows

2004-12-18 Thread Christian Theune
Hi all,

Am Freitag, den 17.12.2004, 15:17 -0500 schrieb Tim Peters:
> [Tres Seaver]
> > +1 for landing Mark's patch as a prerequisite to fixing *any*
> > Windows-service related bug in the future.
> 
> I think we should call now "the future".  Windows services were broken
> completely by the sitecustomize.py fiddling, and remain in a hackish
> state.

Yupp.

> Christian, Mark wrote the book (literally) on managing Windows
> services from Python, and wrote all the win32all support code Zope has
> relied on forever to get Windows services working at all.  If it's at
> all possible to apply his patches, please do so -- they address
> several long-standing problems Zope suffers on Windows, and nobody on
> Earth is better qualified to fix them than Mark.

Ok, I'll do that. I have accepted a couple of reports to windows
specific problems. I think I'm the complete opposite of Marks windows
abilities, but as I'm maintaining the Windows releases, I'm caring for
that.

Hope to get all the windows stuff cleaned up until after xmas.

Cheers,
Christian

-- 
gocept gmbh & co. kg - schalaunische str. 6 - 06366 koethen - germany
www.gocept.com - [EMAIL PROTECTED] - phone +49 3496 30 99 112 -
fax +49 3496 30 99 118 - zope and plone consulting and development


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Re: Zope Service on Windows

2004-12-17 Thread Tim Peters
[Mark Hammond]
>> See also http://collector.zope.org/Zope/1533 - this has a number of changes
>> to make services much more reliable on Windows.  My patch includes your
>> change, but along the lines of Tim's objection, mine compromises with:
>>
>> +os.environ["PYTHONPATH"] = os.environ.get("PYTHONPATH", "") + ";" +
>> SOFTWARE_HOME
>>
>> My patches also have the killer feature of writing any Zope stdout to the
>> Windows event log in the case of error - critical if you hope to see what
>> the underlying error was.  The patch also allows for Zope to be terminated
>> gracefully (rather than unconditionally terminating it as now), re-instates
>> support for Windows NT, and allows for a complete, functioning pywin32 build
>> to be used (including win32com etc).
>>
>> Just-by-way-of-reminder ly,

[Tres Seaver]
> +1 for landing Mark's patch as a prerequisite to fixing *any*
> Windows-service related bug in the future.

I think we should call now "the future".  Windows services were broken
completely by the sitecustomize.py fiddling, and remain in a hackish
state.

Christian, Mark wrote the book (literally) on managing Windows
services from Python, and wrote all the win32all support code Zope has
relied on forever to get Windows services working at all.  If it's at
all possible to apply his patches, please do so -- they address
several long-standing problems Zope suffers on Windows, and nobody on
Earth is better qualified to fix them than Mark.
___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] Re: Zope Service on Windows

2004-12-17 Thread Tres Seaver
Mark Hammond wrote:
I just checked in how I finally got Zope 2.7.x to run as a service on
Windows again.

See also http://collector.zope.org/Zope/1533 - this has a number of changes
to make services much more reliable on Windows.  My patch includes your
change, but along the lines of Tim's objection, mine compromises with:
+os.environ["PYTHONPATH"] = os.environ.get("PYTHONPATH", "") + ";" +
SOFTWARE_HOME
My patches also have the killer feature of writing any Zope stdout to the
Windows event log in the case of error - critical if you hope to see what
the underlying error was.  The patch also allows for Zope to be terminated
gracefully (rather than unconditionally terminating it as now), re-instates
support for Windows NT, and allows for a complete, functioning pywin32 build
to be used (including win32com etc).
Just-by-way-of-reminder ly,
+1 for landing Mark's patch as a prerequisite to fixing *any* 
Windows-service related bug in the future.

Tres.
--
===
Tres Seaver[EMAIL PROTECTED]
Zope Corporation  "Zope Dealers"   http://www.zope.com
___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )