benji | 63.240.213.171 is apparently a loadbalancer | 00:00 |
---|---|---|
benji | 63.240.213.173 is svn.zope.org | 00:01 |
J1m | right, f12g has the right values. | 00:02 |
J1m | my isp has old values. | 00:02 |
J1m | That made thigs work for me most of the day. :) | 00:02 |
benji | heh | 00:02 |
benji | is anyone of the zope.org DNS management people aware of the problem? | 00:03 |
*** nathany has quit IRC | 00:03 | |
benji | there's always /etc/hosts, J1m | 00:04 |
J1m | Actually andrew gave me the address of a dns server with the right value. | 00:05 |
J1m | There's always resolve.conf. :) | 00:05 |
benji | :) | 00:05 |
J1m | resolv.cond | 00:05 |
J1m | resolv.conf | 00:06 |
benji | try again | 00:06 |
J1m | There are always those 3. | 00:06 |
benji | lol! | 00:06 |
benji | watching you type is like an improv comedy routine | 00:06 |
J1m | black comedy | 00:07 |
*** RaFromBRC is now known as RaFromBRC|lunch | 00:07 | |
*** stainsby has joined #zope3-dev | 00:08 | |
ksmith99 | what is the equivilant zcml for component.provideAdapter(zope.annotation.factory(Bar)) ? | 00:12 |
*** gumpa has left #zope3-dev | 00:38 | |
*** dunny has quit IRC | 00:39 | |
*** dunny has joined #zope3-dev | 00:40 | |
*** andrew_m has quit IRC | 00:41 | |
*** jkakar has quit IRC | 00:43 | |
*** ktwilight has quit IRC | 00:45 | |
*** RaFromBRC|lunch is now known as RaFromBRC | 00:53 | |
*** timte has quit IRC | 00:55 | |
ksmith99 | never mind :), wow, the new annotations factory works great | 00:58 |
*** J1m has quit IRC | 01:04 | |
*** HakTom has quit IRC | 01:04 | |
*** benji has quit IRC | 01:09 | |
*** tonico is now known as tonico|away | 01:23 | |
*** natea is now known as natea|away | 01:26 | |
*** yota has quit IRC | 01:26 | |
*** rocky is now known as rocky|Zzz | 01:29 | |
*** niemeyer has quit IRC | 01:31 | |
*** alga has quit IRC | 01:39 | |
*** kobold has quit IRC | 01:56 | |
*** Londo_ has joined #zope3-dev | 02:10 | |
*** jinty has quit IRC | 02:16 | |
*** jinty has joined #zope3-dev | 02:39 | |
*** whit has quit IRC | 02:48 | |
*** projekt01 has joined #zope3-dev | 03:07 | |
roym | philiKON: thanks - didn't see your note till just yet.. | 03:23 |
*** wrobel has quit IRC | 03:29 | |
*** runyaga has joined #zope3-dev | 03:31 | |
runyaga | hi | 03:31 |
*** supton has quit IRC | 03:39 | |
*** projekt01 has quit IRC | 03:51 | |
*** ksmith99 has left #zope3-dev | 03:51 | |
*** dunny has quit IRC | 04:09 | |
*** dunny has joined #zope3-dev | 04:10 | |
*** ateoh211 has left #zope3-dev | 04:19 | |
*** RaFromBRC has quit IRC | 04:26 | |
*** reco has joined #zope3-dev | 04:27 | |
*** stub has joined #zope3-dev | 04:56 | |
*** RaFromBRC has joined #zope3-dev | 05:08 | |
*** trevorp-office has joined #zope3-dev | 05:10 | |
*** trevorp-office has left #zope3-dev | 05:10 | |
*** whit has joined #zope3-dev | 05:37 | |
*** hazmat has quit IRC | 05:37 | |
*** hazmat has joined #zope3-dev | 05:40 | |
*** ChanServ sets mode: +o hazmat | 05:40 | |
*** whit has quit IRC | 05:46 | |
*** povbot has joined #zope3-dev | 06:09 | |
*** hazmat has quit IRC | 06:23 | |
*** baijum has joined #zope3-dev | 06:25 | |
*** hazmat has joined #zope3-dev | 06:27 | |
*** ChanServ sets mode: +o hazmat | 06:27 | |
*** roym has quit IRC | 06:27 | |
* baijum added '63.240.213.173 svn.zope.org' to /etc/hosts (now svn up works :) ) | 06:39 | |
*** dunny has quit IRC | 06:55 | |
*** mexiKON has joined #zope3-dev | 07:35 | |
*** philiKON has quit IRC | 07:42 | |
*** dobee has joined #zope3-dev | 08:12 | |
*** eins has joined #zope3-dev | 08:15 | |
*** jukart has joined #zope3-dev | 08:26 | |
*** rocky|Zzz has quit IRC | 08:33 | |
*** dobee_ has joined #zope3-dev | 09:12 | |
*** flox has quit IRC | 09:21 | |
*** dobee has quit IRC | 09:28 | |
*** hdima has joined #zope3-dev | 09:31 | |
*** romanofski has joined #zope3-dev | 09:44 | |
*** HakTom has joined #zope3-dev | 09:46 | |
romanofski | moin | 09:50 |
*** flox has joined #zope3-dev | 10:11 | |
*** kobold has joined #zope3-dev | 10:13 | |
*** HakTom has quit IRC | 10:18 | |
*** tonico|away is now known as tonico | 10:18 | |
*** HakTom has joined #zope3-dev | 10:21 | |
*** ext has joined #zope3-dev | 10:24 | |
*** ext has quit IRC | 10:27 | |
*** ext has joined #zope3-dev | 10:27 | |
*** yota has joined #zope3-dev | 10:38 | |
*** J1m has joined #zope3-dev | 11:10 | |
*** dobee_ has quit IRC | 11:46 | |
*** tiredbones has joined #zope3-dev | 11:59 | |
*** Aiste has quit IRC | 12:10 | |
*** batlogg has joined #zope3-dev | 12:31 | |
*** ignas has joined #zope3-dev | 12:40 | |
Theuni | anyone alive? | 12:43 |
Theuni | I svn.zope.org seems to be talking to me again, but I get a host key verification error ... | 12:43 |
Theuni | Is the IP 63.240.213.171 correct? | 12:43 |
*** timte has joined #zope3-dev | 12:44 | |
mexiKON | i thought 173 was the right one? | 12:45 |
*** Aiste has joined #zope3-dev | 12:45 | |
*** faassen has joined #zope3-dev | 13:10 | |
*** dobee has joined #zope3-dev | 13:20 | |
*** ktwilight has joined #zope3-dev | 13:20 | |
*** torkel_ has joined #zope3-dev | 13:22 | |
Theuni | mexiKON: at least when using 173 via hosts file, I can update again | 13:24 |
mexiKON | 'dere you go | 13:24 |
Theuni | what kind of slang is that? | 13:24 |
mexiKON | roll the 'r' | 13:25 |
mexiKON | spanish/italian/... accent | 13:25 |
mexiKON | mafiosi if you want | 13:25 |
mexiKON | or you dont dink dat's funny, eh? come tony, cut him | 13:25 |
mexiKON | Theuni, watch the godfather or goodfellas in english ;) | 13:26 |
mexiKON | german dubbing is only half as fun for exactly that reason | 13:26 |
mexiKON | or, watch Mickey Blue Eyes | 13:26 |
mexiKON | hilarious movie | 13:26 |
*** rocky has joined #zope3-dev | 13:27 | |
*** ktwilight has quit IRC | 13:29 | |
*** batlogg has quit IRC | 13:30 | |
*** dlk has joined #zope3-dev | 13:41 | |
*** mexiKON has quit IRC | 13:43 | |
*** torkel_ has quit IRC | 13:45 | |
*** natea|away has quit IRC | 13:53 | |
*** rocky has quit IRC | 13:59 | |
*** vlado has joined #zope3-dev | 14:07 | |
*** philiKON has joined #zope3-dev | 14:10 | |
*** J1m has quit IRC | 14:15 | |
*** rocky has joined #zope3-dev | 14:21 | |
*** philiKON has quit IRC | 14:27 | |
*** mkerrin has joined #zope3-dev | 14:28 | |
*** philiKON has joined #zope3-dev | 14:29 | |
philiKON | who wants to represent zope3 on this contest: http://www.plat-forms.org/ ? | 14:46 |
*** eins has quit IRC | 14:58 | |
*** HakTom has quit IRC | 14:59 | |
*** mgedmin has joined #zope3-dev | 15:03 | |
*** niemeyer has joined #zope3-dev | 15:09 | |
flox | i need 2 contentproviders on the same page that use the same generated variable 'foo'. | 15:10 |
flox | how i make sure that 'foo' is generated only the first time | 15:11 |
flox | ? | 15:11 |
*** benji has joined #zope3-dev | 15:11 | |
*** jkakar has joined #zope3-dev | 15:11 | |
philiKON | flox, huh? | 15:17 |
flox | philiKON, yes, i hv a list of items that is displayed both in a viewlet, and in the main page | 15:36 |
flox | i want to do the computationo f the list only 1 time | 15:37 |
flox | s/computationo f/computation of/ | 15:37 |
philiKON | pre-compute it in the view | 15:38 |
flox | if i call a contentprovider, (or a utility) 2 times, it performs calculation 2 times... | 15:38 |
flox | oups i mean an adapter, not a utility, in that case | 15:39 |
flox | i can use the variable that is in the 'view' from the 'viewlet'? | 15:40 |
flox | i hav to assign __parent__ of the viewlet to the view, no? | 15:40 |
philiKON | viewlets already do this | 15:40 |
flox | then if i call 'view/foo' i get the variable? | 15:41 |
flox | from the viewlet | 15:41 |
flox | ok, i try this | 15:41 |
*** natea has joined #zope3-dev | 15:48 | |
*** flox has quit IRC | 15:48 | |
*** batlogg has joined #zope3-dev | 15:58 | |
*** hazmat has quit IRC | 16:03 | |
*** natea has quit IRC | 16:05 | |
*** natea has joined #zope3-dev | 16:07 | |
*** ext has quit IRC | 16:18 | |
*** agroszer has joined #zope3-dev | 16:22 | |
*** hazmat has joined #zope3-dev | 16:23 | |
*** ChanServ sets mode: +o hazmat | 16:23 | |
*** alga has joined #zope3-dev | 16:25 | |
*** J1m has joined #zope3-dev | 16:32 | |
*** J1m has quit IRC | 16:33 | |
*** flox has joined #zope3-dev | 16:34 | |
*** gintas has joined #zope3-dev | 16:36 | |
*** fcorrea has joined #zope3-dev | 16:36 | |
*** Aiste has quit IRC | 16:45 | |
*** Aiste has joined #zope3-dev | 16:46 | |
*** agroszer has quit IRC | 16:47 | |
*** J1m has joined #zope3-dev | 16:47 | |
*** ignas has quit IRC | 16:49 | |
*** natea_ has joined #zope3-dev | 16:49 | |
flox | i hv a ForbiddenAttribute: ('__annotations__', <some.Module object at 0x03067F70>) | 16:51 |
flox | don't know where to look at... | 16:51 |
fcorrea | flox: Maybe this is something that is not in your interface...so | 16:55 |
philiKON | flox, my book | 16:55 |
philiKON | flox, you need to make your adapter trusted | 16:55 |
*** natea has quit IRC | 16:55 | |
flox | philiKON, i will check again, but i've put it 'trusted', i think | 16:55 |
*** ignas has joined #zope3-dev | 16:56 | |
flox | trusted="true" or trusted="yes" or trusted="y" ? | 16:56 |
philiKON | either way | 16:57 |
flox | ok | 16:57 |
fcorrea | flox: check this out http://mail.zope.org/pipermail/zope3-users/2006-June/003706.html | 16:58 |
*** stub has quit IRC | 16:59 | |
*** baijum has quit IRC | 17:01 | |
flox | fcorrea: thanks, i'll read that. | 17:02 |
fcorrea | np | 17:02 |
flox | ok, i forgot a 'trusted' attribute.. | 17:02 |
flox | but now i've an Unauthorized error... | 17:03 |
*** dlk has quit IRC | 17:07 | |
*** whit has joined #zope3-dev | 17:08 | |
*** hdima has quit IRC | 17:09 | |
flox | i think i forgot to assign the __parent__ variable for my annotation | 17:10 |
flox | i check | 17:10 |
philiKON | yup | 17:13 |
philiKON | your adapter needs __parent__ | 17:13 |
flox | that's it | 17:13 |
flox | :-) | 17:13 |
flox | now it works... | 17:13 |
*** RaFromBRC has quit IRC | 17:16 | |
*** BjornT has quit IRC | 17:30 | |
*** BjornT has joined #zope3-dev | 17:30 | |
flox | if i put attribut 'trusted', i don't need attribute 'permission=' ? | 17:47 |
flox | on the adapter | 17:47 |
flox | ? | 17:47 |
* flox should read again the Annotation chapter | 17:48 | |
philiKON | flox, RTFB :) | 17:51 |
philiKON | when you have a trusted adapter, you need security declarations for the adapter itself | 17:51 |
philiKON | read the book and you'll see what i mean | 17:51 |
fcorrea | RTFB haha...cool | 17:52 |
philiKON | after all, that's what i wrote it for | 17:53 |
philiKON | if you folks don't read it, what's the point | 17:53 |
flox | right... we have 2 copies of ur book | 17:53 |
flox | 1 in Paris, other one is on the shelf, behind me | 17:54 |
fcorrea | flox: you almost scared me with your two copies :D | 17:55 |
flox | legal copies, i mean | 17:55 |
flox | from Springer | 17:56 |
fcorrea | not that....why in hell one needs 2 copies | 17:56 |
flox | haha.. because developers work on 2 locations | 17:56 |
fcorrea | to compare if both are genuine ? teasing you | 17:56 |
*** radix has joined #zope3-dev | 18:00 | |
fcorrea | flox: this is cool too http://griddlenoise.blogspot.com/2005/07/adapting-content-attributes-to-zope.html | 18:00 |
radix | it doesn't appear that testbrowser supports submit button values correctly, although maybe I'm out of it | 18:00 |
benji | in what way, radix? | 18:02 |
radix | benji: 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 clicked | 18:02 |
radix | benji: it appears testbrowser always only passes the value of the first submit button | 18:03 |
benji | radix: a bug report with code/html to easily reproduce the error would be great | 18:03 |
flox | fcorrea: i keep this bookmark, to read after dinner | 18:03 |
radix | benji: ok, cool | 18:03 |
BjornT | radix: as a workaround, it might work if you give the buttons unique ids | 18:04 |
mgedmin | my submit button values are usually i18n:translated, so I always pay attention to the name | 18:04 |
*** ignas_ has joined #zope3-dev | 18:04 | |
fcorrea | flox: search in deli.cio.us for zope3 tags....tons there...at least from me ;) | 18:05 |
radix | BjornT: oh, that did work. | 18:05 |
flox | is there any reason to use Python 'zope.component.adapts' instead of ZCML attribute 'for=' ? | 18:05 |
* radix files the bug | 18:05 | |
*** ignas has quit IRC | 18:05 | |
benji | sidebar mgedmin: (being clueless about i18n), I would assume you'd use the test language | 18:05 |
mgedmin | flox: yes, I think so | 18:06 |
mgedmin | when the adapter can be used with only one meaningful for= | 18:06 |
mgedmin | then it is better to keep that next to the adapter | 18:06 |
mgedmin | plus, if you ever need to register that adapter in some unit test | 18:06 |
mgedmin | you can say zope.component.provideAdapter(myAdapter) | 18:06 |
mgedmin | and not have to repeat the for= and provides= | 18:07 |
benji | agree, I almost always prefer the decorator version | 18:07 |
mgedmin | benji: but in real life it would make it difficult for the code that processes a form submission | 18:07 |
flox | mgedmin: thanks, i guess it is the same for zope.interface | 18:07 |
flox | implements | 18:07 |
benji | mgedmin: I don't understand, but I'll take your word for it :) | 18:08 |
mgedmin | if request.form['foo_btn'] == translate(_('Do this'), context=self.request): # this feels ugly to me | 18:09 |
benji | for the most part, flox; for (extrinsic) marker interfaces (like ISharable) it is often preferable to use ZCML | 18:09 |
mgedmin | so instead of <input name="foo_btn" value="do this"><input name="foo_btn" value="do that"> | 18:09 |
*** ofer has joined #zope3-dev | 18:09 | |
mgedmin | I prefer <input name="do_this_btn" value="do this"><input name="do_that_btn" value="do that"> | 18:09 |
radix | hmm, I don't really know how to do small self-contained testbrowser examples | 18:10 |
flox | benji: ok | 18:10 |
flox | bye, i go back home | 18:10 |
*** vlado_ has joined #zope3-dev | 18:12 | |
*** vlado has quit IRC | 18:12 | |
BjornT | radix: there are some examples in zope/testbrowser/tests.py | 18:13 |
radix | oh, cool, I'll take a look | 18:14 |
*** flox has quit IRC | 18:21 | |
*** ofer has quit IRC | 18:26 | |
*** mgedmin has quit IRC | 18:27 | |
radix | BjornT, benji: thanks for the help: http://www.zope.org/Collectors/Zope3-dev/723 | 18:27 |
benji | thanks radix | 18:30 |
*** dobee has quit IRC | 18:35 | |
*** vlado_ is now known as vlado | 18:37 | |
*** tiredbones_ has joined #zope3-dev | 18:51 | |
*** fcorrea has quit IRC | 18:52 | |
*** zagy has quit IRC | 18:56 | |
*** ignas_ has quit IRC | 18:58 | |
*** philiKON has quit IRC | 18:59 | |
*** vlado has quit IRC | 19:04 | |
*** mgedmin has joined #zope3-dev | 19:05 | |
*** tiredbones has quit IRC | 19:06 | |
*** romanofski has quit IRC | 19:11 | |
*** whit has quit IRC | 19:15 | |
*** zagy has joined #zope3-dev | 19:16 | |
*** whit has joined #zope3-dev | 19:17 | |
*** hazmat has quit IRC | 19:18 | |
*** dobee has joined #zope3-dev | 19:21 | |
*** jukart has quit IRC | 19:21 | |
*** dobee has quit IRC | 19:24 | |
*** hazmat has joined #zope3-dev | 19:30 | |
*** ChanServ sets mode: +o hazmat | 19:30 | |
*** gintas has quit IRC | 19:36 | |
*** kobold has left #zope3-dev | 19:39 | |
*** flox has joined #zope3-dev | 19:44 | |
*** zagy_ has joined #zope3-dev | 20:10 | |
*** zagy has quit IRC | 20:20 | |
*** philiKON has joined #zope3-dev | 20:20 | |
*** RaFromBRC has joined #zope3-dev | 20:21 | |
*** zagy_ is now known as zagy | 20:31 | |
*** regebro has joined #zope3-dev | 20:44 | |
*** Aiste has quit IRC | 20:54 | |
*** ksmith99 has joined #zope3-dev | 20:54 | |
*** faassen has quit IRC | 21:00 | |
*** regebro has left #zope3-dev | 21:07 | |
*** romanofski has joined #zope3-dev | 21:19 | |
*** gumpa has joined #zope3-dev | 21:27 | |
*** batlogg has quit IRC | 21:47 | |
*** natea_ is now known as mattludwig | 22:04 | |
*** mattludwig is now known as matrokirk | 22:05 | |
*** alecm has joined #zope3-dev | 22:05 | |
*** matrokirk is now known as natea | 22:05 | |
*** regebro has joined #zope3-dev | 22:12 | |
regebro | Hi all! | 22:13 |
regebro | In zope:adapter statement, "for" is optional in Zope 3.2, right? And it picks it up from the class? | 22:13 |
regebro | But how do you state it on the class? I forgot... :) | 22:13 |
*** hazmat has quit IRC | 22:14 | |
mgedmin | class MyAdapter(...): adapts(IFoo) | 22:15 |
mgedmin | where adapts is zope.component.adapts | 22:15 |
mgedmin | my 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 |
regebro | Ah, of course, zope.COMPONENT... | 22:16 |
*** flox has quit IRC | 22:17 | |
*** dunny has joined #zope3-dev | 22:20 | |
*** rocky is now known as rocky|away | 22:23 | |
*** zagy has quit IRC | 22:23 | |
*** whit is now known as whit|cafe | 22:25 | |
*** HakTom has joined #zope3-dev | 22:26 | |
*** whit has joined #zope3-dev | 22:37 | |
philiKON | mgedmin, yes, @zope.component.adapter(IMyEvent) | 22:38 |
*** HakTom has quit IRC | 22:39 | |
*** mkerrin has quit IRC | 22:46 | |
*** gumpa has left #zope3-dev | 22:49 | |
*** whit has quit IRC | 22:49 | |
*** whit has joined #zope3-dev | 22:52 | |
*** Aiste has joined #zope3-dev | 22:58 | |
*** whit has quit IRC | 23:18 | |
*** whit has joined #zope3-dev | 23:19 | |
*** hazmat has joined #zope3-dev | 23:25 | |
*** ChanServ sets mode: +o hazmat | 23:25 | |
*** RaFromBRC has quit IRC | 23:35 | |
*** whit has quit IRC | 23:41 | |
*** flox has joined #zope3-dev | 23:42 | |
*** whit has joined #zope3-dev | 23:43 | |
mgedmin | what, svn.zope.org is resolving to the wrong IP *again*? | 23:57 |
*** ofer has joined #zope3-dev | 23:58 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!