IRC log of #zope3-dev for Thursday, 2006-02-23

*** rockyburt has quit IRC00:03
*** rockyburt has joined #zope3-dev00:03
*** jan_s has quit IRC00:05
*** sawdog has left #zope3-dev00:09
*** jan_s__ has joined #zope3-dev00:14
*** jan_s__ is now known as jan_s00:14
*** jan_s has left #zope3-dev00:15
*** jinty has joined #zope3-dev00:16
*** dobee has quit IRC00:18
*** jhauser has quit IRC00:21
*** guruz has quit IRC00:24
*** barzinho has quit IRC00:30
*** jan_s_ has quit IRC00:33
*** dobee has joined #zope3-dev00:34
*** alga has joined #zope3-dev00:54
*** srichter has quit IRC00:59
*** srichter has joined #zope3-dev01:14
*** ChanServ sets mode: +o srichter01:14
skeeterHey everyone. I've got a question regarding INameChooser. I have some content that I want to use a certain field as the name. I'm using IContainerNamesContainer marker adapter. My NamesChooser works fine when new content is created. The problem is that I want the name to get updated when the field is updated. It apears that NameChooser only happens at creation... I've tried hooking into the constraint for the field, but that doesn't seem01:25
*** rockyburt has quit IRC01:30
srichterskeeter: Basically you have to do a rename, whenever the field changes01:31
srichterthe easiest would be to send out an event when the field is changed and then have a subscriber that does the renaming spiel01:32
*** dobee has quit IRC01:32
skeeterI thought about that, but then if there is already something with that name, there would be a conflict and the field value would be out of sync or invalid.01:32
srichterwell, your subscriber can raise an error01:33
srichteralso note that you can easily have a constraint/invariant, since the name of the object is sotred in __name__01:34
srichterso there are severla possibilities to handle this problem01:34
skeeterhmm. I'll need to think about __name__. I just can't change __name__ without getting the container to know about the change and aprove it.01:35
srichterright, you still need the subscriber01:35
srichterI would have the subscriber handle it all01:35
skeeterIf I could get the constraint to call the container's checkName, that would work.01:35
skeeterbut constraints don't know about objects and parents. they only take a value to check... I think....01:36
skeeterI always thought subscribers dealt with things after they happened. I want to not let the field get changed if the new value is already in use as a name.01:37
skeeterIt's very much like a constraint, but it needs to be container aware.01:38
skeeterMaybe I'm missing something, but this seems more complicated than it should be.01:38
srichterthe event should be an object event01:39
srichterand you get the container using zapi.getParent(event.object)01:39
srichterthen you have all the objects you need01:39
srichterevents can happen at any time you want them to happen01:40
skeeterhmm... ok, I'll think about it more. Thanks for the info.01:41
*** yota has quit IRC01:50
*** philiKON has joined #zope3-dev01:58
*** tarek has quit IRC02:02
*** dunny has left #zope3-dev02:18
*** dunny has joined #zope3-dev02:38
*** philiKON has quit IRC02:46
*** zbir has joined #zope3-dev02:52
*** mcdonc has joined #zope3-dev03:25
*** stub has joined #zope3-dev03:32
*** alga has quit IRC04:03
*** jinty has quit IRC04:04
*** kamalgill is now known as kamalgill-away04:05
*** kamalgill-away has quit IRC04:07
*** mcdonc has quit IRC04:16
*** trevorp-office has quit IRC04:29
*** wrobel has quit IRC04:56
*** stu1 has joined #zope3-dev05:14
*** stu1 has quit IRC05:16
*** stub has quit IRC05:19
*** stub has joined #zope3-dev05:19
*** natea has quit IRC05:22
*** natea has joined #zope3-dev05:23
*** stub has joined #zope3-dev05:38
*** trevorp-office has joined #zope3-dev05:38
*** SteveA has quit IRC05:49
*** xenru has joined #zope3-dev06:02
*** MiUlEr has joined #zope3-dev06:21
*** kamalgil1 has joined #zope3-dev06:54
*** whit has quit IRC07:05
*** kamalgil1 is now known as kamalgill07:22
*** MiUlEr has quit IRC07:46
einshi all08:05
*** hazmat is now known as haz-crash08:07
*** haz-crash has left #zope3-dev08:07
*** zagy has joined #zope3-dev08:22
*** newpers has quit IRC08:34
*** zagy has quit IRC08:44
*** dobee has joined #zope3-dev08:54
*** dunny has quit IRC09:07
*** zagy_ has joined #zope3-dev09:18
*** dunny has joined #zope3-dev09:25
*** kamalgil1 has joined #zope3-dev09:26
*** kamalgill has quit IRC09:33
*** kamalgil1 has left #zope3-dev09:33
*** romanofski has joined #zope3-dev09:36
romanofskimoin09:38
*** yota has joined #zope3-dev09:39
*** MJ has quit IRC09:54
*** j-w has joined #zope3-dev10:00
*** tarek has joined #zope3-dev10:10
einshi romanofski10:22
romanofskihey eins :)10:24
*** srichter has quit IRC10:46
*** russf has quit IRC10:48
*** russf has joined #zope3-dev10:53
*** srichter has joined #zope3-dev10:58
*** qk has joined #zope3-dev11:23
qkhi.11:23
qkwhen i have instaled zope.interfaces, zope.testbrowser isn't working :(11:23
qkhttp://deadbeefbabe.org/paste/297211:24
*** tonico has quit IRC11:24
*** MJ has joined #zope3-dev11:25
*** MJ has joined #zope3-dev11:26
*** agroszer has joined #zope3-dev11:27
*** srichter has quit IRC11:29
*** sashav has joined #zope3-dev11:30
*** d2m has quit IRC11:39
*** slinkP has left #zope3-dev11:46
*** dlk has joined #zope3-dev11:57
qkhmm.. workaround for it is force testbrowser to use dummymodules.interfaces insted zope.interfaces.12:01
qkMaybe it is kind of incompability and testbroeser works only with some zope.interfaces versions?12:02
*** anguenot has quit IRC12:05
*** philiKON has joined #zope3-dev12:16
*** dunny has quit IRC12:17
*** danfairs has joined #zope3-dev12:39
*** mgedmin has joined #zope3-dev12:47
*** Aiste has quit IRC12:47
*** faassen has joined #zope3-dev12:47
*** rockyburt has joined #zope3-dev12:52
*** agroszer has quit IRC13:00
*** alga has joined #zope3-dev13:02
*** _anguenot has joined #zope3-dev13:04
*** MrTopf has joined #zope3-dev13:07
*** d2m has joined #zope3-dev13:13
*** Aiste has joined #zope3-dev13:27
*** juan_lago has joined #zope3-dev13:30
*** rockybur1 has joined #zope3-dev13:40
*** srichter has joined #zope3-dev13:47
*** rockyburt has quit IRC13:49
*** rockybur1 is now known as rockyburt13:49
*** juan_lago has quit IRC13:53
*** _root has joined #zope3-dev13:55
*** _root has quit IRC13:58
*** _root has joined #zope3-dev13:59
*** _root has quit IRC14:01
*** _root has joined #zope3-dev14:02
*** _root has quit IRC14:03
*** _root has joined #zope3-dev14:04
*** _root has quit IRC14:07
*** JiVo has joined #zope3-dev14:07
*** mkerrin has joined #zope3-dev14:09
*** ChanServ sets mode: +o srichter14:17
*** tonico has joined #zope3-dev14:31
*** benji has quit IRC14:46
*** agroszer has joined #zope3-dev15:03
*** alga has quit IRC15:07
*** benji has joined #zope3-dev15:40
*** alga has joined #zope3-dev16:01
*** zagy_ has quit IRC16:03
*** efge has joined #zope3-dev16:08
*** zagy has joined #zope3-dev16:10
*** ruda_porto has joined #zope3-dev16:30
*** zagy has quit IRC16:36
*** wrobel has joined #zope3-dev16:43
*** romanofski is now known as rom|aw16:47
*** jhauser has joined #zope3-dev16:47
*** sawdog has joined #zope3-dev16:49
*** vlado has joined #zope3-dev16:49
*** zagy has joined #zope3-dev17:02
*** dlk has quit IRC17:02
*** whit has joined #zope3-dev17:06
*** JiVo has quit IRC17:12
*** jukart has joined #zope3-dev17:28
*** MJ has quit IRC17:29
*** jukart has left #zope3-dev17:30
*** J1m has joined #zope3-dev17:31
*** J1m has left #zope3-dev17:37
*** eins has quit IRC17:43
*** russf has quit IRC17:44
*** rom|aw is now known as romanofski17:50
*** vlado has quit IRC17:50
*** russf has joined #zope3-dev17:50
*** __mac__ has joined #zope3-dev18:01
*** sashav has quit IRC18:04
*** MJ has joined #zope3-dev18:09
__mac__hi, is there a reason formlib uses "zope.formlib" as translation domain instead of "zope"?18:14
philiKONgood question...18:15
__mac__translation of messages only works when it is set to zope18:15
__mac__maybe it is because formlib's messages are translated in zope.po18:16
__mac__... I don't know ... just a guess18:16
benji__mac__, I don't know if there is a larger reason, but zope.formlib evolved from zc.form (never publicly released) and I'm sure it had its own translation domain, so it might just be a transliteration of that18:17
philiKONi actually think that most zope.* libraries shoudl have their own translation domain18:18
philiKONbecause some of them can be used independently18:19
philiKONnot entirely sure aobut zope.formlib18:19
benjiyep, I think so too18:19
philiKONeither way, the current extractor tool can't figure out the domain of python based message ids18:19
philiKONthat's why all of them end up in zope.pot18:19
__mac__should I file a bug into the collector?18:24
*** srichter has quit IRC18:27
philiKON__mac__, good idea18:29
*** tiredbones has left #zope3-dev18:32
*** tiredbones has joined #zope3-dev18:33
__mac__philiKON, done18:36
philiKONthanks18:36
__mac__np18:36
*** skeeter has quit IRC18:46
*** dobee has quit IRC18:57
*** romanofski is now known as rom|aw19:21
*** stub has quit IRC19:25
*** agroszer has quit IRC19:28
*** russf has quit IRC19:29
*** skeeter has joined #zope3-dev19:30
*** natea has quit IRC19:35
*** natea has joined #zope3-dev19:36
*** rockyburt has quit IRC19:37
*** dunny has joined #zope3-dev19:51
*** rockyburt has joined #zope3-dev19:53
*** dobee has joined #zope3-dev19:54
*** dobee_ has joined #zope3-dev20:11
*** deo has joined #zope3-dev20:11
*** dobee has quit IRC20:18
*** sawdog has left #zope3-dev20:24
*** ruda_porto has quit IRC20:26
*** jinty has joined #zope3-dev20:28
*** j-w has quit IRC20:28
*** Aiste has quit IRC20:29
*** sashav has joined #zope3-dev20:30
*** faassen has quit IRC20:41
tiredbonesCan anyone tell me how to get the code for the zope3 book that's online.20:44
*** gumpa has joined #zope3-dev20:45
d2mtiredbones: i think its over gere http://svn.zope.org/book/trunk/20:48
*** Aiste has joined #zope3-dev20:52
*** dobee has joined #zope3-dev20:53
*** dobee_ has quit IRC20:53
tiredbonesd2m, thanks  -  I found that one but you have to download them separately. Do you know of a zip file?20:54
d2mtiredbones: you could use a SVN client20:54
tiredbonesd2m, ok20:55
d2mtiredbones: SVN checkout instructions are here http://www.zope.org/DevHome/Subversion/ReadOnlyAccess20:56
tiredbonesd2m, I got a 301, it moved. Do you have any idea where it moved to?21:03
d2mtiredbones: a 301 on which URL ?21:03
tiredbonesd2m,  http://svn.zope.org/book/trunk/21:04
d2mtiredbones: in your SVN browser its likely svn://svn.zope.org/repos/main/book/trunk21:06
*** zagy has quit IRC21:06
tiredbonesd2m, ok - i got it, thanks21:07
d2mnp21:07
*** dobee_ has joined #zope3-dev21:15
*** mkerrin has quit IRC21:17
*** dobee has quit IRC21:18
*** |den_RDC| has joined #zope3-dev21:27
|den_RDC|i am planning to use zope.interfaces (only the interfaces )in one of my apps - i read a bit about it, and it seems pretty clear how it works - the only thing i don't get is how one should find classes the implement a certain object (is there a mechanism provided to do that ?)21:28
|den_RDC|i'll give an example21:28
*** russf has joined #zope3-dev21:29
|den_RDC|i've got a program that needs to control a dns server, but not all installations will use the same dnsserver (backend) ... so i'll write an interface that defines what the program can do with dns records & such, and i'll write one class per backend that implemnts the interface21:29
efge|den_RDC|: you need some kind of registry. the interfaces by themselves don't do that21:30
|den_RDC|is there a "builtin" way in zope.interfaces that let's me query which classes implement a certain interface , or do i have to keep track of that myzelf?21:30
efgehowever zope.component's adapters are designed to do that21:30
*** kamalgill has joined #zope3-dev21:31
*** fcorrea has joined #zope3-dev21:31
efgehm strike that, adapters are also in zope.interface21:31
efgeanyway21:31
|den_RDC|i'll have a look at components then, thx21:32
*** vinsci has quit IRC21:41
*** dobee_ has quit IRC21:41
*** agroszer has joined #zope3-dev21:44
*** agroszer has quit IRC21:47
*** danfairs has quit IRC21:50
*** efge has quit IRC22:05
*** _anguenot has quit IRC22:31
*** dunny_ has joined #zope3-dev22:37
*** dunny has quit IRC22:37
*** alga has quit IRC22:52
*** mgedmin has quit IRC22:57
*** rockyburt is now known as rockyburt|hockey23:03
*** srichter has joined #zope3-dev23:16
*** natea has quit IRC23:20
*** natea has joined #zope3-dev23:21
*** philiKON has quit IRC23:30
*** jinty has quit IRC23:34
*** jinty has joined #zope3-dev23:38

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!