*** natea is now known as natea|lunch | 00:05 | |
*** jinty has quit IRC | 00:13 | |
*** tiredbones has quit IRC | 00:13 | |
*** jinty has joined #zope3-dev | 00:14 | |
*** jinty has quit IRC | 00:32 | |
*** jinty has joined #zope3-dev | 00:33 | |
*** natea|lunch is now known as natea | 00:34 | |
*** tiredbones has joined #zope3-dev | 00:46 | |
*** danfairs has quit IRC | 00:48 | |
*** romanofski is now known as rom|zZZ | 00:48 | |
*** kamal-lunch is now known as kamalgill | 00:54 | |
*** projekt01 has joined #zope3-dev | 00:58 | |
*** ChanServ sets mode: +o srichter | 01:00 | |
*** sawdog has left #zope3-dev | 01:01 | |
*** tiredbones has quit IRC | 01:05 | |
*** tiredbones has joined #zope3-dev | 01:05 | |
*** natea is now known as natea|phone | 01:10 | |
*** cilkay has quit IRC | 01:23 | |
*** zbir has quit IRC | 01:40 | |
*** slinkP has left #zope3-dev | 01:42 | |
*** whit|errand is now known as whit | 02:10 | |
*** kamalgill is now known as kamal-nearby | 02:10 | |
*** jinty has quit IRC | 02:15 | |
*** jinty has joined #zope3-dev | 02:16 | |
*** natea|phone is now known as natea | 02:20 | |
*** jbb666 has quit IRC | 02:21 | |
*** jbb666 has joined #zope3-dev | 02:22 | |
*** niemeyer has quit IRC | 02:26 | |
*** tristil has joined #zope3-dev | 02:29 | |
*** benji has quit IRC | 02:31 | |
*** niemeyer has joined #zope3-dev | 02:34 | |
*** zbir has joined #zope3-dev | 02:41 | |
*** rockyburt has joined #zope3-dev | 02:53 | |
*** jinty has quit IRC | 02:55 | |
*** jinty has joined #zope3-dev | 02:57 | |
*** rockyburt is now known as rockyburt|zzz | 03:02 | |
*** kamal-nearby is now known as kamalgill | 03:11 | |
*** tristil has quit IRC | 03:22 | |
*** d2m_ has joined #zope3-dev | 03:27 | |
*** projekt01 has quit IRC | 03:28 | |
*** d2m has quit IRC | 03:28 | |
*** d2m_ is now known as d2m | 03:28 | |
*** yota has quit IRC | 04:03 | |
*** ddKON has quit IRC | 04:18 | |
*** sm has quit IRC | 04:26 | |
*** jinty has quit IRC | 04:28 | |
*** jinty has joined #zope3-dev | 04:29 | |
*** xwj623 has joined #zope3-dev | 04:29 | |
*** philiKON has joined #zope3-dev | 04:32 | |
*** jinty has quit IRC | 04:57 | |
*** jinty has joined #zope3-dev | 04:58 | |
*** kamalgill is now known as kamal-away | 05:56 | |
*** RaFromBRC has quit IRC | 06:41 | |
*** whit is now known as whit|zZz | 06:49 | |
*** whit|zZz has quit IRC | 06:50 | |
*** niemeyer has quit IRC | 07:05 | |
*** rockyburt|zzz has quit IRC | 07:17 | |
*** d2m has quit IRC | 07:27 | |
*** d2m_ has joined #zope3-dev | 07:27 | |
*** d2m_ is now known as d2m | 07:28 | |
*** Theuni has joined #zope3-dev | 07:40 | |
*** stub has joined #zope3-dev | 07:48 | |
*** kamal-away is now known as kamalgill | 08:17 | |
*** eins has joined #zope3-dev | 08:19 | |
*** natea is now known as natea|zZz | 08:38 | |
*** zagy has joined #zope3-dev | 08:38 | |
*** zagy has quit IRC | 08:57 | |
*** zagy has joined #zope3-dev | 09:00 | |
*** baijum has joined #zope3-dev | 09:12 | |
*** baijum has quit IRC | 09:15 | |
*** hdima has joined #zope3-dev | 09:22 | |
*** j-w has joined #zope3-dev | 09:33 | |
*** Theuni has quit IRC | 09:35 | |
*** deo has quit IRC | 09:54 | |
*** oferw has joined #zope3-dev | 09:58 | |
*** andres_ has joined #zope3-dev | 10:13 | |
*** andres has quit IRC | 10:15 | |
*** baijum has joined #zope3-dev | 10:16 | |
*** test_ has joined #zope3-dev | 10:29 | |
*** test_ has quit IRC | 10:32 | |
*** oferw has quit IRC | 10:32 | |
*** vinsci has joined #zope3-dev | 10:39 | |
*** jinty has quit IRC | 10:43 | |
*** jinty has joined #zope3-dev | 10:44 | |
*** rom|zZZ is now known as romanofski | 10:48 | |
romanofski | morjens | 10:50 |
---|---|---|
*** jinty has quit IRC | 11:14 | |
*** jinty has joined #zope3-dev | 11:15 | |
jinty | hoiandres | 11:16 |
jinty | hoi andres_ | 11:16 |
*** jinty has quit IRC | 11:38 | |
*** jinty has joined #zope3-dev | 11:42 | |
andres_ | jinty, hi | 11:46 |
*** andres_ is now known as andres | 11:46 | |
*** kamalgill has quit IRC | 11:55 | |
*** jinty has quit IRC | 12:02 | |
*** andres has quit IRC | 12:17 | |
*** jinty has joined #zope3-dev | 12:18 | |
*** alga has joined #zope3-dev | 12:20 | |
*** Aiste has quit IRC | 12:23 | |
*** andres has joined #zope3-dev | 12:37 | |
*** mgedmin has joined #zope3-dev | 12:39 | |
*** ignas has joined #zope3-dev | 12:45 | |
*** Aiste has joined #zope3-dev | 12:55 | |
*** faassen has joined #zope3-dev | 13:06 | |
*** mkerrin has joined #zope3-dev | 13:08 | |
*** romanofski is now known as rom|aw | 13:16 | |
*** rom|aw has quit IRC | 13:23 | |
*** yota has joined #zope3-dev | 13:43 | |
*** egis has joined #zope3-dev | 13:50 | |
egis | hi | 13:51 |
*** jinty has quit IRC | 13:52 | |
*** jinty has joined #zope3-dev | 13:55 | |
*** rockyburt has joined #zope3-dev | 13:55 | |
*** dunny has quit IRC | 14:09 | |
*** jinty has quit IRC | 14:16 | |
*** TrevorP has quit IRC | 14:19 | |
*** sashav has quit IRC | 14:23 | |
*** ignas has quit IRC | 14:23 | |
*** TrevorP has joined #zope3-dev | 14:23 | |
*** sashav has joined #zope3-dev | 14:25 | |
*** ignas has joined #zope3-dev | 14:27 | |
*** egis has quit IRC | 15:10 | |
*** povbot` has joined #zope3-dev | 15:20 | |
*** rockyburt has quit IRC | 15:20 | |
*** rockyburt has joined #zope3-dev | 15:24 | |
*** faassen has quit IRC | 15:24 | |
*** Aiste has quit IRC | 15:26 | |
*** mgedmin has quit IRC | 15:26 | |
*** jinty has joined #zope3-dev | 15:33 | |
*** povbot has quit IRC | 15:34 | |
*** dobee has joined #zope3-dev | 15:39 | |
*** rockyburt has quit IRC | 15:50 | |
*** rockyburt has joined #zope3-dev | 15:51 | |
*** jinty has quit IRC | 15:56 | |
*** zbir has quit IRC | 16:02 | |
*** niemeyer_ has joined #zope3-dev | 16:04 | |
*** Aiste has joined #zope3-dev | 16:06 | |
*** jinty has joined #zope3-dev | 16:07 | |
*** tiredbones has quit IRC | 16:20 | |
*** tiredbones has joined #zope3-dev | 16:20 | |
*** russf has joined #zope3-dev | 16:20 | |
*** regebro has joined #zope3-dev | 16:21 | |
*** rockyburt has quit IRC | 16:33 | |
*** rockyburt has joined #zope3-dev | 16:33 | |
*** baijum has left #zope3-dev | 16:36 | |
*** Aiste_ has joined #zope3-dev | 16:37 | |
*** Aiste has quit IRC | 16:38 | |
*** roym has joined #zope3-dev | 16:48 | |
roym | How does one provide a custom viewlet class: | 16:50 |
roym | I use: | 16:50 |
roym | class QuestionAnswer(viewlet.ViewletBase): | 16:50 |
roym | implements(interfaces.IViewlet) | 16:50 |
roym | def update(self): 'custom update code...' | 16:50 |
roym | 16:50 | |
roym | and I get: | 16:50 |
roym | TypeError: __init__() takes exactly 5 arguments (4 given) | 16:50 |
roym | 16:50 | |
roym | Should I not simply be able to extend ViewletBase? | 16:50 |
*** elro has joined #zope3-dev | 16:51 | |
*** regebro has quit IRC | 16:54 | |
srichter | mmh, let me check | 16:54 |
srichter | you could check out SchoolToo; we build custom viewlets there | 16:55 |
*** niemeyer__ has joined #zope3-dev | 16:55 | |
*** niemeyer__ is now known as niemeyer | 16:55 | |
roym | srichter: thanks, let me browse the SchoolTool code | 16:57 |
*** benji has joined #zope3-dev | 17:03 | |
*** Aiste_ has quit IRC | 17:05 | |
*** niemeyer_ has quit IRC | 17:06 | |
*** zbir has joined #zope3-dev | 17:09 | |
roym | srichter: In schooltool, I see a few examples of custom viewlet classes, but none appear to try to provide custom render/update methods. | 17:11 |
srichter | right | 17:11 |
*** j1m has quit IRC | 17:11 | |
srichter | but that might not be your problem | 17:11 |
srichter | your problem is the the init | 17:11 |
srichter | can you give a few more lines of the traceback? | 17:11 |
roym | File "/usr/local/Zope3/src/zope/contentprovider/tales.py", line 60, in __call__ | 17:13 |
roym | provider = zope.component.queryMultiAdapter( | 17:13 |
roym | File "/usr/local/Zope3/src/zope/component/__init__.py", line 165, in queryMultiAdapter | 17:13 |
roym | return sitemanager.queryMultiAdapter(objects, interface, name, default) | 17:13 |
roym | File "/usr/local/Zope3/src/zope/component/site.py", line 75, in queryMultiAdapter | 17:13 |
roym | default) | 17:13 |
roym | File "/usr/local/Zope3/src/zope/interface/adapter.py", line 475, in queryMultiAdapter | 17:13 |
roym | return factory(*objects) | 17:13 |
roym | TypeError: __init__() takes exactly 5 arguments (4 given) | 17:13 |
srichter | mmh, definitely seems to be the viewlet lookup that is failing | 17:13 |
srichter | oh, I know | 17:14 |
*** j1m has joined #zope3-dev | 17:14 | |
srichter | did you try to use the viewlet directly from TAL? | 17:14 |
srichter | note that you need a viewlet manager that manages the viewlets | 17:14 |
srichter | have you read through the viewlet README.tct? | 17:14 |
srichter | you should also consider reading through zope.contentprovider's README.txt | 17:15 |
roym | I have the manager.. let me try to show you a few snippets | 17:15 |
roym | srichter: you're dead on... I had the class registered against the viewletManager, instead of the viewlet. | 17:17 |
roym | Thanks! | 17:17 |
*** ignas has quit IRC | 17:25 | |
srichter | you are welcome | 17:26 |
benji | srichter, do you know where the Zope 2 dev people hang out on IRC? | 17:27 |
*** Aiste has joined #zope3-dev | 17:28 | |
srichter | benji: I thought there was a zope-dev channel, but I am not sure | 17:28 |
*** mgedmin has joined #zope3-dev | 17:28 | |
srichter | I have not dealt with Zope 2, since a long time :-) | 17:28 |
benji | I'm in zope-dev, and it's pretty dead | 17:28 |
benji | :) | 17:28 |
srichter | he he | 17:29 |
srichter | I guess try the lsit first | 17:29 |
*** romanofski has joined #zope3-dev | 17:29 | |
benji | ok, morning meeting time, l8r | 17:29 |
srichter | bye | 17:29 |
*** ignas has joined #zope3-dev | 17:31 | |
hdima | benji: what about #zope? | 17:31 |
*** natea|zZz is now known as natea|away | 17:38 | |
philiKON | benji, i don't think anyone uses #zope-dev | 17:39 |
philiKON | benji, i don't think zope 2 developers really hang out in a central place, except #zope perhaps | 17:40 |
*** hdima has quit IRC | 17:41 | |
*** vlado has joined #zope3-dev | 17:42 | |
*** alga has quit IRC | 17:43 | |
benji | ok, thanks philiKON | 17:43 |
*** zopePloneConsult has joined #zope3-dev | 17:57 | |
*** jinty has quit IRC | 18:01 | |
*** vinsci has quit IRC | 18:02 | |
*** dobee has quit IRC | 18:07 | |
*** zopePloneConsult has left #zope3-dev | 18:15 | |
*** Aiste has quit IRC | 18:22 | |
*** jinty has joined #zope3-dev | 18:25 | |
*** rockyburt has quit IRC | 18:27 | |
*** j-w has quit IRC | 18:28 | |
*** Aiste has joined #zope3-dev | 18:28 | |
*** dobee has joined #zope3-dev | 18:28 | |
*** eins has quit IRC | 18:28 | |
*** rockyburt has joined #zope3-dev | 18:28 | |
*** faassen has joined #zope3-dev | 18:34 | |
*** pcardune has joined #zope3-dev | 18:39 | |
*** pcardune has quit IRC | 18:40 | |
*** pcardune has joined #zope3-dev | 18:42 | |
*** whit has joined #zope3-dev | 18:43 | |
*** vlado has quit IRC | 18:58 | |
*** stub has quit IRC | 19:10 | |
*** BjornT has quit IRC | 19:15 | |
*** BjornT has joined #zope3-dev | 19:15 | |
*** romanofski has quit IRC | 19:18 | |
*** rockyburt is now known as rockyburt|away | 19:29 | |
*** rockyburt|away has quit IRC | 19:31 | |
*** rockyburt has joined #zope3-dev | 19:33 | |
*** rockyburt is now known as rockyburt|away | 19:33 | |
*** Aiste has quit IRC | 19:51 | |
*** BjornT has quit IRC | 20:07 | |
*** RaFromBRC has joined #zope3-dev | 20:07 | |
*** BjornT has joined #zope3-dev | 20:11 | |
*** BjornT has quit IRC | 20:15 | |
*** BjornT has joined #zope3-dev | 20:16 | |
elro | does anyone know of any projects using ldapadapter? I've made some changes (see zope3-dev mailing list) and was looking for something to test incompatibilities | 20:17 |
*** jinty has quit IRC | 20:35 | |
*** jinty has joined #zope3-dev | 20:38 | |
*** faassen has quit IRC | 20:57 | |
*** sashav has quit IRC | 21:00 | |
*** sm has joined #zope3-dev | 21:03 | |
*** natea|away is now known as natea | 21:29 | |
*** andres has quit IRC | 21:35 | |
*** jinty has quit IRC | 21:52 | |
elro | hi there, I'm having trouble understanding how adapters. I would like to specify an adapter as adapting from one interface to another interface, but this does not seem to work. see http://zope3.pastebin.com/627363. any idea where I am going wrong? | 21:58 |
*** sm has quit IRC | 22:01 | |
*** sm has joined #zope3-dev | 22:01 | |
*** dunny has joined #zope3-dev | 22:02 | |
benji | elro, you're adapting the _class_ MyA to IB, you should adapt an instance of MyA to IB | 22:03 |
elro | duh, I was trying to adapt a class rather than an instance | 22:03 |
benji | syncrinicity :) | 22:03 |
elro | :-) | 22:03 |
elro | now I want to bring an adapter BC into the equation (identical to AB, but with A->B and B->C, I provideAdapter(BC), but IC(MyA()) gives a could not adapt | 22:07 |
elro | any idea how I should look up a non direct adapter? | 22:07 |
elro | http://zope3.pastebin.com/627383 for the curious | 22:09 |
*** ignas has quit IRC | 22:15 | |
benji | I looked at the code elro, and nothing jumps out at me | 22:20 |
elro | benji, are indirect adapter paths supported? or are adapter searched only one level deep? | 22:21 |
benji | adaptation isn't transitive, if you want A -> B -> C you have to do IC(IB(a)) | 22:23 |
benji | oh, and that's your problem :) | 22:23 |
elro | right, cool, that explains it, many thanks | 22:23 |
benji | np | 22:23 |
*** gumpa has joined #zope3-dev | 22:33 | |
*** radix has joined #zope3-dev | 22:36 | |
radix | Is there a reason FileResult is in zope.app.wsgi ? I'd expect it to live in zope.publisher or something | 22:38 |
srichter | mmh, that seems strange indeed | 22:51 |
*** rockyburt|away is now known as rockyburt | 22:52 | |
*** sashav has joined #zope3-dev | 23:08 | |
*** mgedmin has quit IRC | 23:10 | |
gumpa | benji, I'm curious about the {{{ markup in your quick start guide | 23:12 |
benji | me too gumpa, you shouldn't be able to see it :( | 23:13 |
benji | it's for an experimental tool that lets me do tests | 23:13 |
* benji goes to check the quick start | 23:14 | |
gumpa | I'm looking at the .txt, | 23:14 |
benji | right | 23:14 |
gumpa | looks like an interesting experiment | 23:14 |
gumpa | a docutils directive? | 23:14 |
benji | right, so you can run a doctest to see if what you've described in the prose is correct | 23:15 |
gumpa | looks like you want the guide to do run some commands, automate stuff | 23:15 |
gumpa | cool | 23:15 |
benji | right, it's kind of a flavor of doctest, a program reads the document and executes the commands | 23:16 |
gumpa | does {{{ use docutils or are you pre-processing | 23:16 |
benji | for example if I talk about editing a file I'll include the full text of the file in a {{{ section and it'll get written to disk | 23:16 |
benji | there's a preprocessor | 23:16 |
gumpa | looking for testers? :-] | 23:17 |
*** d2m has quit IRC | 23:17 | |
benji | you can have a copy of the code if you want, but it's very, very much a prototype | 23:18 |
gumpa | understood | 23:18 |
*** d2m_ has joined #zope3-dev | 23:18 | |
*** d2m_ is now known as d2m | 23:18 | |
* gumpa is very interested in that kind of stuff | 23:19 | |
benji | I'll tar up the working directory if you'd like, gumpa, and email it to you | 23:23 |
*** dobee has quit IRC | 23:23 | |
gumpa | I'm ktenney at gmail.com - thanks! | 23:25 |
*** fcorrea has joined #zope3-dev | 23:40 | |
*** mkerrin has quit IRC | 23:41 | |
*** rockyburt has quit IRC | 23:42 | |
*** rockyburt has joined #zope3-dev | 23:44 | |
*** romanofski has joined #zope3-dev | 23:46 | |
*** dunny has quit IRC | 23:46 | |
benji | gumpa: email is on it's way, I added a bit of discussion and disclaiming :) | 23:48 |
*** rockyburt has quit IRC | 23:54 | |
*** rockyburt has joined #zope3-dev | 23:56 | |
*** sm is now known as sm-rain | 23:58 | |
*** rockyburt is now known as rockyburt|away | 23:58 | |
*** natea is now known as natea|lunch | 23:58 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!