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

Tests don't run when ZOPE_INTERFACE_STRICT_IRO is set #16

Open
cutz opened this issue Mar 5, 2021 · 2 comments
Open

Tests don't run when ZOPE_INTERFACE_STRICT_IRO is set #16

cutz opened this issue Mar 5, 2021 · 2 comments

Comments

@cutz
Copy link
Contributor

cutz commented Mar 5, 2021

zope.configuration.xmlconfig.ZopeXMLConfigurationError: InconsistentResolutionOrderError: For object <implementedBy nti.app.pyramid_zope.request.PyramidZopeRequestProxy>.
Base ROs:
{<InterfaceClass zope.publisher.interfaces.browser.IBrowserRequest>: [<InterfaceClass zope.publisher.interfaces.browser.IBrowserRequest>,
                                                                      <InterfaceClass zope.publisher.interfaces.http.IHTTPRequest>,
                                                                      <InterfaceClass zope.publisher.interfaces.IRequest>,
                                                                      <InterfaceClass zope.publisher.interfaces.IPublisherRequest>,
                                                                      <InterfaceClass zope.publisher.interfaces.IPublicationRequest>,
                                                                      <InterfaceClass zope.security.interfaces.IParticipation>,
                                                                      <InterfaceClass zope.publisher.interfaces.IApplicationRequest>,
                                                                      <InterfaceClass zope.interface.common.mapping.IEnumerableMapping>,
                                                                      <ABCInterfaceClass zope.interface.common.collections.ISized>,
                                                                      <InterfaceClass zope.interface.common.mapping.IReadMapping>,
                                                                      <ABCInterfaceClass zope.interface.common.collections.IContainer>,
                                                                      <ABCInterfaceClass zope.interface.common.ABCInterface>,
                                                                      <InterfaceClass zope.interface.common.mapping.IItemMapping>,
                                                                      <InterfaceClass zope.publisher.interfaces.ISkinnable>,
                                                                      <InterfaceClass zope.interface.Interface>],
 <InterfaceClass zope.publisher.interfaces.browser.IDefaultBrowserLayer>: [<InterfaceClass zope.publisher.interfaces.browser.IDefaultBrowserLayer>,
                                                                           <InterfaceClass zope.publisher.interfaces.browser.IBrowserRequest>,
                                                                           <InterfaceClass zope.publisher.interfaces.http.IHTTPRequest>,
                                                                           <InterfaceClass zope.publisher.interfaces.IRequest>,
                                                                           <InterfaceClass zope.publisher.interfaces.IPublisherRequest>,
                                                                           <InterfaceClass zope.publisher.interfaces.IPublicationRequest>,
                                                                           <InterfaceClass zope.security.interfaces.IParticipation>,
                                                                           <InterfaceClass zope.publisher.interfaces.IApplicationRequest>,
                                                                           <InterfaceClass zope.interface.common.mapping.IEnumerableMapping>,
                                                                           <ABCInterfaceClass zope.interface.common.collections.ISized>,
                                                                           <InterfaceClass zope.interface.common.mapping.IReadMapping>,
                                                                           <ABCInterfaceClass zope.interface.common.collections.IContainer>,
                                                                           <ABCInterfaceClass zope.interface.common.ABCInterface>,
                                                                           <InterfaceClass zope.interface.common.mapping.IItemMapping>,
                                                                           <InterfaceClass zope.publisher.interfaces.ISkinnable>,
                                                                           <InterfaceClass zope.interface.Interface>],
 <implementedBy zope.proxy.decorator.SpecificationDecoratorBase>: [<implementedBy zope.proxy.decorator.SpecificationDecoratorBase>,
                                                                   <implementedBy zope.proxy.ProxyBase>,
                                                                   <implementedBy builtins.object>,
                                                                   <InterfaceClass zope.interface.Interface>]}
Conflict Location:
[[<InterfaceClass zope.publisher.interfaces.browser.IBrowserRequest>,
  <InterfaceClass zope.publisher.interfaces.http.IHTTPRequest>,
  <InterfaceClass zope.publisher.interfaces.IRequest>,
  <InterfaceClass zope.publisher.interfaces.IPublisherRequest>,
  <InterfaceClass zope.publisher.interfaces.IPublicationRequest>,
  <InterfaceClass zope.security.interfaces.IParticipation>,
  <InterfaceClass zope.publisher.interfaces.IApplicationRequest>,
  <InterfaceClass zope.interface.common.mapping.IEnumerableMapping>,
  <ABCInterfaceClass zope.interface.common.collections.ISized>,
  <InterfaceClass zope.interface.common.mapping.IReadMapping>,
  <ABCInterfaceClass zope.interface.common.collections.IContainer>,
  <ABCInterfaceClass zope.interface.common.ABCInterface>,
  <InterfaceClass zope.interface.common.mapping.IItemMapping>,
  <InterfaceClass zope.publisher.interfaces.ISkinnable>,
  <InterfaceClass zope.interface.Interface>],
 [<InterfaceClass zope.publisher.interfaces.browser.IDefaultBrowserLayer>,
  <InterfaceClass zope.publisher.interfaces.browser.IBrowserRequest>,
  <InterfaceClass zope.publisher.interfaces.http.IHTTPRequest>,
  <InterfaceClass zope.publisher.interfaces.IRequest>,
  <InterfaceClass zope.publisher.interfaces.IPublisherRequest>,
  <InterfaceClass zope.publisher.interfaces.IPublicationRequest>,
  <InterfaceClass zope.security.interfaces.IParticipation>,
  <InterfaceClass zope.publisher.interfaces.IApplicationRequest>,
  <InterfaceClass zope.interface.common.mapping.IEnumerableMapping>,
  <ABCInterfaceClass zope.interface.common.collections.ISized>,
  <InterfaceClass zope.interface.common.mapping.IReadMapping>,
  <ABCInterfaceClass zope.interface.common.collections.IContainer>,
  <ABCInterfaceClass zope.interface.common.ABCInterface>,
  <InterfaceClass zope.interface.common.mapping.IItemMapping>,
  <InterfaceClass zope.publisher.interfaces.ISkinnable>,
  <InterfaceClass zope.interface.Interface>],
 [<implementedBy zope.proxy.decorator.SpecificationDecoratorBase>,
  <implementedBy zope.proxy.ProxyBase>,
  <implementedBy builtins.object>,
  <InterfaceClass zope.interface.Interface>],
 [<InterfaceClass zope.publisher.interfaces.browser.IBrowserRequest>,
  <InterfaceClass zope.publisher.interfaces.browser.IDefaultBrowserLayer>,
  <implementedBy zope.proxy.decorator.SpecificationDecoratorBase>]]

@jamadden
Copy link
Member

It looks like the proxy might be the issue.

@jamadden
Copy link
Member

To clarify the proxy comment: It's most likely this issue.

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

2 participants