Products.cmfplone: Testrunner causes "Fatal Python error: Cannot recover from stack overflow."

Created on 18 Apr 2019  路  15Comments  路  Source: plone/Products.CMFPlone

Python 3.6.7, Plone 5.2RC2

We have a setup with some custom DX packages and latest collective.lineage checkout for Python in our setup.

Running test for collective.lineage causes

Fatal Python error: Cannot recover from stack overflow.

No idea if this is related to Plone itself or only related to the package.

ajung@ajung-ugent ~/src/ugent-portaal-plone-4x (plone52-python3) $ bin/test -s collective.lineage
/home/ajung/src/ugent-portaal-plone-4x/eggs/Products.PluggableAuthService-2.0b2-py3.6.egg/Products/PluggableAuthService/utils.py:253: DeprecationWarning: inspect.getargspec() is deprecated, use inspect.signature() or inspect.getfullargspec()
  args, varargs, kwargs, defaults = inspect.getargspec(wrapped)
/home/ajung/src/ugent-portaal-plone-4x/eggs/Products.PythonScripts-4.4-py3.6.egg/Products/PythonScripts/PythonScript.py:53: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
  import imp  # NOQA
/home/ajung/src/ugent-portaal-plone-4x/eggs/plone.app.robotframework-1.5.0-py3.6.egg/plone/app/robotframework/i18n.py:5: DeprecationWarning: ILanguageSchema is deprecated. It has been moved to plone.i18n.interfaces, import from there instead.
  from Products.CMFPlone.interfaces import ILanguageSchema
/home/ajung/src/ugent-portaal-plone-4x/eggs/plone.app.robotframework-1.5.0-py3.6.egg/plone/app/robotframework/testing.py:160: DeprecationWarning: ZSERVER_FIXTURE is deprecated. Please import from plone.testing.zope.
  z2.ZSERVER_FIXTURE,
/home/ajung/src/ugent-portaal-plone-4x/src/collective.lineage/src/collective/lineage/events.py:6: DeprecationWarning: ObjectEvent is deprecated. Import from zope.interface.interfaces
  from zope.component.interfaces import ObjectEvent
Running collective.lineage.testing.collective.lineage:IntegrationTesting tests:
  Set up plone.testing.zca.LayerCleanup in 0.000 seconds.
  Set up plone.testing.zope.Startup in 0.160 seconds.
  Set up plone.app.testing.layers.PloneFixture /home/ajung/src/ugent-portaal-plone-4x/eggs/Products.CMFFormController-4.0.1-py3.6.egg/Products/CMFFormController/FormAction.py:6: DeprecationWarning: InitializeClass is deprecated. Please import from AccessControl.class_init.
  from App.class_init import InitializeClass
/home/ajung/src/ugent-portaal-plone-4x/eggs/Products.CMFPlacefulWorkflow-2.0.0-py3.6.egg/Products/CMFPlacefulWorkflow/permissions.py:5: DeprecationWarning: setDefaultRoles is deprecated. Please use addPermission from AccessControl.Permission.
  from Products.CMFCore.permissions import setDefaultRoles
/home/ajung/src/ugent-portaal-plone-4x/eggs/Products.PortalTransforms-3.1.6-py3.6.egg/Products/PortalTransforms/libtransforms/retransform.py:25: DeprecationWarning: Flags not at the start of the expression '<script [^>]>.*</scr' (truncated)
  r = re.compile(pat)
/home/ajung/src/ugent-portaal-plone-4x/eggs/Products.PortalTransforms-3.1.6-py3.6.egg/Products/PortalTransforms/libtransforms/retransform.py:25: DeprecationWarning: Flags not at the start of the expression '<style [^>]>.*</styl' (truncated)
  r = re.compile(pat)
/home/ajung/src/ugent-portaal-plone-4x/eggs/Products.PortalTransforms-3.1.6-py3.6.egg/Products/PortalTransforms/libtransforms/retransform.py:25: DeprecationWarning: Flags not at the start of the expression '<head [^>]>.*</head>' (truncated)
  r = re.compile(pat)
/home/ajung/src/ugent-portaal-plone-4x/eggs/Products.PortalTransforms-3.1.6-py3.6.egg/Products/PortalTransforms/libtransforms/retransform.py:25: DeprecationWarning: Flags not at the start of the expression '<[^>]*>(?i)(?m)'
  r = re.compile(pat)
