First, I would recommend against changing anything in any file at this point except configuration files.<br>
<br>
Next, verify that the correct python version is being used. It's
easy to have two pythons side-by-side on the same linux system.
If you built Zope from source, you (probably) should build python from
source as well. However, if you used an installable package for
Zope, I would recommend staying with whatever version pairing of
Zope/Python that your Linux distribution has by default. It's
simpler that way, and will probably solve your problem. I know
that I've built Zope before where it's pointed at the wrong python
version, and got things all screwed up for me. Use "`which
python` -V" (those are backtics) to figure out the version that your
$PATH points to by default.<br>
<br>
If you *are* building from source, verify that you used
--with-python="/path/to/python2.3.5" when you ran the configure script
for Zope. The configure script should(?) tell you if there's a
problem with any module dependencies. Again, if building Zope
from source, it's probably best that you use a python built from source
as well.<br>
<br>
Good Luck!<br>
fm<br><br><div><span class="gmail_quote">On 12/14/05, <b class="gmail_sendername">Qass</b> <<a href="mailto:qassair@gmail.com">qassair@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi:<br><br>I'm new to zope and yesterday installed zope 2.8.4 on a linux system<br>running python 2.3.5<br>Having followed installation instructions I got to the point of<br>'zopectl start' and got the following error message while trying both
<br>'runzope' and 'zopectl'.<br><br>I've tried installing different versions of Zope and get the same<br>error (error absent with Zope 3). At one point, Zope did start (I<br>moved it to a different port) but when I tried installing Plone in the
<br>Products directory of the zope instance, the 'Plone Site' did not show<br>up in the drop down menu on the right hand side of the ZMI. Which is<br>why I decided to reinstall and have been getting errors since. I<br>haven't messed around with the Python installation at all.
<br><br>In this latest install I ran 'make instance' intead of 'make install'<br>just to see if I would get the same error as I did yesterday when I<br>had an instance of Zope running and I did.<br><br>Any help in trying to fix this would be highly appreciated. I've tried
<br>changing PYTHONPATH in the zopectl file but that just leads to more<br>and more errors.<br><br>Traceback (most recent call last):<br> File "/blah//Zope-2.8.4-final/lib/python/Zope2/Startup/run.py", line 56, in ?
<br> run()<br> File "/blah/Zope-2.8.4-final/lib/python/Zope2/Startup/run.py", line 17, in run<br> import Zope2.Startup<br> File "/blah/Zope-2.8.4-final/lib/python/Zope2/__init__.py", line 60, in ?
<br> from Zope2.Startup.run import configure<br> File "/network/share/home/sra/Zope-2.8.4-final/lib/python/Zope2/Startup/__init__.py",<br>line 24, in ?<br> import ZConfig<br> File "/blah/Zope-2.8.4-final
/lib/python/ZConfig/__init__.py", line 21, in ?<br> from ZConfig.loader import loadConfig, loadConfigFile<br> File "/blah/Zope-2.8.4-final/lib/python/ZConfig/loader.py", line 23, in ?<br> import ZConfig.datatypes
<br> File "/blah/Zope-2.8.4-final/lib/python/ZConfig/datatypes.py", line 19, in ?<br> import datetime<br> File "/blah/Zope-2.8.4-final/lib/python/DateTime/__init__.py", line 13, in ?<br> from DateTime import DateTime
<br> File "/blah/Zope-2.8.4-final/lib/python/DateTime/DateTime.py", line 21, in ?<br> from datetime import datetime<br> File "/blah/Zope-2.8.4-final/lib/python/DateTime/DateTime.py", line 21, in ?
<br> from datetime import datetime<br>ImportError: cannot import name datetime<br><br>Thank you very much for your help.<br><br>Qass<br>_______________________________________________<br>Zope maillist - <a href="mailto:Zope@zope.org">
Zope@zope.org</a><br><a href="http://mail.zope.org/mailman/listinfo/zope">http://mail.zope.org/mailman/listinfo/zope</a><br>** No cross posts or HTML encoding! **<br>(Related lists -<br> <a href="http://mail.zope.org/mailman/listinfo/zope-announce">
http://mail.zope.org/mailman/listinfo/zope-announce</a><br> <a href="http://mail.zope.org/mailman/listinfo/zope-dev">http://mail.zope.org/mailman/listinfo/zope-dev</a> )<br><br></blockquote></div><br><br clear="all"><br>--
<br>Floyd May<br>Senior Systems Analyst<br>CTLN - CareerTech Learning Network<br><a href="mailto:fmay@okcareertech.org">fmay@okcareertech.org</a>