IRC log of #zope3-dev for Monday, 2007-08-20

*** dobee has quit IRC00:03
*** jodok has quit IRC00:10
*** hazmat has joined #zope3-dev00:11
*** ChanServ sets mode: +o hazmat00:11
*** dobee has joined #zope3-dev00:12
spythonanyone know where to find the code that does the automatic indexing of objects when they are modified?00:26
spythonthe catalogs in my app are put in containers and not the site manager, so I don't get those automatic stuff for free00:28
*** alecm has quit IRC00:30
ccombspython : I think the automatic stuff depends on registration instead of the location of the catalog00:35
spythonagh, i need to make two instances, right now two apps are sharing one and it's starts to get confusing :)00:40
ccombsharing one catalog?00:40
spythonno :)00:40
spythonbut they seem to not get along that well00:41
spythonthat's what you get when your "just-need-to-try-this-thing" packages become a completely new app00:41
spythonyeah, i need to reorganize stuff :(00:43
*** sm has joined #zope3-dev00:51
*** dobee has quit IRC00:54
spythonoh wait, I didn't actually register the container catalog :O00:56
spythonlike you said ccomb00:57
spythonnow i just need to figure out a good way to uniquely name catalogs when registering00:58
ccombwhy do you have several catalogs?01:04
spythoni don't want one enormous catalog :)01:05
ccombyou have a lot of différent indexes ?01:05
spythonso one for each of my "network" which is a container with potentially a lot of content components01:06
spythonmaybe, 4-5 indexes in the content component01:06
spythonthere's no point in doing a site wide search in my app01:08
*** timte has quit IRC01:09
ccombyou could then have one local sitemanager for each "network" container, with a single catalog in each01:09
ccombjust an idea01:09
spythonhmm.. why not just put the catalog in Network.catalog01:09
spythona network isn't really a site :)01:10
ccomba site is not a really site either01:10
ccombjust a component registry01:10
*** redir has joined #zope3-dev01:11
spythonI don't see what I would gain having a local site in a Network01:11
spythonhmm, I wouldn't have to worry about naming conventions for my catalogs maybe..01:12
spythonbut isn't it a little bit of  "overhead" with one site per network?01:13
*** redir has quit IRC01:13
*** redir has joined #zope3-dev01:13
ccombthis would probably lead to more simple api calls01:13
*** redir has quit IRC01:14
*** redir has joined #zope3-dev01:14
spythonok, in what way?01:14
ccombyou get the wanted sitemanager depending on the context (the network)01:15
ccombbut I don't know your app01:16
spythonhmm, that's true..01:16
spythonthx for tip, I will consider it :)01:17
spythonI'm 1 month into zope3 now, so I'm not 100% confident with the concepts yet01:18
*** ccomb has left #zope3-dev01:21
*** redir has quit IRC01:28
*** projekt01 has joined #zope3-dev01:39
*** niemeyer has joined #zope3-dev01:41
*** hazmat has quit IRC01:48
*** redir has joined #zope3-dev01:56
*** hazmat has joined #zope3-dev01:57
*** ChanServ sets mode: +o hazmat01:57
*** redir has quit IRC02:00
*** redir has joined #zope3-dev02:01
*** spython has quit IRC02:02
*** redir has quit IRC02:14
*** redir has joined #zope3-dev02:15
*** redir has quit IRC02:17
*** redir has joined #zope3-dev02:18
*** redir has quit IRC02:22
*** Ariel_Calzada has quit IRC02:25
edgordonis there not a direct way to get what interfaces an instance implements? implementedBy seems to only want a factory.02:58
*** edgordon has quit IRC03:24
*** Ariel_Calzada has joined #zope3-dev03:36
*** niemeyer has quit IRC03:44
*** jsadjohnson has joined #zope3-dev03:47
*** edgordon has joined #zope3-dev03:52
*** dunny has joined #zope3-dev04:12
*** projekt01 has left #zope3-dev04:48
*** Ariel_Calzada has quit IRC05:13
*** alecm has joined #zope3-dev05:40
*** redir has joined #zope3-dev05:42
*** greenman has quit IRC05:42
*** redir has quit IRC05:44
*** redir has joined #zope3-dev05:44
*** redir has quit IRC05:47
*** redir has joined #zope3-dev05:56
*** alecm has quit IRC06:01
*** greenman has joined #zope3-dev06:27
*** kleist has joined #zope3-dev06:44
*** hazmat has quit IRC06:45
*** qopi has joined #zope3-dev06:54
*** povbot has joined #zope3-dev07:02
*** philiKON has joined #zope3-dev07:05
*** philiKON_ has quit IRC07:22
*** chacha_chaudhry has joined #zope3-dev07:28
*** jsadjohnson has quit IRC07:33
*** baijum has joined #zope3-dev07:40
*** baijum has quit IRC07:56
*** greenman has quit IRC08:05
*** baijum has joined #zope3-dev08:20
*** cursor has joined #zope3-dev08:24
*** zagy has joined #zope3-dev08:31
*** sorin has joined #zope3-dev08:45
*** sorin is now known as sorindregan08:46
*** jukart has joined #zope3-dev08:46
*** d2m has joined #zope3-dev08:50
*** dunny has quit IRC09:04
*** tarek has joined #zope3-dev09:10
*** zagy_ has joined #zope3-dev09:23
*** zagy has quit IRC09:23
*** dobee has joined #zope3-dev09:28
*** zagy_ is now known as zagy09:29
*** tjs has joined #zope3-dev09:30
tjsI have a VocabularyUtility which looks up vocabs from a DB, and can return SimpleVocabs, and other stuff09:31
tjsfollowing philiKON's book chapter 17, p341-342 he registers a function as a factory for a vocab09:32
tjsas a named utility09:32
tjstrying to do that by making my util a module-level singleton, that implements __getattr__09:33
tjsso I can go <utility component=09:33
tjsso I can go <utility component=".foo.util.some_vocab" name='some_vocab'/>09:34
tjsbecause there are a whole stack of them, the util knows how to look them up just fine09:34
*** romanofski has joined #zope3-dev09:34
tjsthe issue I'm having is where they need to provide IVocabularyFactory09:35
tjswhich is hard because they dont actaully exist until they are requested09:35
romanofskimoin :)09:36
tjsG'day romanofski09:37
romanofskihowdy tjs :)09:42
*** lmiller has joined #zope3-dev09:47
*** tjs has left #zope3-dev09:53
*** timte has joined #zope3-dev10:05
*** jodok has joined #zope3-dev10:17
*** yvl has joined #zope3-dev10:20
*** naro has joined #zope3-dev10:34
*** greenman has joined #zope3-dev11:09
*** jfroche has joined #zope3-dev11:09
*** cursor_ has joined #zope3-dev11:13
*** rocky|away has quit IRC11:16
*** rocky has joined #zope3-dev11:18
timtePermission denied (publickey,keyboard-interactive).11:19
timtesvn: Connection closed unexpectedly11:19
timteI get this when trying to do a checkout (svn+ssh) from svn repository11:20
*** cursor has quit IRC11:20
timteanyone got a clue what's causing this?11:20
*** tomus has joined #zope3-dev11:29
timteah, forgot the username11:37
*** ghendi has joined #zope3-dev11:46
*** dobee has quit IRC11:56
*** dobee has joined #zope3-dev11:57
*** richardkan has joined #zope3-dev12:06
sorindreganhi, anybody can tell me how can I change the display format of the date value? (from DD.MM.YY in YY.MM.DD)12:12
*** stub has joined #zope3-dev12:13
*** mkerrin has joined #zope3-dev12:17
*** junkafarian has joined #zope3-dev12:21
*** ignas has joined #zope3-dev12:25
*** d2m has quit IRC12:25
philiKONsorindregan: use the locale date formatter12:25
philiKONsorindregan: my book ( ) explains how to do that12:26
sorindreganok philiKON, thx12:26
*** ghendi has quit IRC12:29
*** ignas has quit IRC12:44
*** stub has quit IRC12:50
*** ktwilight has joined #zope3-dev13:00
timteCan a utillity be registered as providing an interface it doesn't really provide?13:02
wiggywhy would you ever want to that?13:02
timteah, there was more to it13:07
timteIB extends IA, component provides IA, provideUtility(component, provides=IB)13:07
timtelooks like this succeeds in newish zope, but fails in 3.213:07
timteor I might just be missing something13:08
*** projekt01 has joined #zope3-dev13:08
zagyyou should not want to register it if it doens't provide the interface =)13:09
*** ktwilight_ has quit IRC13:16
*** rocky has quit IRC13:19
*** ghendi has joined #zope3-dev13:37
*** jodok has quit IRC13:44
*** rocky has joined #zope3-dev13:44
*** jsadjohnson has joined #zope3-dev13:47
*** wiggy has quit IRC13:50
*** jap has quit IRC13:50
*** ghendi has quit IRC13:50
*** tomus has quit IRC13:50
*** sorindregan has quit IRC13:50
*** lisppaste6 has quit IRC13:50
*** instantfoo has quit IRC13:50
*** BjornT has quit IRC13:50
*** dokai has quit IRC13:50
*** ghendi has joined #zope3-dev13:51
*** tomus has joined #zope3-dev13:51
*** sorindregan has joined #zope3-dev13:51
*** lisppaste6 has joined #zope3-dev13:51
*** instantfoo has joined #zope3-dev13:51
*** BjornT has joined #zope3-dev13:51
*** dokai has joined #zope3-dev13:51
*** jap has joined #zope3-dev13:51
*** wiggy has joined #zope3-dev13:51
*** ccomb has joined #zope3-dev13:52
*** tomus has quit IRC14:00
*** romanofski has quit IRC14:01
*** romanofski has joined #zope3-dev14:06
*** rock1 has joined #zope3-dev14:21
*** rocky has quit IRC14:23
*** rock1 is now known as rocky14:23
zagyi wonder14:25
zagyis there a  supposed way to validate an object against a schema?14:25
zagyincluding invariants?14:25
philiKONzagy: look at chapter 4 of my book14:26
philiKONshort answer: there's no single call14:26
zagyphiliKON: okay, I know the single calls14:26
zagywould it be an idea to add such a function to zope.schema?14:27
zagyIt seems like something recurring14:27
philiKONi wouldn't mind14:28
projekt01zagy, see z3c.testing there is a schema validation test, it will test if the object implements the interface and the method arguments are correct14:32
*** wiggy has quit IRC14:37
*** jap has quit IRC14:37
*** instantfoo has quit IRC14:37
*** BjornT has quit IRC14:37
*** dokai has quit IRC14:37
*** lisppaste6 has quit IRC14:37
*** sorindregan has quit IRC14:37
*** ghendi has quit IRC14:37
*** timte has quit IRC14:37
*** SteveA has quit IRC14:37
*** projekt01 has quit IRC14:37
*** romanofski has quit IRC14:37
*** ccomb has quit IRC14:37
*** philiKON has quit IRC14:37
*** b52laptop has quit IRC14:37
*** Aiste has quit IRC14:37
*** johnlr2 has quit IRC14:37
*** mkerrin has quit IRC14:37
*** jfroche has quit IRC14:37
*** yvl has quit IRC14:37
*** baijum has quit IRC14:37
*** chacha_chaudhry has quit IRC14:37
*** qopi has quit IRC14:37
*** kleist has quit IRC14:37
*** srichter has quit IRC14:37
*** junkafarian has quit IRC14:37
*** dobee has quit IRC14:37
*** cursor_ has quit IRC14:37
*** pbugni has quit IRC14:37
*** Theuni has quit IRC14:37
*** markusleist has quit IRC14:37
*** CrippsFX has quit IRC14:37
*** xbeanx has quit IRC14:37
*** jsadjohnson has quit IRC14:37
*** richardkan has quit IRC14:37
*** edgordon has quit IRC14:37
*** cbcunc_ has quit IRC14:37
*** Newfie2007 has joined #zope3-dev14:45
*** srichter has joined #zope3-dev14:53
*** richardkan_ has joined #zope3-dev14:53
*** jsadjohnson has joined #zope3-dev14:53
*** hazmat has joined #zope3-dev14:53
*** johnlr2 has joined #zope3-dev14:53
*** Aiste has joined #zope3-dev14:53
*** b52laptop has joined #zope3-dev14:53
*** philiKON has joined #zope3-dev14:53
*** ccomb has joined #zope3-dev14:53
*** romanofski has joined #zope3-dev14:53
*** projekt01 has joined #zope3-dev14:53
*** junkafarian has joined #zope3-dev14:53
*** mkerrin has joined #zope3-dev14:53
*** richardkan has joined #zope3-dev14:53
*** dobee has joined #zope3-dev14:53
*** cursor_ has joined #zope3-dev14:53
*** jfroche has joined #zope3-dev14:53
*** yvl has joined #zope3-dev14:53
*** timte has joined #zope3-dev14:53
*** baijum has joined #zope3-dev14:53
*** chacha_chaudhry has joined #zope3-dev14:53
*** qopi has joined #zope3-dev14:53
*** kleist has joined #zope3-dev14:53
*** edgordon has joined #zope3-dev14:53
*** pbugni has joined #zope3-dev14:53
*** SteveA has joined #zope3-dev14:53
*** Theuni has joined #zope3-dev14:53
*** cbcunc_ has joined #zope3-dev14:53
*** CrippsFX has joined #zope3-dev14:53
*** xbeanx has joined #zope3-dev14:53
*** sets mode: +o srichter14:53
*** ghendi has joined #zope3-dev14:53
*** sorindregan has joined #zope3-dev14:53
*** lisppaste6 has joined #zope3-dev14:53
*** instantfoo has joined #zope3-dev14:53
*** BjornT has joined #zope3-dev14:53
*** dokai has joined #zope3-dev14:53
*** jap has joined #zope3-dev14:53
*** wiggy has joined #zope3-dev14:53
*** markusleist has joined #zope3-dev14:53
*** richardkan has quit IRC14:54
*** Ariel_Calzada has joined #zope3-dev14:55
*** jodok_ has joined #zope3-dev15:09
*** edgordon has quit IRC15:24
*** chacha_chaudhry has quit IRC15:33
*** baijum has quit IRC15:39
*** greenman has quit IRC15:42
*** povbot has joined #zope3-dev16:00
*** salfield has joined #zope3-dev16:03
*** cursor_ has quit IRC16:06
*** cursor has joined #zope3-dev16:06
*** cursor has quit IRC16:10
*** edgordon has joined #zope3-dev16:10
*** ignas has joined #zope3-dev16:12
*** redir has joined #zope3-dev16:16
*** niemeyer has joined #zope3-dev16:16
*** rcrafton has joined #zope3-dev16:19
*** nathany has joined #zope3-dev16:27
*** stub has joined #zope3-dev16:28
*** jodok_ is now known as jodok16:35
*** stub has quit IRC16:39
*** J1m has joined #zope3-dev16:53
*** bigkevmcd has joined #zope3-dev16:54
*** afd_ has joined #zope3-dev16:58
*** Aiste has quit IRC17:03
*** sorindregan has quit IRC17:15
*** edgordon has quit IRC17:26
*** cursor has joined #zope3-dev17:26
*** edgordon has joined #zope3-dev17:39
*** edgordon has quit IRC17:44
*** ignas has quit IRC17:45
*** Squall2 has joined #zope3-dev17:47
*** Squall2 has left #zope3-dev17:49
zagyphiliKON: ping17:51
*** mgedmin has joined #zope3-dev17:57
*** Aiste has joined #zope3-dev18:04
*** ghendi has quit IRC18:09
*** bigkevmcd has quit IRC18:14
*** niemeyer has quit IRC18:14
*** bigkevmcd has joined #zope3-dev18:14
*** niemeyer has joined #zope3-dev18:15
*** projekt01 has quit IRC18:19
*** hazmat has quit IRC18:25
*** goschtl has joined #zope3-dev18:26
*** timte has quit IRC18:30
*** rlo has joined #zope3-dev18:39
*** goschtl has quit IRC18:44
*** redir has quit IRC18:52
*** alecm has joined #zope3-dev18:58
*** jodok has quit IRC18:59
*** dobee has quit IRC18:59
*** rlo has quit IRC19:03
*** redir has joined #zope3-dev19:05
*** pcardune has joined #zope3-dev19:10
*** rlo has joined #zope3-dev19:15
*** romanofski has quit IRC19:15
*** rlo has quit IRC19:18
*** edgordon has joined #zope3-dev19:18
*** zagy has quit IRC19:21
*** natea|away has joined #zope3-dev19:21
CrippsFXw00t. My demo skin works.19:24
CrippsFX... and it even looks pretty.19:24
*** kali67 has joined #zope3-dev19:26
*** redir has quit IRC19:29
*** cursor has quit IRC19:31
*** zagy has joined #zope3-dev19:32
*** jukart has quit IRC19:36
*** dobee has joined #zope3-dev19:36
philiKONzagy: pong19:51
zagyphiliKON: ah19:51
zagyphiliKON: i checked in the browser:menu change19:51
zagyquestion is how to do it with the release/versions now19:51
*** pbugni has quit IRC19:53
*** qopi has quit IRC19:59
*** mgedmin has quit IRC20:03
*** zagy_ has joined #zope3-dev20:05
zagy_philiKON: did you say something? :)20:07
philiKONzagy_: ah, not yet20:08
*** edgordon has quit IRC20:08
zagy_ok, no hurry :)20:08
philiKONzagy_: i assume you changed
philiKONit doesn't have a tag whatsoever20:09
zagy_it does not?20:09
zagy_there is a 3.4 branch20:10
philiKONwe only have 0.1dev and 3.5.0a1 eggs20:10
philiKONfirst of all, your fix should also go on the 3.4 branch20:11
philiKONthen i suggest we make a 3.4.0b1 release20:11
philiKONand a 3.5.0a120:11
philiKONand stop this dev-rXXX nonsense20:11
philiKONomg, the cheeseshop even has a completely differnet version20:11
philiKONhow the hell did the beta get there?20:12
zagy_no idea20:12
zagy_so i guess... we take the 3.4 branch and move it to 3.4b1 tag20:12
philiKONyou merge your stuff to the 3.4 branch20:12
philiKONthe bugfix20:13
philiKONthen we tag 3.4.0b1 from the 3.4 branch20:13
zagy_that makes sense :)20:13
philiKON(after having edited and the changelog, etc.)20:13
philiKONand we properly release that on the cheeseshop20:13
zagy_who will release it on cheeseshop?20:13
philiKONTheuni: can you give zagy_ and me access to's page on the cheeseshop?20:13
* zagy_ zieht die frage zurück ;020:13
philiKONsemper saudum queret20:14
zagy_Theuni isn't there right now, but i'll nag him tomorrow then20:14
*** zagy has quit IRC20:14
philiKONand then i also suggest we do a 3.5.0a120:14
philiKONjust to get the fix out as an egg20:14
philiKONand to make the dev-rXXX stuff obsolete20:15
zagy_anyway, i'll need to do some RL things ;)20:15
* philiKON goes shopping :)20:22
*** Aiste has quit IRC20:30
*** edgordon has joined #zope3-dev20:42
*** jodok has joined #zope3-dev20:56
*** richardkan_ has quit IRC21:06
*** redir has joined #zope3-dev21:18
*** yvl has quit IRC21:19
rediris there an attribute (that I can't find) which allows for per field permissions settings i.e.  constraint=isNotAnonymous or permission=modify or something21:21
redirIn other words I want a schema field to only show up if a user is not anonymous21:23
instantfoo<class ...><allow attribute="..."></class>21:24
instantfoocan't you just define a require?21:25
rediras an attribute on a field?21:25
redirrequired is a boolean21:25
instantfooi think there's something like.. <require attribute="foo" permission="bar.View" />21:26
redirin zcml?21:27
*** salfield has quit IRC21:29
*** cbcunc_ is now known as cbcunc21:29
redirso if in a <browser:page> directive I can add a require attribute for a given field as an attr in the page?21:30
instantfoono, require is for the <class>21:37
*** Jell-O-Fishi has joined #zope3-dev21:37
*** dobee has quit IRC21:41
*** mkerrin has quit IRC21:44
*** jsadjohnson has joined #zope3-dev21:58
*** spython has joined #zope3-dev21:58
*** redir has quit IRC21:59
*** redir has joined #zope3-dev22:03
*** pcardune has quit IRC22:05
spythonlets say that  "iibtree[45] == 1000" in my IIBTree, and I later write the same value to it, would it be considered changed by ZODB? Or does the value have to actually be different22:07
*** redir has quit IRC22:10
*** junkafarian has quit IRC22:14
bigkevmcdspython: == is a comparative operator, it shouldn't change anything22:15
*** Newfie2007 has quit IRC22:16
spythonthat was just to show what was in my tree, a bit confusing yes :)22:16
spythonso iibtree[45] has the value 1000...22:17
spythonand if I write 1000 to iibtree[45] afterwards.. will zodb store the object or simply not do it because the value was the same before..22:19
*** ccomb has left #zope3-dev22:38
*** kleist has left #zope3-dev22:42
*** tarek has quit IRC22:54
*** greenman has joined #zope3-dev22:59
*** srichter has quit IRC23:03
*** spython has quit IRC23:05
*** redir has joined #zope3-dev23:11
*** fcorrea has joined #zope3-dev23:13
*** jfroche_ has joined #zope3-dev23:31
*** Aiste has joined #zope3-dev23:34
*** dobee has joined #zope3-dev23:37
*** jfroche has quit IRC23:46
*** naro has left #zope3-dev23:50
*** philiKON has quit IRC23:50
*** jsadjohnson has quit IRC23:51
*** philiKON has joined #zope3-dev23:51
*** tarek has joined #zope3-dev23:58

Generated by 2.15.1 by Marius Gedminas - find it at!