[Zope] Zope and Windows

Sam Collett Sam.Collett@gp-b81091.trent.nhs.uk
Thu, 13 Dec 2001 17:12:54 -0000


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C183F9.673978D0
Content-Type: text/plain;
	charset="iso-8859-1"

I am running it straight from a batch file (start.bat).

-----Original Message-----
From: Meilicke, Scott [mailto:scott.meilicke@intp.com]
Sent: 13 December 2001 17:07
To: 'Jens Vagelpohl'; Sam Collett
Cc: 'zope@zope.org'
Subject: RE: [Zope] Zope and Windows



If you are running zope as a service, you must make the change in the
registry.  On my w2k box: 

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\<service
name>\Parameters 

The Parameters key contains the path to your python, and the path to the
zope script, usually z2.py. 

Scott 

-----Original Message----- 
From: Jens Vagelpohl [ mailto:jens@zope.com <mailto:jens@zope.com> ] 
Sent: Thursday, December 13, 2001 6:52 AM 
To: Sam Collett 
Cc: 'zope@zope.org' 
Subject: Re: [Zope] Zope and Windows 


i'm speaking from ignorance when it comes to windoze, but i would assume 
changing the start script to point to the desired python might do it. 

that said you might see warning messages from C-based python extensions 
because those were compiled with the python that comes with the 
distribution. 

jens 



On Thursday, December 13, 2001, at 09:35 , Sam Collett wrote: 

> How about 2.1.1 - how would I get Zope to use that version? 
> 
> -----Original Message----- 
> From: Jens Vagelpohl [ mailto:jens@zope.com <mailto:jens@zope.com> ] 
> Sent: 13 December 2001 14:32 
> To: Sam Collett 
> Cc: 'zope@zope.org' 
> Subject: Re: [Zope] Zope and Windows 
> 
> 
> just FYI, python2.2 is not officially supported. it will be supported in 
> zope 3.x. 
> 
> jens 
> 
> 
> On Thursday, December 13, 2001, at 08:57 , Sam Collett wrote: 
> 
>> Have got Zope 2.5.0b2 installed on Windows 98 and have had no problems so

>> far. 
>> However, I notice the version of Python that is used is 2.1.0 
>> I have ActivePython 2.2 installed, how can I get Zope to use that version

>> of 
>> Python instead of the one it ships with? 
>> I have modified the startup batch file to read: 
>> 
>> C:\Python22\python.exe "C:\Program Files\WebSite\z2.py" -W:9800 
>> 
>> But that does not seem to work 
>> 
>> Any ideas? 
>> 
>> I have also seen the file pythonw.exe as well as python.exe, what is the 
>> difference. 
>> 
>> _____________________________________ 
> 
> _______________________________________________ 
> Zope maillist  -  Zope@zope.org 
> http://lists.zope.org/mailman/listinfo/zope
<http://lists.zope.org/mailman/listinfo/zope>  
> **   No cross posts or HTML encoding!  ** 
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
<http://lists.zope.org/mailman/listinfo/zope-announce>  
>  http://lists.zope.org/mailman/listinfo/zope-dev
<http://lists.zope.org/mailman/listinfo/zope-dev>  ) 


