IRC log of #zope3-dev for Wednesday, 2006-05-31

*** nathany has quit IRC00:04
*** b_52CEntos has quit IRC00:06
*** b_52CEntos has joined #zope3-dev00:13
*** alga has quit IRC00:17
*** _tarek has quit IRC00:27
*** _tarek has joined #zope3-dev00:28
*** gumpa has left #zope3-dev00:32
*** jinty has quit IRC00:37
*** _tarek has quit IRC00:53
*** _tarek has joined #zope3-dev00:54
*** RaFromBRC has joined #zope3-dev00:56
*** RaFromBRC is now known as RaFromBRC|net200:57
*** rocky is now known as rocky|away01:08
*** J1m has joined #zope3-dev01:12
*** philiKON has quit IRC01:27
*** RaFromBRC|net2 has quit IRC01:47
*** clbry has joined #zope3-dev01:51
*** WebMaven has joined #zope3-dev01:56
*** b_52CEntos has quit IRC02:00
*** RaFromBRC has joined #zope3-dev02:03
*** b_52CEntos has joined #zope3-dev02:07
*** yota has quit IRC02:09
*** b_52CEntos_ has joined #zope3-dev02:12
*** ChanServ sets mode: +o srichter02:14
*** b_52CEntos has quit IRC02:15
*** _tarek has quit IRC02:22
*** _tarek has joined #zope3-dev02:23
*** J1m has quit IRC02:31
*** retsu has quit IRC02:33
*** benji has quit IRC02:36
*** hazmat has quit IRC02:54
*** hazmat has joined #zope3-dev03:09
*** ChanServ sets mode: +o hazmat03:09
*** RaFromBRC has quit IRC03:11
*** tarek has joined #zope3-dev03:40
*** _tarek has quit IRC03:40
*** retsu has joined #zope3-dev03:55
*** MiUlEr has joined #zope3-dev04:17
*** yutakashino has joined #zope3-dev04:20
*** nisha_cgx has quit IRC04:21
*** srichter has quit IRC04:29
*** srichter has joined #zope3-dev04:29
*** ChanServ sets mode: +o srichter04:30
*** stub has joined #zope3-dev04:36
*** retsu has quit IRC05:11
*** clbry_ has joined #zope3-dev05:22
*** hazmat has quit IRC05:31
*** hazmat has joined #zope3-dev05:35
*** ChanServ sets mode: +o hazmat05:35
*** clbry has quit IRC05:37
*** roman_ has joined #zope3-dev06:12
*** roman_ is now known as rom|aw06:18
*** TrevorP has joined #zope3-dev06:23
*** MiUlEr has left #zope3-dev06:34
*** rom|aw has quit IRC06:35
*** tristil has joined #zope3-dev07:02
*** tristil has quit IRC07:19
*** philiKON has joined #zope3-dev07:34
*** eins has joined #zope3-dev08:05
*** SureshV has joined #zope3-dev08:22
*** dobee has joined #zope3-dev08:27
*** mgedmin has joined #zope3-dev08:50
*** hdima has joined #zope3-dev09:14
*** dlk has joined #zope3-dev09:19
*** zagy has quit IRC09:21
*** alecm has quit IRC09:22
*** dlk has left #zope3-dev09:32
*** projekt01 has joined #zope3-dev09:41
projekt01good morning09:42
*** yota has joined #zope3-dev09:58
*** philiKON has quit IRC10:04
*** natea has quit IRC10:13
*** sashav has joined #zope3-dev10:17
*** b_52CEntos_ is now known as b_52CEntos10:35
*** tlotze has joined #zope3-dev10:45
*** roman_ has joined #zope3-dev10:47
tlotzeQuestion (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 IRC10:52
*** romanofski has quit IRC11:00
*** roman_ is now known as romanofski11:00
mgedmintlotze: you can use local grants11:04
mgedminadapt the object to IPrincipalPermissionMap, IIRC11:04
tlotzeAh, the object.11:05
* tlotze slaps his forehead11:05
mgedminthere's a default IPrincipalPermissionMap adapter for IAnnotatable11:05
tlotzeI wondered how to get the object into play...11:05
* tlotze tries it out11:06
tlotzewait... IPrincipalPermissionMap has only get* methods11:07
*** SiggyF has joined #zope3-dev11:07
tlotzeah, IPrincipalPermissionManager looks like the interface to use.11:16
*** MJ has joined #zope3-dev11:36
*** tlotze has left #zope3-dev11:39
*** rykomats has joined #zope3-dev11:44
*** faassen has joined #zope3-dev12:04
*** mkerrin has joined #zope3-dev12:28
*** SiggyF has quit IRC12:43
*** ignas has joined #zope3-dev12:47
*** volvox has joined #zope3-dev12:54
*** rocky|away is now known as rocky12:59
*** b_52CEntos has quit IRC13:06
*** b_52CEntos has joined #zope3-dev13:12
*** efrerich has joined #zope3-dev13:33
*** ChrisW has joined #zope3-dev13:44
ChrisWthere a channel or mailing list for Five?13:45
d2mChrisW: check #z3-base13:45
*** dunny has quit IRC13:45
rockyyeah, #z3-base is for five stuff13:46
*** oferw has joined #zope3-dev13:48
*** b_52CEntos_ has joined #zope3-dev13:49
*** yutakashino has quit IRC13:51
*** J1m has joined #zope3-dev13:55
*** b_52Centos__ has joined #zope3-dev13:59
*** eins has quit IRC14:00
*** b_52CEntos has quit IRC14:03
*** b_52Centos__ is now known as b_52Centos14:03
*** b_52CEntos_ has quit IRC14:10
*** alga has joined #zope3-dev14:13
*** b_52CEntos_ has joined #zope3-dev14:15
*** tarek has quit IRC14:17
*** tarek has joined #zope3-dev14:18
*** oferw has quit IRC14:20
rockywhat is the common pattern for "overriding" how a widget is rendered site-wide ?14:22
rockyoh, yuck! default form is rendered as a table :(14:22
rockytime to start my sz.plonedz3 pkg :(14:23
*** efrerich has quit IRC14:25
*** b_52Centos has quit IRC14:26
*** Theuni has joined #zope3-dev14:27
*** J1m has quit IRC14:36
*** hazmat has quit IRC14:52
*** Theuni has quit IRC14:57
MJWe have a schema IFoo15:01
MJthat should contain a list of IBar's15:01
MJLike so:15:01
MJbars = schema.List(15:02
MJ        value_type=schema.Object(schema=IBar),15:02
MJ        unique=True)15:02
MJNow formlib has no idea what widget to apply15:02
MJI'd like to be able to select a IBar implementation in the object hierarchy elsewhere15:03
MJAny ready code, or are we on our own?15:03
mgedminMJ: you have to register a custom widget15:11
mgedminI have the code15:11
mgedminbut I have to run away Right Now15:11
mgedmintry pestering alga if he's on IRC15:11
*** mgedmin has quit IRC15:11
*** niemeyer has quit IRC15:14
*** b_52CEntos_ has quit IRC15:16
*** niemeyer has joined #zope3-dev15:16
*** Theuni has joined #zope3-dev15:46
*** hazmat has joined #zope3-dev15:51
*** ChanServ sets mode: +o hazmat15:51
* MJ looks into schema.Choice instead of schema.Object15:51
MJwe don't need a tree picker...15:51
*** oferw has joined #zope3-dev15:52
MJIs source preferred over the vocab registry?15:56
MJso, should I define a context source binder, or rely on the registry instead/15:56
*** ChrisW has left #zope3-dev15: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|zZZZ16:03
*** philiKON has joined #zope3-dev16:10
*** benji_york has joined #zope3-dev16:15
MJJust the people I am looking for :)16:16
MJI see BBB entries on the ZCML vocabulary directive16:16
MJWhat's the 3.3 way to define a dynamic vocalubary?16:17
MJvocabulary even.16:17
MJphiliKON: Ping16:17
MJbenji_york: ping16:17
benji_yorkpong, MJ16:17
MJIContextSourceBinder implementations?16:18
MJThey require defining an implementation in for a Choice field in a schema..16:18
philiKONMJ, ping16:18
philiKONerr, pong ;)16:18
* MJ points to the logtext since you guys entered the room.16:19
philiKONwhat's a dynamic vocab?16:19
philiKONin short, you register vocabs by registering an IVocabularyFacotry utility16:19
philiKONso, either a class that classProvdides(IVocabularyFactory)16:19
philiKONor a function or something that provides this16:19
MJNamed utility?16:19
MJIt'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 benji16:26
* MJ scratches his head16:30
MJphiliKON: I see no code in the Choice field implementation that looks up vocabularies as utilities..16:31
philiKONMJ, nope, it gets them from a vocabulary registry16:31
philiKONwhich can be plugged in16:31
philiKONthe vocabulary registry looks up utilities16:31
MJyes, I just found that :)16:33
MJI did a grep16:33
MJand found the implementation16:33
* MJ gets lost in the woods of zope.schema and
philiKONyeah, i think they should be combined somewhat16:43
philiKONthe vocabulary stuff16:43
philiKONit's in a proposal i've written16:44
rockyif 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 IRC16:55
projekt01rocky, there is a method guessType16:56
projekt01I guess something like guessType(IInterface)16:56
rockywhich pkg?16:57
projekt01no sure16:57
dobeehi all, what is the best method to filter the items in the add menu without using constraints?16:58
philiKONqueryType(some_obj, IContentType)16:58
projekt01philiKON, thanks16:58
rockyphiliKON: i have the class, not an instance so i can't use that ;)16:58
rockyphiliKON: but i've been digging around in the source and it should be easy enough to create my own that works based on class16:59
philiKONjust use implementedBy instead of providedBy then16:59
rockyits "odd" to say interface.providedBy(IFooBar) to figure out what interfaces it provides ... ;)17:02
rockynote IFooBar is an interface in my example17:03
rockymesses with my head17:04
rockykinda like metaclasses ;)17:04
philiKONinterfaces are components too...17:05
rockyyeah... thats what helps make it weird ;)17:07
rockyi'm not criticizing, its just above my level of grasping right now ;)17:07
*** alecm has joined #zope3-dev17:08
*** Theuni has quit IRC17:08
*** natea has joined #zope3-dev17:20
*** mkerrin has quit IRC17:24
*** oferw has quit IRC17:25
*** rocky is now known as rocky|away17:27
* MJ has a vocubulary containing objects taken from the ZODB..17:28
MJand these are, of course, security proxied.17:28
MJPicking them in a list works fine.17:29
MJBut hitting apply on the form complains about the non-pickleability of the security proxies17:29
MJSo, unwrapping them first?17:29
MJAnd if so, how?17:30
* MJ feels he just stepped into a big tarpit..17:30
MJphiliKON: ping17:30
*** Theuni has joined #zope3-dev17:32
MJ's okay17:32
* MJ imports removeSecurityProxy17:32
*** hdima has quit IRC17:33
MJThat 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-dev17:35
*** FarcePest has left #zope3-dev17:37
*** sashav has quit IRC17:40
*** rocky|away is now known as rocky17:41
volvoxnewb alert: i'm trying to set up a mock vocabulary for a test, but it doesn't find it, raises unknown vocabulary17:46
volvoxoutside of the docsuite it works well, I've used component.getGlobalSiteManager() and gsm.registerUtility(...)17:46
volvoxI can find it with getUtility(). guess I should get back to the book :-)17:47
*** BjornT has quit IRC17:55
*** alga has quit IRC17:57
*** SureshV has quit IRC18:02
*** BjornT has joined #zope3-dev18:11
*** dobee has quit IRC18:13
*** projekt01 has quit IRC18:32
*** _projekt01 has joined #zope3-dev18:32
*** _projekt01 has left #zope3-dev18:32
*** ignas_ has joined #zope3-dev18:40
*** ignas_ has quit IRC18:41
*** MJ has quit IRC18:49
*** stub has quit IRC18:50
*** mgedmin has joined #zope3-dev19:16
*** tarek has quit IRC19:23
*** tarek has joined #zope3-dev19:23
*** RaFromBRC has joined #zope3-dev19:26
*** whit has quit IRC19:31
*** dobee has joined #zope3-dev19:38
*** BjornT has quit IRC19:40
*** whit has joined #zope3-dev19:45
*** oferw has joined #zope3-dev20:02
*** RaFromBRC has quit IRC20:04
*** BjornT has joined #zope3-dev20:05
*** faassen has quit IRC20:09
*** tarek has quit IRC20:13
*** tarek has joined #zope3-dev20:14
*** RaFromBRC has joined #zope3-dev20:17
*** efrerich has joined #zope3-dev20:20
*** tarek has quit IRC20:38
*** tarek has joined #zope3-dev20:41
*** RaFromBRC has quit IRC20:50
*** dobee has quit IRC20:56
*** J1m has joined #zope3-dev21:00
*** natea has quit IRC21:01
*** natea has joined #zope3-dev21:02
*** RaFromBRC has joined #zope3-dev21:14
*** oferw has quit IRC21:42
*** sashav has joined #zope3-dev22:10
*** mexiKON has joined #zope3-dev22:13
*** J1m has quit IRC22:15
*** mgedmin has quit IRC22:16
*** philiKON has quit IRC22:22
*** mexiKON is now known as philiKON22:22
*** ignas has quit IRC22:31
*** b_52CEntos has joined #zope3-dev22:31
*** sashav has quit IRC22:38
b_52CEntosboys and girls :) ; i try to run zope 3  but :(   ./runzope22:42
b_52CEntos2006-05-31T20:36:50 ERROR ZODB.lock_file Error locking file /home/b_52globemaster/Zope3Instance/var/Data.fs.lock22:42
b_52CEntosi chage the right access i put 777 to all the file in /var it didn't change the problem22:42
*** RaFromBRC has quit IRC22:42
rockyperhaps the file already exists with the wrong permissions?22:45
b_52CEntosrocky,  i set the permissions to 777 :)22:45
rockythought you said you set permissions on the directory22:45
rockyi'm referring to the file22:45
b_52CEntosthe file too22:46
b_52CEntosthe /var and all the file that are inside /var :)22:47
b_52CEntosok solved :)22:48
b_52CEntosstupid tricks22:48
*** clbry_ has quit IRC22:54
*** dunny has joined #zope3-dev23:09
*** efrerich has quit IRC23:11
*** yota has quit IRC23:21
*** TrevorP has quit IRC23:21
*** tiredbones has quit IRC23:21
*** yota has joined #zope3-dev23:25
*** tiredbones has joined #zope3-dev23:25
*** RaFromBRC has joined #zope3-dev23:31
*** MJ has joined #zope3-dev23:33
*** RaFromBRC has quit IRC23:39
*** RaFromBRC has joined #zope3-dev23:49
*** b_52CEntos_ has joined #zope3-dev23:59

Generated by 2.15.1 by Marius Gedminas - find it at!