*** ktwilight has joined #zope3-dev | 00:04 | |
*** dlk has quit IRC | 00:14 | |
*** ktwilight_ has quit IRC | 00:18 | |
noZoper | hi, 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 IRC | 00:25 | |
*** MiUlEr has joined #zope3-dev | 00:27 | |
*** MiUlEr has quit IRC | 00:37 | |
*** dobee has quit IRC | 00:37 | |
*** schwendinger has joined #zope3-dev | 00:38 | |
*** benji has quit IRC | 00:38 | |
*** natea is now known as natea|away | 00:50 | |
*** dobee has joined #zope3-dev | 00:51 | |
*** jinty has quit IRC | 00:51 | |
*** alga has joined #zope3-dev | 00:52 | |
*** timte has quit IRC | 01:01 | |
*** dunny has joined #zope3-dev | 01:04 | |
*** WebMaven has quit IRC | 01:12 | |
*** schwendinger has quit IRC | 01:15 | |
*** harobed has quit IRC | 01:20 | |
*** rmarianski has quit IRC | 01:24 | |
*** wreutz_ has quit IRC | 01:26 | |
*** J1m_ has quit IRC | 01:29 | |
*** alga has quit IRC | 01:31 | |
*** ignas has quit IRC | 02:08 | |
*** dobee has quit IRC | 02:23 | |
*** BjornT has quit IRC | 02:41 | |
*** BjornT has joined #zope3-dev | 02:41 | |
*** jelkner has joined #zope3-dev | 02:47 | |
*** jelkner has left #zope3-dev | 02:47 | |
*** jelkner has quit IRC | 02:48 | |
*** philiKON_ has joined #zope3-dev | 02:59 | |
*** philiKON has quit IRC | 03:06 | |
*** mrevoir has joined #zope3-dev | 03:24 | |
*** jkakar has quit IRC | 03:25 | |
*** niemeyer has quit IRC | 03:34 | |
*** wrobel has quit IRC | 03:43 | |
*** yota has quit IRC | 03:43 | |
*** whit has quit IRC | 04:06 | |
*** whit has joined #zope3-dev | 04:11 | |
*** RaFromBRC has quit IRC | 04:18 | |
*** baijum has joined #zope3-dev | 04:42 | |
*** philiKON_ has quit IRC | 04:54 | |
* baijum added Zope 3 to ohloh: http://www.ohloh.net/projects/4495 | 05:13 | |
* baijum hmm... 1558 files still ZPL 2.0 | 05:16 | |
*** stub has joined #zope3-dev | 05:30 | |
*** alecm has joined #zope3-dev | 05:42 | |
*** dunny has quit IRC | 05:58 | |
*** shiny has joined #zope3-dev | 06:37 | |
*** alecm has quit IRC | 06:54 | |
*** Bhaskar has joined #zope3-dev | 06:55 | |
*** alecm has joined #zope3-dev | 07:39 | |
*** pghoratiu has joined #zope3-dev | 07:57 | |
*** MacYET_ has joined #zope3-dev | 08:05 | |
*** MacYET_ has left #zope3-dev | 08:05 | |
*** alecm has quit IRC | 08:35 | |
*** alecm has joined #zope3-dev | 08:36 | |
*** yvl has joined #zope3-dev | 08:42 | |
*** natea|away has quit IRC | 08:56 | |
*** alecm has quit IRC | 08:58 | |
*** naro has joined #zope3-dev | 09:05 | |
*** yvl has quit IRC | 09:07 | |
*** Bhaskar has quit IRC | 09:10 | |
*** MIkeB has joined #zope3-dev | 09:16 | |
*** wrobel has joined #zope3-dev | 09:24 | |
romanofski | morjens | 09:25 |
*** romanofs1i has joined #zope3-dev | 09:42 | |
*** romanofski has quit IRC | 09:42 | |
*** romanofs1i is now known as romanofski | 09:46 | |
*** schwendinger has joined #zope3-dev | 09:51 | |
*** dlk has joined #zope3-dev | 09:54 | |
*** yvl has joined #zope3-dev | 09:57 | |
*** projekt01 has joined #zope3-dev | 09:59 | |
*** wreutz has joined #zope3-dev | 10:00 | |
*** opetznick has joined #zope3-dev | 10:08 | |
*** projekt01 has quit IRC | 10:09 | |
*** jukart has joined #zope3-dev | 10:10 | |
*** Aiste has joined #zope3-dev | 10:14 | |
*** dobee has joined #zope3-dev | 10:18 | |
*** faassen has joined #zope3-dev | 10:24 | |
*** alga has joined #zope3-dev | 10:37 | |
*** pelle_ has joined #zope3-dev | 10:38 | |
*** kobold has joined #zope3-dev | 10:44 | |
*** dunny has joined #zope3-dev | 10:54 | |
*** schwendinger has quit IRC | 11:00 | |
*** andrew_m has quit IRC | 11:03 | |
*** andrew_m has joined #zope3-dev | 11:03 | |
*** lzdych has joined #zope3-dev | 11:03 | |
*** tonico|away is now known as tonico | 11:13 | |
*** jodok has joined #zope3-dev | 11:16 | |
*** afd__ has joined #zope3-dev | 11:18 | |
*** henri_ has joined #zope3-dev | 11:20 | |
*** svenn has joined #zope3-dev | 11:24 | |
*** jodok has quit IRC | 11:29 | |
*** schwendinger has joined #zope3-dev | 11:29 | |
*** dunny has quit IRC | 11:31 | |
*** alga has quit IRC | 11:35 | |
*** jfroche_ has joined #zope3-dev | 11:36 | |
*** andrew_m has quit IRC | 11:39 | |
*** alga has joined #zope3-dev | 11:41 | |
*** andrew_m has joined #zope3-dev | 11:41 | |
*** opetznick has quit IRC | 11:42 | |
*** opetznick has joined #zope3-dev | 11:43 | |
*** stub has quit IRC | 11:44 | |
*** jfroche has quit IRC | 11:44 | |
*** schwendinger has quit IRC | 11:47 | |
*** J1m has joined #zope3-dev | 11:54 | |
*** deo has joined #zope3-dev | 12:02 | |
* baijum just realized that zope.testing is a dependency for zope.component because it's used in zope.component.globalregistry | 12: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/6953 | 12:15 | |
baijum | s/code is/code | 12:16 |
*** schwendinger has joined #zope3-dev | 12:17 | |
*** opetznick has quit IRC | 12:27 | |
*** opetznick has joined #zope3-dev | 12:31 | |
*** alga has quit IRC | 12:37 | |
*** philiKON has joined #zope3-dev | 12:38 | |
*** opetznick has quit IRC | 12:51 | |
*** opetznick has joined #zope3-dev | 12:53 | |
*** baijum has quit IRC | 13:05 | |
*** baijum has joined #zope3-dev | 13:06 | |
*** opetznick has quit IRC | 13:06 | |
*** opetznick has joined #zope3-dev | 13:24 | |
*** dobee has quit IRC | 13:41 | |
*** rocky|away is now known as rock1 | 14:06 | |
*** rock1 is now known as rocky | 14:07 | |
*** ignas has joined #zope3-dev | 14:08 | |
*** stub has joined #zope3-dev | 14:13 | |
*** alga has joined #zope3-dev | 14:15 | |
*** dobee has joined #zope3-dev | 14:24 | |
*** mrevoir has quit IRC | 14:33 | |
*** dobee has quit IRC | 14:37 | |
*** dlk has left #zope3-dev | 14:39 | |
*** dobee has joined #zope3-dev | 14:41 | |
*** jinty has joined #zope3-dev | 14:48 | |
*** Jell-O-Fishi has joined #zope3-dev | 14:56 | |
Jell-O-Fishi | question about zc.resourcelibrary : in publication.py, line 106 body.replace... shouldn't maxsplit be set to 1 ? | 14:57 |
Jell-O-Fishi | i 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-dev | 14:59 | |
*** sorindregan has joined #zope3-dev | 15:01 | |
*** baijum has quit IRC | 15:15 | |
*** natea has joined #zope3-dev | 15:17 | |
*** benji has joined #zope3-dev | 15:18 | |
*** shiny has quit IRC | 15:18 | |
*** jodok has joined #zope3-dev | 15:21 | |
*** philiKON has quit IRC | 15:27 | |
*** mgedmin has joined #zope3-dev | 15:31 | |
*** jodok has quit IRC | 15:39 | |
*** jhauser has joined #zope3-dev | 15:48 | |
*** softdevr has joined #zope3-dev | 16:02 | |
*** stub has quit IRC | 16:11 | |
*** henri_ has quit IRC | 16:14 | |
*** jkakar has joined #zope3-dev | 16:20 | |
*** niemeyer has joined #zope3-dev | 16:21 | |
*** henri_ has joined #zope3-dev | 16:25 | |
*** pelle_ has quit IRC | 16:27 | |
*** rmarianski has joined #zope3-dev | 17:01 | |
*** deo has quit IRC | 17:01 | |
*** sorindregan has quit IRC | 17:05 | |
*** pghoratiu has quit IRC | 17:05 | |
*** kobold has quit IRC | 17:23 | |
*** philiKON has joined #zope3-dev | 17:37 | |
*** philiKON has quit IRC | 17:47 | |
*** philiKON has joined #zope3-dev | 18:00 | |
*** faassen has left #zope3-dev | 18:02 | |
*** jukart has quit IRC | 18:02 | |
*** philiKON has quit IRC | 18:04 | |
*** philiKON has joined #zope3-dev | 18:05 | |
*** jikanter has joined #zope3-dev | 18:09 | |
*** dobee has quit IRC | 18:14 | |
softdevr | hi, I'm finding the interfaces concerning the IntIds utility a little confusing. Is anyone here free to discuss its details? | 18:15 |
philiKON | just ask a question | 18:16 |
benji | softdevr: 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 respond | 18:16 |
philiKON | if people are around to discuss, they will | 18:16 |
philiKON | yeah, what benji says :) | 18:16 |
philiKON | this 3G connection has quite a lag... :/ | 18:17 |
*** whitmo has joined #zope3-dev | 18:20 | |
*** whit has quit IRC | 18:20 | |
softdevr | well 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 |
softdevr | you 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-dev | 18:25 | |
softdevr | I wanted to clarify the collaboration between these iterfaces because they are not clear to me | 18:26 |
philiKON | softdevr: well, the key is to write a custom KeyReference adapter then | 18:26 |
philiKON | softdevr: do you have my book? | 18:26 |
softdevr | philiKON: 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 IRC | 18:30 | |
softdevr | By writing a custom KeyReference adapter I have to write the id generation functionality myself then? | 18:30 |
philiKON | i don't understand the "it will hurt me to pay for a book" part | 18:32 |
philiKON | but yes, i devote a whole chapter to the catalog and its machinery, including the intid utility | 18:32 |
philiKON | this chapter explains in detail how this system works, incl. key references | 18:32 |
philiKON | all i can say is that i wrote the book to answer such questions | 18:32 |
philiKON | it's up to you to buy it or not :) | 18:32 |
*** yvl has left #zope3-dev | 18:33 | |
softdevr | well 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 |
softdevr | but 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 IRC | 18:42 | |
*** natea is now known as natea|away | 18:43 | |
*** MIkeB has quit IRC | 18:43 | |
*** henri_ has quit IRC | 18:45 | |
softdevr | I'd be grateful if anyone else could point me in the right direction regarding IntIds if possible | 18:52 |
*** wreutz has quit IRC | 18:53 | |
*** nathany has joined #zope3-dev | 19:09 | |
*** natea|away has quit IRC | 19:11 | |
*** ignas has quit IRC | 19:16 | |
*** whitmo is now known as whit | 19:18 | |
*** jikanter has quit IRC | 19:28 | |
*** natea has joined #zope3-dev | 19:30 | |
*** alecm has joined #zope3-dev | 19:31 | |
*** wreutz has joined #zope3-dev | 19:33 | |
*** philiKON has joined #zope3-dev | 19:38 | |
*** cbcunc is now known as cbcunc_bbq | 19:38 | |
*** pelle_ has joined #zope3-dev | 19:39 | |
*** opetznick has quit IRC | 19:41 | |
*** schwendinger has quit IRC | 19:41 | |
*** ofer has joined #zope3-dev | 19:42 | |
*** wreutz_ has joined #zope3-dev | 19:43 | |
*** timte has joined #zope3-dev | 19:43 | |
*** reco has joined #zope3-dev | 19:48 | |
*** jhauser has quit IRC | 19:53 | |
*** ofer has quit IRC | 19:53 | |
*** tonico is now known as tonico|away | 19:57 | |
*** philiKON has quit IRC | 19:58 | |
*** pelle_ has quit IRC | 19:59 | |
*** jukart has joined #zope3-dev | 20:08 | |
*** J1m has joined #zope3-dev | 20:09 | |
*** jfroche_ has quit IRC | 20:09 | |
*** nathany has quit IRC | 20:10 | |
*** andrew_m has quit IRC | 20:17 | |
*** opetznick has joined #zope3-dev | 20:19 | |
*** jukart has quit IRC | 20:20 | |
*** ignas has joined #zope3-dev | 20:21 | |
*** schwendinger has joined #zope3-dev | 20:31 | |
*** schwendinger has quit IRC | 20:34 | |
*** sureshvv has joined #zope3-dev | 20:41 | |
*** opetznick has quit IRC | 20:45 | |
softdevr | I 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 IRC | 20:46 | |
*** ignas has joined #zope3-dev | 20:46 | |
*** wreutz__ has joined #zope3-dev | 20:49 | |
mgedmin | softdevr: you need to attach your objects to the containment hierarchy | 20:50 |
mgedmin | i.e. following the __parent__ pointers needs to end up with an object that is stored in the ZODB | 20:50 |
*** jukart has joined #zope3-dev | 20:50 | |
softdevr | mgedmin: The object isn't stored in the DB at that point, that is why I'm using an adapter to IConnection | 20:52 |
mgedmin | the object itself does not need to be stored, but it's parent (or grandparent, etc.) needs to be | 20:53 |
mgedmin | otherwise the IConnection adapter is unable to find the DB connection | 20:53 |
*** jodok has joined #zope3-dev | 20:54 | |
mgedmin | I'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-dev | 20:56 | |
*** deo has joined #zope3-dev | 20:57 | |
*** wreutz_ has quit IRC | 20:59 | |
softdevr | mgedmin: 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 |
mgedmin | the typical pattern is to register objects in a IObjectAddedEvent subscriber | 21:02 |
softdevr | mgedmin: much appreciated | 21:07 |
*** dunny has joined #zope3-dev | 21:11 | |
*** niemeyer has quit IRC | 21:12 | |
*** jkakar has quit IRC | 21:12 | |
*** opetznick has joined #zope3-dev | 21:20 | |
*** schwendinger has quit IRC | 21:27 | |
*** schwendinger has joined #zope3-dev | 21:28 | |
*** softdevr has quit IRC | 21:30 | |
*** jodok_ has joined #zope3-dev | 21:31 | |
*** dobee has quit IRC | 21:38 | |
*** pelle_ has joined #zope3-dev | 21:38 | |
*** jodok has quit IRC | 21:38 | |
*** pelle_ has quit IRC | 21:39 | |
*** jodok has joined #zope3-dev | 21:40 | |
jukart | jodok: http://www.techcrunch.com/2007/02/20/ireader-uses-semantic-analysis-to-summarize-linked-pages/ | 21:45 |
*** sureshvv has quit IRC | 21:46 | |
*** jkakar has joined #zope3-dev | 21:47 | |
*** kobold has joined #zope3-dev | 21:49 | |
*** jodok_ has quit IRC | 21:51 | |
*** niemeyer has joined #zope3-dev | 21:51 | |
*** jodok has quit IRC | 21:52 | |
*** cbcunc_bbq is now known as cbcunc | 21:58 | |
*** jinty has quit IRC | 22:06 | |
*** jukart has quit IRC | 22:08 | |
*** philiKON has joined #zope3-dev | 22:24 | |
*** whit has quit IRC | 22:25 | |
*** yota has joined #zope3-dev | 22:25 | |
*** afd__ has quit IRC | 22:25 | |
*** alga has quit IRC | 22:26 | |
*** mgedmin has quit IRC | 22:33 | |
*** natea is now known as natea|away | 22:33 | |
*** whit has joined #zope3-dev | 22:35 | |
*** jinty has joined #zope3-dev | 22:40 | |
*** opetznick has quit IRC | 23:05 | |
*** alecm has quit IRC | 23:07 | |
*** whitmo has joined #zope3-dev | 23:09 | |
*** whit has quit IRC | 23:09 | |
*** jukart has joined #zope3-dev | 23:09 | |
*** whitmo is now known as whit | 23:11 | |
*** andrew_m has joined #zope3-dev | 23:17 | |
*** J1m has quit IRC | 23:18 | |
*** alecm has joined #zope3-dev | 23:18 | |
*** whit has quit IRC | 23:23 | |
*** whit has joined #zope3-dev | 23:31 | |
*** natea has joined #zope3-dev | 23:33 | |
*** natea|away has quit IRC | 23:41 | |
*** wreutz__ is now known as wreutz | 23:43 | |
*** alecm has quit IRC | 23:44 | |
*** lzdych has quit IRC | 23:49 | |
*** jukart has quit IRC | 23:53 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!