IRC log of #zope3-dev for Wednesday, 2007-02-21

*** ktwilight has joined #zope3-dev00:04
*** dlk has quit IRC00:14
*** ktwilight_ has quit IRC00:18
noZoperhi, can someone clarify please.  The apidoc book states that components should be registered within a site management folder, but I've created and registered a component in the content view of ZMI and it works.  Is there a problem doing it this way?00:21
*** noZoper has quit IRC00:25
*** MiUlEr has joined #zope3-dev00:27
*** MiUlEr has quit IRC00:37
*** dobee has quit IRC00:37
*** schwendinger has joined #zope3-dev00:38
*** benji has quit IRC00:38
*** natea is now known as natea|away00:50
*** dobee has joined #zope3-dev00:51
*** jinty has quit IRC00:51
*** alga has joined #zope3-dev00:52
*** timte has quit IRC01:01
*** dunny has joined #zope3-dev01:04
*** WebMaven has quit IRC01:12
*** schwendinger has quit IRC01:15
*** harobed has quit IRC01:20
*** rmarianski has quit IRC01:24
*** wreutz_ has quit IRC01:26
*** J1m_ has quit IRC01:29
*** alga has quit IRC01:31
*** ignas has quit IRC02:08
*** dobee has quit IRC02:23
*** BjornT has quit IRC02:41
*** BjornT has joined #zope3-dev02:41
*** jelkner has joined #zope3-dev02:47
*** jelkner has left #zope3-dev02:47
*** jelkner has quit IRC02:48
*** philiKON_ has joined #zope3-dev02:59
*** philiKON has quit IRC03:06
*** mrevoir has joined #zope3-dev03:24
*** jkakar has quit IRC03:25
*** niemeyer has quit IRC03:34
*** wrobel has quit IRC03:43
*** yota has quit IRC03:43
*** whit has quit IRC04:06
*** whit has joined #zope3-dev04:11
*** RaFromBRC has quit IRC04:18
*** baijum has joined #zope3-dev04:42
*** philiKON_ has quit IRC04:54
* baijum added Zope 3 to ohloh: http://www.ohloh.net/projects/449505:13
* baijum hmm... 1558 files still ZPL 2.0 05:16
*** stub has joined #zope3-dev05:30
*** alecm has joined #zope3-dev05:42
*** dunny has quit IRC05:58
*** shiny has joined #zope3-dev06:37
*** alecm has quit IRC06:54
*** Bhaskar has joined #zope3-dev06:55
*** alecm has joined #zope3-dev07:39
*** pghoratiu has joined #zope3-dev07:57
*** MacYET_ has joined #zope3-dev08:05
*** MacYET_ has left #zope3-dev08:05
*** alecm has quit IRC08:35
*** alecm has joined #zope3-dev08:36
*** yvl has joined #zope3-dev08:42
*** natea|away has quit IRC08:56
*** alecm has quit IRC08:58
*** naro has joined #zope3-dev09:05
*** yvl has quit IRC09:07
*** Bhaskar has quit IRC09:10
*** MIkeB has joined #zope3-dev09:16
*** wrobel has joined #zope3-dev09:24
romanofskimorjens09:25
*** romanofs1i has joined #zope3-dev09:42
*** romanofski has quit IRC09:42
*** romanofs1i is now known as romanofski09:46
*** schwendinger has joined #zope3-dev09:51
*** dlk has joined #zope3-dev09:54
*** yvl has joined #zope3-dev09:57
*** projekt01 has joined #zope3-dev09:59
*** wreutz has joined #zope3-dev10:00
*** opetznick has joined #zope3-dev10:08
*** projekt01 has quit IRC10:09
*** jukart has joined #zope3-dev10:10
*** Aiste has joined #zope3-dev10:14
*** dobee has joined #zope3-dev10:18
*** faassen has joined #zope3-dev10:24
*** alga has joined #zope3-dev10:37
*** pelle_ has joined #zope3-dev10:38
*** kobold has joined #zope3-dev10:44
*** dunny has joined #zope3-dev10:54
*** schwendinger has quit IRC11:00
*** andrew_m has quit IRC11:03
*** andrew_m has joined #zope3-dev11:03
*** lzdych has joined #zope3-dev11:03
*** tonico|away is now known as tonico11:13
*** jodok has joined #zope3-dev11:16
*** afd__ has joined #zope3-dev11:18
*** henri_ has joined #zope3-dev11:20
*** svenn has joined #zope3-dev11:24
*** jodok has quit IRC11:29
*** schwendinger has joined #zope3-dev11:29
*** dunny has quit IRC11:31
*** alga has quit IRC11:35
*** jfroche_ has joined #zope3-dev11:36
*** andrew_m has quit IRC11:39
*** alga has joined #zope3-dev11:41
*** andrew_m has joined #zope3-dev11:41
*** opetznick has quit IRC11:42
*** opetznick has joined #zope3-dev11:43
*** stub has quit IRC11:44
*** jfroche has quit IRC11:44
*** schwendinger has quit IRC11:47
*** J1m has joined #zope3-dev11:54
*** deo has joined #zope3-dev12:02
* baijum just realized that zope.testing is a dependency for zope.component because it's used in zope.component.globalregistry12:13
* baijum since that code is only works when running tests, I wonder that we can make it optional like this: http://zope3.pastey.net/695312:15
baijums/code is/code12:16
*** schwendinger has joined #zope3-dev12:17
*** opetznick has quit IRC12:27
*** opetznick has joined #zope3-dev12:31
*** alga has quit IRC12:37
*** philiKON has joined #zope3-dev12:38
*** opetznick has quit IRC12:51
*** opetznick has joined #zope3-dev12:53
*** baijum has quit IRC13:05
*** baijum has joined #zope3-dev13:06
*** opetznick has quit IRC13:06
*** opetznick has joined #zope3-dev13:24
*** dobee has quit IRC13:41
*** rocky|away is now known as rock114:06
*** rock1 is now known as rocky14:07
*** ignas has joined #zope3-dev14:08
*** stub has joined #zope3-dev14:13
*** alga has joined #zope3-dev14:15
*** dobee has joined #zope3-dev14:24
*** mrevoir has quit IRC14:33
*** dobee has quit IRC14:37
*** dlk has left #zope3-dev14:39
*** dobee has joined #zope3-dev14:41
*** jinty has joined #zope3-dev14:48
*** Jell-O-Fishi has joined #zope3-dev14:56
Jell-O-Fishiquestion about zc.resourcelibrary :  in publication.py, line 106 body.replace... shouldn't maxsplit be set to 1 ?14:57
Jell-O-Fishii accidentally had a template with 2 <head>'s in it. i know that it's a good way to tell. just a random thought.14:59
*** Jell-O-Fishi has left #zope3-dev14:59
*** sorindregan has joined #zope3-dev15:01
*** baijum has quit IRC15:15
*** natea has joined #zope3-dev15:17
*** benji has joined #zope3-dev15:18
*** shiny has quit IRC15:18
*** jodok has joined #zope3-dev15:21
*** philiKON has quit IRC15:27
*** mgedmin has joined #zope3-dev15:31
*** jodok has quit IRC15:39
*** jhauser has joined #zope3-dev15:48
*** softdevr has joined #zope3-dev16:02
*** stub has quit IRC16:11
*** henri_ has quit IRC16:14
*** jkakar has joined #zope3-dev16:20
*** niemeyer has joined #zope3-dev16:21
*** henri_ has joined #zope3-dev16:25
*** pelle_ has quit IRC16:27
*** rmarianski has joined #zope3-dev17:01
*** deo has quit IRC17:01
*** sorindregan has quit IRC17:05
*** pghoratiu has quit IRC17:05
*** kobold has quit IRC17:23
*** philiKON has joined #zope3-dev17:37
*** philiKON has quit IRC17:47
*** philiKON has joined #zope3-dev18:00
*** faassen has left #zope3-dev18:02
*** jukart has quit IRC18:02
*** philiKON has quit IRC18:04
*** philiKON has joined #zope3-dev18:05
*** jikanter has joined #zope3-dev18:09
*** dobee has quit IRC18:14
softdevrhi, I'm finding the interfaces concerning the IntIds utility a little confusing.  Is anyone here free to discuss its details?18:15
philiKONjust ask a question18:16
benjisoftdevr: generally it's best to ask a question instead of asking to ask a question; ask away and if someone is free/knowlegeable/interested they will respond18:16
philiKONif people are around to discuss, they will18:16
philiKONyeah, what benji says :)18:16
philiKONthis 3G connection has quite a lag... :/18:17
*** whitmo has joined #zope3-dev18:20
*** whit has quit IRC18:20
softdevrwell I want to use the register method of the IIntIds interface to generate ids for objects I'm putting inside a container and so want an adapter from the contained object to IKeyReference. The class KeyReferenceToPersistent adapts a persistent object (my contained object isn't a persistent object).18:24
softdevryou might say well make the contained object a persistent object then, but I have an example online where the object being passed to IIntIds.register() isn't a persistent object either.18:25
*** dobee has joined #zope3-dev18:25
softdevrI wanted to clarify the collaboration between these iterfaces because they are not clear to me18:26
philiKONsoftdevr: well, the key is to write a custom KeyReference adapter then18:26
philiKONsoftdevr: do you have my book?18:26
softdevrphiliKON: no, it looks like I won't be able to avoid buying it either as much as it will hurt me to pay for a book.  I've seen that chapter 19 in the second edition covers it.18:28
*** zagy has quit IRC18:30
softdevrBy writing a custom KeyReference adapter I have to write the id generation functionality myself then?18:30
philiKONi don't understand the "it will hurt me to pay for a book" part18:32
philiKONbut yes, i devote a whole chapter to the catalog and its machinery, including the intid utility18:32
philiKONthis chapter explains in detail how this system works, incl. key references18:32
philiKONall i can say is that i wrote the book to answer such questions18:32
philiKONit's up to you to buy it or not :)18:32
*** yvl has left #zope3-dev18:33
softdevrwell if i can find a free alternative then I'm happier, but I think the time spent trying to piece online material isn't proving efficient so I will be ordering the book.18:36
softdevrbut could you tell me what scenario the KeyReferenceToPersistent class can be used then - I thought it was the container that is persistent not the contained object, so when is it useful?18:39
*** philiKON has quit IRC18:42
*** natea is now known as natea|away18:43
*** MIkeB has quit IRC18:43
*** henri_ has quit IRC18:45
softdevrI'd be grateful if anyone else could point me in the right direction regarding IntIds if possible18:52
*** wreutz has quit IRC18:53
*** nathany has joined #zope3-dev19:09
*** natea|away has quit IRC19:11
*** ignas has quit IRC19:16
*** whitmo is now known as whit19:18
*** jikanter has quit IRC19:28
*** natea has joined #zope3-dev19:30
*** alecm has joined #zope3-dev19:31
*** wreutz has joined #zope3-dev19:33
*** philiKON has joined #zope3-dev19:38
*** cbcunc is now known as cbcunc_bbq19:38
*** pelle_ has joined #zope3-dev19:39
*** opetznick has quit IRC19:41
*** schwendinger has quit IRC19:41
*** ofer has joined #zope3-dev19:42
*** wreutz_ has joined #zope3-dev19:43
*** timte has joined #zope3-dev19:43
*** reco has joined #zope3-dev19:48
*** jhauser has quit IRC19:53
*** ofer has quit IRC19:53
*** tonico is now known as tonico|away19:57
*** philiKON has quit IRC19:58
*** pelle_ has quit IRC19:59
*** jukart has joined #zope3-dev20:08
*** J1m has joined #zope3-dev20:09
*** jfroche_ has quit IRC20:09
*** nathany has quit IRC20:10
*** andrew_m has quit IRC20:17
*** opetznick has joined #zope3-dev20:19
*** jukart has quit IRC20:20
*** ignas has joined #zope3-dev20:21
*** schwendinger has joined #zope3-dev20:31
*** schwendinger has quit IRC20:34
*** sureshvv has joined #zope3-dev20:41
*** opetznick has quit IRC20:45
softdevrI now have persistent, contained objects.  The adapter for IConnection isn't being activated though, but this adapter is registered automatically in keyreference/configure.zcml.  Do I still need to do something manually for IntIds.register() to work? (I get a NotYet exception raised)20:46
*** ignas has quit IRC20:46
*** ignas has joined #zope3-dev20:46
*** wreutz__ has joined #zope3-dev20:49
mgedminsoftdevr: you need to attach your objects to the containment hierarchy20:50
mgedmini.e. following the __parent__ pointers needs to end up with an object that is stored in the ZODB20:50
*** jukart has joined #zope3-dev20:50
softdevrmgedmin: The object isn't stored in the DB at that point, that is why I'm using an adapter to IConnection20:52
mgedminthe object itself does not need to be stored, but it's parent (or grandparent, etc.) needs to be20:53
mgedminotherwise the IConnection adapter is unable to find the DB connection20:53
*** jodok has joined #zope3-dev20:54
mgedminI'm speaking from somewhat hazy memory, but I do remember the symptom (NotYet exceptions when calling intid.register) and the fix (add the object to some container before passing it to intids.register)20:54
*** schwendinger has joined #zope3-dev20:56
*** deo has joined #zope3-dev20:57
*** wreutz_ has quit IRC20:59
softdevrmgedmin: I'm writing an add form in which I give the contained object a unique id.  So it sounds like I'll need to overwrite the create and add methods in my custom FormAdd to do what you suggested?21:00
mgedminthe typical pattern is to register objects in a IObjectAddedEvent subscriber21:02
softdevrmgedmin: much appreciated21:07
*** dunny has joined #zope3-dev21:11
*** niemeyer has quit IRC21:12
*** jkakar has quit IRC21:12
*** opetznick has joined #zope3-dev21:20
*** schwendinger has quit IRC21:27
*** schwendinger has joined #zope3-dev21:28
*** softdevr has quit IRC21:30
*** jodok_ has joined #zope3-dev21:31
*** dobee has quit IRC21:38
*** pelle_ has joined #zope3-dev21:38
*** jodok has quit IRC21:38
*** pelle_ has quit IRC21:39
*** jodok has joined #zope3-dev21:40
jukartjodok: http://www.techcrunch.com/2007/02/20/ireader-uses-semantic-analysis-to-summarize-linked-pages/21:45
*** sureshvv has quit IRC21:46
*** jkakar has joined #zope3-dev21:47
*** kobold has joined #zope3-dev21:49
*** jodok_ has quit IRC21:51
*** niemeyer has joined #zope3-dev21:51
*** jodok has quit IRC21:52
*** cbcunc_bbq is now known as cbcunc21:58
*** jinty has quit IRC22:06
*** jukart has quit IRC22:08
*** philiKON has joined #zope3-dev22:24
*** whit has quit IRC22:25
*** yota has joined #zope3-dev22:25
*** afd__ has quit IRC22:25
*** alga has quit IRC22:26
*** mgedmin has quit IRC22:33
*** natea is now known as natea|away22:33
*** whit has joined #zope3-dev22:35
*** jinty has joined #zope3-dev22:40
*** opetznick has quit IRC23:05
*** alecm has quit IRC23:07
*** whitmo has joined #zope3-dev23:09
*** whit has quit IRC23:09
*** jukart has joined #zope3-dev23:09
*** whitmo is now known as whit23:11
*** andrew_m has joined #zope3-dev23:17
*** J1m has quit IRC23:18
*** alecm has joined #zope3-dev23:18
*** whit has quit IRC23:23
*** whit has joined #zope3-dev23:31
*** natea has joined #zope3-dev23:33
*** natea|away has quit IRC23:41
*** wreutz__ is now known as wreutz23:43
*** alecm has quit IRC23:44
*** lzdych has quit IRC23:49
*** jukart has quit IRC23:53

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