[Zope] Can't start Zope

2009-03-10 Thread Ken Winter
I have done something to my Zope instance that has prevented Zope from
starting (after many years of working fine).  Can you help me find a way
out?

Here's the command and the results:

dhatoff...@05 /usr/local/zope/instance3/bin # ./zopectl start

/usr/local/zope/298/lib/python/persistent/__init__.py:19: RuntimeWarning:
Python C API version mismatch for module cPersistence: This Python has API
version 1013, module cPersistence has version 1012.
  from cPersistence import Persistent, GHOST, UPTODATE, CHANGED, STICKY
/usr/local/zope/298/lib/python/persistent/__init__.py:19: RuntimeWarning:
Python C API version mismatch for module TimeStamp: This Python has API
version 1013, module TimeStamp has version 1012.
  from cPersistence import Persistent, GHOST, UPTODATE, CHANGED, STICKY
/usr/local/zope/298/lib/python/persistent/__init__.py:20: RuntimeWarning:
Python C API version mismatch for module cPickleCache: This Python has API
version 1013, module cPickleCache has version 1012.
  from cPickleCache import PickleCache
/usr/local/zope/298/lib/python/zope/interface/interface.py:156:
RuntimeWarning: Python C API version mismatch for module
_zope_interface_coptimizations: This Python has API version 1013, module
_zope_interface_coptimizations has version 1012.
  from _zope_interface_coptimizations import SpecificationBase
/usr/local/zope/298/lib/python/ExtensionClass/__init__.py:105:
RuntimeWarning: Python C API version mismatch for module _ExtensionClass:
This Python has API version 1013, module _ExtensionClass has version 1012.
  from _ExtensionClass import *
/usr/local/zope/298/lib/python/AccessControl/ImplC.py:18: RuntimeWarning:
Python C API version mismatch for module cAccessControl: This Python has API
version 1013, module cAccessControl has version 1012.
  from cAccessControl import rolesForPermissionOn, \
/usr/local/zope/298/lib/python/Acquisition/__init__.py:3: RuntimeWarning:
Python C API version mismatch for module _Acquisition: This Python has API
version 1013, module _Acquisition has version 1012.
  from _Acquisition import *
/usr/local/zope/298/lib/python/Record/__init__.py:59: RuntimeWarning: Python
C API version mismatch for module _Record: This Python has API version 1013,
module _Record has version 1012.
  from _Record import Record
Traceback (most recent call last):
  File /usr/local/zope/298/lib/python/Zope2/Startup/zopectl.py, line 329,
in module
main()
  File /usr/local/zope/298/lib/python/Zope2/Startup/zopectl.py, line 287,
in main
options.realize(args)
  File /usr/local/zope/298/lib/python/Zope2/Startup/zopectl.py, line 95,
in realize
ZDOptions.realize(self, *args, **kw)
  File /usr/local/zope/298/lib/python/zdaemon/zdoptions.py, line 273, in
realize
self.load_schema()
  File /usr/local/zope/298/lib/python/zdaemon/zdoptions.py, line 321, in
load_schema
self.schema = ZConfig.loadSchema(self.schemafile)
  File /usr/local/zope/298/lib/python/ZConfig/loader.py, line 31, in
loadSchema
return SchemaLoader().loadURL(url)
  File /usr/local/zope/298/lib/python/ZConfig/loader.py, line 65, in
loadURL
return self.loadResource(r)
  File /usr/local/zope/298/lib/python/ZConfig/loader.py, line 159, in
loadResource
schema = ZConfig.schema.parseResource(resource, self)
  File /usr/local/zope/298/lib/python/ZConfig/schema.py, line 27, in
parseResource
xml.sax.parse(resource.file, parser)
  File /usr/local/lib/python2.5/xml/sax/__init__.py, line 33, in parse
parser.parse(source)
  File /usr/local/lib/python2.5/xml/sax/expatreader.py, line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
  File /usr/local/lib/python2.5/xml/sax/xmlreader.py, line 123, in parse
self.feed(buffer)
  File /usr/local/lib/python2.5/xml/sax/expatreader.py, line 207, in feed
self._parser.Parse(data, isFinal)
  File /usr/local/lib/python2.5/xml/sax/expatreader.py, line 301, in
start_element
self._cont_handler.startElement(name, AttributesImpl(attrs))
  File /usr/local/zope/298/lib/python/ZConfig/schema.py, line 99, in
startElement
getattr(self, start_ + name)(attrs)
  File /usr/local/zope/298/lib/python/ZConfig/schema.py, line 475, in
start_schema
keytype, valuetype, datatype = self.get_sect_typeinfo(attrs)
  File /usr/local/zope/298/lib/python/ZConfig/schema.py, line 201, in
get_sect_typeinfo
datatype = self.get_datatype(attrs, datatype, null, base)
  File /usr/local/zope/298/lib/python/ZConfig/schema.py, line 194, in
get_datatype
return self._registry.get(dtname)
  File /usr/local/zope/298/lib/python/ZConfig/datatypes.py, line 398, in
get
t = self.search(name)
  File /usr/local/zope/298/lib/python/ZConfig/datatypes.py, line 423, in
search
package = __import__(n, g, g, component)
  File /usr/local/zope/298/lib/python/Zope2/Startup/datatypes.py, line 21,
in module
import OFS.Uninstalled
  File /usr/local/zope/298/lib/python/OFS/Uninstalled.py, line 20, in
