IRC log of #zope3-dev for Wednesday, 2005-09-28

*** jvts has quit IRC00:01
*** niemeyer has quit IRC00:06
*** SureshE has joined #zope3-dev00:11
*** bradb has quit IRC00:31
*** sashav has joined #zope3-dev00:52
*** benji_york has quit IRC01:08
*** mnemoc has joined #zope3-dev01:18
*** projekt01 has quit IRC01:40
*** SureshE has left #zope3-dev01:41
*** tiredbones has quit IRC02:36
*** yota has quit IRC02:40
*** FrankBerger has left #zope3-dev03:34
*** d2m_ has joined #zope3-dev03:35
*** d2m has quit IRC03:35
*** d2m_ is now known as d2m03:35
*** roym has quit IRC03:39
*** niemeyer has joined #zope3-dev03:59
*** stub has joined #zope3-dev04:21
*** philiKON has joined #zope3-dev04:33
*** MiUlEr has joined #zope3-dev04:41
*** philiKON has quit IRC05:51
*** niemeyer has quit IRC06:49
*** srichter has joined #zope3-dev07:05
*** MiUlEr has quit IRC07:59
*** stub has quit IRC08:22
*** stub has joined #zope3-dev08:26
*** dobee has joined #zope3-dev08:46
*** zagy has quit IRC08:50
*** zagy has joined #zope3-dev08:53
*** sashav has quit IRC09:26
*** jvts has joined #zope3-dev10:00
*** tekNico has joined #zope3-dev10:04
*** yota has joined #zope3-dev10:10
*** zagy has quit IRC10:15
*** zagy has joined #zope3-dev10:16
*** sashav has joined #zope3-dev10:31
*** tarek has joined #zope3-dev11:03
*** MrTopf has joined #zope3-dev11:16
*** menomc has joined #zope3-dev11:25
*** mnemoc has quit IRC11:25
*** menomc is now known as mnemoc11:29
*** ignas has joined #zope3-dev11:31
*** tekNico has quit IRC11:46
*** Aiste has quit IRC12:00
*** Aiste has joined #zope3-dev12:03
*** stub has quit IRC12:25
*** projekt01 has joined #zope3-dev12:40
*** jinty has joined #zope3-dev12:53
*** faassen has joined #zope3-dev13:07
*** vlado has joined #zope3-dev13:08
*** projekt01 has left #zope3-dev13:09
*** projekt01 has joined #zope3-dev13:11
*** anguenot has joined #zope3-dev13:32
*** kaczordek has joined #zope3-dev13:38
*** philiKON has joined #zope3-dev13:41
*** roym has joined #zope3-dev14:10
roymI followed and created stephans example for file based authentication14:16
roymfrom the book. In my "default" site folder, I created and registered a14:16
roym"Pluggable Authentication Utility". However, in its adding view, I only see:14:16
roym  o Group Folder14:16
roym  o HTTP Basic-Auth Plugin14:16
roym  o Principal Folder14:16
roym  o Session Credentials Plugin14:16
roymand no "... /etc/passwd style" menu entry as promised. Any tips as to where14:16
roymI might dig deeper to figure this one out?14:16
*** philiKON has quit IRC14:27
roymIf I look at the registrations for site manager, I do see:14:27
roymAdapterRegistration(('IAdding', 'IDefaultBrowserLayer'), 'AddMenu', u'/etc/passwd Principal Source', < object at 0x414a108c>, File "/var/lib/zope3/instances/instance1/lib/python/anoobe/quiztaker/passwdauth/configure.zcml", line 27.0-32.6),14:27
*** ChanServ sets mode: +o srichter14:30
srichterroym: you created the wrong pluggable authentication utility14:54
srichterthe one you created is the new one, not the old one from the book14:54
*** tiredbones has joined #zope3-dev15:07
*** niemeyer has joined #zope3-dev15:15
roymsrichter: by new one, do you mean from svn://
roymIs the new one not meant to work in the latest z3 trunk?15:35
roymoh - I did a diff, and it looks like the menu entries have basically changed... however I get a "ConfigurationError: ('Invalid value for', 'menu', "Couldn't import add_principal_source, No module named add_principal_source")" when I use the code from the book....15:51
roymHow would I find the menu name in the PAU adding view?15:51
srichterthere are two pluggable authentication utilities that come with Zope 315:54
srichterthe old one from and the new one in
roymSo you're saying that the trunk instance does not recognize my code, because my class implements the old interfaces?15:56
roymoops - by "my code" I mean "my registration"..15:57
*** _projekt01 has joined #zope3-dev16:02
*** fcorrea has joined #zope3-dev16:07
*** ignas has quit IRC16:08
*** projekt01 has quit IRC16:10
*** _projekt01 is now known as projekt0116:14
*** Aiste has quit IRC16:21
*** J1m has joined #zope3-dev16:32
*** srichter has quit IRC16:34
*** J1m has quit IRC16:34
*** kaczordek has quit IRC16:37
*** roym` has joined #zope3-dev16:46
*** sashav_ has joined #zope3-dev17:05
*** sashav has quit IRC17:22
*** srichter has joined #zope3-dev17:23
*** sashav_ has quit IRC17:27
*** dobee has quit IRC17:33
*** mkerrin has joined #zope3-dev17:39
*** bradb_ has joined #zope3-dev17:41
*** zagy_ has joined #zope3-dev17:49
*** zagy has quit IRC17:58
*** dobee has joined #zope3-dev17:59
*** efge has joined #zope3-dev18:25
*** MrTopf has quit IRC18:30
*** dobee has quit IRC18:34
*** VladDrac has joined #zope3-dev18:43
* VladDrac 's hacking zope3's publication a bit, to support AMF request/responses18:43
VladDracmodelled after the JSON work by Jim Washington18:44
VladDrachaving some issues though, mostly error/exception reporting18:46
VladDracanyone capable of helping me a bit? :)18:46
SteveAwhat is AMF ?18:47
SteveAthe error reporting in zopepublication is unnecessarily complex18:47
SteveAactually, the whole subclassing stuff in publication is unnecessarily complex18:48
VladDracsteve: some rpc-ish protocol, used by Flex (a form/gui thingy for Flash)18:49
VladDracsteve: there seems to be something like "legacy exceptions" (which are real exceptions)18:49
VladDracwhich my code handles well18:49
VladDracand non-legacy exceptions which are actually interfaces (right?)18:50
VladDracthe machinery looks up some view stuff for them, which results in an empty string as body for my response18:50
SteveAa "legacy exception" is a string that can be interned18:50
SteveAother exceptions are objects that derive from Exception, and usually provide some interface like IException or ISomethingException18:51
VladDrac        legacy_exception = not isinstance(exc_info[1], Exception)18:51
SteveAso, those are basically strings, or perhaps any classic class instance18:51
VladDrachmm hold on..18:51
SteveAi can't remember the old rules for python exceptions18:51
VladDracok never mind what i said about legacy exceptions, it's not relevant18:53
VladDracthe curernt handling (in
VladDracinvolves looking up a (default) view and "rendering" it in the context of the exception and request18:55
VladDracwhich results in '' for my request18:55
VladDrac(at least in the case of a NotFound, some exceptions seemed to render fine)18:56
SteveAso, make your exception class implement an interface19:00
SteveAmaybe one that extends IException19:00
*** niemeyer is now known as nie_lunch19:02
*** vlado has quit IRC19:04
VladDracwell no these are zope3 raised exceptions, such as NotFound19:09
*** bradb_ is now known as bradb19:17
*** sashav has joined #zope3-dev19:19
* VladDrac 's lost19:28
*** bliv has quit IRC19:29
*** bliv has joined #zope3-dev19:29
VladDracdoes someone know an easy way to do an xmlrpc request? I want to trace how zope3 handles those19:37
efgeVladDrac: python has an xmlrpc module that's handy19:45
efgefrom xmlrpclib import ServerProxy19:46
efgep = ServerProxy('')19:46
efgep = ServerProxy('')19:46
VladDracefge tx19:49
*** Theuni has quit IRC19:54
*** nie_lunch is now known as niemeyer19:55
*** efge has quit IRC20:04
*** sashav_ has joined #zope3-dev20:11
*** sashav has quit IRC20:24
*** SureshZ has joined #zope3-dev20:28
*** philiKON has joined #zope3-dev20:29
*** mkerrin has quit IRC20:40
*** faassen has quit IRC20:40
*** benji_york has joined #zope3-dev20:49
*** philiKON has quit IRC20:50
*** regebro has quit IRC20:58
*** tarek has quit IRC21:05
*** anguenot has quit IRC21:07
*** tarek has joined #zope3-dev21:27
*** mgedmin has joined #zope3-dev21:34
*** ignas has joined #zope3-dev21:40
*** ignas has quit IRC21:41
*** ignas has joined #zope3-dev21:41
*** jvts has quit IRC21:58
*** inman has left #zope3-dev22:04
*** sashav_ is now known as sashav22:12
VladDracok22:15 is the view used when NotFound is raised22:15
VladDracit sets the response code but no body message22:15
VladDracdefining a view for my specific IAMFRPCRequest that does set the body seems to work22:16
*** sashav_ has joined #zope3-dev22:18
*** sashav has quit IRC22:32
*** andrew_m has quit IRC22:52
*** sashav_ is now known as sashav22:53
*** fcorrea has quit IRC23:52

Generated by 2.15.1 by Marius Gedminas - find it at!