*** nathany has quit IRC | 00:04 | |
*** b_52CEntos has quit IRC | 00:06 | |
*** b_52CEntos has joined #zope3-dev | 00:13 | |
*** alga has quit IRC | 00:17 | |
*** _tarek has quit IRC | 00:27 | |
*** _tarek has joined #zope3-dev | 00:28 | |
*** gumpa has left #zope3-dev | 00:32 | |
*** jinty has quit IRC | 00:37 | |
*** _tarek has quit IRC | 00:53 | |
*** _tarek has joined #zope3-dev | 00:54 | |
*** RaFromBRC has joined #zope3-dev | 00:56 | |
*** RaFromBRC is now known as RaFromBRC|net2 | 00:57 | |
*** rocky is now known as rocky|away | 01:08 | |
*** J1m has joined #zope3-dev | 01:12 | |
*** philiKON has quit IRC | 01:27 | |
*** RaFromBRC|net2 has quit IRC | 01:47 | |
*** clbry has joined #zope3-dev | 01:51 | |
*** WebMaven has joined #zope3-dev | 01:56 | |
*** b_52CEntos has quit IRC | 02:00 | |
*** RaFromBRC has joined #zope3-dev | 02:03 | |
*** b_52CEntos has joined #zope3-dev | 02:07 | |
*** yota has quit IRC | 02:09 | |
*** b_52CEntos_ has joined #zope3-dev | 02:12 | |
*** ChanServ sets mode: +o srichter | 02:14 | |
*** b_52CEntos has quit IRC | 02:15 | |
*** _tarek has quit IRC | 02:22 | |
*** _tarek has joined #zope3-dev | 02:23 | |
*** J1m has quit IRC | 02:31 | |
*** retsu has quit IRC | 02:33 | |
*** benji has quit IRC | 02:36 | |
*** hazmat has quit IRC | 02:54 | |
*** hazmat has joined #zope3-dev | 03:09 | |
*** ChanServ sets mode: +o hazmat | 03:09 | |
*** RaFromBRC has quit IRC | 03:11 | |
*** tarek has joined #zope3-dev | 03:40 | |
*** _tarek has quit IRC | 03:40 | |
*** retsu has joined #zope3-dev | 03:55 | |
*** MiUlEr has joined #zope3-dev | 04:17 | |
*** yutakashino has joined #zope3-dev | 04:20 | |
*** nisha_cgx has quit IRC | 04:21 | |
*** srichter has quit IRC | 04:29 | |
*** srichter has joined #zope3-dev | 04:29 | |
*** ChanServ sets mode: +o srichter | 04:30 | |
*** stub has joined #zope3-dev | 04:36 | |
*** retsu has quit IRC | 05:11 | |
*** clbry_ has joined #zope3-dev | 05:22 | |
*** hazmat has quit IRC | 05:31 | |
*** hazmat has joined #zope3-dev | 05:35 | |
*** ChanServ sets mode: +o hazmat | 05:35 | |
*** clbry has quit IRC | 05:37 | |
*** roman_ has joined #zope3-dev | 06:12 | |
*** roman_ is now known as rom|aw | 06:18 | |
*** TrevorP has joined #zope3-dev | 06:23 | |
*** MiUlEr has left #zope3-dev | 06:34 | |
*** rom|aw has quit IRC | 06:35 | |
*** tristil has joined #zope3-dev | 07:02 | |
*** tristil has quit IRC | 07:19 | |
*** philiKON has joined #zope3-dev | 07:34 | |
*** eins has joined #zope3-dev | 08:05 | |
*** SureshV has joined #zope3-dev | 08:22 | |
*** dobee has joined #zope3-dev | 08:27 | |
*** mgedmin has joined #zope3-dev | 08:50 | |
*** hdima has joined #zope3-dev | 09:14 | |
*** dlk has joined #zope3-dev | 09:19 | |
*** zagy has quit IRC | 09:21 | |
*** alecm has quit IRC | 09:22 | |
*** dlk has left #zope3-dev | 09:32 | |
*** projekt01 has joined #zope3-dev | 09:41 | |
projekt01 | good morning | 09:42 |
---|---|---|
*** yota has joined #zope3-dev | 09:58 | |
*** philiKON has quit IRC | 10:04 | |
*** natea has quit IRC | 10:13 | |
*** sashav has joined #zope3-dev | 10:17 | |
*** b_52CEntos_ is now known as b_52CEntos | 10:35 | |
*** tlotze has joined #zope3-dev | 10:45 | |
tlotze | hi | 10:45 |
*** roman_ has joined #zope3-dev | 10:47 | |
tlotze | Question (maybe I overlook the obvious...): In Zope3, how would I give a principal a certain permission wrt to a single content object? | 10:51 |
*** MJ has quit IRC | 10:52 | |
*** romanofski has quit IRC | 11:00 | |
*** roman_ is now known as romanofski | 11:00 | |
mgedmin | tlotze: you can use local grants | 11:04 |
mgedmin | adapt the object to IPrincipalPermissionMap, IIRC | 11:04 |
tlotze | Ah, the object. | 11:05 |
* tlotze slaps his forehead | 11:05 | |
mgedmin | there's a default IPrincipalPermissionMap adapter for IAnnotatable | 11:05 |
tlotze | I wondered how to get the object into play... | 11:05 |
* tlotze tries it out | 11:06 | |
tlotze | wait... IPrincipalPermissionMap has only get* methods | 11:07 |
*** SiggyF has joined #zope3-dev | 11:07 | |
tlotze | ah, IPrincipalPermissionManager looks like the interface to use. | 11:16 |
*** MJ has joined #zope3-dev | 11:36 | |
*** tlotze has left #zope3-dev | 11:39 | |
*** rykomats has joined #zope3-dev | 11:44 | |
*** faassen has joined #zope3-dev | 12:04 | |
*** mkerrin has joined #zope3-dev | 12:28 | |
*** SiggyF has quit IRC | 12:43 | |
*** ignas has joined #zope3-dev | 12:47 | |
*** volvox has joined #zope3-dev | 12:54 | |
*** rocky|away is now known as rocky | 12:59 | |
*** b_52CEntos has quit IRC | 13:06 | |
*** b_52CEntos has joined #zope3-dev | 13:12 | |
*** efrerich has joined #zope3-dev | 13:33 | |
*** ChrisW has joined #zope3-dev | 13:44 | |
ChrisW | there a channel or mailing list for Five? | 13:45 |
d2m | ChrisW: check #z3-base | 13:45 |
*** dunny has quit IRC | 13:45 | |
rocky | yeah, #z3-base is for five stuff | 13:46 |
ChrisW | thanks | 13:46 |
*** oferw has joined #zope3-dev | 13:48 | |
*** b_52CEntos_ has joined #zope3-dev | 13:49 | |
*** yutakashino has quit IRC | 13:51 | |
*** J1m has joined #zope3-dev | 13:55 | |
*** b_52Centos__ has joined #zope3-dev | 13:59 | |
*** eins has quit IRC | 14:00 | |
*** b_52CEntos has quit IRC | 14:03 | |
*** b_52Centos__ is now known as b_52Centos | 14:03 | |
*** b_52CEntos_ has quit IRC | 14:10 | |
*** alga has joined #zope3-dev | 14:13 | |
*** b_52CEntos_ has joined #zope3-dev | 14:15 | |
*** tarek has quit IRC | 14:17 | |
*** tarek has joined #zope3-dev | 14:18 | |
*** oferw has quit IRC | 14:20 | |
rocky | what is the common pattern for "overriding" how a widget is rendered site-wide ? | 14:22 |
rocky | oh, yuck! default form is rendered as a table :( | 14:22 |
rocky | time to start my sz.plonedz3 pkg :( | 14:23 |
*** efrerich has quit IRC | 14:25 | |
*** b_52Centos has quit IRC | 14:26 | |
*** Theuni has joined #zope3-dev | 14:27 | |
*** J1m has quit IRC | 14:36 | |
*** hazmat has quit IRC | 14:52 | |
*** Theuni has quit IRC | 14:57 | |
MJ | Hrmz | 15:01 |
MJ | We have a schema IFoo | 15:01 |
MJ | that should contain a list of IBar's | 15:01 |
MJ | Like so: | 15:01 |
MJ | bars = schema.List( | 15:02 |
MJ | value_type=schema.Object(schema=IBar), | 15:02 |
MJ | unique=True) | 15:02 |
MJ | Now formlib has no idea what widget to apply | 15:02 |
MJ | I'd like to be able to select a IBar implementation in the object hierarchy elsewhere | 15:03 |
MJ | Any ready code, or are we on our own? | 15:03 |
mgedmin | MJ: you have to register a custom widget | 15:11 |
mgedmin | I have the code | 15:11 |
mgedmin | but I have to run away Right Now | 15:11 |
mgedmin | try pestering alga if he's on IRC | 15:11 |
*** mgedmin has quit IRC | 15:11 | |
*** niemeyer has quit IRC | 15:14 | |
*** b_52CEntos_ has quit IRC | 15:16 | |
*** niemeyer has joined #zope3-dev | 15:16 | |
*** Theuni has joined #zope3-dev | 15:46 | |
*** hazmat has joined #zope3-dev | 15:51 | |
*** ChanServ sets mode: +o hazmat | 15:51 | |
* MJ looks into schema.Choice instead of schema.Object | 15:51 | |
MJ | we don't need a tree picker... | 15:51 |
*** oferw has joined #zope3-dev | 15:52 | |
MJ | Is source preferred over the vocab registry? | 15:56 |
MJ | so, should I define a context source binder, or rely on the registry instead/ | 15:56 |
MJ | ? | 15:56 |
*** ChrisW has left #zope3-dev | 15:56 | |
* MJ found a bbb warning on the vocabulary ZCML directive.. | 15:59 | |
* MJ goes for a context source provider then.. | 15:59 | |
*** romanofski is now known as rom|zZZZ | 16:03 | |
*** philiKON has joined #zope3-dev | 16:10 | |
*** benji_york has joined #zope3-dev | 16:15 | |
MJ | Just the people I am looking for :) | 16:16 |
MJ | I see BBB entries on the ZCML vocabulary directive | 16:16 |
MJ | What's the 3.3 way to define a dynamic vocalubary? | 16:17 |
MJ | vocabulary even. | 16:17 |
MJ | philiKON: Ping | 16:17 |
MJ | benji_york: ping | 16:17 |
benji_york | pong, MJ | 16:17 |
MJ | IContextSourceBinder implementations? | 16:18 |
MJ | They require defining an implementation in for a Choice field in a schema.. | 16:18 |
philiKON | MJ, ping | 16:18 |
philiKON | err, pong ;) | 16:18 |
* MJ points to the logtext since you guys entered the room. | 16:19 | |
philiKON | what's a dynamic vocab? | 16:19 |
philiKON | in short, you register vocabs by registering an IVocabularyFacotry utility | 16:19 |
MJ | Okay | 16:19 |
philiKON | so, either a class that classProvdides(IVocabularyFactory) | 16:19 |
philiKON | or a function or something that provides this | 16:19 |
MJ | Named utility? | 16:19 |
philiKON | yep | 16:19 |
MJ | Kewl | 16:20 |
MJ | It's just that I don't see any code in Choice that'll look up vocabularies as named utilities.. | 16:21 |
*** benji_york is now known as benji | 16:26 | |
* MJ scratches his head | 16:30 | |
MJ | philiKON: I see no code in the Choice field implementation that looks up vocabularies as utilities.. | 16:31 |
philiKON | MJ, nope, it gets them from a vocabulary registry | 16:31 |
philiKON | which can be plugged in | 16:31 |
philiKON | the zope.app vocabulary registry looks up utilities | 16:31 |
philiKON | see zope.app.schema.vocabulary | 16:32 |
MJ | yes, I just found that :) | 16:33 |
MJ | I did a grep | 16:33 |
MJ | and found the zope.app.schema implementation | 16:33 |
* MJ gets lost in the woods of zope.schema and zope.app.schema | 16:33 | |
philiKON | yeah, i think they should be combined somewhat | 16:43 |
philiKON | the vocabulary stuff | 16:43 |
philiKON | it's in a proposal i've written | 16:44 |
rocky | if i have an interface, what is the easiest way to know if it was registered a content type via <zope:interface> ? | 16:46 |
*** rykomats has quit IRC | 16:55 | |
projekt01 | rocky, there is a method guessType | 16:56 |
projekt01 | I guess something like guessType(IInterface) | 16:56 |
rocky | which pkg? | 16:57 |
projekt01 | no sure | 16:57 |
philiKON | queryType | 16:57 |
philiKON | zope.app.interface | 16:57 |
dobee | hi all, what is the best method to filter the items in the add menu without using constraints? | 16:58 |
philiKON | queryType(some_obj, IContentType) | 16:58 |
projekt01 | philiKON, thanks | 16:58 |
rocky | philiKON: i have the class, not an instance so i can't use that ;) | 16:58 |
rocky | philiKON: but i've been digging around in the source and it should be easy enough to create my own that works based on class | 16:59 |
philiKON | just use implementedBy instead of providedBy then | 16:59 |
rocky | right | 16:59 |
rocky | exactly | 17:00 |
rocky | its "odd" to say interface.providedBy(IFooBar) to figure out what interfaces it provides ... ;) | 17:02 |
rocky | note IFooBar is an interface in my example | 17:03 |
rocky | messes with my head | 17:04 |
rocky | kinda like metaclasses ;) | 17:04 |
philiKON | interfaces are components too... | 17:05 |
rocky | yeah... thats what helps make it weird ;) | 17:07 |
rocky | i'm not criticizing, its just above my level of grasping right now ;) | 17:07 |
*** alecm has joined #zope3-dev | 17:08 | |
*** Theuni has quit IRC | 17:08 | |
*** natea has joined #zope3-dev | 17:20 | |
*** mkerrin has quit IRC | 17:24 | |
*** oferw has quit IRC | 17:25 | |
*** rocky is now known as rocky|away | 17:27 | |
MJ | Bummer | 17:28 |
* MJ has a vocubulary containing objects taken from the ZODB.. | 17:28 | |
MJ | and these are, of course, security proxied. | 17:28 |
MJ | Picking them in a list works fine. | 17:29 |
MJ | But hitting apply on the form complains about the non-pickleability of the security proxies | 17:29 |
MJ | So, unwrapping them first? | 17:29 |
MJ | And if so, how? | 17:30 |
* MJ feels he just stepped into a big tarpit.. | 17:30 | |
MJ | philiKON: ping | 17:30 |
MJ | :) | 17:30 |
philiKON | NOACK | 17:31 |
philiKON | busy | 17:31 |
philiKON | sorry | 17:31 |
*** Theuni has joined #zope3-dev | 17:32 | |
MJ | 's okay | 17:32 |
* MJ imports removeSecurityProxy | 17:32 | |
*** hdima has quit IRC | 17:33 | |
MJ | That works; I suspect that that's what we need exactly, as the stored objects now get security proxied when accessed through their new parent. | 17:35 |
*** FarcePest has joined #zope3-dev | 17:35 | |
*** FarcePest has left #zope3-dev | 17:37 | |
*** sashav has quit IRC | 17:40 | |
*** rocky|away is now known as rocky | 17:41 | |
volvox | newb alert: i'm trying to set up a mock vocabulary for a test, but it doesn't find it, raises unknown vocabulary | 17:46 |
volvox | outside of the docsuite it works well, I've used component.getGlobalSiteManager() and gsm.registerUtility(...) | 17:46 |
volvox | I can find it with getUtility(). guess I should get back to the book :-) | 17:47 |
*** BjornT has quit IRC | 17:55 | |
*** alga has quit IRC | 17:57 | |
*** SureshV has quit IRC | 18:02 | |
*** BjornT has joined #zope3-dev | 18:11 | |
*** dobee has quit IRC | 18:13 | |
*** projekt01 has quit IRC | 18:32 | |
*** _projekt01 has joined #zope3-dev | 18:32 | |
*** _projekt01 has left #zope3-dev | 18:32 | |
*** ignas_ has joined #zope3-dev | 18:40 | |
*** ignas_ has quit IRC | 18:41 | |
*** MJ has quit IRC | 18:49 | |
*** stub has quit IRC | 18:50 | |
*** mgedmin has joined #zope3-dev | 19:16 | |
*** tarek has quit IRC | 19:23 | |
*** tarek has joined #zope3-dev | 19:23 | |
*** RaFromBRC has joined #zope3-dev | 19:26 | |
*** whit has quit IRC | 19:31 | |
*** dobee has joined #zope3-dev | 19:38 | |
*** BjornT has quit IRC | 19:40 | |
*** whit has joined #zope3-dev | 19:45 | |
*** oferw has joined #zope3-dev | 20:02 | |
*** RaFromBRC has quit IRC | 20:04 | |
*** BjornT has joined #zope3-dev | 20:05 | |
*** faassen has quit IRC | 20:09 | |
*** tarek has quit IRC | 20:13 | |
*** tarek has joined #zope3-dev | 20:14 | |
*** RaFromBRC has joined #zope3-dev | 20:17 | |
*** efrerich has joined #zope3-dev | 20:20 | |
*** tarek has quit IRC | 20:38 | |
*** tarek has joined #zope3-dev | 20:41 | |
*** RaFromBRC has quit IRC | 20:50 | |
*** dobee has quit IRC | 20:56 | |
*** J1m has joined #zope3-dev | 21:00 | |
*** natea has quit IRC | 21:01 | |
*** natea has joined #zope3-dev | 21:02 | |
*** RaFromBRC has joined #zope3-dev | 21:14 | |
*** oferw has quit IRC | 21:42 | |
*** sashav has joined #zope3-dev | 22:10 | |
*** mexiKON has joined #zope3-dev | 22:13 | |
*** J1m has quit IRC | 22:15 | |
*** mgedmin has quit IRC | 22:16 | |
*** philiKON has quit IRC | 22:22 | |
*** mexiKON is now known as philiKON | 22:22 | |
*** ignas has quit IRC | 22:31 | |
*** b_52CEntos has joined #zope3-dev | 22:31 | |
*** sashav has quit IRC | 22:38 | |
b_52CEntos | boys and girls :) ; i try to run zope 3 but :( ./runzope | 22:42 |
b_52CEntos | ------ | 22:42 |
b_52CEntos | 2006-05-31T20:36:50 ERROR ZODB.lock_file Error locking file /home/b_52globemaster/Zope3Instance/var/Data.fs.lock | 22:42 |
b_52CEntos | i chage the right access i put 777 to all the file in /var it didn't change the problem | 22:42 |
*** RaFromBRC has quit IRC | 22:42 | |
rocky | perhaps the file already exists with the wrong permissions? | 22:45 |
b_52CEntos | rocky, i set the permissions to 777 :) | 22:45 |
rocky | thought you said you set permissions on the directory | 22:45 |
rocky | i'm referring to the file | 22:45 |
b_52CEntos | the file too | 22:46 |
b_52CEntos | the /var and all the file that are inside /var :) | 22:47 |
b_52CEntos | ok solved :) | 22:48 |
b_52CEntos | stupid tricks | 22:48 |
*** clbry_ has quit IRC | 22:54 | |
*** dunny has joined #zope3-dev | 23:09 | |
*** efrerich has quit IRC | 23:11 | |
*** yota has quit IRC | 23:21 | |
*** TrevorP has quit IRC | 23:21 | |
*** tiredbones has quit IRC | 23:21 | |
*** yota has joined #zope3-dev | 23:25 | |
*** tiredbones has joined #zope3-dev | 23:25 | |
*** RaFromBRC has joined #zope3-dev | 23:31 | |
*** MJ has joined #zope3-dev | 23:33 | |
*** RaFromBRC has quit IRC | 23:39 | |
*** RaFromBRC has joined #zope3-dev | 23:49 | |
*** b_52CEntos_ has joined #zope3-dev | 23:59 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!