IRC log of #zope3-dev for Saturday, 2006-01-07

*** jinty has joined #zope3-dev00:01
*** dobee has quit IRC00:14
*** SteveA has quit IRC00:17
*** Aiste has quit IRC00:19
*** zbir has quit IRC00:28
*** jinty has quit IRC00:36
*** ignas has quit IRC00:36
*** ignas has joined #zope3-dev00:46
*** sashav has quit IRC00:49
*** alga has joined #zope3-dev00:52
*** srichter has quit IRC00:55
*** zmi_junkie has joined #zope3-dev01:00
*** srichter has joined #zope3-dev01:05
*** xenru has joined #zope3-dev01:05
*** ChanServ sets mode: +o srichter01:05
*** GaryPoster has quit IRC01:07
xenruHello all01:09
xenruI'm install last Zope release and try to check API, but http://localhost:8080/++apidoc++ gimme 404 error01:10
xenruIt's not available by default?01:10
xenruhmm, It was my problem01:20
*** zagy has quit IRC01:20
*** romanofski is now known as rom|zZZ01:25
*** benji has quit IRC01:26
*** J1m has quit IRC01:40
*** zmi_junkie has quit IRC01:42
*** zmi_junkie has joined #zope3-dev01:48
*** jhauser_ has quit IRC01:53
*** yota has quit IRC02:08
*** natea has quit IRC02:12
*** pcardune has joined #zope3-dev02:22
*** pcardune has quit IRC02:25
*** ignas has quit IRC02:46
*** zmi_junkie has quit IRC02:52
*** ignas has joined #zope3-dev02:54
*** zmi_junkie has joined #zope3-dev02:56
*** glassbuttes has joined #zope3-dev03:20
*** drzoltron_ has quit IRC03:24
*** philiKON has quit IRC03:50
*** deo has quit IRC04:43
*** zbir has joined #zope3-dev05:12
*** glassbuttes has quit IRC05:51
*** natea has joined #zope3-dev06:08
*** alga has quit IRC06:11
*** MiUlEr has joined #zope3-dev06:26
*** MiUlEr has quit IRC06:33
*** ignas has quit IRC06:50
*** tatatoto has joined #zope3-dev07:02
*** tatatoto has left #zope3-dev07:02
*** ignas has joined #zope3-dev07:02
*** mfqr has joined #zope3-dev07:22
mfqrim looking for j1m07:23
*** mfqr has quit IRC08:11
*** natea has quit IRC08:19
*** natea has joined #zope3-dev08:20
*** ignas has quit IRC08:21
*** dobee has joined #zope3-dev08:45
*** philiKON has joined #zope3-dev09:21
*** Aiste has joined #zope3-dev09:34
*** tarek has quit IRC09:49
*** Aiste has quit IRC10:03
*** tahara has quit IRC10:04
*** tahara has joined #zope3-dev10:07
*** tahara has quit IRC10:11
*** vlado has joined #zope3-dev10:58
*** zagy has joined #zope3-dev11:07
*** sashav has joined #zope3-dev11:08
*** SteveA_ has joined #zope3-dev11:37
*** rom|zZZ is now known as romanofski11:45
*** yota has joined #zope3-dev12:13
*** Aiste has joined #zope3-dev12:16
*** sashav has quit IRC12:38
*** alga has joined #zope3-dev12:46
*** efrerich has joined #zope3-dev12:53
*** vlado has quit IRC12:53
*** dobee has quit IRC13:05
*** zagy has quit IRC13:06
*** Aiste has quit IRC13:20
*** Aiste has joined #zope3-dev13:35
*** vlado has joined #zope3-dev14:21
*** pcardune has joined #zope3-dev14:35
*** einheit_ has joined #zope3-dev14:43
*** einheit_ is now known as SteveA14:43
*** SteveA_ has quit IRC15:04
*** dobee has joined #zope3-dev15:15
*** pcardune has quit IRC15:42
*** jenner has joined #zope3-dev15:56
*** J1m has joined #zope3-dev16:00
*** roym has joined #zope3-dev16:03
roymI am using the worldcookery cookie authenticate code to present a16:05
roymlogin form to the user. Where would I be able to inject a16:05
roymresponse.redirect for:16:05
roym  a) success16:05
roym  b) failure16:05
*** pcardune has joined #zope3-dev16:12
*** sashav has joined #zope3-dev16:16
*** roman_ has joined #zope3-dev16:20
*** tarek has joined #zope3-dev16:24
*** sashav has quit IRC16:32
*** lunatik has joined #zope3-dev16:38
*** klaus has joined #zope3-dev16:41
*** jhauser has joined #zope3-dev16:44
*** alga has quit IRC16:45
*** lunatik has left #zope3-dev16:53
*** mcdonc has joined #zope3-dev16:53
*** lunatik has joined #zope3-dev16:54
*** lunatik has left #zope3-dev16:54
roymIs it possible from the ZMI to protect a  top-level folder, or is ZCML the only way to do this?16:54
roym(ie: change permission from zope.Public to something else)16:55
*** alga has joined #zope3-dev16:55
jennerroym: login as manager and klick on "grant" in the top bar16:57
*** jhauser has left #zope3-dev16:58
*** jhauser has joined #zope3-dev16:58
roymjenner: the only thing I see in the grant screen is a form for "Granting Roles and Permissions to Principals"17:00
jennerroym: that's what you need17:00
J1mroym, you can only define required permissions in zcml.17:01
roymah - thanks.17:01
jennerah, I thought you wanted to grant permissions...17:02
*** jhauser has left #zope3-dev17:02
klausHello, I have a problem in zope3:17:03
klausI have a browser view class that is based on multiple inheritance.17:03
klausIf the superclasses have __init__() methods an error like17:03
klausFile "/Applications/_openSource/Zope/Zope-3.1.0/build/lib.darwin-8.2.0-Power_Macintosh-2.4/zope/interface/", line 481, in queryMultiAdapter17:03
klausreturn factory(*objects)17:04
klausTypeError: __init__() takes exactly 1 argument (3 given)17:04
klausI'm not so deep in the zope sources that I know what happens in adapter.py17:04
J1mNormally, a view is called with 3 arguments: self, the thing being viewed and the request.17:09
J1mThis is documented in lots of places.17:09
*** jhauser has joined #zope3-dev17:10
klaus<J1m>thank you, may be this was the hint I needed. May be I need a coffee break too...17:13
*** brupp has joined #zope3-dev17:28
klaus<J1m> back from the coffee break: the problem is solved, thank you again.17:31
*** cursor has joined #zope3-dev17:31
*** alga has quit IRC17:44
*** _anguenot has joined #zope3-dev17:46
roymI am trying to use cookie authentication, and then take logged in17:54
roymusers to their (autocreated) homefolders. My authentication works, but17:54
roymI am not sure where I can do the redirection to the homefolder. Can17:54
roymsomeone help me with this please.17:54
*** jhauser_ has joined #zope3-dev18:10
*** jhauser has quit IRC18:22
roymIf I have a folder structure /A/B/C and I want A to be publicly18:34
roymviewable but protect B and C, is this possible without making B and C18:34
roymcustom subclassses of Folder? I understand that the permissions have18:34
roymto be defined in zcml, but it seems that it can only be done by type18:34
roymand not by location. correct?18:34
srichterwell, not quite18:37
srichterin ZCML you define the *permissions* that are required to access attributes of a class18:37
J1msrichter, are you going to announce 3.2?18:37
srichtervia the grant screen (or local permission maps) you can say who has a permission in that context18:38
srichterso you can explicitely deny the anonymous user zope.View for B and C18:38
srichterJ1m: yep18:38
roymsrichter: thanks - and if C is a child of B, then will restricting B be sufficient to restrict C?18:39
srichteryes, I think so18:42
*** _anguenot has quit IRC18:45
*** agroszer has joined #zope3-dev18:45
J1msrichter, ayt>18:56
srichterJ1m: pong19:02
J1msee my dialog to you19:02
*** tarek has quit IRC19:02
*** klaus has quit IRC19:06
*** romanofski has quit IRC19:42
srichterdoes anyone here know how to add properties to an instance instead inside a class19:44
srichterJ1m: do you know?19:46
J1mas in Python descriptors?19:46
*** RockyBurt has joined #zope3-dev19:46
srichterI have:19:46
J1mas in Python properties?19:46
srichterclass Foo(object): pass19:46
srichterfoo = Foo()19:47
srichterI want to add a property to foo19:47
J1mI don't know what you mean by "property"19:47
srichterfoo.fieldname = FieldProperty(field) does not work19:47
srichterbecause I can do:19:47
srichterfoo.fieldname = 4219:47
srichterinstead, the property should be retained19:48
*** roman_ has quit IRC19:49
srichterJ1m: so I want to add a property to an instance of Foo19:49
*** romanofski has joined #zope3-dev19:49
J1mFieldProperty is a descriptor.19:50
J1mdescriptors don't work on instances.19:50
srichteroh, I see19:50
srichteris there another trick I can use?19:50
J1mYou could make them work if you wrote a custom meta class.19:50
J1mNot that I recommend that.19:51
srichterok, then that's too much overhead for what I want to do19:51
J1mnew-style ExtensionClass makes read-descriptors work on instances.19:51
srichterah, interesting19:52
srichteris that because of ZClasses?19:52
J1mNo, it's because of __of__19:52
srichterok, I am wuickly leaving familiar territory :-)19:53
jennerZClasses in zope3??19:53
J1man ExtensionClass that has __of__ is turned into a read descriptor.19:53
J1mjenner, no19:53
srichterwhat does __of__ do?19:53
J1mYou're kidding.19:56
J1mAmong other things, it enables Acquisition.19:56
srichterno, I probably knew once, but I really do not know anymore; Google tells me it gives you the acquisition context; is that right?19:56
J1mIt is the EC equivalent to __get__.19:57
*** deo has joined #zope3-dev20:04
*** clueck has joined #zope3-dev20:20
clueckHi, is the mailinglist still alive?20:24
*** sashav has joined #zope3-dev20:41
*** pcardune has quit IRC20:48
*** jinty has joined #zope3-dev20:52
*** deo has quit IRC20:57
*** mcdonc has quit IRC21:30
jennerhm, are there any known problems with catalogs? When I'm trying to register a catalog through ZMI I get a ComponentLookupError: (<InterfaceClass>, '')21:32
jenneroh, seems I need to create a unique id utility first21:33
*** agroszer has quit IRC21:33
*** J1m has quit IRC21:41
*** natea is now known as natea|away21:53
*** romanofski has quit IRC21:58
*** romanofski has joined #zope3-dev22:02
*** romanofski has joined #zope3-dev22:03
*** mcdonc has joined #zope3-dev22:13
roymHow can I detect (either in zpt or a view) whether my session has expired? I have cookies enabled.22:13
*** zmi_junkie has joined #zope3-dev22:17
*** natea|away is now known as natea22:35
*** cursor has quit IRC23:35
*** cursor has joined #zope3-dev23:36
*** clueck has quit IRC23:45
*** cursor has quit IRC23:47
*** tarek has joined #zope3-dev23:49
*** efrerich has quit IRC23:56

Generated by 2.15.1 by Marius Gedminas - find it at!