module
import SimpleItem, Globals, Acquisition
  File 

Re: [Zope] Can't start Zope

2009-03-10 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On Mar 10, 2009, at 21:35 , Ken Winter wrote:

 I have done something to my Zope instance that has prevented Zope from
 starting (after many years of working fine).  Can you help me find a  
 way
 out?

 From the traceback it looks like the Zope 2.9.8 instance is being  
started on top of Python 2.5 - I bet you did not have this combination  
when things worked fine. The first thing I would do is go back to the  
version of Python you were using before.

jens



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkm20hwACgkQRAx5nvEhZLJQtwCdHNWUpskxpsi4jpjFYZGH6k86
nbYAoInV9JQUP/HZ/Zi+qB3Uhl39SYOs
=zr9W
-END PGP SIGNATURE-
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Can't start Zope

2007-08-28 Thread Tom Von Lahndorff


Getting the following error. Thanks in advance.

]# ./zopectl start
Traceback (most recent call last):
  File /opt/zope/Zope-2.10.1_Software/lib/python/Zope2/Startup/ 
zopectl.py, line 322, in ?

main()
  File /opt/zope/Zope-2.10.1_Software/lib/python/Zope2/Startup/ 
zopectl.py, line 280, in main

options.realize(args)
  File /opt/zope/Zope-2.10.1_Software/lib/python/Zope2/Startup/ 
zopectl.py, line 91, in realize

ZDOptions.realize(self, *args, **kw)
  File /opt/zope/Zope-2.10.1_Software/lib/python/zdaemon/ 
zdoptions.py, line 273, in realize

self.load_schema()
  File /opt/zope/Zope-2.10.1_Software/lib/python/zdaemon/ 
zdoptions.py, line 321, in load_schema

self.schema = ZConfig.loadSchema(self.schemafile)
  File /opt/zope/Zope-2.10.1_Software/lib/python/ZConfig/ 
loader.py, line 31, in loadSchema

return SchemaLoader().loadURL(url)
  File /opt/zope/Zope-2.10.1_Software/lib/python/ZConfig/ 
loader.py, line 65, in loadURL

return self.loadResource(r)
  File /opt/zope/Zope-2.10.1_Software/lib/python/ZConfig/ 
loader.py, line 159, in loadResource

schema = ZConfig.schema.parseResource(resource, self)
  File /opt/zope/Zope-2.10.1_Software/lib/python/ZConfig/ 
schema.py, line 27, in parseResource

xml.sax.parse(resource.file, parser)
  File /usr/local/lib/python2.4/xml/sax/__init__.py, line 33, in  
parse

parser.parse(source)
  File /usr/local/lib/python2.4/xml/sax/expatreader.py, line 107,  
in parse

xmlreader.IncrementalParser.parse(self, source)
  File /usr/local/lib/python2.4/xml/sax/xmlreader.py, line 123, in  
parse

self.feed(buffer)
  File /usr/local/lib/python2.4/xml/sax/expatreader.py, line 207,  
in feed

self._parser.Parse(data, isFinal)
  File /usr/local/lib/python2.4/xml/sax/expatreader.py, line 300,  
in start_element

self._cont_handler.startElement(name, AttributesImpl(attrs))
  File /opt/zope/Zope-2.10.1_Software/lib/python/ZConfig/ 
schema.py, line 99, in startElement

getattr(self, start_ + name)(attrs)
  File /opt/zope/Zope-2.10.1_Software/lib/python/ZConfig/ 
schema.py, line 475, in start_schema

keytype, valuetype, datatype = self.get_sect_typeinfo(attrs)
  File /opt/zope/Zope-2.10.1_Software/lib/python/ZConfig/ 
schema.py, line 201, in get_sect_typeinfo

datatype = self.get_datatype(attrs, datatype, null, base)
  File /opt/zope/Zope-2.10.1_Software/lib/python/ZConfig/ 
schema.py, line 194, in get_datatype

return self._registry.get(dtname)
  File /opt/zope/Zope-2.10.1_Software/lib/python/ZConfig/ 
datatypes.py, line 398, in get

t = self.search(name)
  File /opt/zope/Zope-2.10.1_Software/lib/python/ZConfig/ 
datatypes.py, line 423, in search

package = __import__(n, g, g, component)
  File /opt/zope/Zope-2.10.1_Software/lib/python/Zope2/Startup/ 
datatypes.py, line 21, in ?

import OFS.Uninstalled
  File /opt/zope/Zope-2.10.1_Software/lib/python/OFS/ 
Uninstalled.py, line 16, in ?

import  SimpleItem, Globals, Acquisition
  File /opt/zope/Zope-2.10.1_Software/lib/python/OFS/ 
SimpleItem.py, line 26, in ?

import AccessControl.Role, AccessControl.Owned, App.Common
ImportError: No module named AccessControl.Role
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Can't start Zope

2007-08-28 Thread Andreas Jung



--On 28. August 2007 12:32:42 -0400 Tom Von Lahndorff [EMAIL PROTECTED] 
wrote:

 import AccessControl.Role, AccessControl.Owned, App.Common
ImportError: No module named AccessControl.Role


Broken installation? And why Zope 2.10.1? We are currently at 2.10.4.

Andreas

pgpEfqkgvBcpS.pgp
Description: PGP signature
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )