IRC log of #zope3-dev for Tuesday, 2006-03-28

*** natea is now known as natea|lunch00:05
*** jinty has quit IRC00:13
*** tiredbones has quit IRC00:13
*** jinty has joined #zope3-dev00:14
*** jinty has quit IRC00:32
*** jinty has joined #zope3-dev00:33
*** natea|lunch is now known as natea00:34
*** tiredbones has joined #zope3-dev00:46
*** danfairs has quit IRC00:48
*** romanofski is now known as rom|zZZ00:48
*** kamal-lunch is now known as kamalgill00:54
*** projekt01 has joined #zope3-dev00:58
*** ChanServ sets mode: +o srichter01:00
*** sawdog has left #zope3-dev01:01
*** tiredbones has quit IRC01:05
*** tiredbones has joined #zope3-dev01:05
*** natea is now known as natea|phone01:10
*** cilkay has quit IRC01:23
*** zbir has quit IRC01:40
*** slinkP has left #zope3-dev01:42
*** whit|errand is now known as whit02:10
*** kamalgill is now known as kamal-nearby02:10
*** jinty has quit IRC02:15
*** jinty has joined #zope3-dev02:16
*** natea|phone is now known as natea02:20
*** jbb666 has quit IRC02:21
*** jbb666 has joined #zope3-dev02:22
*** niemeyer has quit IRC02:26
*** tristil has joined #zope3-dev02:29
*** benji has quit IRC02:31
*** niemeyer has joined #zope3-dev02:34
*** zbir has joined #zope3-dev02:41
*** rockyburt has joined #zope3-dev02:53
*** jinty has quit IRC02:55
*** jinty has joined #zope3-dev02:57
*** rockyburt is now known as rockyburt|zzz03:02
*** kamal-nearby is now known as kamalgill03:11
*** tristil has quit IRC03:22
*** d2m_ has joined #zope3-dev03:27
*** projekt01 has quit IRC03:28
*** d2m has quit IRC03:28
*** d2m_ is now known as d2m03:28
*** yota has quit IRC04:03
*** ddKON has quit IRC04:18
*** sm has quit IRC04:26
*** jinty has quit IRC04:28
*** jinty has joined #zope3-dev04:29
*** xwj623 has joined #zope3-dev04:29
*** philiKON has joined #zope3-dev04:32
*** jinty has quit IRC04:57
*** jinty has joined #zope3-dev04:58
*** kamalgill is now known as kamal-away05:56
*** RaFromBRC has quit IRC06:41
*** whit is now known as whit|zZz06:49
*** whit|zZz has quit IRC06:50
*** niemeyer has quit IRC07:05
*** rockyburt|zzz has quit IRC07:17
*** d2m has quit IRC07:27
*** d2m_ has joined #zope3-dev07:27
*** d2m_ is now known as d2m07:28
*** Theuni has joined #zope3-dev07:40
*** stub has joined #zope3-dev07:48
*** kamal-away is now known as kamalgill08:17
*** eins has joined #zope3-dev08:19
*** natea is now known as natea|zZz08:38
*** zagy has joined #zope3-dev08:38
*** zagy has quit IRC08:57
*** zagy has joined #zope3-dev09:00
*** baijum has joined #zope3-dev09:12
*** baijum has quit IRC09:15
*** hdima has joined #zope3-dev09:22
*** j-w has joined #zope3-dev09:33
*** Theuni has quit IRC09:35
*** deo has quit IRC09:54
*** oferw has joined #zope3-dev09:58
*** andres_ has joined #zope3-dev10:13
*** andres has quit IRC10:15
*** baijum has joined #zope3-dev10:16
*** test_ has joined #zope3-dev10:29
*** test_ has quit IRC10:32
*** oferw has quit IRC10:32
*** vinsci has joined #zope3-dev10:39
*** jinty has quit IRC10:43
*** jinty has joined #zope3-dev10:44
*** rom|zZZ is now known as romanofski10:48
romanofskimorjens10:50
*** jinty has quit IRC11:14
*** jinty has joined #zope3-dev11:15
jintyhoiandres11:16
jintyhoi andres_11:16
*** jinty has quit IRC11:38
*** jinty has joined #zope3-dev11:42
andres_jinty, hi11:46
*** andres_ is now known as andres11:46
*** kamalgill has quit IRC11:55
*** jinty has quit IRC12:02
*** andres has quit IRC12:17
*** jinty has joined #zope3-dev12:18
*** alga has joined #zope3-dev12:20
*** Aiste has quit IRC12:23
*** andres has joined #zope3-dev12:37
*** mgedmin has joined #zope3-dev12:39
*** ignas has joined #zope3-dev12:45
*** Aiste has joined #zope3-dev12:55
*** faassen has joined #zope3-dev13:06
*** mkerrin has joined #zope3-dev13:08
*** romanofski is now known as rom|aw13:16
*** rom|aw has quit IRC13:23
*** yota has joined #zope3-dev13:43
*** egis has joined #zope3-dev13:50
egishi13:51
*** jinty has quit IRC13:52
*** jinty has joined #zope3-dev13:55
*** rockyburt has joined #zope3-dev13:55
*** dunny has quit IRC14:09
*** jinty has quit IRC14:16
*** TrevorP has quit IRC14:19
*** sashav has quit IRC14:23
*** ignas has quit IRC14:23
*** TrevorP has joined #zope3-dev14:23
*** sashav has joined #zope3-dev14:25
*** ignas has joined #zope3-dev14:27
*** egis has quit IRC15:10
*** povbot` has joined #zope3-dev15:20
*** rockyburt has quit IRC15:20
*** rockyburt has joined #zope3-dev15:24
*** faassen has quit IRC15:24
*** Aiste has quit IRC15:26
*** mgedmin has quit IRC15:26
*** jinty has joined #zope3-dev15:33
*** povbot has quit IRC15:34
*** dobee has joined #zope3-dev15:39
*** rockyburt has quit IRC15:50
*** rockyburt has joined #zope3-dev15:51
*** jinty has quit IRC15:56
*** zbir has quit IRC16:02
*** niemeyer_ has joined #zope3-dev16:04
*** Aiste has joined #zope3-dev16:06
*** jinty has joined #zope3-dev16:07
*** tiredbones has quit IRC16:20
*** tiredbones has joined #zope3-dev16:20
*** russf has joined #zope3-dev16:20
*** regebro has joined #zope3-dev16:21
*** rockyburt has quit IRC16:33
*** rockyburt has joined #zope3-dev16:33
*** baijum has left #zope3-dev16:36
*** Aiste_ has joined #zope3-dev16:37
*** Aiste has quit IRC16:38
*** roym has joined #zope3-dev16:48
roymHow does one provide a custom viewlet class:16:50
roymI 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
roym16:50
roymand I get:16:50
roym  TypeError: __init__() takes exactly 5 arguments (4 given)16:50
roym16:50
roymShould I not simply be able to extend ViewletBase?16:50
*** elro has joined #zope3-dev16:51
*** regebro has quit IRC16:54
srichtermmh, let me check16:54
srichteryou could check out SchoolToo; we build custom viewlets there16:55
*** niemeyer__ has joined #zope3-dev16:55
*** niemeyer__ is now known as niemeyer16:55
roymsrichter: thanks, let me browse the SchoolTool code16:57
*** benji has joined #zope3-dev17:03
*** Aiste_ has quit IRC17:05
*** niemeyer_ has quit IRC17:06
*** zbir has joined #zope3-dev17:09
roymsrichter: In schooltool, I see a few examples of custom viewlet classes, but none appear to try to provide custom render/update methods.17:11
srichterright17:11
*** j1m has quit IRC17:11
srichterbut that might not be your problem17:11
srichteryour problem is the the init17:11
srichtercan 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 queryMultiAdapter17:13
roym    return sitemanager.queryMultiAdapter(objects, interface, name, default)17:13
roym  File "/usr/local/Zope3/src/zope/component/site.py", line 75, in queryMultiAdapter17:13
roym    default)17:13
roym  File "/usr/local/Zope3/src/zope/interface/adapter.py", line 475, in queryMultiAdapter17:13
roym    return factory(*objects)17:13
roymTypeError: __init__() takes exactly 5 arguments (4 given)17:13
srichtermmh, definitely seems to be the viewlet lookup that is failing17:13
srichteroh, I know17:14
*** j1m has joined #zope3-dev17:14
srichterdid you try to use the viewlet directly from TAL?17:14
srichternote that you need a viewlet manager that manages the viewlets17:14
srichterhave you read through the viewlet README.tct?17:14
srichteryou should also consider reading through zope.contentprovider's README.txt17:15
roymI have the manager.. let me try to show you a few snippets17:15
roymsrichter: you're dead on... I had the class registered against the viewletManager, instead of the viewlet.17:17
roymThanks!17:17
*** ignas has quit IRC17:25
srichteryou are welcome17:26
benjisrichter, do you know where the Zope 2 dev people hang out on IRC?17:27
*** Aiste has joined #zope3-dev17:28
srichterbenji: I thought there was a zope-dev channel, but I am not sure17:28
*** mgedmin has joined #zope3-dev17:28
srichterI have not dealt with Zope 2, since a long time :-)17:28
benjiI'm in zope-dev, and it's pretty dead17:28
benji:)17:28
srichterhe he17:29
srichterI guess try the lsit first17:29
*** romanofski has joined #zope3-dev17:29
benjiok, morning meeting time, l8r17:29
srichterbye17:29
*** ignas has joined #zope3-dev17:31
hdimabenji: what about #zope?17:31
*** natea|zZz is now known as natea|away17:38
philiKONbenji, i don't think anyone uses #zope-dev17:39
philiKONbenji, i don't think zope 2 developers really hang out in a central place, except #zope perhaps17:40
*** hdima has quit IRC17:41
*** vlado has joined #zope3-dev17:42
*** alga has quit IRC17:43
benjiok, thanks philiKON17:43
*** zopePloneConsult has joined #zope3-dev17:57
*** jinty has quit IRC18:01
*** vinsci has quit IRC18:02
*** dobee has quit IRC18:07
*** zopePloneConsult has left #zope3-dev18:15
*** Aiste has quit IRC18:22
*** jinty has joined #zope3-dev18:25
*** rockyburt has quit IRC18:27
*** j-w has quit IRC18:28
*** Aiste has joined #zope3-dev18:28
*** dobee has joined #zope3-dev18:28
*** eins has quit IRC18:28
*** rockyburt has joined #zope3-dev18:28
*** faassen has joined #zope3-dev18:34
*** pcardune has joined #zope3-dev18:39
*** pcardune has quit IRC18:40
*** pcardune has joined #zope3-dev18:42
*** whit has joined #zope3-dev18:43
*** vlado has quit IRC18:58
*** stub has quit IRC19:10
*** BjornT has quit IRC19:15
*** BjornT has joined #zope3-dev19:15
*** romanofski has quit IRC19:18
*** rockyburt is now known as rockyburt|away19:29
*** rockyburt|away has quit IRC19:31
*** rockyburt has joined #zope3-dev19:33
*** rockyburt is now known as rockyburt|away19:33
*** Aiste has quit IRC19:51
*** BjornT has quit IRC20:07
*** RaFromBRC has joined #zope3-dev20:07
*** BjornT has joined #zope3-dev20:11
*** BjornT has quit IRC20:15
*** BjornT has joined #zope3-dev20:16
elrodoes anyone know of any projects using ldapadapter? I've made some changes (see zope3-dev mailing list) and was looking for something to test incompatibilities20:17
*** jinty has quit IRC20:35
*** jinty has joined #zope3-dev20:38
*** faassen has quit IRC20:57
*** sashav has quit IRC21:00
*** sm has joined #zope3-dev21:03
*** natea|away is now known as natea21:29
*** andres has quit IRC21:35
*** jinty has quit IRC21:52
elrohi 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 IRC22:01
*** sm has joined #zope3-dev22:01
*** dunny has joined #zope3-dev22:02
benjielro, you're adapting the _class_ MyA to IB, you should adapt an instance of MyA to IB22:03
elroduh, I was trying to adapt a class rather than an instance22:03
benjisyncrinicity :)22:03
elro:-)22:03
elronow 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 adapt22:07
elroany idea how I should look up a non direct adapter?22:07
elrohttp://zope3.pastebin.com/627383 for the curious22:09
*** ignas has quit IRC22:15
benjiI looked at the code elro, and nothing jumps out at me22:20
elrobenji, are indirect adapter paths supported? or are adapter searched only one level deep?22:21
benjiadaptation isn't transitive, if you want A -> B -> C you have to do IC(IB(a))22:23
benjioh, and that's your problem :)22:23
elroright, cool, that explains it, many thanks22:23
benjinp22:23
*** gumpa has joined #zope3-dev22:33
*** radix has joined #zope3-dev22:36
radixIs there a reason FileResult is in zope.app.wsgi ? I'd expect it to live in zope.publisher or something22:38
srichtermmh, that seems strange indeed22:51
*** rockyburt|away is now known as rockyburt22:52
*** sashav has joined #zope3-dev23:08
*** mgedmin has quit IRC23:10
gumpabenji, I'm curious about the {{{ markup in your quick start guide23:12
benjime too gumpa, you shouldn't be able to see it :(23:13
benjiit's for an experimental tool that lets me do tests23:13
* benji goes to check the quick start23:14
gumpaI'm looking at the .txt,23:14
benjiright23:14
gumpalooks like an interesting experiment23:14
gumpaa docutils directive?23:14
benjiright, so you can run a doctest to see if what you've described in the prose is correct23:15
gumpalooks like you want the guide to do run some commands, automate stuff23:15
gumpacool23:15
benjiright, it's kind of a flavor of doctest, a program reads the document and executes the commands23:16
gumpadoes {{{ use docutils or are you pre-processing23:16
benjifor 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 disk23:16
benjithere's a preprocessor23:16
gumpalooking for testers? :-]23:17
*** d2m has quit IRC23:17
benjiyou can have a copy of the code if you want, but it's very, very much a prototype23:18
gumpaunderstood23:18
*** d2m_ has joined #zope3-dev23:18
*** d2m_ is now known as d2m23:18
* gumpa is very interested in that kind of stuff23:19
benjiI'll tar up the working directory if you'd like, gumpa, and email it to you23:23
*** dobee has quit IRC23:23
gumpaI'm ktenney at gmail.com -  thanks!23:25
*** fcorrea has joined #zope3-dev23:40
*** mkerrin has quit IRC23:41
*** rockyburt has quit IRC23:42
*** rockyburt has joined #zope3-dev23:44
*** romanofski has joined #zope3-dev23:46
*** dunny has quit IRC23:46
benjigumpa: email is on it's way, I added a bit of discussion and disclaiming :)23:48
*** rockyburt has quit IRC23:54
*** rockyburt has joined #zope3-dev23:56
*** sm is now known as sm-rain23:58
*** rockyburt is now known as rockyburt|away23:58
*** natea is now known as natea|lunch23:58

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