[Setup] ZODB: cPersistence.so: undefined symbol: PyUnicodeUCS2_AsEncodedString
ajung
lists at zopyx.com
Thu Nov 29 09:25:12 UTC 2012
You are trying to run your Plone/Zope installation with a different Python
version than
the one used for compiling and installation Zope/Plone. At least some
modules have
been compiled with a different Python version (with different UCS2/UCS4
build
options)
-aj
rik wrote
> i'm in one of those back to square#1 moments...
>
> i've been mucking about adding tricky things to my buildout, but now i
> can't even get plonectl to start!
>
> i think of these errors as indicating a python version mismatch
> (cf. ajung's comment in
> http://plone.293351.n2.nabble.com/Plone-3-3-2-upgrade-plonectl-restart-throws-error-tp4052367.html),
> so i grabbed
> the most recent 4.2.1 installer, re-boostrapped, re-builtout,
> all squeaky clean! i even dropped into pdb to make sure the
> sys.version=2.7.3 in loader.py.schemaComponentSource(), and it does.
>
> what else might be causing this?!
>
> rik
>
>> zeoserver: Traceback (most recent call last):
>> File "~/Plone/zeocluster/bin/zeoserver", line 27, in
> <module>
>> + sys.argv[1:])
>> File
>> "~/Plone/buildout-cache/eggs/plone.recipe.zeoserver-1.2.2-py2.7.egg/plone/recipe/zeoserver/ctl.py",
>> line 35, in main
>> zeoctl.main(args)
>> File
>> "~/Plone/buildout-cache/eggs/ZODB3-3.10.5-py2.7-linux-x86_64.egg/ZEO/zeoctl.py",
>> line 28, in main
>> zdaemon.zdctl.main(args, options)
>> File
>> "~/Plone/buildout-cache/eggs/zdaemon-2.0.7-py2.7.egg/zdaemon/zdctl.py",
>> line 683, in main
>> options.realize(args)
>> File
>> "~/Plone/buildout-cache/eggs/zdaemon-2.0.7-py2.7.egg/zdaemon/zdctl.py",
>> line 106, in realize
>> RunnerOptions.realize(self, *args, **kwds)
>> File
>> "~/Plone/buildout-cache/eggs/zdaemon-2.0.7-py2.7.egg/zdaemon/zdoptions.py",
>> line 290, in realize
>> self.load_schema()
>> File
>> "~/Plone/buildout-cache/eggs/zdaemon-2.0.7-py2.7.egg/zdaemon/zdoptions.py",
>> line 338, in load_schema
>> self.schema = ZConfig.loadSchema(self.schemafile)
>> File
>> "~/Plone/buildout-cache/eggs/ZConfig-2.9.0-py2.7.egg/ZConfig/loader.py",
>> line 33, in loadSchema
>> return SchemaLoader().loadURL(url)
>> File
>> "~/Plone/buildout-cache/eggs/ZConfig-2.9.0-py2.7.egg/ZConfig/loader.py",
>> line 67, in loadURL
>> return self.loadResource(r)
>> File
>> "~/Plone/buildout-cache/eggs/ZConfig-2.9.0-py2.7.egg/ZConfig/loader.py",
>> line 195, in loadResource
>> schema = ZConfig.schema.parseResource(resource, self)
>> File
>> "~/Plone/buildout-cache/eggs/ZConfig-2.9.0-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 207, in feed
>> self._parser.Parse(data, isFinal)
>> File "/usr/lib/python2.7/xml/sax/expatreader.py", line 301, in
>> start_element
>> self._cont_handler.startElement(name, AttributesImpl(attrs))
>> File
>> "~/Plone/buildout-cache/eggs/ZConfig-2.9.0-py2.7.egg/ZConfig/schema.py",
>> line 103, in startElement
>> getattr(self, "start_" + name)(attrs)
>> File
>> "~/Plone/buildout-cache/eggs/ZConfig-2.9.0-py2.7.egg/ZConfig/schema.py",
>> line 306, in start_import
>> src = self._loader.schemaComponentSource(pkg, file)
>> File
>> "~/Plone/buildout-cache/eggs/ZConfig-2.9.0-py2.7.egg/ZConfig/loader.py",
>> line 217, in schemaComponentSource
>> package=package)
>> ZConfig.SchemaResourceError: could not load package ZODB:
>> ~/Plone/buildout-cache/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
> _______________________________________________
> Setup mailing list
> Setup at .plone
> https://lists.plone.org/mailman/listinfo/plone-setup
--
View this message in context: http://plone.293351.n2.nabble.com/ZODB-cPersistence-so-undefined-symbol-PyUnicodeUCS2-AsEncodedString-tp7561507p7561515.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.
More information about the Setup
mailing list