Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: a new-style class can't have only classic bases (pyenv and plone-5.1.x.cfg) #122

Open
registroforzado opened this issue Oct 18, 2020 · 0 comments

Comments

@registroforzado
Copy link

Is there a way to solve this? Thank you

$ bin/instance fg
2020-10-18 01:11:16 INFO ZServer HTTP server started at Sun Oct 18 01:11:16 2020
Hostname: 0.0.0.0
Port: 8080
Traceback (most recent call last):
File "/home/plone/bda.plone.shop/parts/instance/bin/interpreter", line 332, in
exec(compile(__file__f.read(), file, "exec"))
File "/home/plone/bda.plone.shop/eggs/Zope2-2.13.30-py2.7.egg/Zope2/Startup/run.py", line 76, in
run()
File "/home/plone/bda.plone.shop/eggs/Zope2-2.13.30-py2.7.egg/Zope2/Startup/run.py", line 22, in run
starter.prepare()
File "/home/plone/bda.plone.shop/eggs/Zope2-2.13.30-py2.7.egg/Zope2/Startup/init.py", line 92, in prepare
self.startZope()
File "/home/plone/bda.plone.shop/eggs/Zope2-2.13.30-py2.7.egg/Zope2/Startup/init.py", line 268, in startZope
Zope2.startup()
File "/home/plone/bda.plone.shop/eggs/Zope2-2.13.30-py2.7.egg/Zope2/init.py", line 47, in startup
_startup()
File "/home/plone/bda.plone.shop/eggs/Zope2-2.13.30-py2.7.egg/Zope2/App/startup.py", line 120, in startup
load_zcml()
File "/home/plone/bda.plone.shop/eggs/Zope2-2.13.30-py2.7.egg/Zope2/App/startup.py", line 52, in load_zcml
load_site()
File "/home/plone/bda.plone.shop/eggs/Zope2-2.13.30-py2.7.egg/Zope2/App/zcml.py", line 46, in load_site
_context = xmlconfig.file(site_zcml)
File "/home/plone/bda.plone.shop/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 649, in file
include(context, name, package)
File "/home/plone/bda.plone.shop/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 548, in include
processxmlfile(f, context)
File "/home/plone/bda.plone.shop/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 380, in processxmlfile
parser.parse(src)
File "/usr/lib/python2.7/xml/sax/expatreader.py", line 110, 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 213, in feed
self._parser.Parse(data, isFinal)
File "/usr/lib/python2.7/xml/sax/expatreader.py", line 365, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/home/plone/bda.plone.shop/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 359, in endElementNS
self.context.end()
File "/home/plone/bda.plone.shop/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 558, in end
self.stack.pop().finish()
File "/home/plone/bda.plone.shop/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 706, in finish
actions = self.handler(context, **args)
File "/home/plone/bda.plone.shop/eggs/Zope2-2.13.30-py2.7.egg/OFS/metaconfigure.py", line 46, in loadProducts
xmlconfig.include(_context, zcml, package=product)
File "/home/plone/bda.plone.shop/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 548, in include
processxmlfile(f, context)
File "/home/plone/bda.plone.shop/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 380, in processxmlfile
parser.parse(src)
File "/usr/lib/python2.7/xml/sax/expatreader.py", line 110, 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 213, in feed
self._parser.Parse(data, isFinal)
File "/usr/lib/python2.7/xml/sax/expatreader.py", line 365, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/home/plone/bda.plone.shop/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 359, in endElementNS
self.context.end()
File "/home/plone/bda.plone.shop/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 558, in end
self.stack.pop().finish()
File "/home/plone/bda.plone.shop/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 706, in finish
actions = self.handler(context, **args)
File "/home/plone/bda.plone.shop/eggs/z3c.autoinclude-0.4.0-py2.7.egg/z3c/autoinclude/zcml.py", line 119, in includePluginsDirective
info = PluginFinder(dotted_name).includableInfo(zcml_to_look_for)
File "/home/plone/bda.plone.shop/eggs/z3c.autoinclude-0.4.0-py2.7.egg/z3c/autoinclude/plugin.py", line 24, in includableInfo
groups = zcml_to_include(plugin_dottedname, zcml_to_look_for)
File "/home/plone/bda.plone.shop/eggs/z3c.autoinclude-0.4.0-py2.7.egg/z3c/autoinclude/plugin.py", line 52, in zcml_to_include
filename = resource_filename(dotted_name, zcmlgroup)
File "/home/plone/bda.plone.shop/lib/python2.7/site-packages/pkg_resources/init.py", line 1144, in resource_filename
return get_provider(package_or_requirement).get_resource_filename(
File "/home/plone/bda.plone.shop/lib/python2.7/site-packages/pkg_resources/init.py", line 361, in get_provider
import(moduleOrReq)
File "/home/plone/bda.plone.shop/src/bda/plone/shop/init.py", line 3, in
from bda.plone.shop.user.properties import UserPropertiesPASPlugin
File "/home/plone/bda.plone.shop/src/bda/plone/shop/user/properties.py", line 3, in
from bda.plone.checkout.vocabularies import get_pycountry_name
File "/home/plone/bda.plone.shop/devsrc/bda.plone.checkout/src/bda/plone/checkout/vocabularies.py", line 19, in
(country.numeric, safe_unicode(_c(country.name))) for country in pycountry.countries
File "/home/plone/bda.plone.shop/eggs/pycountry-20.7.3-py2.7.egg/pycountry/db.py", line 40, in load_if_needed
self._load()
File "/home/plone/bda.plone.shop/eggs/pycountry-20.7.3-py2.7.egg/pycountry/db.py", line 67, in _load
self.data_class_name, (self.data_class_base,), {})
zope.configuration.xmlconfig.ZopeXMLConfigurationError: File "/home/plone/bda.plone.shop/parts/instance/etc/site.zcml", line 12.2-12.39
ZopeXMLConfigurationError: File "/home/plone/bda.plone.shop/eggs/Products.CMFPlone-5.1.7-py2.7.egg/Products/CMFPlone/meta.zcml", line 37.4-41.10
TypeError: a new-style class can't have only classic bases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant