dman13 | I think I found a bug in 3.2. Is anyone around to confirm it? | 00:07 |
---|---|---|
jenner | dman13: I'm running 3.2 svn | 00:10 |
dman13 | here's the end of the traceback: | 00:11 |
dman13 | File "/opt/Zope-3.2.0b2/lib/python/zope/app/securitypolicy/zopepolicy.py", line 278, in checkPermission | 00:11 |
dman13 | if not self.cached_decision( | 00:11 |
dman13 | File "/opt/Zope-3.2.0b2/lib/python/zope/app/securitypolicy/zopepolicy.py", line 316, in _groupsFor | 00:11 |
dman13 | groups = self._findGroupsFor(principal, getPrincipal, []) | 00:11 |
dman13 | File "/opt/Zope-3.2.0b2/lib/python/zope/app/securitypolicy/zopepolicy.py", line 297, in _findGroupsFor | 00:11 |
dman13 | group = getPrincipal(group_id) | 00:11 |
dman13 | File "/opt/Zope-3.2.0b2/lib/python/zope/app/authentication/authentication.py", line 85, in getPrincipal | 00:11 |
dman13 | next = queryNextUtility(self, IAuthentication) | 00:11 |
dman13 | File "/opt/Zope-3.2.0b2/lib/python/zope/app/component/__init__.py", line 74, in queryNextUtility | 00:11 |
dman13 | return sm.queryUtility(interface, name, default) | 00:11 |
dman13 | AttributeError: 'GlobalServiceManager' object has no attribute 'queryUtility' | 00:11 |
dman13 | I suspect it is a backwards compatibility issue | 00:11 |
dman13 | and I think the problem is in zope itself because it is zope.app.component that gets the attribute error | 00:12 |
dman13 | I saw this when I tried to register a Pluggable Auth Service. The database already had an older AuthService in it. | 00:12 |
dman13 | I'm going to try again but removing the old AuthService first | 00:13 |
jenner | err... I guess that's a bit difficult to reproduce :) | 00:13 |
dman13 | :-) | 00:14 |
dman13 | Probably someone who was involved with the utility infrastructure might know more about that "queryUtility" method | 00:14 |
dman13 | I'm going to play a bit and see if I can't narrow down the interactions some | 00:15 |
dman13 | this is nice: ForbiddenAttribute: ('status', <zope.app.site.service.ServiceRegistration object at 0xb679c72c>) | 00:18 |
dman13 | I can't look at the RegistrationManager object | 00:18 |
jenner | is there some kind of a controller template equivalent in z3? | 00:33 |
*** Aiste has joined #zope3-dev | 00:34 | |
dman13 | I have no problems if I start with no database. However, trying to use the old database (was used with 3.0) and add a PAU fails. The latest failure is "not enough context" if I delete the old RegistrationManager before registering the new PAU object. | 00:38 |
dman13 | that's enough for me for now; I'm going to work on other stuff for a while :-) | 00:38 |
*** MrTopf has joined #zope3-dev | 01:14 | |
jenner | "metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases" | 01:19 |
jenner | A-ha. | 01:19 |
*** jenner has quit IRC | 01:31 | |
*** yota has quit IRC | 01:39 | |
*** tav has quit IRC | 01:40 | |
*** tav has joined #zope3-dev | 01:43 | |
*** SteveA has quit IRC | 01:47 | |
*** MrTopf has quit IRC | 02:15 | |
*** Borax has joined #zope3-dev | 02:46 | |
*** Borax has quit IRC | 03:20 | |
*** borax has joined #zope3-dev | 03:20 | |
*** borax has left #zope3-dev | 03:21 | |
*** natea has quit IRC | 04:20 | |
*** natea has joined #zope3-dev | 04:22 | |
*** dman13_ has joined #zope3-dev | 04:25 | |
*** dman13 has quit IRC | 04:28 | |
*** dman13_ is now known as dman13 | 04:43 | |
*** robyg has joined #zope3-dev | 04:50 | |
*** robyg has quit IRC | 05:24 | |
*** ruda_porto has quit IRC | 05:26 | |
*** philiKON has quit IRC | 08:19 | |
*** philiKON has joined #zope3-dev | 08:19 | |
*** mexiKON has joined #zope3-dev | 08:46 | |
*** philiKON has quit IRC | 08:47 | |
*** mexiKON is now known as philiKON | 08:47 | |
*** yota has joined #zope3-dev | 08:54 | |
*** ChanServ sets mode: +o tav | 09:00 | |
*** philiKON has quit IRC | 09:28 | |
*** philiKON has joined #zope3-dev | 09:35 | |
*** philiKON has quit IRC | 09:41 | |
*** philiKON has joined #zope3-dev | 09:47 | |
*** natea has quit IRC | 10:01 | |
*** natea has joined #zope3-dev | 10:07 | |
*** natea has quit IRC | 10:17 | |
*** MrTopf has joined #zope3-dev | 10:46 | |
*** mgedmin has joined #zope3-dev | 11:33 | |
*** MrTopf has quit IRC | 11:52 | |
*** BjornT has joined #zope3-dev | 12:12 | |
*** philiKON has quit IRC | 14:37 | |
*** povbot` has joined #zope3-dev | 15:04 | |
*** povbot has quit IRC | 15:08 | |
*** MrTopf has joined #zope3-dev | 15:13 | |
*** MrTopf has quit IRC | 15:28 | |
*** jinty has joined #zope3-dev | 15:47 | |
*** jinty has quit IRC | 16:26 | |
*** jinty has joined #zope3-dev | 16:26 | |
*** MrTopf has joined #zope3-dev | 16:50 | |
*** jinty has quit IRC | 17:16 | |
*** efrerich has joined #zope3-dev | 17:21 | |
*** efrerich has quit IRC | 17:22 | |
*** MrTopf has quit IRC | 17:48 | |
*** MrTopf has joined #zope3-dev | 17:50 | |
*** mgedmin has quit IRC | 18:05 | |
*** efrerich has joined #zope3-dev | 18:27 | |
*** BjornT has quit IRC | 18:33 | |
*** natea has joined #zope3-dev | 18:41 | |
*** MrTopf has quit IRC | 18:49 | |
*** efrerich has quit IRC | 19:52 | |
*** zagy has joined #zope3-dev | 20:34 | |
*** hazmat has joined #zope3-dev | 20:48 | |
*** ChanServ sets mode: +o hazmat | 21:16 | |
*** J1m has joined #zope3-dev | 21:56 | |
*** deo has quit IRC | 22:33 | |
*** dman13_ has joined #zope3-dev | 22:46 | |
*** dman13 has quit IRC | 22:46 | |
*** mcdonc has joined #zope3-dev | 22:55 | |
*** natea has quit IRC | 23:06 | |
*** zagy has quit IRC | 23:21 | |
*** zagy has joined #zope3-dev | 23:23 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!