IRC log of #zope3-dev for Wednesday, 2007-03-07

*** jinty has quit IRC00:05
*** wreutz_ has joined #zope3-dev00:07
*** wreutz_ has left #zope3-dev00:09
*** dunny has joined #zope3-dev00:13
*** citronvert has quit IRC00:15
*** dobee has quit IRC00:35
*** gumpa has quit IRC00:37
*** pelle_ has quit IRC00:43
*** redir has joined #zope3-dev00:43
*** redir has quit IRC00:44
*** timte has quit IRC00:47
*** tarek has quit IRC00:48
*** naro has quit IRC00:51
*** alecm has quit IRC00:52
*** tarek has joined #zope3-dev00:53
*** dlk has left #zope3-dev01:01
*** RaFromBRC|lunch is now known as RaFromBRC01:03
*** benji has quit IRC01:03
*** jhauser has quit IRC01:05
*** tarek has quit IRC01:12
*** jinty has joined #zope3-dev01:31
*** marcin_ant has joined #zope3-dev01:49
*** philiKON has joined #zope3-dev01:50
*** J1m has quit IRC01:59
*** philiKON has quit IRC02:03
*** rmarianski has quit IRC02:03
*** lucie has quit IRC02:05
*** redir has joined #zope3-dev02:06
*** tarek has joined #zope3-dev02:17
*** marcin_ant has quit IRC02:22
*** marcin_ant has joined #zope3-dev02:27
*** tarek has quit IRC02:32
*** jinty has quit IRC02:45
*** natea|jfk has joined #zope3-dev02:46
*** opetznick_ has quit IRC02:49
*** redir has quit IRC02:50
*** marcin_ant has quit IRC02:59
*** natea|jfk has quit IRC03:00
*** redir has joined #zope3-dev03:04
*** rocky is now known as rocky|Zzz03:09
*** wrobel has quit IRC03:20
*** stub has joined #zope3-dev03:34
*** redir has quit IRC04:39
*** redir has joined #zope3-dev04:39
*** redir has quit IRC04:43
*** RaFromBRC has quit IRC04:46
*** niemeyer_ has quit IRC05:00
*** sbj4 has joined #zope3-dev05:43
*** dunny has quit IRC05:46
*** mrevoir has joined #zope3-dev05:53
*** sbj4 has quit IRC05:55
*** baijum has joined #zope3-dev06:08
*** dlk has joined #zope3-dev06:22
*** philiKON has joined #zope3-dev06:49
*** Bhaskar has joined #zope3-dev06:58
*** philiKON has quit IRC07:43
*** naro has joined #zope3-dev08:14
*** pghoratiu has joined #zope3-dev08:22
*** d2m has joined #zope3-dev08:47
*** dobee has joined #zope3-dev08:51
*** wrobel has joined #zope3-dev08:54
*** timte has joined #zope3-dev08:54
*** natea|jfk has joined #zope3-dev08:57
*** sorindregan has joined #zope3-dev08:59
*** yvl has joined #zope3-dev09:05
*** dobee has quit IRC09:06
*** natea|jfk is now known as natea|neworleans09:07
*** dobee has joined #zope3-dev09:08
romanofskimorjens09:23
*** baijum has quit IRC09:30
*** natea|neworleans is now known as natea|zzz09:33
*** tarek has joined #zope3-dev09:37
*** jinty has joined #zope3-dev09:45
*** alecm has joined #zope3-dev09:45
zagy_hmm... the pagetemplate resource is not setting the content type in the reponse.09:47
*** zagy_ is now known as zagy09:47
*** baijum has joined #zope3-dev09:47
*** tarek has quit IRC09:51
*** pelle_ has joined #zope3-dev09:51
*** natea|zzz has quit IRC09:52
*** jinty has quit IRC10:02
*** wreutz has joined #zope3-dev10:06
*** dunny has joined #zope3-dev10:16
*** jodok has quit IRC10:17
*** jodok has joined #zope3-dev10:18
*** Bhaskar has quit IRC10:20
*** opetznick has joined #zope3-dev10:21
*** schwendinger has joined #zope3-dev10:27
*** tarek has joined #zope3-dev10:43
*** jfroche has joined #zope3-dev10:45
*** tarek has quit IRC10:55
*** lzdych has joined #zope3-dev11:11
*** baijum has quit IRC11:12
*** jodok has quit IRC11:13
*** alecm has quit IRC11:16
*** tarek has joined #zope3-dev11:18
*** dunny has quit IRC11:18
*** henri_ has joined #zope3-dev11:19
*** alecm has joined #zope3-dev11:20
*** opetznick has quit IRC11:26
*** baijum has joined #zope3-dev11:31
*** jodok has joined #zope3-dev11:39
jodokTheuni: ping11:39
*** alecm has quit IRC11:51
*** opetznick has joined #zope3-dev11:55
*** jinty has joined #zope3-dev12:18
*** opetznick has quit IRC12:52
*** mkerrin has joined #zope3-dev13:02
*** projekt01 has joined #zope3-dev13:06
*** Bhaskar has joined #zope3-dev13:15
*** baijum has quit IRC13:20
*** baijum has joined #zope3-dev13:21
*** tonico|away is now known as tonico13:22
*** schwendinger has quit IRC13:28
*** ignas has joined #zope3-dev13:32
*** Bhaskar has quit IRC13:46
*** rocky|Zzz is now known as rocky14:04
*** jfroche has quit IRC14:05
*** niemeyer has joined #zope3-dev14:25
*** baijum has quit IRC14:40
*** mgedmin has joined #zope3-dev14:47
*** mrevoir has quit IRC14:48
*** ofer has joined #zope3-dev14:51
*** baijum has joined #zope3-dev14:59
*** ofer has quit IRC15:00
*** alga has joined #zope3-dev15:00
*** natea|zzz has joined #zope3-dev15:02
*** natea|zzz is now known as natea|nawlins15:03
*** schwendinger has joined #zope3-dev15:18
*** benji has joined #zope3-dev15:20
*** jfroche has joined #zope3-dev15:23
*** alga_ has joined #zope3-dev15:26
*** alga has quit IRC15:31
*** baijum has quit IRC15:35
*** philiKON has joined #zope3-dev15:38
*** redir has joined #zope3-dev15:43
*** jfroche has quit IRC15:45
*** jfroche has joined #zope3-dev16:00
*** alga_ has quit IRC16:07
*** mgedmin has quit IRC16:09
*** jodok has quit IRC16:12
*** J1m has joined #zope3-dev16:17
*** lucie has joined #zope3-dev16:18
*** whit has joined #zope3-dev16:20
*** jfroche_ has joined #zope3-dev16:25
*** philiKON has quit IRC16:26
*** stub has quit IRC16:27
*** jfroche has quit IRC16:34
*** pelle_ has quit IRC16:40
*** jfroche_ has quit IRC16:42
*** philiKON has joined #zope3-dev16:43
*** mgedmin has joined #zope3-dev16:43
*** philiKON has quit IRC16:44
*** jfroche_ has joined #zope3-dev16:51
*** pghoratiu has quit IRC17:04
*** rmarianski has joined #zope3-dev17:09
*** sorindregan has quit IRC17:16
*** alga has joined #zope3-dev17:28
*** timte has quit IRC17:33
*** natea|nawlins has quit IRC17:36
*** natea|nawlins has joined #zope3-dev17:38
*** tarek has quit IRC17:40
*** alecm has joined #zope3-dev17:45
*** tarek has joined #zope3-dev17:47
Theunisigh17:53
Theunithe wiki is annoying17:53
*** rocky is now known as rocky|away17:55
mgedminwhich wiki?17:55
ccombI guess wiki.zope.org17:56
ccombI wonder wether the Summer of Code could be turned into a Summer of Documentation ? :)17:58
*** yvl has quit IRC17:58
*** jodok has joined #zope3-dev18:00
*** jfroche_ has quit IRC18:01
projekt01ccomb, or the Summer of fix the wiki for IE18:02
ccombor the Summer of Learn People Not To Use IE18:03
projekt01;-)18:03
ccomb(oops, bad english)18:03
Theuniyeah. zwiki.18:09
Theuniit doesn't want me to make any changes.18:09
*** softdevr has joined #zope3-dev18:12
softdevrhi, I'm having trouble accessing the interface of objects in a container.  I've added a require tag in the ZCML file though.18:13
*** rlo has joined #zope3-dev18:14
softdevrI can access the container's attributes, but not the contained objs - ForbiddenAttribute18:15
ccombYour object interface extends IContainer ?18:18
mgedminand specifically which attribute is forbidden?18:19
softdevrccomb - yeah18:20
softdevrmgedmin: I've added a couple of text / text lines attributes18:21
mgedminthat does not answer my question18:22
*** redir has quit IRC18:22
ccombwhat does your require zcml declaration contain?18:23
softdevrmgedim: ok, so the one I'm trying to access is 'author'18:24
* mgedmin needs to see both the exception and the zcml permission declaration in order to give a useful answer18:25
softdevrccomb: zcml contains: <require interface="bhf.news.interfaces.INewsArticle" permission="zope.Public" />18:26
ccombyou need set_schema18:27
mgedminno18:27
mgedminyou also need <require interface="...IReadContainer" permission="..." />18:28
ccombI've understood he cannot write the attribute18:28
mgedmin"I can access the container's attributes, but not the contained objs"18:28
mgedminto access contained objs you need to allow __getitem__ at least18:29
mgedminbut IReadContainer is better18:29
*** ignas has quit IRC18:29
d2mTheuni: let me check edit permissions in zwiki18:29
Theunid2m: no. it's not edit permissions.18:30
Theuniit's *slooooooooooooooooooow*ness18:30
Theuniit took about 4 minutes to apply the last change i did18:30
d2moh, its gone to sleep again18:30
d2mTheuni: likely it has restarted and now it is not coming up again - this happens ever other day now18:31
Theuniwhy would it restart in the first place?18:31
d2mTheuni: no idea, low on ram likely18:32
Theunieeeeek18:32
Theunihow much ram does that machine have?18:32
d2mthis runs on a 256MB vhost18:32
Theunihow many objects in the ZODB cache?18:32
Theunihow many threads?18:32
d2mtoo many18:32
d2myou need to ask sm in #zwiki for detail (hardware and setup)18:33
*** jodok_ has joined #zope3-dev18:34
softdevrccomb / mgedin - thanks I'll try that out18:36
ccomba question, if you set the require permission on IReadContainer, won't you have the risk to set this permission for *every* ReadContainer, instead of just the wanted object ?18:38
mgedminno18:40
mgedminIReadContainer is used to get a list of attribute names18:40
mgedminthe permissions are declared for your object only18:40
mgedminbut note that when you subclass some Zope 3 class like, say, SampleContainer, permissions are not inherited18:41
ccombah yes, it's inside  zope:class18:41
mgedminand you always have to add the security declarations18:41
*** jodok has quit IRC18:51
Theunijodok_: whazzaup?18:55
*** jodok_ is now known as jodok18:55
*** henri_ has quit IRC18:58
*** projekt01 has quit IRC19:01
softdevrmgedmin: I've tried to add a require tag for IReadContainer within the content class but that's causing compilations errors19:01
*** rocky|away is now known as rocky19:03
softdevrA problem in the ZCML ... For: ('protectName', <class 'bhf.news.news.NewsArticleCollection'>, 'values')19:03
softdevrand ... For: ('protectName', <class 'bhf.news.news.NewsArticleCollection'>, 'keys')19:04
*** wreutz has quit IRC19:05
*** jodok has quit IRC19:08
*** jodok has joined #zope3-dev19:10
*** jodok has quit IRC19:12
*** zenwryly has quit IRC19:13
*** jodok has joined #zope3-dev19:14
*** natea|nawlins has quit IRC19:17
*** jodok_ has joined #zope3-dev19:18
*** jodok has quit IRC19:18
*** jinty has quit IRC19:26
*** dobee has quit IRC19:34
*** jodok_ has quit IRC19:36
*** BjornT has quit IRC19:47
*** BjornT has joined #zope3-dev19:47
*** schwendinger has quit IRC19:49
*** RaFromBRC has joined #zope3-dev19:51
*** jodok has joined #zope3-dev19:59
*** tarek has quit IRC20:01
*** jkakar has quit IRC20:19
*** jkakar has joined #zope3-dev20:19
*** wreutz has joined #zope3-dev20:21
*** lzdych has quit IRC20:25
*** rlo has quit IRC20:28
*** redir has joined #zope3-dev20:29
*** softdevr has quit IRC20:33
*** wreutz has quit IRC20:39
*** wreutz has joined #zope3-dev20:39
*** srichter has quit IRC20:49
*** pelle_ has joined #zope3-dev20:56
*** dunny has joined #zope3-dev20:59
*** schwendinger has joined #zope3-dev21:02
*** tarek has joined #zope3-dev21:04
*** pelle_ has quit IRC21:05
*** pelle_ has joined #zope3-dev21:06
*** alecm has quit IRC21:07
*** alecm has joined #zope3-dev21:10
*** wreutz_ has joined #zope3-dev21:26
*** wreutz has quit IRC21:28
*** redir has quit IRC21:30
*** softdevr has joined #zope3-dev21:31
softdevrin the bookmarker example online, in the configure.zcml file the content class has no implements tag for .interfaces.IBookmarker21:31
softdevrbut the code works21:31
softdevrmy code only works if I include the 'implements'21:33
*** schwendinger_ has joined #zope3-dev21:35
benjisoftdevr: (I don't know anything about bookmarker) does the class inherit from a class that does implement the interface, or perhaps implement a different interface that extens IBookmarker?21:35
*** srichter has joined #zope3-dev21:35
*** wreutz__ has joined #zope3-dev21:36
*** wreutz_ has quit IRC21:36
softdevrbenji: no, the class implements the interface21:37
softdevrhttp://zissue.berlios.de/z3/Zope3In30Minutes.html21:37
benjisoftdevr: oh, I misunderstood your question; you're asking "why doesn't the ZCML mention implements", right?21:38
softdevryes21:38
benjithe short answer is: because the class does; you only need to do it in ZCML if the class doesn't make it explicitly21:39
softdevri'm trying to create my own container/contained model, and it uses the same approach but it will only work if I put it into the ZCML too21:41
benjisorry, nothing jumps out at me21:44
softdevrthat's an aside really. I'm trying to create a view class for my custom container but am getting a ForbiddenAttribute error when I try to access data from the contained objs.21:46
softdevrWhile trying to find any differences between what I've done and the example that's what I noticed21:46
softdevrI can access the container's attributes.  Previously it was suggested that permission was given for IReadContainer on the container but that tutorial doesn't need to do that and it works21:48
softdevr(it displays the contained objects in a view)21:48
*** pelle_ has quit IRC21:49
*** pelle_ has joined #zope3-dev21:49
*** schwendinger has quit IRC21:51
*** dobee has joined #zope3-dev21:52
*** jodok has quit IRC21:56
*** dobee has joined #zope3-dev21:57
*** mkerrin has quit IRC21:57
mgedminthe fact that TAL apparently uses dictionary internal order when rendering tal:attributes makes doctests fun to write22:03
benjiheh22:04
benjiI haven't noticed that, but it might not be that noticable22:04
*** wreutz__ has quit IRC22:06
*** wreutz__ has joined #zope3-dev22:07
*** alecm has quit IRC22:11
*** wreutz_ has joined #zope3-dev22:16
*** jodok has joined #zope3-dev22:18
*** wreutz__ has quit IRC22:25
*** softdevr has quit IRC22:33
*** timte has joined #zope3-dev22:34
Theunihach22:35
*** stub has joined #zope3-dev22:43
mgedminwow22:47
mgedminI don't know what I did, but doctest went crazy on me22:47
mgedmin  >>> widget = MyWidget(field, request)22:47
mgedmin   >>> print widget()22:47
mgedminit fails on the second line claiming that global 'widget' is not found22:47
mgedminno errors on the first line22:47
mgedminoh, duh, my fault22:48
* mgedmin forgot how to read tracebacks22:48
J1mTheuni, are you stil working on the download cache for buildout?22:51
*** tarek has quit IRC22:54
TheuniJ1m: Yes in general, no in the moment. I'm tied up with paid work again so it's a bit down my list.22:55
TheuniI do have some code ready though which I started working on but didn't get finished.22:56
TheuniAlso the notes that we made on the two types of caching.22:56
TheuniI'll check those in on a branch in case you want to use those.22:56
TheuniJ1m: see svn+ssh://ctheune@svn.zope.org/repos/main/zc.buildout/branches/downloadcache22:59
Theuninot as ctheune of course ;)22:59
J1mOK, I may want to pusue this quicker than you do.23:00
Theunithats what we have svn for :)23:00
*** timte has quit IRC23:04
*** stub has quit IRC23:11
*** naro has quit IRC23:14
J1mI'm getting very tired of sites having the distros we need being down.23:15
*** schwendinger_ has quit IRC23:21
Theuniwhich one is it now?23:21
*** tarek has joined #zope3-dev23:31
*** jodok has quit IRC23:33
*** MrTopf has joined #zope3-dev23:37
*** jodok has joined #zope3-dev23:38
J1mTheuni, it's amk's site for pycrypto.23:42
Theuniah23:42
Theuniwe're getting eggs from there or externals?23:42
*** pelle_ has quit IRC23:45
*** pelle_ has joined #zope3-dev23:46
*** tarek has quit IRC23:48
*** RaFromBRC is now known as RaFromBRC|lunch23:49
*** dobee has quit IRC23:59

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