*** MrTango has joined #zope | 00:06 | |
*** maurits has quit IRC | 00:12 | |
*** mindthief414 has joined #zope | 00:29 | |
*** m8 has quit IRC | 00:36 | |
*** kosh has joined #zope | 00:47 | |
*** Arfrever has quit IRC | 01:01 | |
*** fdrake has quit IRC | 01:02 | |
*** paltas has quit IRC | 01:15 | |
*** fredvd has quit IRC | 01:33 | |
*** nueces has quit IRC | 01:36 | |
*** dayne has quit IRC | 01:55 | |
*** _mup_ has quit IRC | 02:00 | |
*** _mup_ has joined #zope | 02:00 | |
*** tiwula has quit IRC | 02:01 | |
*** MrTango has quit IRC | 02:05 | |
*** mwilkes|away is now known as MatthewWilkes | 02:15 | |
*** Spanktar has quit IRC | 02:19 | |
*** J1m_ has joined #zope | 02:28 | |
*** daMaestro has quit IRC | 02:36 | |
*** tiwula has joined #zope | 02:45 | |
*** J1m_ has quit IRC | 02:52 | |
*** fdrake has joined #zope | 04:35 | |
*** MatthewWilkes is now known as mwilkes|away | 05:20 | |
*** mr_jolly has joined #zope | 05:46 | |
*** mr_jolly has left #zope | 05:59 | |
*** nande has quit IRC | 06:12 | |
*** nande has joined #zope | 06:43 | |
*** mr_jolly has joined #zope | 06:48 | |
*** kosh has quit IRC | 06:57 | |
*** __mac__ has joined #zope | 07:15 | |
*** __mac__ has quit IRC | 07:20 | |
*** __mac__ has joined #zope | 07:55 | |
*** __mac__ has quit IRC | 08:05 | |
*** tiwula has quit IRC | 08:11 | |
*** paltas has joined #zope | 08:50 | |
*** mr_jolly has quit IRC | 08:51 | |
*** zagy has joined #zope | 09:13 | |
*** agroszer has joined #zope | 09:19 | |
*** mindthief414 has quit IRC | 09:41 | |
*** __mac__ has joined #zope | 09:42 | |
*** avoinea has joined #zope | 10:07 | |
*** goschtl has joined #zope | 10:29 | |
*** tmog has joined #zope | 10:35 | |
*** mr_jolly has joined #zope | 10:35 | |
*** paltas has quit IRC | 10:46 | |
*** MrTango has joined #zope | 10:51 | |
*** maurits has joined #zope | 10:56 | |
*** kosh has joined #zope | 11:01 | |
*** giacomos has joined #zope | 11:13 | |
*** kosh has quit IRC | 11:17 | |
*** eperez has joined #zope | 11:29 | |
*** tmog has quit IRC | 11:34 | |
*** tmog has joined #zope | 11:36 | |
*** giacomos has quit IRC | 11:38 | |
*** giacomos has joined #zope | 11:38 | |
*** giacomos has quit IRC | 11:40 | |
*** AdamDangoor has joined #zope | 11:40 | |
*** giacomos has joined #zope | 11:44 | |
*** giacomos has left #zope | 11:47 | |
*** giacomos has joined #zope | 11:47 | |
*** AdamDangoor has quit IRC | 11:57 | |
*** thetet has joined #zope | 12:02 | |
*** PeterZ1 has quit IRC | 12:09 | |
*** PeterZ1 has joined #zope | 12:09 | |
*** evilbungle has joined #zope | 12:16 | |
*** AdamDangoor has joined #zope | 12:17 | |
*** KageSenshi has quit IRC | 12:20 | |
*** KageSenshi has joined #zope | 12:20 | |
*** nande has quit IRC | 12:23 | |
*** AdamDangoor has quit IRC | 12:51 | |
*** thetet has quit IRC | 12:56 | |
*** thetet has joined #zope | 12:58 | |
*** RichyB has joined #zope | 13:13 | |
*** giacomos has quit IRC | 13:21 | |
*** giacomos has joined #zope | 13:22 | |
*** AdamDangoor has joined #zope | 13:26 | |
*** giacomos1 has joined #zope | 13:37 | |
*** evilbungle has quit IRC | 13:40 | |
*** giacomos1 has quit IRC | 13:40 | |
*** polysix has quit IRC | 13:42 | |
*** miano__ has joined #zope | 13:53 | |
*** miano_ has quit IRC | 13:57 | |
*** mr_jolly has quit IRC | 14:01 | |
*** polysix has joined #zope | 14:05 | |
*** mwilkes|away is now known as MatthewWilkes | 14:24 | |
*** eperez has quit IRC | 14:55 | |
*** AdamDangoor has quit IRC | 14:58 | |
*** AdamDangoor has joined #zope | 14:59 | |
*** deemoowoor has joined #zope | 15:02 | |
deemoowoor | Hi! I have a problem with the examples of zope.securitypolicy on PyPI: https://pypi.python.org/pypi/zope.securitypolicy/4.0.0a1 | 15:02 |
---|---|---|
deemoowoor | I follow them exactly, but apparently something is missing, as at the point of adapting ob to roleper = interfaces.IRolePermissionManager(ob) it raises a 'Cannot adapt' exception | 15:03 |
deemoowoor | I'm trying to use it standalone, i.e. in a virtualenv with just zope.securitypolicy + ipython installed | 15:04 |
deemoowoor | Here's a gist for you convenience, if you want to try it yourselves: https://gist.github.com/deemoowoor/5212879 | 15:06 |
deemoowoor | If you could at least point me to a channel/person I could ask about this, it would be very nice, too! | 15:07 |
zagy | deemoowoor: it's not defined how to adapt "any" object to IRolePermissionManager | 15:08 |
zagy | there is an implementation (i think) for objects providing IAnnotatable | 15:08 |
zagy | (zope.annotation.interfaces.IAnnotatable) | 15:08 |
deemoowoor | sure, but the class is marked with IAttributeAnnotatable | 15:09 |
zagy | you need to load the zope.annotation configure.zcml I suppose | 15:09 |
deemoowoor | I tried both 4.0.0a1 and 3.7.0 of zope.security | 15:10 |
*** m8 has joined #zope | 15:10 | |
deemoowoor | zagy: can you tell how can I do that? | 15:10 |
deemoowoor | or is it described anywhere in the docs? | 15:11 |
* zagy ponders | 15:12 | |
zagy | ah | 15:12 |
zagy | you probably want your own configure.zcml which includes the other configures you need. You could load it with zope.configuration.xmlconfig.xmlconfig(…) | 15:13 |
deemoowoor | hm | 15:13 |
deemoowoor | OK, I'll try that! Thanks! | 15:13 |
zagy | the component architecture is powerful, but a monster ;) | 15:14 |
*** J1m_ has joined #zope | 15:19 | |
deemoowoor | zagy: It worked! Thanks a lot! | 15:20 |
zagy | you are welcome | 15:21 |
*** sp0cksbeard has joined #zope | 15:25 | |
*** m8 has quit IRC | 15:31 | |
*** AdamDangoor has quit IRC | 15:53 | |
*** mr_jolly has joined #zope | 15:54 | |
*** J1m has joined #zope | 16:01 | |
*** J1m_ has quit IRC | 16:03 | |
*** kosh has joined #zope | 16:06 | |
*** MatthewWilkes is now known as mwilkes|away | 16:28 | |
*** J1m has quit IRC | 16:35 | |
*** J1m has joined #zope | 16:36 | |
*** AdamDangoor has joined #zope | 16:37 | |
*** daMaestro has joined #zope | 16:54 | |
*** RichyB has quit IRC | 16:55 | |
*** RichyB has joined #zope | 16:56 | |
*** __mac__ has quit IRC | 17:00 | |
*** tmog has quit IRC | 17:02 | |
*** dayne has joined #zope | 17:10 | |
*** nueces has joined #zope | 17:19 | |
*** zagy has quit IRC | 17:31 | |
*** tiwula has joined #zope | 17:31 | |
*** PeterZ1 has quit IRC | 17:48 | |
*** goschtl has quit IRC | 17:48 | |
*** agroszer has quit IRC | 18:05 | |
*** alecm has quit IRC | 18:06 | |
*** maurits has quit IRC | 18:13 | |
*** alecm has joined #zope | 18:13 | |
*** alecm has joined #zope | 18:13 | |
*** dayne has quit IRC | 18:16 | |
*** dayne has joined #zope | 18:21 | |
*** supton has joined #zope | 18:23 | |
*** menesis has quit IRC | 18:28 | |
*** kosh has quit IRC | 18:28 | |
*** alecm has quit IRC | 18:37 | |
*** __mac__ has joined #zope | 18:38 | |
*** __mac__1 has joined #zope | 18:39 | |
*** menesis has joined #zope | 18:39 | |
*** mindthief414 has joined #zope | 18:39 | |
*** alecm has joined #zope | 18:40 | |
*** alecm has joined #zope | 18:40 | |
*** AdamDangoor has quit IRC | 18:41 | |
*** __mac__ has quit IRC | 18:43 | |
*** pingveno has quit IRC | 18:45 | |
*** AdamDangoor has joined #zope | 18:45 | |
*** Spanktar has joined #zope | 18:46 | |
*** pingveno has joined #zope | 18:46 | |
*** __mac__1 has quit IRC | 19:02 | |
*** __mac__ has joined #zope | 19:05 | |
*** __mac__1 has joined #zope | 19:06 | |
*** __mac__ has quit IRC | 19:10 | |
*** giacomos has left #zope | 19:15 | |
*** giacomos1 has joined #zope | 19:15 | |
*** giacomos1 has quit IRC | 19:16 | |
*** __mac__1 has quit IRC | 19:20 | |
*** deemoowoor has quit IRC | 19:45 | |
*** menesis has quit IRC | 19:49 | |
*** AdamDangoor has quit IRC | 19:50 | |
*** agroszer has joined #zope | 20:06 | |
*** agroszer has quit IRC | 20:21 | |
*** m8 has joined #zope | 20:31 | |
*** MrTango has quit IRC | 20:35 | |
*** LeoRochael has joined #zope | 20:40 | |
*** Spanktar has quit IRC | 20:43 | |
*** LeoRochael has quit IRC | 20:50 | |
*** thetet has quit IRC | 20:56 | |
*** J1m_ has joined #zope | 20:58 | |
*** J1m has quit IRC | 20:58 | |
*** __mac__ has joined #zope | 21:07 | |
*** kosh has joined #zope | 21:07 | |
*** menesis has joined #zope | 21:07 | |
*** KageSenshi has quit IRC | 21:09 | |
*** KageSenshi has joined #zope | 21:18 | |
*** Spanktar has joined #zope | 21:22 | |
*** KageSenshi has quit IRC | 21:24 | |
*** KageSenshi has joined #zope | 21:25 | |
*** __mac__1 has joined #zope | 21:29 | |
*** __mac__ has quit IRC | 21:33 | |
*** AdamDangoor has joined #zope | 21:33 | |
*** AdamDangoor has quit IRC | 21:34 | |
*** benji has quit IRC | 21:51 | |
*** avoinea has quit IRC | 22:03 | |
*** __mac__1 has quit IRC | 22:08 | |
*** RichyB has quit IRC | 22:18 | |
*** __mac__ has joined #zope | 22:25 | |
*** __mac__ has quit IRC | 22:36 | |
*** polysix has quit IRC | 22:42 | |
*** polysix has joined #zope | 22:44 | |
*** benji___ has joined #zope | 22:53 | |
*** mindthief414 has quit IRC | 22:55 | |
*** polysix has quit IRC | 23:01 | |
*** polysix has joined #zope | 23:09 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!