*** philiKON has quit IRC | 00:09 | |
*** dunny has quit IRC | 00:23 | |
*** sashav has quit IRC | 00:28 | |
*** strichter has quit IRC | 00:40 | |
*** whit has joined #zope3-dev | 00:55 | |
*** ignas has joined #zope3-dev | 00:56 | |
*** jinty has quit IRC | 01:04 | |
*** whit has quit IRC | 01:05 | |
*** srichter has joined #zope3-dev | 01:12 | |
*** ChanServ sets mode: +o srichter | 01:17 | |
*** dunny has joined #zope3-dev | 01:44 | |
*** philiKON has joined #zope3-dev | 01:50 | |
*** alga has quit IRC | 01:52 | |
tarek | srichter, ayt ? | 01:56 |
---|---|---|
*** zagy has quit IRC | 02:02 | |
tarek | anyone has a comment about this bug: http://www.zope.org/Collectors/Zope3-dev/581 ? I don't understand the testTag() test | 02:11 |
*** rockyburt is now known as rockyburt|zzz | 02:12 | |
*** mexiKON has quit IRC | 02:14 | |
srichter | tarek: yep | 02:23 |
tarek | srichter, hi | 02:28 |
tarek | i was trying to understand the test here: http://svn.zope.org/Zope3/trunk/src/zope/app/file/browser/tests/test_imagedata.py?rev=26567&view=markup | 02:28 |
tarek | testTag() | 02:28 |
tarek | i don't understand why the object itself, (ImageData) should have an absolute_url method | 02:29 |
tarek | the tag() method even uses it : http://svn.zope.org/Zope3/trunk/src/zope/app/file/browser/image.py?rev=65914&view=markup | 02:30 |
tarek | but it doesn't exists | 02:30 |
srichter | mmh, I think you fix suggestion is good | 02:44 |
srichter | tarek: btw, really good job on the web site | 02:45 |
srichter | it looks very good | 02:45 |
tarek | thanks :) | 02:45 |
tarek | still need a few things, like pdf for all recipe pages, and a serach engine, but should be usable already | 02:46 |
tarek | srichter, ok i'll go for that fix, which branch the fix must be backported to, these days ? | 02:47 |
srichter | tarek: trunk is fine | 02:53 |
tarek | srichter, k will do | 02:56 |
*** whit has joined #zope3-dev | 03:07 | |
*** dunny has quit IRC | 03:41 | |
*** rockyburt|zzz has quit IRC | 04:39 | |
*** tarek has quit IRC | 05:00 | |
*** ignas has quit IRC | 05:01 | |
*** ignas has joined #zope3-dev | 05:01 | |
*** tarek has joined #zope3-dev | 05:02 | |
*** ignas has quit IRC | 05:02 | |
*** d2m has quit IRC | 05:20 | |
*** d2m has joined #zope3-dev | 05:29 | |
*** dunny has joined #zope3-dev | 06:26 | |
*** stub has joined #zope3-dev | 06:31 | |
*** d2m has quit IRC | 06:31 | |
*** d2m has joined #zope3-dev | 06:32 | |
*** dunny has quit IRC | 06:46 | |
*** zopePloneConsult has joined #zope3-dev | 08:09 | |
*** stub has quit IRC | 08:18 | |
*** sm has joined #zope3-dev | 08:36 | |
*** dlk has joined #zope3-dev | 08:55 | |
*** philiKON has quit IRC | 08:56 | |
*** philiKON has joined #zope3-dev | 08:56 | |
*** eins has joined #zope3-dev | 09:12 | |
eins | hi | 09:12 |
*** zagy has joined #zope3-dev | 09:14 | |
*** hdima has joined #zope3-dev | 09:19 | |
*** romanofski has joined #zope3-dev | 09:34 | |
romanofski | moin | 09:36 |
*** srichter has quit IRC | 09:46 | |
*** Theuni has joined #zope3-dev | 09:51 | |
*** srichter has joined #zope3-dev | 10:10 | |
*** philiKON has quit IRC | 10:26 | |
*** philiKON has joined #zope3-dev | 10:27 | |
*** romanofski has quit IRC | 10:33 | |
*** MJ has quit IRC | 10:34 | |
*** romanofski has joined #zope3-dev | 10:36 | |
*** sashav has joined #zope3-dev | 10:40 | |
*** sashav has quit IRC | 10:53 | |
*** sashav has joined #zope3-dev | 10:53 | |
*** zopePloneConsult has quit IRC | 10:56 | |
*** whit is now known as whit|zZzz | 10:56 | |
*** projekt01 has joined #zope3-dev | 11:04 | |
*** MJ has joined #zope3-dev | 11:09 | |
*** zopePloneConsult has joined #zope3-dev | 11:10 | |
*** ChanServ sets mode: +o srichter | 11:41 | |
*** dunny has joined #zope3-dev | 11:42 | |
*** ignas has joined #zope3-dev | 12:16 | |
*** mexiKON has joined #zope3-dev | 12:18 | |
*** efge has joined #zope3-dev | 12:35 | |
*** philiKON has quit IRC | 12:39 | |
*** stub has joined #zope3-dev | 12:52 | |
*** mgedmin has joined #zope3-dev | 12:54 | |
*** alga has joined #zope3-dev | 13:15 | |
*** rockyburt has joined #zope3-dev | 13:47 | |
*** mkerrin has joined #zope3-dev | 14:00 | |
*** rockyburt has quit IRC | 14:02 | |
*** rockyburt has joined #zope3-dev | 14:12 | |
*** jinty has joined #zope3-dev | 14:21 | |
*** Kruegi has joined #zope3-dev | 14:40 | |
*** philiKON has joined #zope3-dev | 14:54 | |
mgedmin | can somebody explain the curious behavior of the IAnnotations adapter on security-proxied objects? | 14:59 |
mgedmin | IAnnotations(foo)[key] = value | 14:59 |
mgedmin | works, stores the annotation in the zodb | 14:59 |
mgedmin | in another transaction, IAnnotations(foo).get(key) returns None | 14:59 |
mgedmin | no errors | 14:59 |
mgedmin | IAnnotations(removeSecurityProxy(foo)).get(keys) returns the value that I need | 15:00 |
*** benji has quit IRC | 15:02 | |
*** zbir has quit IRC | 15:10 | |
*** mexiKON has quit IRC | 15:15 | |
*** projekt01 has quit IRC | 15:21 | |
*** benji has joined #zope3-dev | 15:38 | |
*** deo has joined #zope3-dev | 15:57 | |
*** regebro has joined #zope3-dev | 15:58 | |
regebro | Hullo! | 15:59 |
benji | hi, regebro | 15:59 |
regebro | I found ze little problem: The language negotiator in Zope3 will "normalize" the list of languages. That is, it will convert from pt_BR to pt_br. | 15:59 |
regebro | Howver, it will NOT do the same with the list of user preferred langauges. | 16:00 |
*** zbir has joined #zope3-dev | 16:00 | |
regebro | I take this as a hint that the adapter to get the user preferred languages should return normalized strings, right? Yes/No/Opinions? | 16:01 |
regebro | (Because Five doesn't, do pt_BR doesn't work). | 16:01 |
* benji disavows any knowledge of i18n | 16:02 | |
regebro | Lucky you. :) | 16:03 |
regebro | Basically, I guess I'm asking if this is a bug in Zope3 or Five. :) | 16:03 |
*** gumpa has joined #zope3-dev | 16:03 | |
benji | Five. Definately Five. You can take my word on it. | 16:05 |
regebro | :) | 16:07 |
*** niemeyer has joined #zope3-dev | 16:18 | |
regebro | Well, fixing it in Five has swifter turnaround, so I'll fix it there. :) | 16:20 |
*** mexiKON has joined #zope3-dev | 16:27 | |
*** sawdog has joined #zope3-dev | 16:30 | |
*** dunny has quit IRC | 16:42 | |
*** dunny has joined #zope3-dev | 16:43 | |
*** philiKON has quit IRC | 16:47 | |
benji | regebro, all kidding asside, it /might/ be a Z3 bug, so perhaps a collector issue would be in order | 16:52 |
*** fcorrea has joined #zope3-dev | 17:02 | |
*** hdima has quit IRC | 17:12 | |
*** Kruegi has quit IRC | 17:13 | |
*** sawdog has left #zope3-dev | 17:16 | |
*** j1m has joined #zope3-dev | 17:19 | |
*** eins has quit IRC | 17:20 | |
*** whit|zZzz is now known as whit | 17:21 | |
*** sawdog has joined #zope3-dev | 17:21 | |
*** mexiKON is now known as philiKON | 17:23 | |
*** jinty has quit IRC | 17:34 | |
srichter | j1m: Uwe is spending the rest of the sprint customizing his Bebop application for a Zope 3 development website | 18:03 |
srichter | j1m: I think you will really like it :-) | 18:03 |
j1m | cool | 18:04 |
whit | srichter: how's the sprinting? | 18:04 |
srichter | going good | 18:04 |
srichter | Russ can report at the Norway sprint | 18:04 |
*** zopePloneConsult has left #zope3-dev | 18:05 | |
*** zopePloneConsult has joined #zope3-dev | 18:07 | |
*** philiKON has quit IRC | 18:07 | |
*** philiKON has joined #zope3-dev | 18:07 | |
whit | excellent! Russ is going to both? tell him hello for me :) | 18:12 |
*** sashav has quit IRC | 18:14 | |
*** MJ has quit IRC | 18:15 | |
*** zopePloneConsult has left #zope3-dev | 18:29 | |
*** regebro has quit IRC | 18:30 | |
*** jinty has joined #zope3-dev | 18:37 | |
*** philiKON has quit IRC | 18:40 | |
*** philiKON has joined #zope3-dev | 18:40 | |
*** stub has quit IRC | 18:42 | |
*** zagy has quit IRC | 18:46 | |
*** efrerich has joined #zope3-dev | 18:56 | |
*** SteveA has joined #zope3-dev | 19:02 | |
*** kamalgill has joined #zope3-dev | 19:05 | |
*** romanofski has quit IRC | 19:16 | |
*** BjornT has quit IRC | 19:21 | |
*** jinty has quit IRC | 19:26 | |
*** BjornT has joined #zope3-dev | 19:28 | |
*** gumpa is now known as gumpa-away | 19:29 | |
*** MJ has joined #zope3-dev | 19:30 | |
*** einheit_ has joined #zope3-dev | 19:34 | |
*** mexiKON has joined #zope3-dev | 19:36 | |
*** fcorrea has quit IRC | 19:44 | |
*** BjornT has quit IRC | 19:44 | |
*** philiKON has quit IRC | 19:48 | |
*** SteveA has quit IRC | 19:50 | |
*** tiredbones has quit IRC | 19:51 | |
*** tiredbones has joined #zope3-dev | 19:52 | |
*** BjornT has joined #zope3-dev | 19:53 | |
*** zagy has joined #zope3-dev | 19:56 | |
*** einheit_2 has joined #zope3-dev | 20:05 | |
*** dlk has quit IRC | 20:15 | |
*** einheit_ has quit IRC | 20:22 | |
*** sashav has joined #zope3-dev | 20:25 | |
*** einheit_ has joined #zope3-dev | 20:36 | |
*** ignas has quit IRC | 20:36 | |
*** fcorrea has joined #zope3-dev | 20:38 | |
*** RaFromBRC has joined #zope3-dev | 20:38 | |
*** einheit_ is now known as SteveA | 20:41 | |
*** alga has quit IRC | 20:49 | |
*** mexiKON is now known as philiKON | 20:51 | |
*** einheit_2 has quit IRC | 20:53 | |
*** regebro has joined #zope3-dev | 20:53 | |
regebro | There is something with adapting I don't get.... | 20:54 |
*** SteveA has left #zope3-dev | 20:54 | |
regebro | I'm trying to register a traversable adapter for an interface. | 20:54 |
regebro | But the lookup always returns a COntainerTraversable... | 20:54 |
philiKON | the object you're adapting provides IContainer? | 20:55 |
regebro | The interface inherits from IContainer, sure, but I register and ITraversable for the subclassed interface. | 20:55 |
regebro | Should't it use my adapter in that case? | 20:55 |
philiKON | are you using zapi.traverse? | 20:56 |
philiKON | or are you looking up the adapter manually? | 20:56 |
regebro | zapi.traverse | 20:56 |
regebro | I haven't tried looking it up manually, but that should make no difference. | 20:56 |
philiKON | yes, it does :) | 20:56 |
regebro | Hmm. | 20:56 |
philiKON | hmm wait | 20:57 |
philiKON | before i start lying :) | 20:57 |
philiKON | i *thought* they were also registered as views | 20:57 |
philiKON | some adapters in the traversing machinery are registered as views and as single adapters | 20:57 |
philiKON | but i think those were namespace adapters | 20:58 |
philiKON | ++foo++ | 20:58 |
regebro | Yes, namespace adapters. | 20:58 |
philiKON | how are you registering the adapter? | 20:59 |
regebro | Well, I tried bot provideAdapter and XMLConfig('configure.zcml', z3repo)() | 21:00 |
regebro | with a configure that registers it... | 21:00 |
regebro | Now I tried manually doing ITraversable(ob) and it still returns ContainerTraverser. | 21:00 |
regebro | (this is all just a doctest yet) | 21:01 |
philiKON | right, that's ok | 21:01 |
philiKON | perhaps you can paste it somewhere | 21:01 |
*** mgedmin has quit IRC | 21:01 | |
regebro | sure | 21:02 |
*** Theuni has quit IRC | 21:02 | |
regebro | http://paste.plone.org/3303 | 21:04 |
regebro | I cut it out to just the things that doens't work. :) | 21:05 |
philiKON | ther eyou go | 21:05 |
philiKON | the provideAdapter line reads wrong | 21:05 |
philiKON | provideAdapter(ProxyingFolderTraversable, (IProxyingFolder,), ITraversable) | 21:05 |
regebro | Aha... That explains that. :) | 21:06 |
philiKON | i don't see the ZCML so i can't tell you about that | 21:06 |
philiKON | btw, i really like to use z.c.adapts() so that i won't have to remember how to use z.c.provideAdapter... | 21:07 |
regebro | Ah, spelling mistake. | 21:07 |
philiKON | :) | 21:07 |
regebro | That didn't raise an error? Weird. | 21:07 |
regebro | Oh, right, you can use adapts now... | 21:08 |
regebro | I'll try that. | 21:09 |
philiKON | yeah, you can use it since zope2.9/3.2 | 21:11 |
regebro | Heh... How do you use it? :) | 21:11 |
philiKON | like z.i.implements | 21:11 |
philiKON | e.g.: | 21:11 |
philiKON | class ProxyFolderTraversable(object): | 21:12 |
philiKON | zope.component.adapts(IProxyingFolder) | 21:12 |
philiKON | zope.interface.implements(Itraversable) | 21:12 |
philiKON | brb, phone | 21:12 |
regebro | Hmm, that didn't work, I'm back in the ContainerTraversable again. :-/ | 21:13 |
*** rockyburt has quit IRC | 21:14 | |
*** rockyburt has joined #zope3-dev | 21:16 | |
*** TrevorP has quit IRC | 21:19 | |
*** yota has quit IRC | 21:21 | |
regebro | Ah well, I give up. provideAdapter works now. :) Thanks! | 21:21 |
philiKON | np | 21:24 |
*** MJ has quit IRC | 21:25 | |
*** tiredbones has quit IRC | 21:28 | |
*** fcorrea has quit IRC | 21:29 | |
*** yota has joined #zope3-dev | 21:32 | |
*** efrerich_ has joined #zope3-dev | 21:38 | |
*** Kruegi has joined #zope3-dev | 21:50 | |
*** fcorrea has joined #zope3-dev | 21:55 | |
*** efrerich has quit IRC | 21:56 | |
*** mkerrin has quit IRC | 21:56 | |
*** rockyburt is now known as rockyburt|away | 22:00 | |
*** zagy has quit IRC | 22:06 | |
*** regebro has quit IRC | 22:10 | |
*** Kruegi has quit IRC | 22:27 | |
*** sm has left #zope3-dev | 22:29 | |
*** lunatik has joined #zope3-dev | 22:43 | |
*** lunatik has left #zope3-dev | 22:43 | |
*** efge has quit IRC | 22:49 | |
*** gumpa-away is now known as gumpa | 22:58 | |
*** gumpa has quit IRC | 23:07 | |
*** tonico has quit IRC | 23:42 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!