/home/ajung/src/ugent-portaal-plone-4x/eggs/Products.CMFEditions-3.3.0-py3.6.egg/Products/CMFEditions/StandardModifiers.py:46: DeprecationWarning: ComponentLookupError is deprecated. Import from zope.interface.interfaces
  from zope.component.interfaces import ComponentLookupError
/home/ajung/src/ugent-portaal-plone-4x/eggs/Products.DCWorkflow-2.4.0b2-py3.6.egg/Products/DCWorkflow/interfaces.py:18: DeprecationWarning: IObjectEvent is deprecated. Import from zope.interface.interfaces
  from zope.component.interfaces import IObjectEvent
/home/ajung/src/ugent-portaal-plone-4x/eggs/z3c.caching-2.1-py3.6.egg/z3c/caching/registry.py:16: DeprecationWarning: IComponents is deprecated. Import from zope.interface.interfaces
  from zope.component.interfaces import IComponents
/home/ajung/src/ugent-portaal-plone-4x/eggs/plone.stringinterp-1.3.1-py3.6.egg/plone/stringinterp/adapters.py:13: DeprecationWarning: zope.site.hooks has moved to zope.component.hooks. Import of zope.site.hooks will become unsupported in Version 5.0
  from zope.site.hooks import getSite
/home/ajung/src/ugent-portaal-plone-4x/eggs/plone.app.layout-3.1.1-py3.6.egg/plone/app/layout/navigation/navtree.py:14: DeprecationWarning: ILanguageSchema is deprecated. It has been moved to plone.i18n.interfaces, import from there instead.
  from Products.CMFPlone.interfaces.controlpanel import ILanguageSchema
/home/ajung/src/ugent-portaal-plone-4x/share/python-wheels/colorama-0.3.7-py2.py3-none-any.whl/colorama/ansitowin32.py:49: DeprecationWarning: invalid escape sequence \[
/home/ajung/src/ugent-portaal-plone-4x/share/python-wheels/colorama-0.3.7-py2.py3-none-any.whl/colorama/ansitowin32.py:50: DeprecationWarning: invalid escape sequence \]
/home/ajung/src/ugent-portaal-plone-4x/share/python-wheels/colorama-0.3.7-py2.py3-none-any.whl/colorama/ansitowin32.py:49: DeprecationWarning: invalid escape sequence \[
/home/ajung/src/ugent-portaal-plone-4x/share/python-wheels/colorama-0.3.7-py2.py3-none-any.whl/colorama/ansitowin32.py:50: DeprecationWarning: invalid escape sequence \]
/home/ajung/src/ugent-portaal-plone-4x/eggs/zope.configuration-4.3.1-py3.6.egg/zope/configuration/config.py:240: DeprecationWarning: IComponentRegistry is deprecated. Import from zope.interface.interfaces
  obj = getattr(mod, oname)
/home/ajung/src/ugent-portaal-plone-4x/eggs/zope.configuration-4.3.1-py3.6.egg/zope/configuration/config.py:240: DeprecationWarning: LazyMap is deprecated. Please import from ZTUtils.Lazy.
  obj = getattr(mod, oname)
/home/ajung/src/ugent-portaal-plone-4x/eggs/zope.configuration-4.3.1-py3.6.egg/zope/configuration/config.py:240: DeprecationWarning: LazyCat is deprecated. Please import from ZTUtils.Lazy.
  obj = getattr(mod, oname)
/home/ajung/src/ugent-portaal-plone-4x/eggs/plone.app.viewletmanager-3.0.0-py3.6.egg/plone/app/viewletmanager/manager.py:23: DeprecationWarning: Retry is deprecated. Please import from ZPublisher.
  from ZPublisher.Publish import Retry
/home/ajung/src/ugent-portaal-plone-4x/eggs/pyScss-1.3.5-py3.6.egg/scss/namespace.py:172: DeprecationWarning: inspect.getargspec() is deprecated, use inspect.signature() or inspect.getfullargspec()
  argspec = inspect.getargspec(function)
/home/ajung/src/ugent-portaal-plone-4x/eggs/plone.portlet.collection-3.3.1-py3.6.egg/plone/portlet/collection/collection.py:2: DeprecationWarning: isDefaultPage is deprecated. Import from Products.CMFPlone instead
  from plone.app.layout.navigation.defaultpage import isDefaultPage
