IRC log of #zope3-dev for Wednesday, 2006-10-11

benji63.240.213.171 is apparently a loadbalancer00:00
benji63.240.213.173 is svn.zope.org00:01
J1mright, f12g has the right values.00:02
J1mmy isp has old values.00:02
J1mThat made thigs work for me most of the day. :)00:02
benjiis anyone of the DNS management people aware of the problem?00:03
*** nathany has quit IRC00:03
benjithere's always /etc/hosts, J1m00:04
J1mActually andrew gave me the address of a dns server with the right value.00:05
J1mThere's always resolve.conf. :)00:05
benjitry again00:06
J1mThere are always those 3.00:06
benjiwatching you type is like an improv comedy routine00:06
J1mblack comedy00:07
*** RaFromBRC is now known as RaFromBRC|lunch00:07
*** stainsby has joined #zope3-dev00:08
ksmith99what is the equivilant zcml for component.provideAdapter(zope.annotation.factory(Bar)) ?00:12
*** gumpa has left #zope3-dev00:38
*** dunny has quit IRC00:39
*** dunny has joined #zope3-dev00:40
*** andrew_m has quit IRC00:41
*** jkakar has quit IRC00:43
*** ktwilight has quit IRC00:45
*** RaFromBRC|lunch is now known as RaFromBRC00:53
*** timte has quit IRC00:55
ksmith99never mind :), wow, the new annotations factory works great00:58
*** J1m has quit IRC01:04
*** HakTom has quit IRC01:04
*** benji has quit IRC01:09
*** tonico is now known as tonico|away01:23
*** natea is now known as natea|away01:26
*** yota has quit IRC01:26
*** rocky is now known as rocky|Zzz01:29
*** niemeyer has quit IRC01:31
*** alga has quit IRC01:39
*** kobold has quit IRC01:56
*** Londo_ has joined #zope3-dev02:10
*** jinty has quit IRC02:16
*** jinty has joined #zope3-dev02:39
*** whit has quit IRC02:48
*** projekt01 has joined #zope3-dev03:07
roymphiliKON: thanks - didn't see your note till just yet..03:23
*** wrobel has quit IRC03:29
*** runyaga has joined #zope3-dev03:31
*** supton has quit IRC03:39
*** projekt01 has quit IRC03:51
*** ksmith99 has left #zope3-dev03:51
*** dunny has quit IRC04:09
*** dunny has joined #zope3-dev04:10
*** ateoh211 has left #zope3-dev04:19
*** RaFromBRC has quit IRC04:26
*** reco has joined #zope3-dev04:27
*** stub has joined #zope3-dev04:56
*** RaFromBRC has joined #zope3-dev05:08
*** trevorp-office has joined #zope3-dev05:10
*** trevorp-office has left #zope3-dev05:10
*** whit has joined #zope3-dev05:37
*** hazmat has quit IRC05:37
*** hazmat has joined #zope3-dev05:40
*** ChanServ sets mode: +o hazmat05:40
*** whit has quit IRC05:46
*** povbot has joined #zope3-dev06:09
*** hazmat has quit IRC06:23
*** baijum has joined #zope3-dev06:25
*** hazmat has joined #zope3-dev06:27
*** ChanServ sets mode: +o hazmat06:27
*** roym has quit IRC06:27
* baijum added '' to /etc/hosts (now svn up works :) )06:39
*** dunny has quit IRC06:55
*** mexiKON has joined #zope3-dev07:35
*** philiKON has quit IRC07:42
*** dobee has joined #zope3-dev08:12
*** eins has joined #zope3-dev08:15
*** jukart has joined #zope3-dev08:26
*** rocky|Zzz has quit IRC08:33
*** dobee_ has joined #zope3-dev09:12
*** flox has quit IRC09:21
*** dobee has quit IRC09:28
*** hdima has joined #zope3-dev09:31
*** romanofski has joined #zope3-dev09:44
*** HakTom has joined #zope3-dev09:46
*** flox has joined #zope3-dev10:11
*** kobold has joined #zope3-dev10:13
*** HakTom has quit IRC10:18
*** tonico|away is now known as tonico10:18
*** HakTom has joined #zope3-dev10:21
*** ext has joined #zope3-dev10:24
*** ext has quit IRC10:27
*** ext has joined #zope3-dev10:27
*** yota has joined #zope3-dev10:38
*** J1m has joined #zope3-dev11:10
*** dobee_ has quit IRC11:46
*** tiredbones has joined #zope3-dev11:59
*** Aiste has quit IRC12:10
*** batlogg has joined #zope3-dev12:31
*** ignas has joined #zope3-dev12:40
Theunianyone alive?12:43
TheuniI seems to be talking to me again, but I get a host key verification error ...12:43
TheuniIs the IP correct?12:43
*** timte has joined #zope3-dev12:44
mexiKONi thought 173 was the right one?12:45
*** Aiste has joined #zope3-dev12:45
*** faassen has joined #zope3-dev13:10
*** dobee has joined #zope3-dev13:20
*** ktwilight has joined #zope3-dev13:20
*** torkel_ has joined #zope3-dev13:22
TheunimexiKON: at least when using 173 via hosts file, I can update again13:24
mexiKON'dere you go13:24
Theuniwhat kind of slang is that?13:24
mexiKONroll the 'r'13:25
mexiKONspanish/italian/... accent13:25
mexiKONmafiosi if you want13:25
mexiKONor you dont dink dat's funny, eh? come tony, cut him13:25
mexiKONTheuni, watch the godfather or goodfellas in english ;)13:26
mexiKONgerman dubbing is only half as fun for exactly that reason13:26
mexiKONor, watch Mickey Blue Eyes13:26
mexiKONhilarious movie13:26
*** rocky has joined #zope3-dev13:27
*** ktwilight has quit IRC13:29
*** batlogg has quit IRC13:30
*** dlk has joined #zope3-dev13:41
*** mexiKON has quit IRC13:43
*** torkel_ has quit IRC13:45
*** natea|away has quit IRC13:53
*** rocky has quit IRC13:59
*** vlado has joined #zope3-dev14:07
*** philiKON has joined #zope3-dev14:10
*** J1m has quit IRC14:15
*** rocky has joined #zope3-dev14:21
*** philiKON has quit IRC14:27
*** mkerrin has joined #zope3-dev14:28
*** philiKON has joined #zope3-dev14:29
philiKONwho wants to represent zope3 on this contest: ?14:46
*** eins has quit IRC14:58
*** HakTom has quit IRC14:59
*** mgedmin has joined #zope3-dev15:03
*** niemeyer has joined #zope3-dev15:09
floxi need 2 contentproviders on the same page that use the same generated variable 'foo'.15:10
floxhow i make sure that 'foo' is generated only the first time15:11
*** benji has joined #zope3-dev15:11
*** jkakar has joined #zope3-dev15:11
philiKONflox, huh?15:17
floxphiliKON, yes, i hv a list of items that is displayed both in a viewlet, and in the main page15:36
floxi want to do the computationo f the list only 1 time15:37
floxs/computationo f/computation of/15:37
philiKONpre-compute it in the view15:38
floxif i call a contentprovider, (or a utility) 2 times, it performs calculation 2 times...15:38
floxoups i mean an adapter, not a utility, in that case15:39
floxi can use the variable that is in the 'view' from the 'viewlet'?15:40
floxi hav to assign __parent__ of the viewlet to the view, no?15:40
philiKONviewlets already do this15:40
floxthen if i call 'view/foo' i get the variable?15:41
floxfrom the viewlet15:41
floxok, i try this15:41
*** natea has joined #zope3-dev15:48
*** flox has quit IRC15:48
*** batlogg has joined #zope3-dev15:58
*** hazmat has quit IRC16:03
*** natea has quit IRC16:05
*** natea has joined #zope3-dev16:07
*** ext has quit IRC16:18
*** agroszer has joined #zope3-dev16:22
*** hazmat has joined #zope3-dev16:23
*** ChanServ sets mode: +o hazmat16:23
*** alga has joined #zope3-dev16:25
*** J1m has joined #zope3-dev16:32
*** J1m has quit IRC16:33
*** flox has joined #zope3-dev16:34
*** gintas has joined #zope3-dev16:36
*** fcorrea has joined #zope3-dev16:36
*** Aiste has quit IRC16:45
*** Aiste has joined #zope3-dev16:46
*** agroszer has quit IRC16:47
*** J1m has joined #zope3-dev16:47
*** ignas has quit IRC16:49
*** natea_ has joined #zope3-dev16:49
floxi hv a ForbiddenAttribute: ('__annotations__', <some.Module object at 0x03067F70>)16:51
floxdon't know where to look at...16:51
fcorreaflox: Maybe this is something that is not in your interface...so16:55
philiKONflox, my book16:55
philiKONflox, you need to make your adapter trusted16:55
*** natea has quit IRC16:55
floxphiliKON, i will check again, but i've put it 'trusted', i think16:55
*** ignas has joined #zope3-dev16:56
floxtrusted="true" or trusted="yes" or trusted="y" ?16:56
philiKONeither way16:57
fcorreaflox: check this out
*** stub has quit IRC16:59
*** baijum has quit IRC17:01
floxfcorrea: thanks, i'll read that.17:02
floxok, i forgot a 'trusted' attribute..17:02
floxbut now i've an Unauthorized error...17:03
*** dlk has quit IRC17:07
*** whit has joined #zope3-dev17:08
*** hdima has quit IRC17:09
floxi think i forgot to assign the __parent__ variable for my annotation17:10
floxi check17:10
philiKONyour adapter needs __parent__17:13
floxthat's it17:13
floxnow it works...17:13
*** RaFromBRC has quit IRC17:16
*** BjornT has quit IRC17:30
*** BjornT has joined #zope3-dev17:30
floxif i put attribut 'trusted', i don't need attribute 'permission=' ?17:47
floxon the adapter17:47
* flox should read again the Annotation chapter17:48
philiKONflox, RTFB :)17:51
philiKONwhen you have a trusted adapter, you need security declarations for the adapter itself17:51
philiKONread the book and you'll see what i mean17:51
fcorreaRTFB haha...cool17:52
philiKONafter all, that's what i wrote it for17:53
philiKONif you folks don't read it, what's the point17:53
floxright... we have 2 copies of ur book17:53
flox1 in Paris, other one is on the shelf, behind me17:54
fcorreaflox: you almost scared me with your two copies :D17:55
floxlegal copies, i mean17:55
floxfrom Springer17:56
fcorreanot that....why in hell one needs 2 copies17:56
floxhaha.. because developers work on 2 locations17:56
fcorreato compare if both are genuine ? teasing you17:56
*** radix has joined #zope3-dev18:00
fcorreaflox: this is cool too
radixit doesn't appear that testbrowser supports submit button values correctly, although maybe I'm out of it18:00
benjiin what way, radix?18:02
radixbenji: if you have a multiple submit buttons with the same name="" and different values, browsers are supposed to pass the value of only the one you clicked18:02
radixbenji: it appears testbrowser always only passes the value of the first submit button18:03
benjiradix: a bug report with code/html to easily reproduce the error would be great18:03
floxfcorrea: i keep this bookmark, to read after dinner18:03
radixbenji: ok, cool18:03
BjornTradix: as a workaround, it might work if you give the buttons unique ids18:04
mgedminmy submit button values are usually i18n:translated, so I always pay attention to the name18:04
*** ignas_ has joined #zope3-dev18:04
fcorreaflox: search in for zope3 tags....tons least from me ;)18:05
radixBjornT: oh, that did work.18:05
floxis there any reason to use Python 'zope.component.adapts' instead of ZCML attribute 'for=' ?18:05
* radix files the bug18:05
*** ignas has quit IRC18:05
benjisidebar mgedmin: (being clueless about i18n), I would assume you'd use the test language18:05
mgedminflox: yes, I think so18:06
mgedminwhen the adapter can be used with only one meaningful for=18:06
mgedminthen it is better to keep that next to the adapter18:06
mgedminplus, if you ever need to register that adapter in some unit test18:06
mgedminyou can say zope.component.provideAdapter(myAdapter)18:06
mgedminand not have to repeat the for= and provides=18:07
benjiagree, I almost always prefer the decorator version18:07
mgedminbenji: but in real life it would make it difficult for the code that processes a form submission18:07
floxmgedmin: thanks, i guess it is the same for zope.interface18:07
benjimgedmin: I don't understand, but I'll take your word for it :)18:08
mgedminif request.form['foo_btn'] == translate(_('Do this'), context=self.request): # this feels ugly to me18:09
benjifor the most part, flox; for (extrinsic) marker interfaces (like ISharable) it is often preferable to use ZCML18:09
mgedminso instead of <input name="foo_btn" value="do this"><input name="foo_btn" value="do that">18:09
*** ofer has joined #zope3-dev18:09
mgedminI prefer <input name="do_this_btn" value="do this"><input name="do_that_btn" value="do that">18:09
radixhmm, I don't really know how to do small self-contained testbrowser examples18:10
floxbenji: ok18:10
floxbye, i go back home18:10
*** vlado_ has joined #zope3-dev18:12
*** vlado has quit IRC18:12
BjornTradix: there are some examples in zope/testbrowser/tests.py18:13
radixoh, cool, I'll take a look18:14
*** flox has quit IRC18:21
*** ofer has quit IRC18:26
*** mgedmin has quit IRC18:27
radixBjornT, benji: thanks for the help:
benjithanks radix18:30
*** dobee has quit IRC18:35
*** vlado_ is now known as vlado18:37
*** tiredbones_ has joined #zope3-dev18:51
*** fcorrea has quit IRC18:52
*** zagy has quit IRC18:56
*** ignas_ has quit IRC18:58
*** philiKON has quit IRC18:59
*** vlado has quit IRC19:04
*** mgedmin has joined #zope3-dev19:05
*** tiredbones has quit IRC19:06
*** romanofski has quit IRC19:11
*** whit has quit IRC19:15
*** zagy has joined #zope3-dev19:16
*** whit has joined #zope3-dev19:17
*** hazmat has quit IRC19:18
*** dobee has joined #zope3-dev19:21
*** jukart has quit IRC19:21
*** dobee has quit IRC19:24
*** hazmat has joined #zope3-dev19:30
*** ChanServ sets mode: +o hazmat19:30
*** gintas has quit IRC19:36
*** kobold has left #zope3-dev19:39
*** flox has joined #zope3-dev19:44
*** zagy_ has joined #zope3-dev20:10
*** zagy has quit IRC20:20
*** philiKON has joined #zope3-dev20:20
*** RaFromBRC has joined #zope3-dev20:21
*** zagy_ is now known as zagy20:31
*** regebro has joined #zope3-dev20:44
*** Aiste has quit IRC20:54
*** ksmith99 has joined #zope3-dev20:54
*** faassen has quit IRC21:00
*** regebro has left #zope3-dev21:07
*** romanofski has joined #zope3-dev21:19
*** gumpa has joined #zope3-dev21:27
*** batlogg has quit IRC21:47
*** natea_ is now known as mattludwig22:04
*** mattludwig is now known as matrokirk22:05
*** alecm has joined #zope3-dev22:05
*** matrokirk is now known as natea22:05
*** regebro has joined #zope3-dev22:12
regebroHi all!22:13
regebroIn zope:adapter statement, "for" is optional in Zope 3.2, right? And it picks it up from the class?22:13
regebroBut how do you state it on the class? I forgot... :)22:13
*** hazmat has quit IRC22:14
mgedminclass MyAdapter(...): adapts(IFoo)22:15
mgedminwhere adapts is zope.component.adapts22:15
mgedminmy turn: when you register a <subscriber handler="foo">, how do you specify the event type with a decorator?22:15
mgedmin@zope.adapter(IFooEvent), or is there a @zope.subscriber(IFooEvent)?22:16
regebroAh, of course, zope.COMPONENT...22:16
*** flox has quit IRC22:17
*** dunny has joined #zope3-dev22:20
*** rocky is now known as rocky|away22:23
*** zagy has quit IRC22:23
*** whit is now known as whit|cafe22:25
*** HakTom has joined #zope3-dev22:26
*** whit has joined #zope3-dev22:37
philiKONmgedmin, yes, @zope.component.adapter(IMyEvent)22:38
*** HakTom has quit IRC22:39
*** mkerrin has quit IRC22:46
*** gumpa has left #zope3-dev22:49
*** whit has quit IRC22:49
*** whit has joined #zope3-dev22:52
*** Aiste has joined #zope3-dev22:58
*** whit has quit IRC23:18
*** whit has joined #zope3-dev23:19
*** hazmat has joined #zope3-dev23:25
*** ChanServ sets mode: +o hazmat23:25
*** RaFromBRC has quit IRC23:35
*** whit has quit IRC23:41
*** flox has joined #zope3-dev23:42
*** whit has joined #zope3-dev23:43
mgedminwhat, is resolving to the wrong IP *again*?23:57
*** ofer has joined #zope3-dev23:58

Generated by 2.15.1 by Marius Gedminas - find it at!