Discussion:
[Zope3-Users] zcml conflict in new eggs (logout.html)
hass
2009-10-03 19:37:09 UTC
Permalink
Hi,
I just tried to update my sandbox and used latest=true in buildout.
Here is what I got. seems like a zcml conflict between two of the eggs.

What can I can do about it other than rolling back?
Perhaps I could add a layer value for z3c.authenticator?
Thanks!
Hass

---------------------------------------
File
"/home/hassan/buildout-eggs/zope.configuration-3.6.0-py2.4.egg/zope/configuration/config.py",
line 1506, in resolveConflicts
raise ConfigurationConflictError(conflicts)
zope.configuration.config.ConfigurationConflictError: Conflicting
configuration actions
For: ('view', None, u'logout.html', <InterfaceClass
zope.publisher.interfaces.browser.IBrowserRequest>, <InterfaceClass
zope.publisher.interfaces.browser.IDefaultBrowserLayer>)
File
"/home/user/buildout-eggs/z3c.authenticator-0.7.1-py2.4.egg/z3c/authenticator/browser/login.zcml",
line 21.2-26.8
<page
name="logout.html"
for="*"
class=".login.SiteLogout"
permission="zope.Public"
/>
File
"/home/user/buildout-eggs/zope.app.security-3.7.2-py2.4.egg/zope/app/security/browser/configure.zcml",
line 31.2-38.8
<browser:page
name="logout.html"
for="*"
class=".auth.HTTPAuthenticationLogout"
attribute="logout"
permission="zope.Public"
allowed_interface="zope.app.publisher.interfaces.http.ILogout"
/>
Adam GROSZER
2009-10-05 08:05:53 UTC
Permalink
Hello,

Both registrations won't work at the same time.
You need to get rid of one based on what sort of authentication you're
using.

Saturday, October 3, 2009, 9:37:09 PM, you wrote:

h> Hi,
h> I just tried to update my sandbox and used latest=true in buildout.
h> Here is what I got. seems like a zcml conflict between two of the eggs.

h> What can I can do about it other than rolling back?
h> Perhaps I could add a layer value for z3c.authenticator?
h> Thanks!
h> Hass

h> ---------------------------------------
h> File
h> "/home/hassan/buildout-eggs/zope.configuration-3.6.0-py2.4.egg/zope/configuration/config.py",
h> line 1506, in resolveConflicts
h> raise ConfigurationConflictError(conflicts)
h> zope.configuration.config.ConfigurationConflictError: Conflicting
h> configuration actions
h> For: ('view', None, u'logout.html', <InterfaceClass
h> zope.publisher.interfaces.browser.IBrowserRequest>, <InterfaceClass
h> zope.publisher.interfaces.browser.IDefaultBrowserLayer>)
h> File
h> "/home/user/buildout-eggs/z3c.authenticator-0.7.1-py2.4.egg/z3c/authenticator/browser/login.zcml",
h> line 21.2-26.8
h> <page
h> name="logout.html"
h> for="*"
h> class=".login.SiteLogout"
h> permission="zope.Public"
h> />
h> File
h> "/home/user/buildout-eggs/zope.app.security-3.7.2-py2.4.egg/zope/app/security/browser/configure.zcml",
h> line 31.2-38.8
h> <browser:page
h> name="logout.html"
h> for="*"
h> class=".auth.HTTPAuthenticationLogout"
h> attribute="logout"
h> permission="zope.Public"
h>
h> allowed_interface="zope.app.publisher.interfaces.http.ILogout"
h> />

h> _______________________________________________
h> Zope3-users mailing list
h> Zope3-***@zope.org
h> https://mail.zope.org/mailman/listinfo/zope3-users
--
Best regards,
Adam GROSZER mailto:***@gmail.com
--
Quote of the day:
After death the soul possesses self-consciousness, otherwise, it would be the subject of spiritual death, which has already been disproved. With this self-consciousness necessarily remains personality and the consciousness of personal identity.
- Immanuel Kant
hass
2009-10-05 14:51:57 UTC
Permalink
Oh I see,

So even if the logout.html issue is solved, they are still incompatible
elsewhere right?
I changed all the authentications to use z3c.authenticator and got rid
of the zcmls includes for the zope authenticator.
that solved everything for now.
Thank you.
Post by Adam GROSZER
Hello,
Both registrations won't work at the same time.
You need to get rid of one based on what sort of authentication you're
using.
h> Hi,
h> I just tried to update my sandbox and used latest=true in buildout.
h> Here is what I got. seems like a zcml conflict between two of the eggs.
h> What can I can do about it other than rolling back?
h> Perhaps I could add a layer value for z3c.authenticator?
h> Thanks!
h> Hass
h> ---------------------------------------
h> File
h> "/home/hassan/buildout-eggs/zope.configuration-3.6.0-py2.4.egg/zope/configuration/config.py",
h> line 1506, in resolveConflicts
h> raise ConfigurationConflictError(conflicts)
h> zope.configuration.config.ConfigurationConflictError: Conflicting
h> configuration actions
h> For: ('view', None, u'logout.html', <InterfaceClass
h> zope.publisher.interfaces.browser.IBrowserRequest>, <InterfaceClass
h> zope.publisher.interfaces.browser.IDefaultBrowserLayer>)
h> File
h> "/home/user/buildout-eggs/z3c.authenticator-0.7.1-py2.4.egg/z3c/authenticator/browser/login.zcml",
h> line 21.2-26.8
h> <page
h> name="logout.html"
h> for="*"
h> class=".login.SiteLogout"
h> permission="zope.Public"
h> />
h> File
h> "/home/user/buildout-eggs/zope.app.security-3.7.2-py2.4.egg/zope/app/security/browser/configure.zcml",
h> line 31.2-38.8
h> <browser:page
h> name="logout.html"
h> for="*"
h> class=".auth.HTTPAuthenticationLogout"
h> attribute="logout"
h> permission="zope.Public"
h>
h> allowed_interface="zope.app.publisher.interfaces.http.ILogout"
h> />
h> _______________________________________________
h> Zope3-users mailing list
h> https://mail.zope.org/mailman/listinfo/zope3-users
Loading...