/home/ajung/src/ugent-portaal-plone-4x/eggs/Products.CMFPlone-5.2rc1-py3.6.egg/Products/CMFPlone/browser/syndication/views.py:17: DeprecationWarning: wrap_form is deprecated. Import from plone.z3cform.layout instead.
  from plone.app.z3cform.layout import wrap_form
/home/ajung/src/ugent-portaal-plone-4x/eggs/plone.protect-4.1.2-py3.6.egg/plone/protect/utils.py:28: DeprecationWarning: inspect.getargspec() is deprecated, use inspect.signature() or inspect.getfullargspec()
  spec = inspect.getargspec(callable)
/home/ajung/src/ugent-portaal-plone-4x/eggs/Products.ExtendedPathIndex-3.4.1-py3.6.egg/Products/ExtendedPathIndex/ExtendedPathIndex.py:5: DeprecationWarning: safe_callable is deprecated. Please import from Products.PluginIndexes.util.
  from Products.PluginIndexes.common import safe_callable
Could not install product Products.ResourceRegistries
/home/ajung/src/ugent-portaal-plone-4x/eggs/Products.PortalTransforms-3.1.6-py3.6.egg/Products/PortalTransforms/libtransforms/retransform.py:25: DeprecationWarning: Flags not at the start of the expression '<script [^>]>.*</scr' (truncated)
  r = re.compile(pat)
/home/ajung/src/ugent-portaal-plone-4x/eggs/Products.PortalTransforms-3.1.6-py3.6.egg/Products/PortalTransforms/libtransforms/retransform.py:25: DeprecationWarning: Flags not at the start of the expression '<style [^>]>.*</styl' (truncated)
  r = re.compile(pat)
/home/ajung/src/ugent-portaal-plone-4x/eggs/Products.PortalTransforms-3.1.6-py3.6.egg/Products/PortalTransforms/libtransforms/retransform.py:25: DeprecationWarning: Flags not at the start of the expression '<head [^>]>.*</head>' (truncated)
  r = re.compile(pat)
/home/ajung/src/ugent-portaal-plone-4x/eggs/Products.PortalTransforms-3.1.6-py3.6.egg/Products/PortalTransforms/libtransforms/retransform.py:25: DeprecationWarning: Flags not at the start of the expression '<[^>]*>(?i)(?m)'
  r = re.compile(pat)
/home/ajung/src/ugent-portaal-plone-4x/eggs/plone.resource-2.1.1-py3.6.egg/plone/resource/manifest.py:82: DeprecationWarning: The SafeConfigParser class has been renamed to ConfigParser in Python 3.2. This alias will be removed in future versions. Use ConfigParser directly instead.
  parser = SafeConfigParser()
in 6.110 seconds.
  Set up collective.lineage.testing.LineageLayer /home/ajung/src/ugent-portaal-plone-4x/eggs/zope.deprecation-4.4.0-py3.6.egg/zope/deprecation/deprecation.py:88: DeprecationWarning: isDefaultPage is deprecated. Import from Products.CMFPlone.defaultpage instead
  name)
Could not install product plone.app.contenttypes
in 0.267 seconds.
  Set up collective.lineage.testing.collective.lineage:IntegrationTesting in 0.000 seconds.
  Running:
    6/9 (66.7%)/home/ajung/src/ugent-portaal-plone-4x/eggs/Products.CMFPlone-5.2rc1-py3.6.egg/Products/CMFPlone/controlpanel/browser/quickinstaller.py:56: DeprecationWarning: isProductInstalled is deprecated since Plone 5.1. It will be removed in Plone 6.0. Use is_product_installed instead.
  DeprecationWarning)
    7/9 (77.8%)Fatal Python error: Cannot recover from stack overflow.

