Zope 2.7.0 install with RH Enterprise AS3
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zope 2 |
Invalid
|
Low
|
Unassigned |
Bug Description
Get this error after following directions in
doc/INSTALL.txt
Zope binaries installed successfully.
Now run '/opt/pkg/
[root@optical Zope-2.7.0]# /opt/pkg/
Please choose a directory in which you'd like to install
Zope "instance home" files such as database files, configuration
files, etc.
Directory: /opt/pkg/zope-data
Please choose a username and password for the initial user.
These will be the credentials you use to initially manage
your new Zope instance.
Username: root
Password:
Verify password:
[root@optical Zope-2.7.0]#
[root@optical Zope-2.7.0]#
[root@optical Zope-2.7.0]# /opt/pkg/
Traceback (most recent call last):
File "/opt/pkg/
run()
File "/opt/pkg/
opts = _setconfig()
File "/opt/pkg/
opts.
File "/opt/pkg/
self.
File "/opt/pkg/
self.schema = ZConfig.
File "/opt/pkg/
return SchemaLoader(
File "/opt/pkg/
return self.loadResour
File "/opt/pkg/
schema = ZConfig.
File "/opt/pkg/
xml.
File "/usr/lib64/
parser.
File "/usr/lib64/
xmlreader.
File "/usr/lib64/
self.
File "/usr/lib64/
self.
File "/usr/lib64/
self.
File "/opt/pkg/
getattr(self, "start_" + name)(attrs)
File "/opt/pkg/
keytype, valuetype, datatype = self.get_
File "/opt/pkg/
datatype = self.get_
File "/opt/pkg/
return self._registry.
File "/opt/pkg/
t = self.search(name)
File "/opt/pkg/
package = __import__(n, g, g, component)
File "/opt/pkg/
File "/opt/pkg/
from zLOG import register_subsystem
File "/opt/pkg/
from EventLogger import log_write, log_time, severity_string, \
File "/opt/pkg/
import logging
ImportError: No module named logging
[root@optical Zope-2.7.0]# uname -a
Linux optical.
[root@optical Zope-2.7.0]# free
total used free shared buffers cached
Mem: 4016852 1185096 2831756 0 190848 414936
-/+ buffers/cache: 579312 3437540
Swap: 9799440 0 9799440
[root@optical Zope-2.7.0]# which python
/usr/bin/python
[root@optical Zope-2.7.0]# /usr/bin/python -V
Python 2.2.3
[root@optical Zope-2.7.0]# cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 15
model : 5
model name : AMD Opteron(tm) Processor 240
stepping : 1
cpu MHz : 1394.335
cache size : 1024 KB
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext lm 3dnowext 3dnow
bogomips : 2778.72
TLB size : 1088 4K pages
clflush size : 64
address sizes : 40 bits physical, 48 bits virtual
power management: ts ttp
processor : 1
vendor_id : AuthenticAMD
cpu family : 15
model : 5
model name : AMD Opteron(tm) Processor 240
stepping : 1
cpu MHz : 1394.335
cache size : 1024 KB
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext lm 3dnowext 3dnow
bogomips : 2785.28
TLB size : 1088 4K pages
clflush size : 64
address sizes : 40 bits physical, 48 bits virtual
power management: ts ttp
Zope 2.7 requires Python 2.3. You should use Python 2.3.3 if possible. The logging module Zope wants here doesn't exist in the Python 2.2 you're using.