_______________________________________________ 
Zope maillist  -  Zope@zope.org 
http://lists.zope.org/mailman/listinfo/zope
<http://lists.zope.org/mailman/listinfo/zope>  
**   No cross posts or HTML encoding!  ** 
(Related lists - 
  http://lists.zope.org/mailman/listinfo/zope-announce
<http://lists.zope.org/mailman/listinfo/zope-announce>  
  http://lists.zope.org/mailman/listinfo/zope-dev
<http://lists.zope.org/mailman/listinfo/zope-dev>  ) 
The information contained in this email message may be privileged and is
confidential information intended only for the use of the recipient or any
employee or agent responsible for delivering it to the intended recipient.
Any unauthorized use, distribution or copying of this information is
strictly prohibited and may be unlawful.  If you have received this
communication in error, please notify the sender immediately and destroy the
original message and all attachments from your electronic files.


------_=_NextPart_001_01C183F9.673978D0
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>RE: [Zope] Zope and Windows</TITLE>

<META content="MSHTML 6.00.2600.0" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=450071217-13122001><FONT face="Book Antiqua" color=#008080 
size=2>I am running it straight from a batch file 
(start.bat).</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Meilicke, Scott 
  [mailto:scott.meilicke@intp.com]<BR><B>Sent:</B> 13 December 2001 
  17:07<BR><B>To:</B> 'Jens Vagelpohl'; Sam Collett<BR><B>Cc:</B> 
  'zope@zope.org'<BR><B>Subject:</B> RE: [Zope] Zope and 
  Windows<BR><BR></FONT></DIV>
  <P><FONT size=2>If you are running zope as a service, you must make the change 
  in the registry.&nbsp; On my w2k box:</FONT> </P>
  <P><FONT 
  size=2>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\&lt;service 
  name&gt;\Parameters</FONT> </P>
  <P><FONT size=2>The Parameters key contains the path to your python, and the 
  path to the zope script, usually z2.py.</FONT> </P>
  <P><FONT size=2>Scott</FONT> </P>
  <P><FONT size=2>-----Original Message-----</FONT> <BR><FONT size=2>From: Jens 
  Vagelpohl [<A href="mailto:jens@zope.com">mailto:jens@zope.com</A>]</FONT> 
  <BR><FONT size=2>Sent: Thursday, December 13, 2001 6:52 AM</FONT> <BR><FONT 
  size=2>To: Sam Collett</FONT> <BR><FONT size=2>Cc: 'zope@zope.org'</FONT> 
  <BR><FONT size=2>Subject: Re: [Zope] Zope and Windows</FONT> </P><BR>
  <P><FONT size=2>i'm speaking from ignorance when it comes to windoze, but i 
  would assume </FONT><BR><FONT size=2>changing the start script to point to the 
  desired python might do it.</FONT> </P>
  <P><FONT size=2>that said you might see warning messages from C-based python 
  extensions </FONT><BR><FONT size=2>because those were compiled with the python 
  that comes with the </FONT><BR><FONT size=2>distribution.</FONT> </P>
  <P><FONT size=2>jens</FONT> </P><BR><BR>
  <P><FONT size=2>On Thursday, December 13, 2001, at 09:35 , Sam Collett 
  wrote:</FONT> </P>
  <P><FONT size=2>&gt; How about 2.1.1 - how would I get Zope to use that 
  version?</FONT> <BR><FONT size=2>&gt;</FONT> <BR><FONT size=2>&gt; 
  -----Original Message-----</FONT> <BR><FONT size=2>&gt; From: Jens Vagelpohl 
  [<A href="mailto:jens@zope.com">mailto:jens@zope.com</A>]</FONT> <BR><FONT 
  size=2>&gt; Sent: 13 December 2001 14:32</FONT> <BR><FONT size=2>&gt; To: Sam 
  Collett</FONT> <BR><FONT size=2>&gt; Cc: 'zope@zope.org'</FONT> <BR><FONT 
  size=2>&gt; Subject: Re: [Zope] Zope and Windows</FONT> <BR><FONT 
  size=2>&gt;</FONT> <BR><FONT size=2>&gt;</FONT> <BR><FONT size=2>&gt; just 
  FYI, python2.2 is not officially supported. it will be supported in</FONT> 
  <BR><FONT size=2>&gt; zope 3.x.</FONT> <BR><FONT size=2>&gt;</FONT> <BR><FONT 
  size=2>&gt; jens</FONT> <BR><FONT size=2>&gt;</FONT> <BR><FONT 
  size=2>&gt;</FONT> <BR><FONT size=2>&gt; On Thursday, December 13, 2001, at 
  08:57 , Sam Collett wrote:</FONT> <BR><FONT size=2>&gt;</FONT> <BR><FONT 
  size=2>&gt;&gt; Have got Zope 2.5.0b2 installed on Windows 98 and have had no 
  problems so</FONT> <BR><FONT size=2>&gt;&gt; far.</FONT> <BR><FONT 
  size=2>&gt;&gt; However, I notice the version of Python that is used is 
  2.1.0</FONT> <BR><FONT size=2>&gt;&gt; I have ActivePython 2.2 installed, how 
  can I get Zope to use that version</FONT> <BR><FONT size=2>&gt;&gt; of</FONT> 
  <BR><FONT size=2>&gt;&gt; Python instead of the one it ships with?</FONT> 
  <BR><FONT size=2>&gt;&gt; I have modified the startup batch file to 
  read:</FONT> <BR><FONT size=2>&gt;&gt;</FONT> <BR><FONT size=2>&gt;&gt; 
  C:\Python22\python.exe "C:\Program Files\WebSite\z2.py" -W:9800</FONT> 
  <BR><FONT size=2>&gt;&gt;</FONT> <BR><FONT size=2>&gt;&gt; But that does not 
  seem to work</FONT> <BR><FONT size=2>&gt;&gt;</FONT> <BR><FONT size=2>&gt;&gt; 
  Any ideas?</FONT> <BR><FONT size=2>&gt;&gt;</FONT> <BR><FONT size=2>&gt;&gt; I 
  have also seen the file pythonw.exe as well as python.exe, what is the</FONT> 
  <BR><FONT size=2>&gt;&gt; difference.</FONT> <BR><FONT size=2>&gt;&gt;</FONT> 
  <BR><FONT size=2>&gt;&gt; _____________________________________</FONT> 
  <BR><FONT size=2>&gt;</FONT> <BR><FONT size=2>&gt; 
  _______________________________________________</FONT> <BR><FONT size=2>&gt; 
  Zope maillist&nbsp; -&nbsp; Zope@zope.org</FONT> <BR><FONT size=2>&gt; <A 
  href="http://lists.zope.org/mailman/listinfo/zope" 
  target=_blank>http://lists.zope.org/mailman/listinfo/zope</A></FONT> <BR><FONT 
  size=2>&gt; **&nbsp;&nbsp; No cross posts or HTML encoding!&nbsp; **</FONT> 
  <BR><FONT size=2>&gt; (Related lists -</FONT> <BR><FONT size=2>&gt;&nbsp; <A 
  href="http://lists.zope.org/mailman/listinfo/zope-announce" 
  target=_blank>http://lists.zope.org/mailman/listinfo/zope-announce</A></FONT> 
  <BR><FONT size=2>&gt;&nbsp; <A 
  href="http://lists.zope.org/mailman/listinfo/zope-dev" 
  target=_blank>http://lists.zope.org/mailman/listinfo/zope-dev</A> )</FONT> 
  </P><BR>
  <P><FONT size=2>_______________________________________________</FONT> 
  <BR><FONT size=2>Zope maillist&nbsp; -&nbsp; Zope@zope.org</FONT> <BR><FONT 
  size=2><A href="http://lists.zope.org/mailman/listinfo/zope" 
  target=_blank>http://lists.zope.org/mailman/listinfo/zope</A></FONT> <BR><FONT 
  size=2>**&nbsp;&nbsp; No cross posts or HTML encoding!&nbsp; **</FONT> 
  <BR><FONT size=2>(Related lists - </FONT><BR><FONT size=2>&nbsp;<A 
  href="http://lists.zope.org/mailman/listinfo/zope-announce" 
  target=_blank>http://lists.zope.org/mailman/listinfo/zope-announce</A></FONT> 
  <BR><FONT size=2>&nbsp;<A 
  href="http://lists.zope.org/mailman/listinfo/zope-dev" 
  target=_blank>http://lists.zope.org/mailman/listinfo/zope-dev</A> )</FONT> 
  <BR><FONT size=2>The information contained in this email message may be 
  privileged and is confidential information intended only for the use of the 
  recipient or any employee or agent responsible for delivering it to the 
  intended recipient.&nbsp; Any unauthorized use, distribution or copying of 
  this information is strictly prohibited and may be unlawful.&nbsp; If you have 
  received this communication in error, please notify the sender immediately and 
  destroy the original message and all attachments from your electronic 
  files.</FONT></P></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C183F9.673978D0--