<div>Hi Joe,</div>
<div> </div>
<div>Plone is based on zope2 (though it uses nowadays a lot of zope3 packages also). </div>
<div> </div>
<div>On Windows I usually avoid having both Plone/Zope2 and Zope 3. Most probably zope 3 and zope 2 are conflicting in this case due to which you are not able to see <br><font size="4"> from zope.app.winservice.service import Service</font><br>
</div>
<div>which is a zope3 class. </div>
<div> </div>
<div>My usual configuration on Windows is: </div>
<div>- Python 2.4</div>
<div>- Python for Windows extensions</div>
<div>- Zope 3 </div>
<div>- Other Python packages which don't conflict with zope 3. (PIL, reportlab etc.)</div>
<div> </div>
<div> </div>
<div>With regards,</div>
<div>- Shailesh</div>
<div><br> </div>
<div><span class="gmail_quote">On 7/7/08, <b class="gmail_sendername">Joe Bigler</b> <<a href="mailto:jeb6@psu.edu">jeb6@psu.edu</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div dir="ltr" align="left"><font face="Arial" color="#0000ff" size="4"><span>Hi Shalesh,</span></font></div>
<div dir="ltr" align="left"><font face="Arial" color="#0000ff" size="4"><span></span></font> </div>
<div dir="ltr" align="left"><font face="Arial" color="#0000ff" size="4"><span>Thanks for the reply,</span></font></div>
<div dir="ltr" align="left"><font face="Arial" color="#0000ff" size="4"><span><font size="4">
<p>Yes, I installed python 2.4 pywin32-211</p>
<p>I did not use eggs or buildout.</p>
<p>I can start it with runzope.bat</p>
<p>Here is what I see in the ZMI under Runtime information</p>
<p>Runtime Information Server Control Database Schemas ZODB Control Translation Domains Registration</p>
<p>* Errors</p>
<p>* Undo!</p>
<p>* Undo more</p>
<p>* Undo all</p>
<p>* Help</p>
<p>Uptime</p>
<p>0 day(s) 02:00:09</p>
<p>System platform</p>
<p>Windows chm036 XP 5.1.2600</p>
<p>Zope version</p>
<p>3.3.0</p>
<p>Python version</p>
<p>2.4.4 (#71, Oct 18 2006, 08:34:43) [MSC v.1310 32 bit (Intel)]</p>
<p>Command line</p>
<p>C:\Zope\Instance\3.3.0\bin\runzope</p>
<p>Preferred encoding</p>
<p>cp1252</p>
<p>FileSystem encoding</p>
<p>mbcs</p>
<p>Process id</p>
<p>2272</p>
<p>Python path</p>
<p>* C:\Zope\Instance\3.3.0\lib\python</p>
<p>* C:\Zope\2.9.8\Python\Lib\site-packages</p>
<p>* C:\Zope\Instance\3.3.0\bin</p>
<p>* C:\Program Files\Plone2.5.5\Python\lib\site-packages\setuptools-0.6c7-py2.4.egg</p>
<p>* C:\Program Files\Plone2.5.5\Python\lib\site-packages\archgenxml-2.0-py2.4.egg</p>
<p>* C:\ArchGenXML\src</p>
<p>* C:\Program Files\Plone2.5.5\Zope\lib\python</p>
<p>* C:\Program Files\Plone2.5.5\Python\python24.zip</p>
<p>* C:\Zope\Instance\3.3.0\bin</p>
<p>* C:\Program Files\Plone2.5.5\Python\DLLs</p>
<p>* C:\Program Files\Plone2.5.5\Python\lib</p>
<p>* C:\Program Files\Plone2.5.5\Python\lib\plat-win</p>
<p>* C:\Program Files\Plone2.5.5\Python\lib\lib-tk</p>
<p>* C:\Program Files\Plone2.5.5\Python</p>
<p>* C:\Program Files\Plone2.5.5\Python\lib\site-packages</p>
<p>* C:\Program Files\Plone2.5.5\Python\lib\site-packages\PIL</p>
<p>* C:\Program Files\Plone2.5.5\Python\lib\site-packages\win32</p>
<p>* C:\Program Files\Plone2.5.5\Python\lib\site-packages\win32\lib</p>
<p>* C:\Program Files\Plone2.5.5\Python\lib\site-packages\Pythonwin</p>
<p>* C:\Program Files\Plone2.5.5\Python\lib\site-packages\wx-2.6-msw-ansi</p></font></span></font></div><br>
<div lang="en-us" dir="ltr" align="left">
<hr>
<font face="Tahoma" size="2"><b>From:</b> Shailesh Kumar [mailto:<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:shaileshk@gmail.com" target="_blank">shaileshk@gmail.com</a>] <br><b>Sent:</b> Monday, July 07, 2008 9:54 AM<br>
<b>To:</b> Joe Bigler<br><b>Subject:</b> Re: [Zope3-Users] Cannot install Zope 3.3.0 as a Windows Service<br></font><br> </div>
<div><span class="e" id="q_11afde189fa51429_1">
<div></div>
<div>Do you have Python for Windows extensions installed? </div>
<div> </div>
<div>You may get it from : <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://sourceforge.net/projects/pywin32/" target="_blank">http://sourceforge.net/projects/pywin32/</a></div>
<div> </div>
<div>- Shailesh<br><br> </div>
<div><span class="gmail_quote">On 7/7/08, <b class="gmail_sendername">Joe Bigler</b> <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:jeb6@psu.edu" target="_blank">jeb6@psu.edu</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div><span><font face="Arial" size="4">I am installing this on Windows XP, Service Pack 2</font></span></div>
<div><span><font face="Arial" size="4"></font></span> </div>
<div><span>
<div><span><font face="Arial" size="4">Hello, I am looking for some help installing Zope 3.3.0 as a Windows service. When I run the C:\Zope\Instance\3.3.0>python bin\zopeservice.py --startup auto install I get a message I placed in the paste <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://paste.lisp.org/display/63370" target="_blank">http://paste.lisp.org/display/63370</a>. I tried Zope IRC and I have looked in the Zope book and searched on line, but can't find anyone with this problem. Any suggestions are greatly appreciated</font></span></div>
</span></div>
<div><span><font face="Arial" size="4"></font></span> </div>
<div><span><font face="Arial" size="4">Here is the message I pasted.</font></span></div>
<div><span><font face="Arial" size="4"></font></span> </div>
<div><span><font face="Arial" size="4">C:\Zope\Instance\3.3.0>python bin\zopeservice.py --startup auto install<br>Traceback (most recent call last):<br> File "bin\zopeservice.py", line 84, in ?<br> from zope.app.winservice.service import Service<br>
ImportError: No module named winservice.service</font></span></div>
<div><span><font face="Arial" size="4"></font></span> </div>
<div><span><font face="Arial" size="4">Thanks,</font></span></div>
<div><span><font face="Arial" size="4"></font></span> </div>
<div><span><font face="Arial" size="4">Joe Bigler</font></span></div>
<div><span><font face="Arial" size="4"></font></span> </div>
<div><span><font face="Arial" size="4"></font></span> </div>
<div><font face="Arial" size="4"></font> </div></div><br>_______________________________________________<br>Zope3-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Zope3-users@zope.org" target="_blank">Zope3-users@zope.org</a><br>
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://mail.zope.org/mailman/listinfo/zope3-users" target="_blank">http://mail.zope.org/mailman/listinfo/zope3-users</a><br><br></blockquote></div><br></span></div>
</div></blockquote></div><br>