Current thread 0x00007fd456a56740 (most recent call first):
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/five.localsitemanager-3.2.2-py3.6.egg/five/localsitemanager/registry.py", line 49 in _uncached_lookup
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/zope.interface-4.6.0-py3.6-linux-x86_64.egg/zope/interface/registry.py", line 281 in queryUtility
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/zope.component-4.5-py3.6.egg/zope/component/_api.py", line 157 in queryUtility
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/plone.dexterity-2.8.0-py3.6.egg/plone/dexterity/schema.py", line 58 in decorator
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/plone.synchronize-1.0.3-py3.6.egg/plone/synchronize/decorator.py", line 9 in synchronized_function
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/plone.dexterity-2.8.0-py3.6.egg/plone/dexterity/content.py", line 119 in __get__
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/five.localsitemanager-3.2.2-py3.6.egg/five/localsitemanager/utils.py", line 15 in get_parent
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/five.localsitemanager-3.2.2-py3.6.egg/five/localsitemanager/registry.py", line 114 in _recurse_to_site
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/five.localsitemanager-3.2.2-py3.6.egg/five/localsitemanager/registry.py", line 159 in _wrap
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/five.localsitemanager-3.2.2-py3.6.egg/five/localsitemanager/registry.py", line 60 in _uncached_lookup
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/zope.interface-4.6.0-py3.6-linux-x86_64.egg/zope/interface/registry.py", line 281 in queryUtility
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/zope.component-4.5-py3.6.egg/zope/component/_api.py", line 157 in queryUtility
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/plone.dexterity-2.8.0-py3.6.egg/plone/dexterity/schema.py", line 58 in decorator
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/plone.synchronize-1.0.3-py3.6.egg/plone/synchronize/decorator.py", line 9 in synchronized_function
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/plone.dexterity-2.8.0-py3.6.egg/plone/dexterity/content.py", line 119 in __get__
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/five.localsitemanager-3.2.2-py3.6.egg/five/localsitemanager/utils.py", line 15 in get_parent
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/five.localsitemanager-3.2.2-py3.6.egg/five/localsitemanager/registry.py", line 114 in _recurse_to_site
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/five.localsitemanager-3.2.2-py3.6.egg/five/localsitemanager/registry.py", line 159 in _wrap
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/five.localsitemanager-3.2.2-py3.6.egg/five/localsitemanager/registry.py", line 60 in _uncached_lookup
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/zope.interface-4.6.0-py3.6-linux-x86_64.egg/zope/interface/registry.py", line 281 in queryUtility
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/zope.component-4.5-py3.6.egg/zope/component/_api.py", line 157 in queryUtility
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/plone.dexterity-2.8.0-py3.6.egg/plone/dexterity/schema.py", line 58 in decorator
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/plone.synchronize-1.0.3-py3.6.egg/plone/synchronize/decorator.py", line 9 in synchronized_function
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/plone.dexterity-2.8.0-py3.6.egg/plone/dexterity/content.py", line 119 in __get__
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/five.localsitemanager-3.2.2-py3.6.egg/five/localsitemanager/utils.py", line 15 in get_parent
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/five.localsitemanager-3.2.2-py3.6.egg/five/localsitemanager/registry.py", line 114 in _recurse_to_site
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/five.localsitemanager-3.2.2-py3.6.egg/five/localsitemanager/registry.py", line 159 in _wrap
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/five.localsitemanager-3.2.2-py3.6.egg/five/localsitemanager/registry.py", line 60 in _uncached_lookup
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/zope.interface-4.6.0-py3.6-linux-x86_64.egg/zope/interface/registry.py", line 281 in queryUtility
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/zope.component-4.5-py3.6.egg/zope/component/_api.py", line 157 in queryUtility
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/plone.dexterity-2.8.0-py3.6.egg/plone/dexterity/schema.py", line 58 in decorator
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/plone.synchronize-1.0.3-py3.6.egg/plone/synchronize/decorator.py", line 9 in synchronized_function
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/plone.dexterity-2.8.0-py3.6.egg/plone/dexterity/content.py", line 119 in __get__
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/five.localsitemanager-3.2.2-py3.6.egg/five/localsitemanager/utils.py", line 15 in get_parent
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/five.localsitemanager-3.2.2-py3.6.egg/five/localsitemanager/registry.py", line 114 in _recurse_to_site
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/five.localsitemanager-3.2.2-py3.6.egg/five/localsitemanager/registry.py", line 159 in _wrap
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/five.localsitemanager-3.2.2-py3.6.egg/five/localsitemanager/registry.py", line 60 in _uncached_lookup
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/zope.interface-4.6.0-py3.6-linux-x86_64.egg/zope/interface/registry.py", line 281 in queryUtility
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/zope.component-4.5-py3.6.egg/zope/component/_api.py", line 157 in queryUtility
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/plone.dexterity-2.8.0-py3.6.egg/plone/dexterity/schema.py", line 58 in decorator
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/plone.synchronize-1.0.3-py3.6.egg/plone/synchronize/decorator.py", line 9 in synchronized_function
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/plone.dexterity-2.8.0-py3.6.egg/plone/dexterity/content.py", line 119 in __get__
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/five.localsitemanager-3.2.2-py3.6.egg/five/localsitemanager/utils.py", line 15 in get_parent
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/five.localsitemanager-3.2.2-py3.6.egg/five/localsitemanager/registry.py", line 114 in _recurse_to_site
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/five.localsitemanager-3.2.2-py3.6.egg/five/localsitemanager/registry.py", line 159 in _wrap
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/five.localsitemanager-3.2.2-py3.6.egg/five/localsitemanager/registry.py", line 60 in _uncached_lookup
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/zope.interface-4.6.0-py3.6-linux-x86_64.egg/zope/interface/registry.py", line 281 in queryUtility
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/zope.component-4.5-py3.6.egg/zope/component/_api.py", line 157 in queryUtility
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/plone.dexterity-2.8.0-py3.6.egg/plone/dexterity/schema.py", line 58 in decorator
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/plone.synchronize-1.0.3-py3.6.egg/plone/synchronize/decorator.py", line 9 in synchronized_function
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/plone.dexterity-2.8.0-py3.6.egg/plone/dexterity/content.py", line 119 in __get__
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/five.localsitemanager-3.2.2-py3.6.egg/five/localsitemanager/utils.py", line 15 in get_parent
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/five.localsitemanager-3.2.2-py3.6.egg/five/localsitemanager/registry.py", line 114 in _recurse_to_site
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/five.localsitemanager-3.2.2-py3.6.egg/five/localsitemanager/registry.py", line 159 in _wrap
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/five.localsitemanager-3.2.2-py3.6.egg/five/localsitemanager/registry.py", line 60 in _uncached_lookup
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/zope.interface-4.6.0-py3.6-linux-x86_64.egg/zope/interface/registry.py", line 281 in queryUtility
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/zope.component-4.5-py3.6.egg/zope/component/_api.py", line 157 in queryUtility
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/plone.dexterity-2.8.0-py3.6.egg/plone/dexterity/schema.py", line 58 in decorator
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/plone.synchronize-1.0.3-py3.6.egg/plone/synchronize/decorator.py", line 9 in synchronized_function
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/plone.dexterity-2.8.0-py3.6.egg/plone/dexterity/content.py", line 119 in __get__
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/five.localsitemanager-3.2.2-py3.6.egg/five/localsitemanager/utils.py", line 15 in get_parent
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/five.localsitemanager-3.2.2-py3.6.egg/five/localsitemanager/registry.py", line 114 in _recurse_to_site
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/five.localsitemanager-3.2.2-py3.6.egg/five/localsitemanager/registry.py", line 159 in _wrap
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/five.localsitemanager-3.2.2-py3.6.egg/five/localsitemanager/registry.py", line 60 in _uncached_lookup
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/zope.interface-4.6.0-py3.6-linux-x86_64.egg/zope/interface/registry.py", line 281 in queryUtility
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/zope.component-4.5-py3.6.egg/zope/component/_api.py", line 157 in queryUtility
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/plone.dexterity-2.8.0-py3.6.egg/plone/dexterity/schema.py", line 58 in decorator
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/plone.synchronize-1.0.3-py3.6.egg/plone/synchronize/decorator.py", line 9 in synchronized_function
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/plone.dexterity-2.8.0-py3.6.egg/plone/dexterity/content.py", line 119 in __get__
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/five.localsitemanager-3.2.2-py3.6.egg/five/localsitemanager/utils.py", line 15 in get_parent
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/five.localsitemanager-3.2.2-py3.6.egg/five/localsitemanager/registry.py", line 114 in _recurse_to_site
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/five.localsitemanager-3.2.2-py3.6.egg/five/localsitemanager/registry.py", line 159 in _wrap
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/five.localsitemanager-3.2.2-py3.6.egg/five/localsitemanager/registry.py", line 60 in _uncached_lookup
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/zope.interface-4.6.0-py3.6-linux-x86_64.egg/zope/interface/registry.py", line 281 in queryUtility
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/zope.component-4.5-py3.6.egg/zope/component/_api.py", line 157 in queryUtility
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/plone.dexterity-2.8.0-py3.6.egg/plone/dexterity/schema.py", line 58 in decorator
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/plone.synchronize-1.0.3-py3.6.egg/plone/synchronize/decorator.py", line 9 in synchronized_function
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/plone.dexterity-2.8.0-py3.6.egg/plone/dexterity/content.py", line 119 in __get__
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/five.localsitemanager-3.2.2-py3.6.egg/five/localsitemanager/utils.py", line 15 in get_parent
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/five.localsitemanager-3.2.2-py3.6.egg/five/localsitemanager/registry.py", line 114 in _recurse_to_site
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/five.localsitemanager-3.2.2-py3.6.egg/five/localsitemanager/registry.py", line 159 in _wrap
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/five.localsitemanager-3.2.2-py3.6.egg/five/localsitemanager/registry.py", line 60 in _uncached_lookup
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/zope.interface-4.6.0-py3.6-linux-x86_64.egg/zope/interface/registry.py", line 281 in queryUtility
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/zope.component-4.5-py3.6.egg/zope/component/_api.py", line 157 in queryUtility
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/plone.dexterity-2.8.0-py3.6.egg/plone/dexterity/schema.py", line 58 in decorator
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/plone.synchronize-1.0.3-py3.6.egg/plone/synchronize/decorator.py", line 9 in synchronized_function
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/plone.dexterity-2.8.0-py3.6.egg/plone/dexterity/content.py", line 119 in __get__
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/five.localsitemanager-3.2.2-py3.6.egg/five/localsitemanager/utils.py", line 15 in get_parent
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/five.localsitemanager-3.2.2-py3.6.egg/five/localsitemanager/registry.py", line 114 in _recurse_to_site
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/five.localsitemanager-3.2.2-py3.6.egg/five/localsitemanager/registry.py", line 159 in _wrap
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/five.localsitemanager-3.2.2-py3.6.egg/five/localsitemanager/registry.py", line 60 in _uncached_lookup
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/zope.interface-4.6.0-py3.6-linux-x86_64.egg/zope/interface/registry.py", line 281 in queryUtility
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/zope.component-4.5-py3.6.egg/zope/component/_api.py", line 157 in queryUtility
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/plone.dexterity-2.8.0-py3.6.egg/plone/dexterity/schema.py", line 58 in decorator
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/plone.synchronize-1.0.3-py3.6.egg/plone/synchronize/decorator.py", line 9 in synchronized_function
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/plone.dexterity-2.8.0-py3.6.egg/plone/dexterity/content.py", line 119 in __get__
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/five.localsitemanager-3.2.2-py3.6.egg/five/localsitemanager/utils.py", line 15 in get_parent
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/five.localsitemanager-3.2.2-py3.6.egg/five/localsitemanager/registry.py", line 114 in _recurse_to_site
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/five.localsitemanager-3.2.2-py3.6.egg/five/localsitemanager/registry.py", line 159 in _wrap
  File "/home/ajung/src/ugent-portaal-plone-4x/eggs/five.localsitemanager-3.2.2-py3.6.egg/five/localsitemanager/registry.py", line 60 in _uncached_lookup
  ...
