[ZCM] [ZC] 1230/ 2 Comment "Zope 2.7.0 install with RH Enterprise AS3"

Collector: Zope Bugs, Features, and Patches ... zope-coders-admin at zope.org
Fri Feb 13 21:00:49 EST 2004


Issue #1230 Update (Comment) "Zope 2.7.0 install with RH Enterprise AS3"
 Status Pending, Zope/bug low
To followup, visit:
  http://zope.org/Collectors/Zope/1230

==============================================================
= Comment - Entry #2 by tim_one on Feb 13, 2004 9:00 pm

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.
________________________________________
= Request - Entry #1 by Anonymous User on Feb 13, 2004 8:48 pm

Get this error after following directions in 
doc/INSTALL.txt


Zope binaries installed successfully.
Now run '/opt/pkg/zope-2.7.0/bin/mkzopeinstance.py'
[root at optical Zope-2.7.0]# /opt/pkg/zope-2.7.0/bin/mkzopeinstance.py
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 at optical Zope-2.7.0]#
[root at optical Zope-2.7.0]#


[root at optical Zope-2.7.0]# /opt/pkg/zope-data/bin/runzope
Traceback (most recent call last):
  File "/opt/pkg/zope-2.7.0/lib/python/Zope/Startup/run.py", line 49, in ?
    run()
  File "/opt/pkg/zope-2.7.0/lib/python/Zope/Startup/run.py", line 18, in run
    opts = _setconfig()
  File "/opt/pkg/zope-2.7.0/lib/python/Zope/Startup/run.py", line 41, in _setconfig
    opts.realize(doc="Sorry, no option docs yet.")
  File "/opt/pkg/zope-2.7.0/lib/python/zdaemon/zdoptions.py", line 262, in realize
    self.load_schema()
  File "/opt/pkg/zope-2.7.0/lib/python/zdaemon/zdoptions.py", line 303, in load_schema
    self.schema = ZConfig.loadSchema(self.schemafile)
  File "/opt/pkg/zope-2.7.0/lib/python/ZConfig/loader.py", line 37, in loadSchema
    return SchemaLoader().loadURL(url)
  File "/opt/pkg/zope-2.7.0/lib/python/ZConfig/loader.py", line 71, in loadURL
    return self.loadResource(r)
  File "/opt/pkg/zope-2.7.0/lib/python/ZConfig/loader.py", line 137, in loadResource
    schema = ZConfig.schema.parseResource(resource, self)
  File "/opt/pkg/zope-2.7.0/lib/python/ZConfig/schema.py", line 43, in parseResource
    xml.sax.parse(resource.file, parser)
  File "/usr/lib64/python2.2/site-packages/_xmlplus/sax/__init__.py", line 31, in parse
    parser.parse(filename_or_stream)
  File "/usr/lib64/python2.2/site-packages/_xmlplus/sax/expatreader.py", line 109, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/usr/lib64/python2.2/site-packages/_xmlplus/sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/usr/lib64/python2.2/site-packages/_xmlplus/sax/expatreader.py", line 203, in feed
    self._parser.Parse(data, isFinal)
  File "/usr/lib64/python2.2/site-packages/_xmlplus/sax/expatreader.py", line 277, in start_element
    self._cont_handler.startElement(name, AttributesImpl(attrs))
  File "/opt/pkg/zope-2.7.0/lib/python/ZConfig/schema.py", line 115, in startElement
    getattr(self, "start_" + name)(attrs)
  File "/opt/pkg/zope-2.7.0/lib/python/ZConfig/schema.py", line 469, in start_schema
    keytype, valuetype, datatype = self.get_sect_typeinfo(attrs)
  File "/opt/pkg/zope-2.7.0/lib/python/ZConfig/schema.py", line 207, in get_sect_typeinfo
    datatype = self.get_datatype(attrs, "datatype", "null")
  File "/opt/pkg/zope-2.7.0/lib/python/ZConfig/schema.py", line 200, in get_datatype
    return self._registry.get(dtname)
  File "/opt/pkg/zope-2.7.0/lib/python/ZConfig/datatypes.py", line 298, in get
    t = self.search(name)
  File "/opt/pkg/zope-2.7.0/lib/python/ZConfig/datatypes.py", line 323, in search
    package = __import__(n, g, g, component)
  File "/opt/pkg/zope-2.7.0/lib/python/Zope/Startup/datatypes.py", line 18, in ?    from ZODB.config import ZODBDatabase
  File "/opt/pkg/zope-2.7.0/lib/python/ZODB/__init__.py", line 19, in ?
    from zLOG import register_subsystem
  File "/opt/pkg/zope-2.7.0/lib/python/zLOG/__init__.py", line 88, in ?
    from EventLogger import log_write, log_time, severity_string, \
  File "/opt/pkg/zope-2.7.0/lib/python/zLOG/EventLogger.py", line 23, in ?
    import logging
ImportError: No module named logging

[root at optical Zope-2.7.0]# uname -a
Linux optical.math.ucdavis.edu 2.4.21-9.ELsmp #1 SMP Thu Jan 8 16:52:31 EST 2004 x86_64 x86_64 x86_64 GNU/Linux

[root at 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 at optical Zope-2.7.0]# which python
/usr/bin/python
[root at optical Zope-2.7.0]# /usr/bin/python -V
Python 2.2.3
[root at 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


==============================================================




More information about the Zope-Collector-Monitor mailing list