Aparentemente você tem diferenças de compilação entre o Python do ambiente
original e o atual. Tente apagar/mover o diretório de zeoserver/eggs e
reexecutar o buildout.
[]s
Davi
2016-03-28 12:38 GMT-03:00 Danilo Veras :
> Senhores,
>
> Estou tentando subir o zeoserver de um site que estava hospedado no SERPRO
> e está estourando o erro a abaixo, alguém sabe o que é?
>
> (py27)programas@TEST-PLONE-DEBIAN8:~/zope/2.13.21/p_78734_portalseppir/zeoserver$
> ./bin/zeoserver start
>
> Traceback (most recent call last):
>
> File "./bin/zeoserver", line 28, in
>
> + sys.argv[1:]))
>
> File
> "/opt/programas/zope/2.13.21/p_78734_portalseppir/zeoserver/eggs/plone.recipe.zeoserver-1.2.6-py2.7.egg/plone/recipe/zeoserver/ctl.py",
> line 35, in main
>
> zeoctl.main(args)
>
> File
> "/opt/programas/zope/2.13.21/p_78734_portalseppir/zeoserver/eggs/ZODB3-3.10.5-py2.7-linux-x86_64.egg/ZEO/zeoctl.py",
> line 28, in main
>
> zdaemon.zdctl.main(args, options)
>
> File
> "/opt/programas/zope/2.13.21/p_78734_portalseppir/zeoserver/eggs/zdaemon-2.0.7-py2.7.egg/zdaemon/zdctl.py",
> line 683, in main
>
> options.realize(args)
>
> File
> "/opt/programas/zope/2.13.21/p_78734_portalseppir/zeoserver/eggs/zdaemon-2.0.7-py2.7.egg/zdaemon/zdctl.py",
> line 106, in realize
>
> RunnerOptions.realize(self, *args, **kwds)
>
> File
> "/opt/programas/zope/2.13.21/p_78734_portalseppir/zeoserver/eggs/zdaemon-2.0.7-py2.7.egg/zdaemon/zdoptions.py",
> line 290, in realize
>
> self.load_schema()
>
> File
> "/opt/programas/zope/2.13.21/p_78734_portalseppir/zeoserver/eggs/zdaemon-2.0.7-py2.7.egg/zdaemon/zdoptions.py",
> line 338, in load_schema
>
> self.schema = ZConfig.loadSchema(self.schemafile)
>
> File
> "/opt/programas/zope/2.13.21/p_78734_portalseppir/zeoserver/eggs/ZConfig-2.9.1-py2.7.egg/ZConfig/loader.py",
> line 33, in loadSchema
>
> return SchemaLoader().loadURL(url)
>
> File
> "/opt/programas/zope/2.13.21/p_78734_portalseppir/zeoserver/eggs/ZConfig-2.9.1-py2.7.egg/ZConfig/loader.py",
> line 67, in loadURL
>
> return self.loadResource(r)
>
> File
> "/opt/programas/zope/2.13.21/p_78734_portalseppir/zeoserver/eggs/ZConfig-2.9.1-py2.7.egg/ZConfig/loader.py",
> line 195, in loadResource
>
> schema = ZConfig.schema.parseResource(resource, self)
>
> File
> "/opt/programas/zope/2.13.21/p_78734_portalseppir/zeoserver/eggs/ZConfig-2.9.1-py2.7.egg/ZConfig/schema.py",
> line 27, in parseResource
>
> xml.sax.parse(resource.file, parser)
>
> File "/usr/lib/python2.7/xml/sax/__init__.py", line 33, in parse
>
> parser.parse(source)
>
> File "/usr/lib/python2.7/xml/sax/expatreader.py", line 107, in parse
>
> xmlreader.IncrementalParser.parse(self, source)
>
> File "/usr/lib/python2.7/xml/sax/xmlreader.py", line 123, in parse
>
> self.feed(buffer)
>
> File "/usr/lib/python2.7/xml/sax/expatreader.py", line 210, in feed
>
> self._parser.Parse(data, isFinal)
>
> File "/usr/lib/python2.7/xml/sax/expatreader.py", line 304, in start_element
>
> self._cont_handler.startElement(name, AttributesImpl(attrs))
>
> File
> "/opt/programas/zope/2.13.21/p_78734_portalseppir/zeoserver/eggs/ZConfig-2.9.1-py2.7.egg/ZConfig/schema.py",
> line 103, in startElement
>
> getattr(self, "start_" + name)(attrs)
>
> File
> "/opt/programas/zope/2.13.21/p_78734_portalseppir/zeoserver/eggs/ZConfig-2.9.1-py2.7.egg/ZConfig/schema.py",
> line 306, in start_import
>
> src = self._loader.schemaComponentSource(pkg, file)
>
> File
> "/opt/programas/zope/2.13.21/p_78734_portalseppir/zeoserver/eggs/ZConfig-2.9.1-py2.7.egg/ZConfig/loader.py",
> line 217, in schemaComponentSource
>
> package=package)
>
> ZConfig.SchemaResourceError: could not load package ZODB:
> /opt/programas/zope/2.13.21/p_78734_portalseppir/zeoserver/eggs/ZODB3-3.10.5-py2.7-linux-x86_64.egg/persistent/cPersistence.so:
> undefined symbol: PyUnicodeUCS2_AsEncodedString
>
> Package name: 'ZODB'
>
> File name: 'component.xml'
>
> Package path: None
>
>
>
> --
> Comunidade Plone no Governo
> Site: http://www.softwarelivre.gov.br/plone
> Wiki: http://colab.interlegis.leg.br/wiki/PloneGovBr
> Histórico:
> http://colab.interlegis.leg.br/search/?type=thread=latest=plonegov-br
> Lista: https://listas.interlegis.gov.br/mailman/listinfo/plonegov-br
>
--
Comunidade Plone no Governo
Site: http://www.softwarelivre.gov.br/plone
Wiki: http://colab.interlegis.leg.br/wiki/PloneGovBr
Histórico:
http://colab.interlegis.leg.br/search/?type=thread=latest=plonegov-br
Lista: https://listas.interlegis.gov.br/mailman/listinfo/plonegov-br