startup err with cvs
Hi Zopies, I installed Python-2.2.2 and checked out the latest version via cvs. I copied the 'start' file from a regular 2.5. because i couldn't find out how to start on http://dev.zope.org/CVS/ZopeCVSFAQ On one box this worked (Python was current) and on another (Python update was needed) i got an error like 'No module named Acquisition', similar to the next: That one i got after having run a cvs update: Traceback (most recent call last): File "/usr/local/Zope/z2.py", line 520, in ? import zdaemon File "/usr/local/Zope/lib/python/zdaemon/__init__.py", line 17, in ? from Daemon import run File "/usr/local/Zope/lib/python/zdaemon/Daemon.py", line 16, in ? import zLOG File "/usr/local/Zope/lib/python/zLOG/__init__.py", line 91, in ? from EventLogger import log_write, log_time, severity_string, \ File "/usr/local/Zope/lib/python/zLOG/EventLogger.py", line 27, in ? import logging ImportError: No module named logging What is the reason for this? Regards, Florian -- Florian Konnertz ---------------- http://openspirit.homelinux.net/noowiki/FrontPage http://www.openspirit.de consciousness research and wisdom traditions http://www.florian-konnertz.de homepage, my linux howtos http://www.openmovie.org movie and mp3 -player projects Have a nice day!
On Mon, Nov 25, 2002 at 02:11:31PM +0100, Florian Konnertz wrote:
Hi Zopies,
I installed Python-2.2.2 and checked out the latest version via cvs. I copied the 'start' file from a regular 2.5. because i couldn't find out how to start on http://dev.zope.org/CVS/ZopeCVSFAQ
On one box this worked (Python was current) and on another (Python update was needed) i got an error like 'No module named Acquisition', similar to the next:
Did you the following? python w_pcgi.py # Note, this must be Python 2.1 ./start (See doc/INSTALL.txt) thomas -- Thomas Guettler <guettli@thomas-guettler.de> http://www.thomas-guettler.de
Thomas Guettler wrote:
On Mon, Nov 25, 2002 at 02:11:31PM +0100, Florian Konnertz wrote:
Hi Zopies,
I installed Python-2.2.2 and checked out the latest version via cvs. I copied the 'start' file from a regular 2.5. because i couldn't find out how to start on http://dev.zope.org/CVS/ZopeCVSFAQ
You should also note that Zope 2.x doesn't support Python 2.2.x, you need to stick with 2.1.x. cheers, Chris
Hi all, I didn't get my original message from the list today, just one answer, so i respond on this. Chris Withers wrote:
Thomas Guettler wrote:
On Mon, Nov 25, 2002 at 02:11:31PM +0100, Florian Konnertz wrote:
Hi Zopies,
I installed Python-2.2.2 and checked out the latest version via cvs. I copied the 'start' file from a regular 2.5. because i couldn't find out how to start on http://dev.zope.org/CVS/ZopeCVSFAQ
You should also note that Zope 2.x doesn't support Python 2.2.x, you need to stick with 2.1.x.
Hi Thomas, thanks for the hint. - I forgot to do it (python w_pcgi) ... !!! :-( Chris and Thomas: I think Python-2.2.2 works with Zope-2.6 at least... It did for me one time. In my doc/INSTALL.txt and in the README there's ONLY Python-2.2.2 recommended. - Why so you say Python-2.1.x is needed?? - Strange! root@grooveway:/usr/local/Zope# python w_pcgi.py Traceback (most recent call last): File "w_pcgi.py", line 22, in ? raise RuntimeError, "Python 2.2.2 or later is required" RuntimeError: Python 2.2.2 or later is required --- Now i compiled everything, but unfortunately the original error persists: root@grooveway:/usr/local/Zope# ./start Traceback (most recent call last): File "/usr/local/Zope/z2.py", line 520, in ? import zdaemon File "/usr/local/Zope/lib/python/zdaemon/__init__.py", line 17, in ? from Daemon import run File "/usr/local/Zope/lib/python/zdaemon/Daemon.py", line 16, in ? import zLOG File "/usr/local/Zope/lib/python/zLOG/__init__.py", line 91, in ? from EventLogger import log_write, log_time, severity_string, \ File "/usr/local/Zope/lib/python/zLOG/EventLogger.py", line 27, in ? import logging ImportError: No module named logging I perform one cvs update after the other, but no module logging arrives here... ;-) Regards, Florian -- Florian Konnertz ---------------- http://openspirit.homelinux.net/noowiki/FrontPage http://www.openspirit.de consciousness research and wisdom traditions http://www.florian-konnertz.de homepage, my linux howtos http://www.openmovie.org movie and mp3 -player projects Have a nice day!
ImportError: No module named logging
What is the reason for this?
Don't use cvs checkouts if you dont know what you are doing. Get Zope-2_6-branch instead. HEAD is the branch that is moving towards 2.7. logging.py is found here, http://www.red-dove.com/python_logging.html or in python 2.3, that is python HEAD cvs. -- /Magnus
Hi Chris, Thomas, Magnus; hi all, Thanks for your support. I decided to use the stable version meanwhile, so these errors vanished magically... Regards, Florian Florian Konnertz wrote:
Hi Zopies,
I installed Python-2.2.2 and checked out the latest version via cvs. I copied the 'start' file from a regular 2.5. because i couldn't find out
.... -- Florian Konnertz ---------------- http://openspirit.homelinux.net/noowiki/FrontPage http://www.openspirit.de consciousness research and wisdom traditions http://www.florian-konnertz.de homepage, my linux howtos http://www.openmovie.org movie and mp3 -player projects Have a nice day!
participants (4)
-
Chris Withers -
Florian Konnertz -
Magnus Heino -
Thomas Guettler