IRC log of #zope3-dev for Monday, 2006-04-10

*** philiKON has quit IRC00:09
*** dunny has quit IRC00:23
*** sashav has quit IRC00:28
*** strichter has quit IRC00:40
*** whit has joined #zope3-dev00:55
*** ignas has joined #zope3-dev00:56
*** jinty has quit IRC01:04
*** whit has quit IRC01:05
*** srichter has joined #zope3-dev01:12
*** ChanServ sets mode: +o srichter01:17
*** dunny has joined #zope3-dev01:44
*** philiKON has joined #zope3-dev01:50
*** alga has quit IRC01:52
tareksrichter, ayt ?01:56
*** zagy has quit IRC02:02
tarekanyone has a comment about this bug: http://www.zope.org/Collectors/Zope3-dev/581 ? I don't understand the testTag() test02:11
*** rockyburt is now known as rockyburt|zzz02:12
*** mexiKON has quit IRC02:14
srichtertarek: yep02:23
tareksrichter, hi02:28
tareki 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=markup02:28
tarektestTag()02:28
tareki don't understand why the object itself, (ImageData) should have an absolute_url method02:29
tarekthe tag() method even uses it : http://svn.zope.org/Zope3/trunk/src/zope/app/file/browser/image.py?rev=65914&view=markup02:30
tarekbut it doesn't exists02:30
srichtermmh, I think you fix suggestion is good02:44
srichtertarek: btw, really good job on the web site02:45
srichterit looks very good02:45
tarekthanks :)02:45
tarekstill need a few things, like pdf for all recipe pages, and a serach engine, but should be usable already02:46
tareksrichter, ok i'll go for that fix, which branch the fix must be backported to, these days ?02:47
srichtertarek: trunk is fine02:53
tareksrichter, k will do02:56
*** whit has joined #zope3-dev03:07
*** dunny has quit IRC03:41
*** rockyburt|zzz has quit IRC04:39
*** tarek has quit IRC05:00
*** ignas has quit IRC05:01
*** ignas has joined #zope3-dev05:01
*** tarek has joined #zope3-dev05:02
*** ignas has quit IRC05:02
*** d2m has quit IRC05:20
*** d2m has joined #zope3-dev05:29
*** dunny has joined #zope3-dev06:26
*** stub has joined #zope3-dev06:31
*** d2m has quit IRC06:31
*** d2m has joined #zope3-dev06:32
*** dunny has quit IRC06:46
*** zopePloneConsult has joined #zope3-dev08:09
*** stub has quit IRC08:18
*** sm has joined #zope3-dev08:36
*** dlk has joined #zope3-dev08:55
*** philiKON has quit IRC08:56
*** philiKON has joined #zope3-dev08:56
*** eins has joined #zope3-dev09:12
einshi09:12
*** zagy has joined #zope3-dev09:14
*** hdima has joined #zope3-dev09:19
*** romanofski has joined #zope3-dev09:34
romanofskimoin09:36
*** srichter has quit IRC09:46
*** Theuni has joined #zope3-dev09:51
*** srichter has joined #zope3-dev10:10
*** philiKON has quit IRC10:26
*** philiKON has joined #zope3-dev10:27
*** romanofski has quit IRC10:33
*** MJ has quit IRC10:34
*** romanofski has joined #zope3-dev10:36
*** sashav has joined #zope3-dev10:40
*** sashav has quit IRC10:53
*** sashav has joined #zope3-dev10:53
*** zopePloneConsult has quit IRC10:56
*** whit is now known as whit|zZzz10:56
*** projekt01 has joined #zope3-dev11:04
*** MJ has joined #zope3-dev11:09
*** zopePloneConsult has joined #zope3-dev11:10
*** ChanServ sets mode: +o srichter11:41
*** dunny has joined #zope3-dev11:42
*** ignas has joined #zope3-dev12:16
*** mexiKON has joined #zope3-dev12:18
*** efge has joined #zope3-dev12:35
*** philiKON has quit IRC12:39
*** stub has joined #zope3-dev12:52
*** mgedmin has joined #zope3-dev12:54
*** alga has joined #zope3-dev13:15
*** rockyburt has joined #zope3-dev13:47
*** mkerrin has joined #zope3-dev14:00
*** rockyburt has quit IRC14:02
*** rockyburt has joined #zope3-dev14:12
*** jinty has joined #zope3-dev14:21
*** Kruegi has joined #zope3-dev14:40
*** philiKON has joined #zope3-dev14:54
mgedmincan somebody explain the curious behavior of the IAnnotations adapter on security-proxied objects?14:59
mgedminIAnnotations(foo)[key] = value14:59
mgedminworks, stores the annotation in the zodb14:59
mgedminin another transaction, IAnnotations(foo).get(key) returns None14:59
mgedminno errors14:59
mgedminIAnnotations(removeSecurityProxy(foo)).get(keys) returns the value that I need15:00
*** benji has quit IRC15:02
*** zbir has quit IRC15:10
*** mexiKON has quit IRC15:15
*** projekt01 has quit IRC15:21
*** benji has joined #zope3-dev15:38
*** deo has joined #zope3-dev15:57
*** regebro has joined #zope3-dev15:58
regebroHullo!15:59
benjihi, regebro15:59
regebroI 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
regebroHowver, it will NOT do the same with the list of user preferred langauges.16:00
*** zbir has joined #zope3-dev16:00
regebroI 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 i18n16:02
regebroLucky you. :)16:03
regebroBasically, I guess I'm asking if this is a bug in Zope3 or Five. :)16:03
*** gumpa has joined #zope3-dev16:03
benjiFive.  Definately Five.  You can take my word on it.16:05
regebro:)16:07
*** niemeyer has joined #zope3-dev16:18
regebroWell, fixing it in Five has swifter turnaround, so I'll fix it there. :)16:20
*** mexiKON has joined #zope3-dev16:27
*** sawdog has joined #zope3-dev16:30
*** dunny has quit IRC16:42
*** dunny has joined #zope3-dev16:43
*** philiKON has quit IRC16:47
benjiregebro, all kidding asside, it /might/ be a Z3 bug, so perhaps a collector issue would be in order16:52
*** fcorrea has joined #zope3-dev17:02
*** hdima has quit IRC17:12
*** Kruegi has quit IRC17:13
*** sawdog has left #zope3-dev17:16
*** j1m has joined #zope3-dev17:19
*** eins has quit IRC17:20
*** whit|zZzz is now known as whit17:21
*** sawdog has joined #zope3-dev17:21
*** mexiKON is now known as philiKON17:23
*** jinty has quit IRC17:34
srichterj1m: Uwe is spending the rest of the sprint customizing his Bebop application for a Zope 3 development website18:03
srichterj1m: I think you will really like it :-)18:03
j1mcool18:04
whitsrichter: how's the sprinting?18:04
srichtergoing good18:04
srichterRuss can report at the Norway sprint18:04
*** zopePloneConsult has left #zope3-dev18:05
*** zopePloneConsult has joined #zope3-dev18:07
*** philiKON has quit IRC18:07
*** philiKON has joined #zope3-dev18:07
whitexcellent! Russ is going to both? tell him hello for me :)18:12
*** sashav has quit IRC18:14
*** MJ has quit IRC18:15
*** zopePloneConsult has left #zope3-dev18:29
*** regebro has quit IRC18:30
*** jinty has joined #zope3-dev18:37
*** philiKON has quit IRC18:40
*** philiKON has joined #zope3-dev18:40
*** stub has quit IRC18:42
*** zagy has quit IRC18:46
*** efrerich has joined #zope3-dev18:56
*** SteveA has joined #zope3-dev19:02
*** kamalgill has joined #zope3-dev19:05
*** romanofski has quit IRC19:16
*** BjornT has quit IRC19:21
*** jinty has quit IRC19:26
*** BjornT has joined #zope3-dev19:28
*** gumpa is now known as gumpa-away19:29
*** MJ has joined #zope3-dev19:30
*** einheit_ has joined #zope3-dev19:34
*** mexiKON has joined #zope3-dev19:36
*** fcorrea has quit IRC19:44
*** BjornT has quit IRC19:44
*** philiKON has quit IRC19:48
*** SteveA has quit IRC19:50
*** tiredbones has quit IRC19:51
*** tiredbones has joined #zope3-dev19:52
*** BjornT has joined #zope3-dev19:53
*** zagy has joined #zope3-dev19:56
*** einheit_2 has joined #zope3-dev20:05
*** dlk has quit IRC20:15
*** einheit_ has quit IRC20:22
*** sashav has joined #zope3-dev20:25
*** einheit_ has joined #zope3-dev20:36
*** ignas has quit IRC20:36
*** fcorrea has joined #zope3-dev20:38
*** RaFromBRC has joined #zope3-dev20:38
*** einheit_ is now known as SteveA20:41
*** alga has quit IRC20:49
*** mexiKON is now known as philiKON20:51
*** einheit_2 has quit IRC20:53
*** regebro has joined #zope3-dev20:53
regebroThere is something with adapting I don't get....20:54
*** SteveA has left #zope3-dev20:54
regebroI'm trying to register a traversable adapter for an interface.20:54
regebroBut the lookup always returns a COntainerTraversable...20:54
philiKONthe object you're adapting provides IContainer?20:55
regebroThe interface inherits from IContainer, sure, but I register and ITraversable for the subclassed interface.20:55
regebroShould't it use my adapter in that case?20:55
philiKONare you using zapi.traverse?20:56
philiKONor are you looking up the adapter manually?20:56
regebrozapi.traverse20:56
regebroI haven't tried looking it up manually, but that should make no difference.20:56
philiKONyes, it does :)20:56
regebroHmm.20:56
philiKONhmm wait20:57
philiKONbefore i start lying :)20:57
philiKONi *thought* they were also registered as views20:57
philiKONsome adapters in the traversing machinery are registered as views and as single adapters20:57
philiKONbut i think those were namespace adapters20:58
philiKON++foo++20:58
regebroYes, namespace adapters.20:58
philiKONhow are you registering the adapter?20:59
regebroWell, I tried bot provideAdapter and XMLConfig('configure.zcml', z3repo)()21:00
regebrowith a configure that registers it...21:00
regebroNow I tried manually doing ITraversable(ob) and it still returns ContainerTraverser.21:00
regebro(this is all just a doctest yet)21:01
philiKONright, that's ok21:01
philiKONperhaps you can paste it somewhere21:01
*** mgedmin has quit IRC21:01
regebrosure21:02
*** Theuni has quit IRC21:02
regebrohttp://paste.plone.org/330321:04
regebroI cut it out to just the things that doens't work. :)21:05
philiKONther eyou go21:05
philiKONthe provideAdapter line reads wrong21:05
philiKONprovideAdapter(ProxyingFolderTraversable, (IProxyingFolder,), ITraversable)21:05
regebroAha... That explains that. :)21:06
philiKONi don't see the ZCML so i can't tell you about that21:06
philiKONbtw, i really like to use z.c.adapts() so that i won't have to remember how to use z.c.provideAdapter...21:07
regebroAh, spelling mistake.21:07
philiKON:)21:07
regebroThat didn't raise an error? Weird.21:07
regebroOh, right, you can use adapts now...21:08
regebroI'll try that.21:09
philiKONyeah, you can use it since zope2.9/3.221:11
regebroHeh... How do you use it? :)21:11
philiKONlike z.i.implements21:11
philiKONe.g.:21:11
philiKONclass ProxyFolderTraversable(object):21:12
philiKON    zope.component.adapts(IProxyingFolder)21:12
philiKON    zope.interface.implements(Itraversable)21:12
philiKONbrb, phone21:12
regebroHmm, that didn't work, I'm back in the ContainerTraversable again. :-/21:13
*** rockyburt has quit IRC21:14
*** rockyburt has joined #zope3-dev21:16
*** TrevorP has quit IRC21:19
*** yota has quit IRC21:21
regebroAh well, I give up. provideAdapter works now. :) Thanks!21:21
philiKONnp21:24
*** MJ has quit IRC21:25
*** tiredbones has quit IRC21:28
*** fcorrea has quit IRC21:29
*** yota has joined #zope3-dev21:32
*** efrerich_ has joined #zope3-dev21:38
*** Kruegi has joined #zope3-dev21:50
*** fcorrea has joined #zope3-dev21:55
*** efrerich has quit IRC21:56
*** mkerrin has quit IRC21:56
*** rockyburt is now known as rockyburt|away22:00
*** zagy has quit IRC22:06
*** regebro has quit IRC22:10
*** Kruegi has quit IRC22:27
*** sm has left #zope3-dev22:29
*** lunatik has joined #zope3-dev22:43
*** lunatik has left #zope3-dev22:43
*** efge has quit IRC22:49
*** gumpa-away is now known as gumpa22:58
*** gumpa has quit IRC23:07
*** tonico has quit IRC23:42

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