RE: [Zope] Re: zope 2.8.4 on windows 98
I've From: Andreas Jung [mailto:[EMAIL PROTECTED] > --On 15. November 2005 11:09:08 + Chris Withers > <[EMAIL PROTECTED]> wrote: > > > Fernando Martins wrote: > >> > >> File "C:\PROGRAM > >> FILES\ZOPE-2.8.4\lib\python\Signals\WinSignalHandler.py", lin > >> e 84, in createEventSecurityObject > >> > sidEveryone.Initialize(ntsecuritycon.SECURITY_WORLD_SID_AUTHORITY,1) > >> pywintypes.error: (120, 'InitializeSid', 'This function is > only valid in > >> Win32 m > >> ode.') > > > > Andreas, was your testing with a 2.8.4-based system? > > I remember reading about the work that Mark Hammond did to make things > > better for Zope on Windows, but it looks like this might have > spelled the > > end for Zope working on Win98 ;-) > > > > I think we are using 2.8.1 (we are using our own Zope version which is > always tied to the normale release schedule). > I've tried all versions from 2.8.1 and I always get the same error. I don't have MSVC to try the tarball install. I wonder if there is some detection code which is wrongly assuming I'm running an NT kernel. Maybe it's something in my system which is misleading zope. Is it simple to do a debug/stepping over zope to see what's going on? I've only used Boa Constructor a bit (hmm, I suppose threads are only started by the end of initialization). Fernando ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Re: zope 2.8.4 on windows 98
--On 15. November 2005 11:09:08 + Chris Withers <[EMAIL PROTECTED]> wrote: Fernando Martins wrote: File "C:\PROGRAM FILES\ZOPE-2.8.4\lib\python\Signals\WinSignalHandler.py", lin e 84, in createEventSecurityObject sidEveryone.Initialize(ntsecuritycon.SECURITY_WORLD_SID_AUTHORITY,1) pywintypes.error: (120, 'InitializeSid', 'This function is only valid in Win32 m ode.') Andreas, was your testing with a 2.8.4-based system? I remember reading about the work that Mark Hammond did to make things better for Zope on Windows, but it looks like this might have spelled the end for Zope working on Win98 ;-) I think we are using 2.8.1 (we are using our own Zope version which is always tied to the normale release schedule). -aj pgpj3TFOlQdzZ.pgp Description: PGP signature ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Re: zope 2.8.4 on windows 98
Fernando Martins wrote: File "C:\PROGRAM FILES\ZOPE-2.8.4\lib\python\Signals\WinSignalHandler.py", lin e 84, in createEventSecurityObject sidEveryone.Initialize(ntsecuritycon.SECURITY_WORLD_SID_AUTHORITY,1) pywintypes.error: (120, 'InitializeSid', 'This function is only valid in Win32 m ode.') Andreas, was your testing with a 2.8.4-based system? I remember reading about the work that Mark Hammond did to make things better for Zope on Windows, but it looks like this might have spelled the end for Zope working on Win98 ;-) cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
RE: [Zope] Re: zope 2.8.4 on windows 98
From: J Cameron Cooper > > Probably this is just in the start sequence. You cannot, of course, run > Zope as a service in Win98, since it understands no such thing. Quite > possibly you can use runzope or whatever to execute it in a console. > > I can't say exactly as the traceback has been edited out of this thread > (and I've deleted the old messages). > Indeed it's in the start sequence and I'm not trying to run it as a service. This is the traceback: Traceback (most recent call last): File "C:\Program Files\Zope-2.8.4\lib\python\Zope2\Startup\run.py", line 56, i n ? run() File "C:\Program Files\Zope-2.8.4\lib\python\Zope2\Startup\run.py", line 21, i n run starter.prepare() File "C:\PROGRAM FILES\ZOPE-2.8.4\lib\python\Zope2\Startup\__init__.py", line 99, in prepare self.registerSignals() File "C:\PROGRAM FILES\ZOPE-2.8.4\lib\python\Zope2\Startup\__init__.py", line 320, in registerSignals Signals.registerZopeSignals([self.cfg.eventlog, File "C:\PROGRAM FILES\ZOPE-2.8.4\lib\python\Signals\Signals.py", line 116, in registerZopeSignals SignalHandler.registerHandler(SIGTERM, shutdownFastHandler) File "C:\PROGRAM FILES\ZOPE-2.8.4\lib\python\Signals\WinSignalHandler.py", lin e 207, in registerHandler sa = createEventSecurityObject() File "C:\PROGRAM FILES\ZOPE-2.8.4\lib\python\Signals\WinSignalHandler.py", lin e 84, in createEventSecurityObject sidEveryone.Initialize(ntsecuritycon.SECURITY_WORLD_SID_AUTHORITY,1) pywintypes.error: (120, 'InitializeSid', 'This function is only valid in Win32 m ode.') I wonder if this could a problem of the installer, but doesn't seem very likely as I assume it doesn't change the source code. I didn't have the time to try the tarball in win98SE. I have no idea how much work that could be. Fernando ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Re: zope 2.8.4 on windows 98
Fernando Martins wrote: Andreas Jung wrote: On Sat, 12 Nov 2005 03:52:28 -0800, Fernando Martins wrote: I understand the problem, but is it the intention that zope is not supported on win98? Yes, I believe this is intentional. Windows 98 is a seven year old OS with insufficient infrastructure to reliably run server tasks anyway. At least get Windows 2000, which has a decent kernel. However that does not mean that Zope won't run on Windows 98. For a recent project where we ship and install Zope on all customers desktop machines I had to do a lot of testing especially on Windows 98. I've been using zope 2.7.4 on win 98 for some development/testing, not as a real server. But I'm confused by your statement: if zope 2.8.4 is calling an NT security function, not available in win98, then it does NOT run on win98?? DO you mean there is something wrong with my win98 setup or that zope 2.8.4 could be patched to overcome this issue? Probably this is just in the start sequence. You cannot, of course, run Zope as a service in Win98, since it understands no such thing. Quite possibly you can use runzope or whatever to execute it in a console. I can't say exactly as the traceback has been edited out of this thread (and I've deleted the old messages). FYI, the last time I tried Zope on Win98 was Zope 2.2. --jcc -- "Building Websites with Plone" http://plonebook.packtpub.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Re: zope 2.8.4 on windows 98
--On 13. November 2005 09:26:18 +0100 Fernando Martins <[EMAIL PROTECTED]> wrote: But I'm confused by your statement: if zope 2.8.4 is calling an NT security function, not available in win98, then it does NOT run on win98?? DO you mean there is something wrong with my win98 setup or that zope 2.8.4 could be patched to overcome this issue? I have no idea about internal Windows issue. For testing I was just in the position of a "dumb" Windows end-user...it just worked for me. -aj pgpcN2GsCrpXk.pgp Description: PGP signature ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Re: zope 2.8.4 on windows 98
--On 12. November 2005 16:53:43 -0800 Alexander Limi <[EMAIL PROTECTED]> wrote: On Sat, 12 Nov 2005 03:52:28 -0800, Fernando Martins <[EMAIL PROTECTED]> wrote: I understand the problem, but is it the intention that zope is not supported on win98? Yes, I believe this is intentional. Windows 98 is a seven year old OS with insufficient infrastructure to reliably run server tasks anyway. At least get Windows 2000, which has a decent kernel. Also keep in mind that Windows 98 is no longer supported by Microsoft. So there is no need for anyone especially for us to support Zope on Windows 98 in any way. However that does not mean that Zope won't run on Windows 98. For a recent project where we ship and install Zope on all customers desktop machines I had to do a lot of testing especially on Windows 98. Although doing tests on any Windows version is pain in the a** I must admit that our Zope application (which is a rather complex application with multiple storages etc.) worked nicely without major problems on Windows 98. Ok, I also have to admit I could test the application on clean virtual machines running a mostly naked Windows 98 installation...but in general as result of my testing I have to say that Zope is running stable on almost every Windows version. -aj pgpMNldno9USJ.pgp Description: PGP signature ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )