Zope

Iniciado por Tiagoo, 13 de Julho de 2007, 22:16

tópico anterior - próximo tópico

Tiagoo

instalei o zope aq pelo apt-get install zope
baxo tudo beleza, criei a instancia...mas quando vo rodar o server da erro!!
Citar
$ /opt/zopeInstance/bin$ ./zopectl start
/usr/lib/zope2.9/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/lib/zope2.9/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/lib/zope2.9/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/lib/zope2.9/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/lib/zope2.9/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/lib/zope2.9/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/lib/zope2.9/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/lib/zope2.9/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/lib/zope2.9/lib/python/Zope2/Startup/zopectl.py", line 322, in <module>
    main()
  File "/usr/lib/zope2.9/lib/python/Zope2/Startup/zopectl.py", line 280, in main
    options.realize(args)
  File "/usr/lib/zope2.9/lib/python/Zope2/Startup/zopectl.py", line 91, in realize
    ZDOptions.realize(self, *args, **kw)
  File "/usr/lib/zope2.9/lib/python/zdaemon/zdoptions.py", line 273, in realize
    self.load_schema()
  File "/usr/lib/zope2.9/lib/python/zdaemon/zdoptions.py", line 321, in load_schema
    self.schema = ZConfig.loadSchema(self.schemafile)
  File "/usr/lib/zope2.9/lib/python/ZConfig/loader.py", line 31, in loadSchema
    return SchemaLoader().loadURL(url)
  File "/usr/lib/zope2.9/lib/python/ZConfig/loader.py", line 65, in loadURL
    return self.loadResource(r)
  File "/usr/lib/zope2.9/lib/python/ZConfig/loader.py", line 159, in loadResource
    schema = ZConfig.schema.parseResource(resource, self)
  File "/usr/lib/zope2.9/lib/python/ZConfig/schema.py", line 27, in parseResource
    xml.sax.parse(resource.file, parser)
  File "/usr/lib/python2.5/site-packages/_xmlplus/sax/__init__.py", line 31, in parse
    parser.parse(filename_or_stream)
  File "/usr/lib/python2.5/site-packages/_xmlplus/sax/expatreader.py", line 109, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/usr/lib/python2.5/site-packages/_xmlplus/sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/usr/lib/python2.5/site-packages/_xmlplus/sax/expatreader.py", line 216, in feed
    self._parser.Parse(data, isFinal)
  File "/usr/lib/python2.5/site-packages/_xmlplus/sax/expatreader.py", line 312, in start_element
    self._cont_handler.startElement(name, AttributesImpl(attrs))
  File "/usr/lib/zope2.9/lib/python/ZConfig/schema.py", line 99, in startElement
    getattr(self, "start_" + name)(attrs)
  File "/usr/lib/zope2.9/lib/python/ZConfig/schema.py", line 475, in start_schema
    keytype, valuetype, datatype = self.get_sect_typeinfo(attrs)
  File "/usr/lib/zope2.9/lib/python/ZConfig/schema.py", line 201, in get_sect_typeinfo
    datatype = self.get_datatype(attrs, "datatype", "null", base)
  File "/usr/lib/zope2.9/lib/python/ZConfig/schema.py", line 194, in get_datatype
    return self._registry.get(dtname)
  File "/usr/lib/zope2.9/lib/python/ZConfig/datatypes.py", line 398, in get
    t = self.search(name)
  File "/usr/lib/zope2.9/lib/python/ZConfig/datatypes.py", line 423, in search
    package = __import__(n, g, g, component)
  File "/usr/lib/zope2.9/lib/python/Zope2/Startup/datatypes.py", line 21, in <module>
    import OFS.Uninstalled
  File "/usr/lib/zope2.9/lib/python/OFS/Uninstalled.py", line 20, in <module>
    import SimpleItem, Globals, Acquisition
  File "/usr/lib/zope2.9/lib/python/OFS/SimpleItem.py", line 26, in <module>
    import AccessControl.Role, AccessControl.Owned, App.Common
  File "/usr/lib/zope2.9/lib/python/AccessControl/__init__.py", line 17, in <module>
    from Implementation import setImplementation
  File "/usr/lib/zope2.9/lib/python/AccessControl/Implementation.py", line 98, in <module>
    setImplementation("C")
  File "/usr/lib/zope2.9/lib/python/AccessControl/Implementation.py", line 51, in setImplementation
    from AccessControl import ImplC as impl
  File "/usr/lib/zope2.9/lib/python/AccessControl/ImplC.py", line 18, in <module>
    from cAccessControl import rolesForPermissionOn, \
  File "/usr/lib/zope2.9/lib/python/AccessControl/SimpleObjectPolicies.py", line 82, in <module>
    from DocumentTemplate.DT_Util import TemplateDict
  File "/usr/lib/zope2.9/lib/python/DocumentTemplate/__init__.py", line 21, in <module>
    from DocumentTemplate import String, File, HTML, HTMLDefault, HTMLFile
  File "/usr/lib/zope2.9/lib/python/DocumentTemplate/DocumentTemplate.py", line 112, in <module>
    from DT_String import String, File
  File "/usr/lib/zope2.9/lib/python/DocumentTemplate/DT_String.py", line 19, in <module>
    from DT_Util import ParseError, InstanceDict, TemplateDict, render_blocks, str
  File "/usr/lib/zope2.9/lib/python/DocumentTemplate/DT_Util.py", line 19, in <module>
    from html_quote import html_quote, ustr # for import by other modules, dont remove!
  File "/usr/lib/zope2.9/lib/python/DocumentTemplate/html_quote.py", line 4, in <module>
    from ustr import ustr
  File "/usr/lib/zope2.9/lib/python/DocumentTemplate/ustr.py", line 18, in <module>
    nasty_exception_str = Exception.__str__.im_func
AttributeError: 'wrapper_descriptor' object has no attribute 'im_func'

alguem pode me ajudar!!?


valeu!!