| *** RaFromBRC is now known as RaFromBRC|lunch | 00:01 | |
| *** whit has quit IRC | 00:01 | |
| *** whit has joined #zope3-dev | 00:01 | |
| *** mweichert has quit IRC | 00:06 | |
| *** nathany_is_eatin is now known as nathany | 00:11 | |
| *** whit has quit IRC | 00:30 | |
| *** whit has joined #zope3-dev | 00:30 | |
| *** amit_am has left #zope3-dev | 00:39 | |
| *** RaFromBRC|lunch is now known as RaFromBRC | 00:39 | |
| *** norro has quit IRC | 00:43 | |
| *** whitmo has joined #zope3-dev | 00:46 | |
| *** whit has quit IRC | 00:47 | |
| *** dobee has quit IRC | 00:50 | |
| *** dobee has joined #zope3-dev | 00:51 | |
| *** dobee has quit IRC | 00:51 | |
| *** harobed has quit IRC | 00:57 | |
| *** benji has quit IRC | 01:07 | |
| *** jodok has quit IRC | 01:08 | |
| *** d2m has quit IRC | 01:11 | |
| *** lucielejard has quit IRC | 01:16 | |
| *** mgedmin has joined #zope3-dev | 01:38 | |
| *** wambel has joined #zope3-dev | 01:38 | |
| *** alex_smith has quit IRC | 01:41 | |
| *** wambel has quit IRC | 01:45 | |
| *** djohnson has quit IRC | 01:51 | |
| *** jpcw2002 has left #zope3-dev | 01:52 | |
| *** SteveA has quit IRC | 01:55 | |
| *** malthe has joined #zope3-dev | 01:58 | |
| *** J1m has quit IRC | 01:58 | |
| *** SteveA has joined #zope3-dev | 01:58 | |
| *** alga has joined #zope3-dev | 01:59 | |
| *** rmarianski has quit IRC | 02:09 | |
| *** mgedmin has quit IRC | 02:09 | |
| *** alga has quit IRC | 02:10 | |
| *** nathany has quit IRC | 02:13 | |
| *** sp0cksbeard has joined #zope3-dev | 02:37 | |
| *** rcrafton has quit IRC | 02:54 | |
| *** reco has quit IRC | 03:13 | |
| *** dunny has quit IRC | 03:26 | |
| *** redir has joined #zope3-dev | 03:26 | |
| *** sp0cksbeard has quit IRC | 03:30 | |
| *** whitmo has quit IRC | 03:36 | |
| *** vimes656 has joined #zope3-dev | 03:59 | |
| *** rcrafton has joined #zope3-dev | 04:22 | |
| *** whitmo has joined #zope3-dev | 04:24 | |
| *** vimes656 has quit IRC | 04:24 | |
| *** sp0cksbeard has joined #zope3-dev | 04:25 | |
| *** RaFromBRC has quit IRC | 05:21 | |
| *** niemeyer has quit IRC | 05:34 | |
| *** pcardune has quit IRC | 05:48 | |
| *** pcardune__ has quit IRC | 05:49 | |
| *** whitmo has quit IRC | 05:57 | |
| *** greenman has quit IRC | 06:28 | |
| *** rcrafton has quit IRC | 06:28 | |
| *** sp0cksbeard has quit IRC | 06:56 | |
| *** afd_ has joined #zope3-dev | 07:24 | |
| *** santagada has quit IRC | 07:57 | |
| *** quodt has joined #zope3-dev | 08:07 | |
| *** jayaraj has joined #zope3-dev | 08:11 | |
| *** timte has joined #zope3-dev | 08:16 | |
| *** zagy has quit IRC | 08:17 | |
| *** timte_ has joined #zope3-dev | 08:17 | |
| *** baijum has joined #zope3-dev | 08:18 | |
| *** baijum has quit IRC | 08:18 | |
| *** baijum has joined #zope3-dev | 08:18 | |
| *** mcdonc has quit IRC | 08:21 | |
| *** afd_ has quit IRC | 08:22 | |
| *** mcdonc has joined #zope3-dev | 08:22 | |
| *** jpcw2002 has joined #zope3-dev | 08:30 | |
| *** timte has quit IRC | 08:33 | |
| *** dobee has joined #zope3-dev | 08:42 | |
| *** greenman has joined #zope3-dev | 08:46 | |
| *** jukart has joined #zope3-dev | 08:48 | |
| *** timte_ is now known as timte | 08:48 | |
| *** redir has quit IRC | 08:52 | |
| *** hexsprite has quit IRC | 08:56 | |
| *** d2m has joined #zope3-dev | 09:01 | |
| *** __mac__ has joined #zope3-dev | 09:10 | |
| *** afd_ has joined #zope3-dev | 09:13 | |
| *** __mac__ has quit IRC | 09:16 | |
| *** sorindregan has joined #zope3-dev | 09:17 | |
| *** philiKON_ has joined #zope3-dev | 09:18 | |
| *** jpcw2002 has quit IRC | 09:22 | |
| *** greenman has quit IRC | 09:23 | |
| *** sp0cksbeard has joined #zope3-dev | 09:25 | |
| *** sp0cksbeard has joined #zope3-dev | 09:25 | |
| *** __mac__ has joined #zope3-dev | 09:25 | |
| *** philiKON has quit IRC | 09:35 | |
| *** stub has joined #zope3-dev | 09:45 | |
| *** zagy has joined #zope3-dev | 09:54 | |
| *** jpcw2002 has joined #zope3-dev | 10:00 | |
| *** goschtl has joined #zope3-dev | 10:03 | |
| *** romanofski has joined #zope3-dev | 10:08 | |
| *** sp0cksbeard has quit IRC | 10:11 | |
| *** mcdonc has quit IRC | 10:25 | |
| *** sunew has joined #zope3-dev | 10:27 | |
| *** jodok has joined #zope3-dev | 10:28 | |
| *** tesdal has joined #zope3-dev | 10:32 | |
| jayaraj | can anybody tell me some resources to learn about the zope.cong format and syntax, especially <zodb> | 10:34 |
|---|---|---|
| *** bigkevmcd has quit IRC | 10:41 | |
| *** greenman has joined #zope3-dev | 10:42 | |
| *** bigkevmcd has joined #zope3-dev | 10:44 | |
| *** __mac__ has left #zope3-dev | 10:45 | |
| *** markusleist has joined #zope3-dev | 10:47 | |
| *** pyqwer has joined #zope3-dev | 10:48 | |
| pyqwer | srichter: ping | 10:48 |
| *** harobed has joined #zope3-dev | 10:48 | |
| *** tarek has joined #zope3-dev | 10:50 | |
| *** dunny has joined #zope3-dev | 10:55 | |
| *** __mac__ has joined #zope3-dev | 10:59 | |
| *** maurits has joined #zope3-dev | 11:01 | |
| *** norro has joined #zope3-dev | 11:13 | |
| jayaraj | hi friends, can any one point me where i can get zope.conf complete syntax. or just the <zodb> syntax | 11:19 |
| *** alecm has joined #zope3-dev | 11:20 | |
| *** agroszer has joined #zope3-dev | 11:20 | |
| *** sebnapi has joined #zope3-dev | 11:37 | |
| *** tarek has quit IRC | 11:41 | |
| *** mkerrin has joined #zope3-dev | 11:43 | |
| *** tarek has joined #zope3-dev | 11:46 | |
| *** jinty has joined #zope3-dev | 11:48 | |
| baijum | jayaraj, look at schema/schema.xml inside zope.app.appsetup egg | 11:49 |
| jayaraj | baijum, thanks ... lte me see... | 11:51 |
| baijum | jayaraj, I can see some other schemas by searching inside my egg directory : find /home/baiju/eggs/ -name schema.xml | 11:51 |
| baijum | np | 11:52 |
| *** afd_ has quit IRC | 11:57 | |
| *** jayaraj has quit IRC | 11:57 | |
| *** jayaraj has joined #zope3-dev | 11:57 | |
| *** malthe has quit IRC | 12:10 | |
| jayaraj | baijum, so the configuration is spread across the source archive... and i got what i was looking for from ...../ZODB/component.zcml. i mean about details about <zodb>. :) | 12:14 |
| jayaraj | sorry, component.xml | 12:15 |
| baijum | jayaraj, ah. ok, may be you can add this info to FAQ: http://wiki.zope.org/zope3/FAQProgramming | 12:17 |
| *** timte has quit IRC | 12:19 | |
| *** timte has joined #zope3-dev | 12:19 | |
| * baijum just added that question to FAQ | 12:28 | |
| *** dunny has quit IRC | 12:30 | |
| *** __mac__ has quit IRC | 12:32 | |
| *** __mac__ has joined #zope3-dev | 12:35 | |
| *** __mac__ has joined #zope3-dev | 12:36 | |
| *** regebro has joined #zope3-dev | 12:37 | |
| *** __mac__ has quit IRC | 12:37 | |
| *** __mac__ has joined #zope3-dev | 12:37 | |
| *** __mac__ has quit IRC | 12:39 | |
| *** __mac__ has joined #zope3-dev | 12:39 | |
| *** __mac__ has joined #zope3-dev | 12:40 | |
| *** projekt01 has joined #zope3-dev | 12:47 | |
| *** malthe has joined #zope3-dev | 12:48 | |
| *** __mac__ has quit IRC | 12:48 | |
| *** __mac__ has joined #zope3-dev | 12:52 | |
| *** __mac__ has quit IRC | 12:56 | |
| *** __mac__ has joined #zope3-dev | 12:56 | |
| *** __mac__ has quit IRC | 12:57 | |
| *** __mac__ has joined #zope3-dev | 12:57 | |
| *** __mac__ has quit IRC | 13:04 | |
| *** stub has quit IRC | 13:06 | |
| *** __mac__ has joined #zope3-dev | 13:07 | |
| pyqwer | Hi, I added a feature to the i18n.translationdomain translate() function, now it would be nice if someone could have a quick look and check it into the Zope3 SVN. Who is authorized to do such a thing? | 13:08 |
| philiKON_ | i suggest you file an issue on launchpad | 13:09 |
| philiKON_ | and attach the patch | 13:09 |
| philiKON_ | then you bring up the question on zope-dev@zope.org | 13:09 |
| philiKON_ | this is what the mailinglist is for :) | 13:09 |
| pyqwer | Ok, good idea. | 13:09 |
| *** timte has quit IRC | 13:10 | |
| pyqwer | philiKON_: With "issue", you mean a bug report? | 13:12 |
| philiKON_ | yup | 13:12 |
| pyqwer | ok. | 13:12 |
| *** bigkevmcd has quit IRC | 13:21 | |
| *** bigkevmcd has joined #zope3-dev | 13:22 | |
| *** timte has joined #zope3-dev | 13:29 | |
| philiKON_ | pyqwer: can't you attach a unified diff? | 13:32 |
| philiKON_ | in other words, the output of the 'svn diff' command | 13:32 |
| philiKON_ | that is much clearer than some comments in a piece of source code | 13:32 |
| *** alecm has quit IRC | 13:34 | |
| pyqwer | philiKON_: Ah, ok, I have the zope3 source only as tarball here, which do I need to checkout? Zope3/trunk ? | 13:37 |
| philiKON_ | no, zope.i18n | 13:37 |
| philiKON_ | even when you have the tarball you can make diffs | 13:38 |
| pyqwer | Ah, ok. ;-) | 13:38 |
| philiKON_ | using the diff command | 13:38 |
| pyqwer | Yes, but they may not be up to date. | 13:38 |
| philiKON_ | right | 13:38 |
| philiKON_ | also, you should have written tests | 13:38 |
| philiKON_ | and you want to make sure your additions don't break existing tests | 13:38 |
| philiKON_ | so you will definitely need to check out zope.i18n | 13:38 |
| pyqwer | philiKON_: Right. | 13:38 |
| *** jpcw2002 has quit IRC | 13:39 | |
| pyqwer | philiKON_: Hmmm, Is there a way to run all tests? I can do something like "python24 test_translationdomain.py" but it seems I can't run all tests at once? | 13:42 |
| philiKON_ | we don't really call individual test modules | 13:43 |
| philiKON_ | we use the test runner to run all tests of a package | 13:43 |
| philiKON_ | every package (like zope.i18n) is a buildout nowadays | 13:43 |
| philiKON_ | so what you do is: | 13:43 |
| philiKON_ | python bootstrap.py | 13:43 |
| philiKON_ | bin/buildout | 13:43 |
| philiKON_ | and then | 13:43 |
| philiKON_ | bin/test | 13:43 |
| pyqwer | Ah, ok, that works. | 13:45 |
| pyqwer | So I'll include my code, write some test and if it works, post the diffs, right? | 13:45 |
| pyqwer | philiKON_: And if the tests succeed, I can be relatively sure that my code will not break other code. | 13:46 |
| philiKON_ | right | 13:46 |
| philiKON_ | one diff, btw | 13:46 |
| philiKON_ | there should only be one diff | 13:46 |
| pyqwer | philiKON_: And the second for the test? | 13:46 |
| philiKON_ | svn diff > mygreatfeature.diff | 13:46 |
| pyqwer | Ah, ok, not file-wise, but package-wise. | 13:46 |
| philiKON_ | diffs can contain changes for several files | 13:46 |
| philiKON_ | right | 13:46 |
| *** rocky has quit IRC | 13:47 | |
| *** __mac__ has left #zope3-dev | 14:00 | |
| pyqwer | philiKON_: Ok, that should do it: https://bugs.launchpad.net/zope3/+bug/210177 - Thanks for help! | 14:05 |
| *** rocky has joined #zope3-dev | 14:06 | |
| philiKON_ | pyqwer: the diff for the test looks weird | 14:06 |
| philiKON_ | you added a testMessageIDRecursiveTranslate method | 14:07 |
| philiKON_ | but the tests you added are part of testMessageIDTranslate | 14:07 |
| pyqwer | Yes. | 14:07 |
| philiKON_ | looks like the names of the methods should be swapped | 14:07 |
| philiKON_ | and while we're at it (sorry for being so perfectionist): | 14:08 |
| pyqwer | Oh my, you are right. | 14:08 |
| philiKON_ | style: the indentation in the test module is not quite right | 14:08 |
| philiKON_ | when you wrap lines, the "mapping=..." should be indented another space | 14:08 |
| pyqwer | Why so? Emacs did that for me. | 14:08 |
| philiKON_ | really? | 14:08 |
| philiKON_ | that's weird | 14:09 |
| pyqwer | Ah, sorry, forgot to press "tab". | 14:09 |
| philiKON_ | :) | 14:09 |
| philiKON_ | moving on to translationdomain.py: ;) | 14:09 |
| philiKON_ | the isinstance check... | 14:09 |
| philiKON_ | i think you want to make sure th at mapping isn't None, right? | 14:09 |
| pyqwer | Yes, because otherwise it will fail. | 14:10 |
| philiKON_ | right | 14:10 |
| philiKON_ | so i suggest writing it like that | 14:10 |
| philiKON_ | if mapping is not None: ... | 14:10 |
| philiKON_ | it's not 100% necessary for mapping to be a dict | 14:10 |
| philiKON_ | it could be dict-like | 14:10 |
| pyqwer | Hmmm, but can I be sure that mapping is only None or dict? | 14:11 |
| philiKON_ | for all we care | 14:11 |
| philiKON_ | well, it it's not None and it's not dict-like, somebody's using it incorrectly | 14:11 |
| pyqwer | True. | 14:11 |
| philiKON_ | now, i just realized | 14:11 |
| philiKON_ | modifying the mapping isn't a good idea | 14:11 |
| philiKON_ | we don't "own" the mapping | 14:11 |
| philiKON_ | we can't change it | 14:11 |
| philiKON_ | well, we mustn't actually | 14:12 |
| philiKON_ | i think it should do mapping = mapping.copy() after the if | 14:12 |
| pyqwer | Hmmm, I can't really follow you here. | 14:12 |
| philiKON_ | ok | 14:12 |
| philiKON_ | i'll explalin | 14:12 |
| philiKON_ | let's say you compose a msg id | 14:12 |
| philiKON_ | msg = _('Message', mapping={...}) | 14:13 |
| pyqwer | ok. | 14:13 |
| philiKON_ | now, the mapping is a dictionary object | 14:13 |
| pyqwer | True. | 14:13 |
| philiKON_ | now we do | 14:13 |
| philiKON_ | zope.i18n.translate(msg) | 14:13 |
| philiKON_ | currently your code will *change* msg.mapping | 14:13 |
| philiKON_ | if will modify the dict | 14:14 |
| pyqwer | Ah, ok, I see it now. | 14:14 |
| philiKON_ | by doing mapping[key] = ... | 14:14 |
| philiKON_ | it shouldn't do that | 14:14 |
| pyqwer | Yes, so we should do a copy() then. | 14:14 |
| philiKON_ | therefore, i suggest doing a copy before | 14:14 |
| philiKON_ | right | 14:14 |
| philiKON_ | i also suggest writing a test for this | 14:14 |
| philiKON_ | perhaps write the test first | 14:14 |
| philiKON_ | and see that it actually fails | 14:14 |
| philiKON_ | then add the copy :) | 14:14 |
| pyqwer | So, something that proves that the tanslate() function will never change the mapping? | 14:15 |
| philiKON_ | exactly | 14:15 |
| philiKON_ | basically, you have a msg with a mapping with messages | 14:15 |
| philiKON_ | and you pass those to translate | 14:15 |
| philiKON_ | and make sure the mapping is unchanged | 14:15 |
| pyqwer | Yes. | 14:15 |
| projekt01 | dobee, ayt? | 14:17 |
| *** mgedmin has joined #zope3-dev | 14:17 | |
| dobee | projekt01: jep, hi projekt01 | 14:18 |
| projekt01 | dobee, are you using more then one skins in a projects? | 14:18 |
| dobee | projekt01: yes | 14:18 |
| projekt01 | and are you using the defaultSkin directive? | 14:18 |
| projekt01 | in this projects? | 14:19 |
| dobee | no | 14:19 |
| projekt01 | I guess there is a security problem | 14:19 |
| dobee | we always use the namespace | 14:19 |
| projekt01 | yes, this forces to apply the IDefaultBrowserLayer in any case | 14:19 |
| dobee | aha | 14:19 |
| projekt01 | as first interface | 14:20 |
| *** MJ has joined #zope3-dev | 14:20 | |
| projekt01 | that's very bad | 14:20 |
| dobee | wow, yes thats indeed a big security problem | 14:20 |
| projekt01 | I guess we should add a layer attribute to the defautlSkin directive | 14:20 |
| projekt01 | then you could say defaultskin for my layer | 14:20 |
| projekt01 | the defaultSkin should return a skin type if you have more then one skin, e.g. for each layer there could be a skin | 14:21 |
| projekt01 | dobee, can you agree that? | 14:21 |
| dobee | projekt01: i guess i miss something | 14:21 |
| projekt01 | it's a kind of default skin for your special IXYRequest(Layer) | 14:22 |
| dobee | how is the layer choosen | 14:22 |
| dobee | ah | 14:22 |
| projekt01 | skin = adapters.lookup((providedBy(request),), IDefaultSkin, '') | 14:22 |
| projekt01 | if skin is not None: | 14:22 |
| projekt01 | directlyProvides(request, skin) | 14:22 |
| projekt01 | else: | 14:22 |
| projekt01 | directlyProvides(request, IDefaultBrowserLayer) | 14:22 |
| projekt01 | in zope.publisher.brosser | 14:22 |
| projekt01 | in zope.publisher.browser | 14:22 |
| *** b52lap has joined #zope3-dev | 14:23 | |
| dobee | sek | 14:23 |
| projekt01 | it will apply the IDefaultBrowserLayer at any time if the server setup doesn't provide a defaultSkin | 14:23 |
| projekt01 | additional to your own layers | 14:23 |
| projekt01 | we could avoid this by allow to define a defaultSkin for each request (layer) | 14:24 |
| dobee | when is setDefaultSkin called? | 14:24 |
| projekt01 | in applySkin | 14:25 |
| projekt01 | applySkin is only called in skin namespace | 14:27 |
| *** stub has joined #zope3-dev | 14:28 | |
| projekt01 | applySkin should not be a problem, thats explicit | 14:28 |
| projekt01 | but the setDefaultSkin in HTTPPublicationRequestFactory could be the problem | 14:29 |
| projekt01 | if IBrowserRequest.providedBy(request): | 14:29 |
| projekt01 | # only browser requests have skins | 14:29 |
| projekt01 | setDefaultSkin(request) | 14:29 |
| projekt01 | dobee, what I know right now is that I don't use the IDefaultBrowserLayer in any of my layers, but I get that layer if I don't set defaultSkin | 14:30 |
| dobee | projekt01: you could register a marker skin interface on which no views are registered as default skin to circumvent this | 14:31 |
| *** afd_ has joined #zope3-dev | 14:31 | |
| projekt01 | Yes, or I could regster a simple adapter and register my two skins as IDefaultSkin for my requests wihtout using the defaultSkin directive | 14:32 |
| projekt01 | I will take a closer look at that problem later, but it smells to me that we should support a layer or type argument for the defaultSkin directive | 14:33 |
| dobee | hm, the problem is, that if you use the directive you register a default skin already | 14:33 |
| dobee | so the problem is no problem anymore | 14:34 |
| dobee | projekt01: for me it is ok this way | 14:34 |
| projekt01 | yes, that's true | 14:34 |
| *** romanofski has quit IRC | 14:34 | |
| *** romanofski has joined #zope3-dev | 14:34 | |
| projekt01 | it's just a question of how we can make it more explicit, the default apply of the IDefaultBrowserLayer part is very bad | 14:35 |
| dobee | projekt01: i think the big problem is that there is pretty much everything registered on this default layer | 14:35 |
| dobee | maybe a maker base layer should be used | 14:36 |
| projekt01 | yes, that's the reason I neer used that layer | 14:36 |
| projekt01 | dobee, btw, take a look at the new ZAM packages | 14:36 |
| dobee | ok projekt01 i'll have a look | 14:37 |
| *** greenman has quit IRC | 14:43 | |
| *** MJ has quit IRC | 14:47 | |
| *** MJ|nickcollision has joined #zope3-dev | 14:47 | |
| *** MJ|nickcollision is now known as MJ | 14:48 | |
| *** santagada has joined #zope3-dev | 14:51 | |
| *** redir has joined #zope3-dev | 14:57 | |
| *** alecm has joined #zope3-dev | 14:59 | |
| *** Theuni_ has joined #zope3-dev | 15:02 | |
| *** djohnson has joined #zope3-dev | 15:10 | |
| *** hexsprite has joined #zope3-dev | 15:11 | |
| *** __mac___ has joined #zope3-dev | 15:12 | |
| *** rcrafton has joined #zope3-dev | 15:14 | |
| *** Theuni has quit IRC | 15:19 | |
| *** jpcw2002 has joined #zope3-dev | 15:19 | |
| *** rocky has quit IRC | 15:24 | |
| *** rocky has joined #zope3-dev | 15:25 | |
| *** philiKON_ has quit IRC | 15:29 | |
| *** benji has joined #zope3-dev | 15:29 | |
| *** redir has quit IRC | 15:40 | |
| *** redir has joined #zope3-dev | 15:41 | |
| *** redir has quit IRC | 15:43 | |
| *** alex_smith has joined #zope3-dev | 15:43 | |
| *** stub has quit IRC | 15:46 | |
| pyqwer | philiKON_: Ok, lunch is over, the new diff is there: http://launchpadlibrarian.net/13017277/i18n-recursive-trans.diff-2 | 15:46 |
| *** djohnson_ has joined #zope3-dev | 15:49 | |
| *** santagada has left #zope3-dev | 15:50 | |
| *** norro has quit IRC | 15:57 | |
| *** edgordon has joined #zope3-dev | 16:00 | |
| *** norro has joined #zope3-dev | 16:02 | |
| *** Rolando has joined #zope3-dev | 16:04 | |
| *** niemeyer has joined #zope3-dev | 16:05 | |
| *** djohnson has quit IRC | 16:06 | |
| *** alecghica has quit IRC | 16:09 | |
| *** romanofs1i has joined #zope3-dev | 16:12 | |
| *** romanofski has quit IRC | 16:12 | |
| regebro | Anybody used lovely.tag? | 16:16 |
| *** tesdal has quit IRC | 16:16 | |
| afd_ | regebro: I have some experience with it, but the lovely guys know a lot more for sure | 16:17 |
| regebro | afd_: Do you know how to use it so tags are persistent? | 16:17 |
| afd_ | aren't they? | 16:18 |
| regebro | afd_: I'm sure they are, if you do it the right way. But I don't know what the right way is. | 16:18 |
| regebro | Basically, the docs does not tell you how to make a persistent tagging engine. | 16:18 |
| afd_ | regebro: the TaggingEngine class inherits from Persistent | 16:19 |
| afd_ | just add the tagging engine in the site manager and register it for ITaggingEngine | 16:19 |
| regebro | afd_: Hmmm. OK, I think I might understand what you mean. | 16:20 |
| afd_ | a complete recipe would be like this: create a persistent TaggingEngine and register it as unnamed utility for ITaggingEngine | 16:21 |
| afd_ | implement ITaggable for your objects | 16:21 |
| regebro | Yeah, and my question is "how do you create a persistent TaggingEngine". :) | 16:22 |
| afd_ | ok | 16:22 |
| regebro | The docs doesn't contain that info, namely. :) | 16:22 |
| afd_ | something along site.getSiteManager()['default']['tagging_engine'] = TaggingEngine() | 16:22 |
| regebro | Aha. I'll try that. | 16:23 |
| *** J1m has joined #zope3-dev | 16:23 | |
| afd_ | sm.registerUtility(tag_engine_obj, ITaggingEngine) | 16:24 |
| *** lucielejard has joined #zope3-dev | 16:24 | |
| regebro | afd_: OK, thanks, turns out it won't work under Zope 2.10. :-/ It installs more or less all of zope 3. | 16:27 |
| regebro | We'll have to find another tagging engine. Or more likely: Write one ourselves. | 16:27 |
| afd_ | regebro: I think it should work... | 16:27 |
| afd_ | I vaguely remember someone using it under plone | 16:27 |
| timte | regebro: isn't p4a using lovely.tag? | 16:28 |
| *** jinty has quit IRC | 16:28 | |
| regebro | timte: They are? <checking> | 16:28 |
| timte | regebro: p4a.video, p4a.audio and p4a.plonetagging is using it | 16:29 |
| afd_ | regebro: one warning, based on my experience with it. The tag cloud generation is very expensive with lots of users/tags, you should cache those views | 16:30 |
| regebro | p4a.plonetagging! Aha! | 16:30 |
| regebro | afd_: Thanks for the hint. | 16:30 |
| afd_ | np | 16:30 |
| malthe | regebro: fakezope2eggs | 16:33 |
| regebro | malthe: Uhu, clever. | 16:35 |
| malthe | :-) | 16:35 |
| malthe | it's really clever; I forget who did it | 16:35 |
| regebro | malthe: Yeah, but it doesn't want to work. having lovely.tag in the buildout still starts sucking in all of Zope3. | 16:45 |
| *** kursor has joined #zope3-dev | 16:45 | |
| regebro | I also tries the nonrelease eggs thingy p4a.buildout does. Same thing.... | 16:45 |
| malthe | regebro: did you say "additional-eggs ZODB3"? | 16:45 |
| malthe | additional-fake-eggs | 16:45 |
| *** kursor has quit IRC | 16:45 | |
| malthe | what dependency is causing buildout pulling in the eggs? | 16:46 |
| regebro | malthe: That solved it. Although I did get a version conflict. Looking into that. | 16:46 |
| malthe | cool | 16:46 |
| regebro | No, I still get some eggs installed... | 16:47 |
| regebro | That shouldn't be there. | 16:47 |
| *** sp0cksbeard has joined #zope3-dev | 16:48 | |
| *** gumpa has joined #zope3-dev | 16:48 | |
| *** kursor has joined #zope3-dev | 16:50 | |
| *** jinty has joined #zope3-dev | 16:53 | |
| *** goschtl has quit IRC | 17:00 | |
| *** alga has joined #zope3-dev | 17:00 | |
| *** edgordon has quit IRC | 17:03 | |
| *** whit has joined #zope3-dev | 17:08 | |
| *** baijum has quit IRC | 17:10 | |
| *** faassen has joined #zope3-dev | 17:15 | |
| *** santagada has joined #zope3-dev | 17:16 | |
| regebro | malthe: Nope, whatever we try, including how the p4a.buildout does it, it just plain refuses to work. I don't get it. | 17:21 |
| malthe | regebro: weird | 17:22 |
| malthe | it *does* work | 17:22 |
| malthe | are you sure the fake zope eggs kick in? | 17:23 |
| regebro | If I don't include lovely.tag as an egg, p4a.plonetaggings configure.zcml fails, because it can't find lovely.tag. | 17:23 |
| regebro | If I do include lovely.tag, I get a version conflict on zope.i18nmessageid (I think). | 17:23 |
| malthe | do they peg to some version? | 17:24 |
| regebro | Well, one of the versions I get a conflict with is "0.0", so I don't think so. | 17:24 |
| malthe | hah | 17:25 |
| jfroche | regebro hello, fakezope2eggs doesnt support egg version assignation | 17:25 |
| malthe | ah interesting | 17:25 |
| jfroche | i will move the code on zope.org svn & fix this | 17:26 |
| regebro | jfroche: Funnily enough, I even got it with the p4a.buildout way of handling it, so there is something else weird going on. | 17:26 |
| regebro | Th ep4a.buildout uses a branch of lovely.tag, that should work on z3.2... | 17:27 |
| *** djohnson_ has quit IRC | 17:33 | |
| *** sorindregan has quit IRC | 17:34 | |
| *** MJ has quit IRC | 17:35 | |
| *** salfield has joined #zope3-dev | 17:38 | |
| *** mweichert has joined #zope3-dev | 17:45 | |
| *** kursor has quit IRC | 17:51 | |
| *** thruflo has joined #zope3-dev | 17:57 | |
| *** __mac___ has left #zope3-dev | 18:01 | |
| *** santagada has quit IRC | 18:03 | |
| *** projekt01 has quit IRC | 18:10 | |
| *** jukart has quit IRC | 18:12 | |
| *** rmarianski has joined #zope3-dev | 18:14 | |
| *** djohnson has joined #zope3-dev | 18:17 | |
| *** jayaraj has quit IRC | 18:18 | |
| *** MJ has joined #zope3-dev | 18:21 | |
| *** Rolando has quit IRC | 18:31 | |
| *** maurits has quit IRC | 18:35 | |
| *** johbo has joined #zope3-dev | 18:37 | |
| *** toutpt has joined #zope3-dev | 18:47 | |
| *** sebnapi has quit IRC | 18:59 | |
| *** pcardune has joined #zope3-dev | 19:00 | |
| *** pcardune__ has joined #zope3-dev | 19:01 | |
| *** jodok has quit IRC | 19:01 | |
| *** dobee has quit IRC | 19:02 | |
| *** malthe has quit IRC | 19:15 | |
| *** regebro has quit IRC | 19:18 | |
| *** toutpt has quit IRC | 19:19 | |
| *** pyqwer has quit IRC | 19:21 | |
| *** harobed has quit IRC | 19:21 | |
| *** markusleist has quit IRC | 19:21 | |
| *** jpcw2002_ has joined #zope3-dev | 19:31 | |
| *** quodt has quit IRC | 19:31 | |
| *** jpcw2002 has quit IRC | 19:34 | |
| *** jinty has quit IRC | 19:48 | |
| *** jinty has joined #zope3-dev | 19:49 | |
| *** quodt has joined #zope3-dev | 19:52 | |
| *** MJ is now known as MJ|dinner | 19:54 | |
| *** jinty has quit IRC | 19:55 | |
| *** jpcw2002_ has quit IRC | 20:01 | |
| *** maurits has joined #zope3-dev | 20:07 | |
| *** nathany has joined #zope3-dev | 20:08 | |
| *** djohnson has joined #zope3-dev | 20:08 | |
| *** thruflo has quit IRC | 20:13 | |
| *** malthe has joined #zope3-dev | 20:17 | |
| *** santagada has joined #zope3-dev | 20:19 | |
| *** malthe__ has joined #zope3-dev | 20:20 | |
| *** malthe has quit IRC | 20:21 | |
| *** malthe__ is now known as malthe | 20:21 | |
| *** mkerrin has quit IRC | 20:22 | |
| *** reco has joined #zope3-dev | 20:24 | |
| *** agroszer_ has joined #zope3-dev | 20:25 | |
| *** jpcw2002_ has joined #zope3-dev | 20:25 | |
| *** afd_ has quit IRC | 20:25 | |
| *** afd_ has joined #zope3-dev | 20:26 | |
| *** santagada has quit IRC | 20:27 | |
| *** djohnson has quit IRC | 20:27 | |
| *** whit has quit IRC | 20:27 | |
| *** rcrafton has quit IRC | 20:27 | |
| *** timte has quit IRC | 20:27 | |
| *** agroszer has quit IRC | 20:27 | |
| *** lisppaste6 has quit IRC | 20:27 | |
| *** santagada has joined #zope3-dev | 20:27 | |
| *** djohnson has joined #zope3-dev | 20:27 | |
| *** whit has joined #zope3-dev | 20:27 | |
| *** rcrafton has joined #zope3-dev | 20:27 | |
| *** timte has joined #zope3-dev | 20:27 | |
| *** agroszer has joined #zope3-dev | 20:27 | |
| *** lisppaste6 has joined #zope3-dev | 20:27 | |
| *** agroszer has quit IRC | 20:28 | |
| *** RaFromBRC has joined #zope3-dev | 20:30 | |
| *** RaFromBRC has quit IRC | 20:31 | |
| *** RaFromBRC has joined #zope3-dev | 20:32 | |
| *** MJ|dinner is now known as MJ | 20:33 | |
| *** malthe has quit IRC | 20:51 | |
| *** RaFromBRC has quit IRC | 20:57 | |
| *** alecm has quit IRC | 20:58 | |
| *** alecm has joined #zope3-dev | 20:58 | |
| *** RaFromBRC has joined #zope3-dev | 20:58 | |
| *** alecm has quit IRC | 20:59 | |
| *** malthe has joined #zope3-dev | 21:01 | |
| *** jpcw2002_ has left #zope3-dev | 21:04 | |
| *** tarek has quit IRC | 21:07 | |
| *** agroszer_ is now known as agroszer | 21:08 | |
| *** dunny has joined #zope3-dev | 21:10 | |
| *** tarek has joined #zope3-dev | 21:11 | |
| *** alga has quit IRC | 21:22 | |
| *** harobed has joined #zope3-dev | 21:23 | |
| *** santagada has quit IRC | 21:29 | |
| *** BATTEUR has joined #zope3-dev | 21:30 | |
| *** BATTEUR is now known as batteur | 21:30 | |
| batteur | slt | 21:30 |
| *** batteur has left #zope3-dev | 21:31 | |
| *** santagada has joined #zope3-dev | 21:31 | |
| *** quodt has quit IRC | 21:36 | |
| *** sm has joined #zope3-dev | 21:37 | |
| *** alex_smith_ has joined #zope3-dev | 21:41 | |
| *** quodt has joined #zope3-dev | 21:44 | |
| *** hexsprite has quit IRC | 21:44 | |
| *** agroszer has quit IRC | 21:44 | |
| *** RaFromBRC has quit IRC | 21:54 | |
| *** J1m has quit IRC | 21:57 | |
| *** alex_smith has quit IRC | 21:58 | |
| *** J1m has joined #zope3-dev | 21:59 | |
| *** mgedmin has quit IRC | 22:01 | |
| *** whit has quit IRC | 22:09 | |
| *** RaFromBRC has joined #zope3-dev | 22:11 | |
| *** hexsprite has joined #zope3-dev | 22:11 | |
| *** whit has joined #zope3-dev | 22:28 | |
| *** whitmo___ has joined #zope3-dev | 22:34 | |
| *** markusleist has joined #zope3-dev | 22:38 | |
| *** J1m has quit IRC | 22:40 | |
| *** J1m has joined #zope3-dev | 22:47 | |
| *** whit has quit IRC | 22:48 | |
| *** hazmat has quit IRC | 22:57 | |
| *** whitmo___ has quit IRC | 22:59 | |
| *** RaFromBRC is now known as RaFromBRC|lunch | 23:03 | |
| *** J1m has quit IRC | 23:04 | |
| *** sm_ has joined #zope3-dev | 23:10 | |
| *** maurits has quit IRC | 23:15 | |
| *** whit has joined #zope3-dev | 23:20 | |
| *** sm has quit IRC | 23:25 | |
| *** RaFromBRC|lunch is now known as RaFromBRC | 23:26 | |
| *** afd_ has quit IRC | 23:27 | |
| *** J1m has joined #zope3-dev | 23:38 | |
| *** sm_ is now known as sm | 23:39 | |
| *** b52lap has quit IRC | 23:41 | |
| *** whit has quit IRC | 23:50 | |
| *** whit has joined #zope3-dev | 23:50 | |
| *** tesdal has joined #zope3-dev | 23:55 | |
| *** b52laptop has joined #zope3-dev | 23:55 | |
| *** rocky is now known as rocky|away | 23:57 | |
Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!