Aborted (core dumped)

Most helpful comment

thx @ale-rt! I didn't get a chance to come back and test before @rpatterson did

@zopyx maybe switch to editing pure HTML too? 馃ぃ

All 15 comments

The error does not occur with Python 3.7.3 (same system)

I'm experiencing this as well on multiple different test suites in separate virtualenvs and buildouts. It only happens under Python 3, IOW not when running the same env + suite under Python 2. Oddly, the same suites run to completion under Python 3 if I supply the pdb.post_mortem command-line option, -D. I'm able to consistently reproduce this with Python 3.7.5.

I saw the community thread and it's worth noting that all of the offending suites do depend on collective.lineage so the interaction may be somehow related.

I had this fixed with this patch: https://github.com/plone/plone.dexterity/pull/108

Ran into this while testing lineage on Plone 5.2/Python 3.7

But...that PR is stalled @ale-rt ?

Yes, the reason is that I am not really sure what is the best way to proceed.
I will probably be back on this issue before the end of the year.

@tkimnguyen do you still have the same issue with plone.dexterity master?
plone/plone.dexterity#114 might be a fix.

I just had the opposite result to what I reported above in the collective.lineage tests on master, no stack overflow without -D and I do get a stack overflow with -D.

I was finally able to write a test that reproduces this bug and then confirmed that the fix above does indeed fix this error.

The solution in our case was to get rid of collective lineage altogether.

thx @ale-rt! I didn't get a chance to come back and test before @rpatterson did

@zopyx maybe switch to editing pure HTML too? 馃ぃ

Thanks a lot @rpatterson!

Sadly this is still problematic... see https://github.com/collective/collective.lineage/issues/57

Yes, but I haven't seen the test runner issues since applying that fix.

Was this page helpful?
0 / 5 - 0 ratings