IRC log of #zope3-dev for Thursday, 2007-11-29

*** Ariel_Calzada has quit IRC00:03
*** whit has joined #zope3-dev00:13
*** natea|boston has quit IRC00:13
*** natea|boston has joined #zope3-dev00:14
*** RaFromBRC is now known as RaFromBRC|lunch00:18
*** Ariel_Calzada has joined #zope3-dev00:29
*** harobed has joined #zope3-dev00:34
*** natea|boston has quit IRC00:36
*** Ariel_Calzada has quit IRC00:39
*** regebro has left #zope3-dev00:48
*** norro has quit IRC00:53
*** RaFromBRC|lunch is now known as RaFromBRC00:56
*** tuxella has quit IRC00:59
*** dunny has joined #zope3-dev01:01
*** pbugni has joined #zope3-dev01:44
*** rmarianski has quit IRC01:50
nouriCan an adapter factory raise an exception to indicate that it can't do the adaptation after all?01:53
nouriFrom what I see in the interfaces file, IComponentArchitecture.getAdapters doesn't seem to promise to return adapters in their order of specialization.  If it did, I could probably roll my own way of doing this.01:54
nouriHmm, maybe this is also an indication of bad design on my part; I'm still curious. :)01:58
*** harobed has quit IRC01:59
*** greenman has joined #zope3-dev02:08
*** TheSkrill has joined #zope3-dev02:12
J1mnouri, an adapter factory can return None to indicate that there is no adapter.02:14
nouriJ1m: Ah, great.  And then it's the next one's turn?02:14
J1mgetAdapters only returns the most specific adapter for each name.02:15
J1mI blieve.02:16
J1mI believ.02:16
nouriRight, I've read that.  I'm wondering when my factory returns None, if then the next less specialized adapter will get its turn.02:16
J1mReturning None means there is no adapter.02:17
J1mIt effectively vetos the adaptation.02:17
TheSkrillHello all, I was wondering if its possible to register an event subscriber from the zmi?02:18
*** natea|boston has joined #zope3-dev02:21
*** quodt has quit IRC02:27
TheSkrill... or is it only possible to to register a subscriber in ZCML?02:28
*** vod has quit IRC02:31
*** TheSkrill has quit IRC02:40
*** pbugni has quit IRC02:44
*** niemeyer has quit IRC02:45
*** philiKON has quit IRC02:47
*** hexsprite has quit IRC02:50
*** b52laptop has quit IRC02:51
*** tuxella has joined #zope3-dev02:55
*** huajie has joined #zope3-dev02:59
*** whit has quit IRC03:14
*** jodok has quit IRC03:29
*** J1m has quit IRC03:34
*** nathany has quit IRC03:52
*** ccomb has quit IRC04:13
*** RaFromBRC has quit IRC04:28
*** alga has quit IRC04:32
*** mubix has joined #zope3-dev05:06
mubixHow goes it?05:06
*** greenman has quit IRC05:20
mubixno live lurkers about?05:21
*** hexsprite has joined #zope3-dev05:36
mubixsup hexsprite05:37
hexspritemm just got home from a xmas party ;)05:38
mubixxmas party already?05:39
hexspriteyeah... why not ... who needs excuses anyways05:39
mubixjust figured you'd be still full from Thanksgiving05:40
hexspriteoh im in canada our thanksgiving is in october :)05:41
mubixso are you a Leafs fan or are you more westerly?05:44
hexspritewell im in toronto so naturally a leafs fan... though they stink... apparently they are one of the most profitable franchises somehow05:45
hexspritelosing seems to be very profitable05:45
*** rcrafton has quit IRC07:03
*** kursor has joined #zope3-dev07:21
*** baijum has joined #zope3-dev07:23
*** kursor has quit IRC07:23
*** greenman has joined #zope3-dev07:24
*** kursor has joined #zope3-dev07:24
*** ktwilight_ has joined #zope3-dev08:02
*** stub has quit IRC08:05
*** stub has joined #zope3-dev08:05
*** mcdonc has joined #zope3-dev08:10
*** mcdonc has quit IRC08:15
*** mcdonc_ has joined #zope3-dev08:15
*** ktwilight has quit IRC08:16
*** hazmat has quit IRC08:18
*** mcdonc has joined #zope3-dev08:20
*** mcdonc_ has quit IRC08:20
*** sorin has joined #zope3-dev08:44
*** sorin is now known as sorindregan08:44
*** greenman has quit IRC08:52
*** schwendinger has joined #zope3-dev08:59
*** vod has joined #zope3-dev09:04
* baijum created an experimental PyGTK application which use ZCA to glue components with selectable data storage (ZODB & PySQLIte) :
*** mcdonc has quit IRC09:10
*** mcdonc has joined #zope3-dev09:11
*** projekt01 has joined #zope3-dev09:16
*** __mac__ has joined #zope3-dev09:16
*** greenman has joined #zope3-dev09:22
*** yvl has joined #zope3-dev09:25
*** jodok has joined #zope3-dev09:25
romanofskimoin :)09:35
*** markusleist has joined #zope3-dev09:38
*** dunny has quit IRC09:46
*** dobee has joined #zope3-dev09:48
*** srichter has joined #zope3-dev09:50
*** ChanServ sets mode: +o srichter09:51
*** BjornT has quit IRC09:59
*** BjornT has joined #zope3-dev10:04
*** dunny has joined #zope3-dev10:10
*** afd_ has joined #zope3-dev10:13
*** norro has joined #zope3-dev10:16
*** harobed has joined #zope3-dev10:27
*** mcdonc has quit IRC10:35
*** mcdonc has joined #zope3-dev10:35
*** pelle_ has joined #zope3-dev10:39
*** pelle_ has quit IRC10:41
*** b52laptop has joined #zope3-dev10:42
*** quodt has joined #zope3-dev10:48
*** pelle_ has joined #zope3-dev10:52
*** dunny_ has joined #zope3-dev10:54
*** agroszer has joined #zope3-dev11:02
*** dunny has quit IRC11:08
*** lamike has joined #zope3-dev11:14
*** philiKON has joined #zope3-dev11:20
*** BjornT has quit IRC11:23
*** BjornT has joined #zope3-dev11:23
*** BjornT has quit IRC11:32
*** BjornT has joined #zope3-dev11:33
*** toutpt has joined #zope3-dev11:34
*** malthe has quit IRC11:43
*** ccomb has joined #zope3-dev11:54
*** markusleist has quit IRC11:56
*** acsr has left #zope3-dev12:21
*** acsr has joined #zope3-dev12:23
*** malthe has joined #zope3-dev12:26
*** mcdonc has quit IRC12:26
*** gimni has joined #zope3-dev12:28
*** mcdonc has joined #zope3-dev12:28
*** philiKON has quit IRC12:28
*** schwendinger_ has joined #zope3-dev12:30
*** schwendinger has quit IRC12:30
*** philiKON has joined #zope3-dev12:31
*** malthe has quit IRC12:33
*** malthe has joined #zope3-dev12:38
instantfoohmm, am I missing something obvious here.. isn't there a simple way to have your search result nicely sorted by e.g date?12:41
*** thruflo has joined #zope3-dev12:43
*** instantf1o has joined #zope3-dev12:47
*** instantfoo has quit IRC12:47
*** malthe has quit IRC12:53
*** malthe has joined #zope3-dev12:54
philiKONinstantf1o: well, sort the results if you want to :)12:56
philiKONit's not going to be very fast if the result set is large, though12:56
*** lamike has quit IRC12:57
*** zagy has quit IRC13:00
instantf1ophiliKON: yeah..13:00
instantf1ohaven't really looked too much what apply does, maybe i could roll my own so it also does a documents_to_values lookup on each of its result so I get a (intid, date) as result13:02
instantf1ovalue lookup should be cheaper than waking the object :)13:03
philiKONif you have a date index, yes13:04
philiKONin fact, the date index should keep things in a sorted way anyway13:04
philiKONsince it's a btree13:04
*** dunny_ has quit IRC13:11
instantf1oi thought such a common use case would have an already written solution, well well :)13:19
*** greenman has quit IRC13:19
*** niemeyer has joined #zope3-dev13:20
*** yvl has left #zope3-dev13:20
*** afd_ has quit IRC13:24
*** zagy has joined #zope3-dev13:26
*** mcdonc has quit IRC13:28
*** MJ has joined #zope3-dev13:28
*** mcdonc has joined #zope3-dev13:28
*** ignas has joined #zope3-dev13:28
*** toutpt has quit IRC13:34
*** mgedmin has joined #zope3-dev13:46
timtewill that not include the attributes that IMyInterface inherits from another interface?14:08
timteclass IMyInterface(ISomeOtherInterface): pass14:09
timteit works when I allowed_interface=".interfaces.ISomeOtherInterface" but not with allowed_interface=".interfaces.IMyInterface"14:09
*** srichter has quit IRC14:18
*** zagy has quit IRC14:32
*** zagy has joined #zope3-dev14:35
*** zagy_ has joined #zope3-dev14:45
*** dunny has joined #zope3-dev14:45
*** MJ is now known as MJ|lunch14:46
*** dunny has quit IRC14:47
mgedmintimte: this is strange14:47
mgedminwhat is "it" in the "it works" statement?14:47
*** thruflo is now known as hairyflo14:51
*** mcdonc has quit IRC14:55
*** mcdonc has joined #zope3-dev14:55
*** schwendinger_ has quit IRC14:59
*** MJ|lunch has quit IRC15:02
*** zagy has quit IRC15:02
*** regebro has joined #zope3-dev15:06
*** schwendinger has joined #zope3-dev15:07
*** rcrafton has joined #zope3-dev15:09
*** toutpt has joined #zope3-dev15:10
*** toutpt has quit IRC15:13
*** toutpt has joined #zope3-dev15:13
*** MJ has joined #zope3-dev15:18
*** MJ has quit IRC15:19
*** MJ has joined #zope3-dev15:19
malthezope.thread.local vs. threading.local –– ?15:24
maltheif one is obsolete, why isn't it a module alias?15:24
*** kursor_ has joined #zope3-dev15:38
*** kursor has quit IRC15:40
*** hazmat has joined #zope3-dev15:50
*** tomas_ has joined #zope3-dev15:55
*** ktwilight_ has quit IRC15:58
*** ktwilight_ has joined #zope3-dev15:59
*** benji has joined #zope3-dev16:02
*** SteveA_ is now known as SteveA16:09
*** baijum has quit IRC16:10
*** tarek has joined #zope3-dev16:12
*** mcdonc has quit IRC16:22
*** mcdonc has joined #zope3-dev16:23
timtemgedmin: I get unauthorized when it "works"16:26
*** mcdonc_ has joined #zope3-dev16:27
timtemgedmin: when it not works of course16:28
*** mcdonc has quit IRC16:28
*** ktwilight_ has quit IRC16:28
*** ktwilight_ has joined #zope3-dev16:29
*** mcdonc_ has quit IRC16:35
*** srichter has joined #zope3-dev16:36
*** mcdonc has joined #zope3-dev16:36
*** ChanServ sets mode: +o srichter16:37
mgedmintimte: unauthorized != forbiddenattribute16:38
mgedminiow the security declaration works fine16:38
mgedminbut your user doesn't have access16:38
mgedmincheck for missing __parent__16:38
*** toutpt has quit IRC16:39
*** alga has joined #zope3-dev16:39
*** toutpt has joined #zope3-dev16:42
timtemgedmin: but it works if I specify allowed_attributes="someattr" or allowed_interface=".interfaces.ISomeOtherInterface" and ISomeOtherInterface has a someattr method16:46
timtemgedmin: but no when I have allowed_interface=".interfaces.IMyInterface" where IMyInterface inherits ISomeOtherInterface16:47
timtethis is 3.2, perhaps it's fixed in 3.316:47
mgedminwhat directive is that?16:49
* mgedmin never used allowed_foo on pages, so /me never noticed16:50
mgedminyep, you're right16:50
mgedminit's a bug in the browser:page directive16:50
timtedid you try yourself?16:51
mgedminno, I just read the source code16:51
mgedminit's the same in zope 3.2 as on zope 3 trunk16:51
timtestrange noone noticed16:51
mgedmintimte: I suggest you file a bug on
mgedminwait, no16:52
mgedminit's not a bug16:52
mgedminit's just something very strange16:52
mgedminmy reading of the code was incorrect16:52
timteoh, damn  :)16:52
mgedminI assumed IInterface.__iter__ returns only direct names16:52
mgedminbut it also returns inherited ones16:52
mgedminaccording to the interface docstring, at least16:52
*** reco_ has joined #zope3-dev16:53
mgedminor, if it is a bug, then it's in some other place16:53
timteI'll test interface.__iter__ in my code16:54
mgedminput a breakpoint in, where the browser:page directive is handler16:54
mgedmincheck required['yourattributename'] after it calls _handle_allowed_interfaces16:55
timteinterface.__iter__ was correct so I'll try this other suggestion16:57
*** sorindregan has quit IRC16:59
*** dunny has joined #zope3-dev17:00
*** reco has quit IRC17:00
*** toutpt has quit IRC17:01
*** dunny has quit IRC17:02
*** whit has joined #zope3-dev17:05
*** mcdonc has quit IRC17:08
*** bung_vijay_ has joined #zope3-dev17:13
*** bung_vijay_ is now known as bung_vijay17:13
*** bung_vijay has left #zope3-dev17:13
*** rmarianski has joined #zope3-dev17:15
*** dagreener has joined #zope3-dev17:22
*** dagreener has left #zope3-dev17:22
*** mcdonc has joined #zope3-dev17:39
*** kursor_ has quit IRC17:44
*** reco has joined #zope3-dev17:44
timtemgedmin: it was a bug in Five (which is fixed in later versions though)17:46
*** reco has quit IRC17:50
*** reco_ has quit IRC17:51
*** huajie has quit IRC17:55
timtemgedmin: thanks for the help though, forgot to say that  :)17:58
timtecan I get a list of older releases of infrae.subversion in cheeseshop?18:06
*** pelle__ has joined #zope3-dev18:10
nouritimte: Now you can18:11
timtenouri: how?18:13
timteonly dev releases  :/18:13
nouriThere's also SVN :)18:14
timtenouri: when buildout installs infrae.subversion it spits out lots of garbage, do you know if it's possible to get rid of that?18:15
nouriWhen it installs it?18:16
timteyeah, or downloads18:16
nouriDunno, it's probably just warnings.18:16
timtenouri: you use infrae.subversion I assume? don't you get that garbage?18:17
nouriAh, pylib is not setting the zip_safe flag18:17
*** hairyflo is now known as thruflo18:20
timtenouri: I saw your blog about infrae.subversion some time ago, you said infrae.subversion was great because changes in the checkout are lost18:20
timtenouri: the readme says the opposite,
*** ignas has quit IRC18:21
nouritimte: Because they are *not* lost, right?18:21
timtenouri: that's what the readme says18:21
nouritimte: Anything else is a typo18:21
timtenouri: oh, I should check your blog again18:21
timtenouri: I actually believed you  :)18:21
nouritimte: "infrae.subversion takes care not to wipe any changes that you might have done in the checkout."18:22
nouritimte: It doesn't take care of *wiping* your changes, right.18:23
timteI must have misread, grrr18:24
*** pelle_ has quit IRC18:26
nouritimte: Tarek actually had the idea of adding a flag for that.  Patches are welcome.18:27
*** schwendinger has quit IRC18:28
*** afd_ has joined #zope3-dev18:29
*** nathany has joined #zope3-dev18:37
*** schwendinger has joined #zope3-dev18:38
*** __mac__ has quit IRC18:46
*** agroszer_ has joined #zope3-dev18:58
*** bung_vijay_ has joined #zope3-dev18:59
*** bung_vijay_ is now known as bung_vijay19:00
*** schwendinger has quit IRC19:03
*** toutpt has joined #zope3-dev19:09
*** agroszer has quit IRC19:16
*** agroszer_ is now known as agroszer19:16
*** MJ has quit IRC19:23
*** gimni has quit IRC19:29
*** harobed has quit IRC19:29
*** quodt has quit IRC19:31
*** dobee has quit IRC19:39
*** malthe has quit IRC19:41
*** kursor has joined #zope3-dev19:42
*** projekt01 has quit IRC19:43
*** afd_ has quit IRC19:51
*** dunny has joined #zope3-dev19:55
*** RaFromBRC has joined #zope3-dev19:59
*** pbugni has joined #zope3-dev20:03
*** tomas_ has quit IRC20:05
*** dunny has quit IRC20:07
*** thruflo has quit IRC20:10
*** dobee has joined #zope3-dev20:13
*** bung_vijay has quit IRC20:14
*** mgedmin has quit IRC20:16
*** dobee has quit IRC20:16
*** dobee has joined #zope3-dev20:20
*** jodok has quit IRC20:26
*** srichter has quit IRC20:27
*** whit has quit IRC20:27
*** gimni has joined #zope3-dev20:28
*** whit has joined #zope3-dev20:30
nathanydoes anyone know what egg the tools like i18nextract live in under the new-egg-world-order?20:33
nathanyi seem to recall seeing a w/the appropriate entry point defined @ one point, but where it lived escapes me now20:33
nathanyfound it:
* benji imagines nathany playing hide-and-seek with packages. ;)20:48
*** natea|boston has quit IRC20:48
*** natea|boston has joined #zope3-dev20:57
*** natea|boston has quit IRC20:58
*** rmarianski has quit IRC21:01
*** markusleist has joined #zope3-dev21:01
*** rmarianski has joined #zope3-dev21:01
*** pelle_ has joined #zope3-dev21:02
*** pelle_ has quit IRC21:04
*** WebMaven has quit IRC21:12
*** hexsprite has quit IRC21:15
*** agroszer has quit IRC21:16
*** whit has quit IRC21:19
*** hexsprite has joined #zope3-dev21:24
*** J1m has joined #zope3-dev21:25
*** malthe has joined #zope3-dev21:28
*** dobee has quit IRC21:29
*** norro_ has joined #zope3-dev21:36
*** dobee has joined #zope3-dev21:41
*** norro_ has quit IRC21:46
*** BjornT has quit IRC21:46
*** duckman has quit IRC21:46
*** bigkevmcd has quit IRC21:46
*** romanofski has quit IRC21:46
*** mubix has quit IRC21:46
*** dobee has quit IRC21:46
*** ktwilight_ has quit IRC21:46
*** norro_ has joined #zope3-dev21:47
*** BjornT has joined #zope3-dev21:47
*** mubix has joined #zope3-dev21:47
*** bigkevmcd has joined #zope3-dev21:47
*** romanofski has joined #zope3-dev21:47
*** duckman has joined #zope3-dev21:47
*** ktwilight has joined #zope3-dev21:49
*** dobee has joined #zope3-dev21:49
*** jodok has joined #zope3-dev21:58
*** gimni has quit IRC22:06
*** jodok has quit IRC22:07
*** jodok has joined #zope3-dev22:07
*** rmarianski has quit IRC22:08
*** rmarianski has joined #zope3-dev22:12
*** dobee has quit IRC22:17
*** greenman has joined #zope3-dev22:20
*** stub has quit IRC22:21
*** srichter has joined #zope3-dev22:34
*** greenman_ has joined #zope3-dev22:34
*** whit has joined #zope3-dev22:38
*** regebro has left #zope3-dev22:39
*** tarek has quit IRC22:41
*** toutpt has quit IRC22:48
*** natea|boston has joined #zope3-dev22:49
*** greenman has quit IRC22:51
*** strichter has joined #zope3-dev22:52
*** natea|boston has quit IRC23:05
*** natea|boston has joined #zope3-dev23:06
*** srichter has quit IRC23:10
whitanyone done any loading of components or directive by means other than zcml?23:10
* whit is looking for something to reuse23:11
*** dunny has joined #zope3-dev23:11
whitcould even be a system for choosing what zcml to load by some other config mechanism23:11
*** tarek has joined #zope3-dev23:14
timtewhit: you mean alternative ways to register stuff? like grok?23:15
whittimte: yeah23:16
whitI'm interested in say using entry points to expose possible registrations, then using a directive to load them (mediated perhaps by a config file)23:17
whittimte: mainly curious whether anyone has done something like this23:18
timteI don't know much about entry points23:18
*** kursor has quit IRC23:25
*** projekt01 has joined #zope3-dev23:30
*** _srichter has joined #zope3-dev23:32
*** strichter has quit IRC23:33
*** quodt has joined #zope3-dev23:38
*** natea|boston has quit IRC23:46
*** natea|boston has joined #zope3-dev23:46

Generated by 2.15.1 by Marius Gedminas - find it at!