*** jinty has quit IRC | 00:05 | |
*** wreutz_ has joined #zope3-dev | 00:07 | |
*** wreutz_ has left #zope3-dev | 00:09 | |
*** dunny has joined #zope3-dev | 00:13 | |
*** citronvert has quit IRC | 00:15 | |
*** dobee has quit IRC | 00:35 | |
*** gumpa has quit IRC | 00:37 | |
*** pelle_ has quit IRC | 00:43 | |
*** redir has joined #zope3-dev | 00:43 | |
*** redir has quit IRC | 00:44 | |
*** timte has quit IRC | 00:47 | |
*** tarek has quit IRC | 00:48 | |
*** naro has quit IRC | 00:51 | |
*** alecm has quit IRC | 00:52 | |
*** tarek has joined #zope3-dev | 00:53 | |
*** dlk has left #zope3-dev | 01:01 | |
*** RaFromBRC|lunch is now known as RaFromBRC | 01:03 | |
*** benji has quit IRC | 01:03 | |
*** jhauser has quit IRC | 01:05 | |
*** tarek has quit IRC | 01:12 | |
*** jinty has joined #zope3-dev | 01:31 | |
*** marcin_ant has joined #zope3-dev | 01:49 | |
*** philiKON has joined #zope3-dev | 01:50 | |
*** J1m has quit IRC | 01:59 | |
*** philiKON has quit IRC | 02:03 | |
*** rmarianski has quit IRC | 02:03 | |
*** lucie has quit IRC | 02:05 | |
*** redir has joined #zope3-dev | 02:06 | |
*** tarek has joined #zope3-dev | 02:17 | |
*** marcin_ant has quit IRC | 02:22 | |
*** marcin_ant has joined #zope3-dev | 02:27 | |
*** tarek has quit IRC | 02:32 | |
*** jinty has quit IRC | 02:45 | |
*** natea|jfk has joined #zope3-dev | 02:46 | |
*** opetznick_ has quit IRC | 02:49 | |
*** redir has quit IRC | 02:50 | |
*** marcin_ant has quit IRC | 02:59 | |
*** natea|jfk has quit IRC | 03:00 | |
*** redir has joined #zope3-dev | 03:04 | |
*** rocky is now known as rocky|Zzz | 03:09 | |
*** wrobel has quit IRC | 03:20 | |
*** stub has joined #zope3-dev | 03:34 | |
*** redir has quit IRC | 04:39 | |
*** redir has joined #zope3-dev | 04:39 | |
*** redir has quit IRC | 04:43 | |
*** RaFromBRC has quit IRC | 04:46 | |
*** niemeyer_ has quit IRC | 05:00 | |
*** sbj4 has joined #zope3-dev | 05:43 | |
*** dunny has quit IRC | 05:46 | |
*** mrevoir has joined #zope3-dev | 05:53 | |
*** sbj4 has quit IRC | 05:55 | |
*** baijum has joined #zope3-dev | 06:08 | |
*** dlk has joined #zope3-dev | 06:22 | |
*** philiKON has joined #zope3-dev | 06:49 | |
*** Bhaskar has joined #zope3-dev | 06:58 | |
*** philiKON has quit IRC | 07:43 | |
*** naro has joined #zope3-dev | 08:14 | |
*** pghoratiu has joined #zope3-dev | 08:22 | |
*** d2m has joined #zope3-dev | 08:47 | |
*** dobee has joined #zope3-dev | 08:51 | |
*** wrobel has joined #zope3-dev | 08:54 | |
*** timte has joined #zope3-dev | 08:54 | |
*** natea|jfk has joined #zope3-dev | 08:57 | |
*** sorindregan has joined #zope3-dev | 08:59 | |
*** yvl has joined #zope3-dev | 09:05 | |
*** dobee has quit IRC | 09:06 | |
*** natea|jfk is now known as natea|neworleans | 09:07 | |
*** dobee has joined #zope3-dev | 09:08 | |
romanofski | morjens | 09:23 |
---|---|---|
*** baijum has quit IRC | 09:30 | |
*** natea|neworleans is now known as natea|zzz | 09:33 | |
*** tarek has joined #zope3-dev | 09:37 | |
*** jinty has joined #zope3-dev | 09:45 | |
*** alecm has joined #zope3-dev | 09:45 | |
zagy_ | hmm... the pagetemplate resource is not setting the content type in the reponse. | 09:47 |
*** zagy_ is now known as zagy | 09:47 | |
*** baijum has joined #zope3-dev | 09:47 | |
*** tarek has quit IRC | 09:51 | |
*** pelle_ has joined #zope3-dev | 09:51 | |
*** natea|zzz has quit IRC | 09:52 | |
*** jinty has quit IRC | 10:02 | |
*** wreutz has joined #zope3-dev | 10:06 | |
*** dunny has joined #zope3-dev | 10:16 | |
*** jodok has quit IRC | 10:17 | |
*** jodok has joined #zope3-dev | 10:18 | |
*** Bhaskar has quit IRC | 10:20 | |
*** opetznick has joined #zope3-dev | 10:21 | |
*** schwendinger has joined #zope3-dev | 10:27 | |
*** tarek has joined #zope3-dev | 10:43 | |
*** jfroche has joined #zope3-dev | 10:45 | |
*** tarek has quit IRC | 10:55 | |
*** lzdych has joined #zope3-dev | 11:11 | |
*** baijum has quit IRC | 11:12 | |
*** jodok has quit IRC | 11:13 | |
*** alecm has quit IRC | 11:16 | |
*** tarek has joined #zope3-dev | 11:18 | |
*** dunny has quit IRC | 11:18 | |
*** henri_ has joined #zope3-dev | 11:19 | |
*** alecm has joined #zope3-dev | 11:20 | |
*** opetznick has quit IRC | 11:26 | |
*** baijum has joined #zope3-dev | 11:31 | |
*** jodok has joined #zope3-dev | 11:39 | |
jodok | Theuni: ping | 11:39 |
*** alecm has quit IRC | 11:51 | |
*** opetznick has joined #zope3-dev | 11:55 | |
*** jinty has joined #zope3-dev | 12:18 | |
*** opetznick has quit IRC | 12:52 | |
*** mkerrin has joined #zope3-dev | 13:02 | |
*** projekt01 has joined #zope3-dev | 13:06 | |
*** Bhaskar has joined #zope3-dev | 13:15 | |
*** baijum has quit IRC | 13:20 | |
*** baijum has joined #zope3-dev | 13:21 | |
*** tonico|away is now known as tonico | 13:22 | |
*** schwendinger has quit IRC | 13:28 | |
*** ignas has joined #zope3-dev | 13:32 | |
*** Bhaskar has quit IRC | 13:46 | |
*** rocky|Zzz is now known as rocky | 14:04 | |
*** jfroche has quit IRC | 14:05 | |
*** niemeyer has joined #zope3-dev | 14:25 | |
*** baijum has quit IRC | 14:40 | |
*** mgedmin has joined #zope3-dev | 14:47 | |
*** mrevoir has quit IRC | 14:48 | |
*** ofer has joined #zope3-dev | 14:51 | |
*** baijum has joined #zope3-dev | 14:59 | |
*** ofer has quit IRC | 15:00 | |
*** alga has joined #zope3-dev | 15:00 | |
*** natea|zzz has joined #zope3-dev | 15:02 | |
*** natea|zzz is now known as natea|nawlins | 15:03 | |
*** schwendinger has joined #zope3-dev | 15:18 | |
*** benji has joined #zope3-dev | 15:20 | |
*** jfroche has joined #zope3-dev | 15:23 | |
*** alga_ has joined #zope3-dev | 15:26 | |
*** alga has quit IRC | 15:31 | |
*** baijum has quit IRC | 15:35 | |
*** philiKON has joined #zope3-dev | 15:38 | |
*** redir has joined #zope3-dev | 15:43 | |
*** jfroche has quit IRC | 15:45 | |
*** jfroche has joined #zope3-dev | 16:00 | |
*** alga_ has quit IRC | 16:07 | |
*** mgedmin has quit IRC | 16:09 | |
*** jodok has quit IRC | 16:12 | |
*** J1m has joined #zope3-dev | 16:17 | |
*** lucie has joined #zope3-dev | 16:18 | |
*** whit has joined #zope3-dev | 16:20 | |
*** jfroche_ has joined #zope3-dev | 16:25 | |
*** philiKON has quit IRC | 16:26 | |
*** stub has quit IRC | 16:27 | |
*** jfroche has quit IRC | 16:34 | |
*** pelle_ has quit IRC | 16:40 | |
*** jfroche_ has quit IRC | 16:42 | |
*** philiKON has joined #zope3-dev | 16:43 | |
*** mgedmin has joined #zope3-dev | 16:43 | |
*** philiKON has quit IRC | 16:44 | |
*** jfroche_ has joined #zope3-dev | 16:51 | |
*** pghoratiu has quit IRC | 17:04 | |
*** rmarianski has joined #zope3-dev | 17:09 | |
*** sorindregan has quit IRC | 17:16 | |
*** alga has joined #zope3-dev | 17:28 | |
*** timte has quit IRC | 17:33 | |
*** natea|nawlins has quit IRC | 17:36 | |
*** natea|nawlins has joined #zope3-dev | 17:38 | |
*** tarek has quit IRC | 17:40 | |
*** alecm has joined #zope3-dev | 17:45 | |
*** tarek has joined #zope3-dev | 17:47 | |
Theuni | sigh | 17:53 |
Theuni | the wiki is annoying | 17:53 |
*** rocky is now known as rocky|away | 17:55 | |
mgedmin | which wiki? | 17:55 |
ccomb | I guess wiki.zope.org | 17:56 |
ccomb | I wonder wether the Summer of Code could be turned into a Summer of Documentation ? :) | 17:58 |
*** yvl has quit IRC | 17:58 | |
*** jodok has joined #zope3-dev | 18:00 | |
*** jfroche_ has quit IRC | 18:01 | |
projekt01 | ccomb, or the Summer of fix the wiki for IE | 18:02 |
ccomb | or the Summer of Learn People Not To Use IE | 18:03 |
projekt01 | ;-) | 18:03 |
ccomb | (oops, bad english) | 18:03 |
Theuni | yeah. zwiki. | 18:09 |
Theuni | it doesn't want me to make any changes. | 18:09 |
*** softdevr has joined #zope3-dev | 18:12 | |
softdevr | hi, 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-dev | 18:14 | |
softdevr | I can access the container's attributes, but not the contained objs - ForbiddenAttribute | 18:15 |
ccomb | Your object interface extends IContainer ? | 18:18 |
mgedmin | and specifically which attribute is forbidden? | 18:19 |
softdevr | ccomb - yeah | 18:20 |
softdevr | mgedmin: I've added a couple of text / text lines attributes | 18:21 |
mgedmin | that does not answer my question | 18:22 |
*** redir has quit IRC | 18:22 | |
ccomb | what does your require zcml declaration contain? | 18:23 |
softdevr | mgedim: 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 answer | 18:25 | |
softdevr | ccomb: zcml contains: <require interface="bhf.news.interfaces.INewsArticle" permission="zope.Public" /> | 18:26 |
ccomb | you need set_schema | 18:27 |
mgedmin | no | 18:27 |
mgedmin | you also need <require interface="...IReadContainer" permission="..." /> | 18:28 |
ccomb | I've understood he cannot write the attribute | 18:28 |
mgedmin | "I can access the container's attributes, but not the contained objs" | 18:28 |
mgedmin | to access contained objs you need to allow __getitem__ at least | 18:29 |
mgedmin | but IReadContainer is better | 18:29 |
*** ignas has quit IRC | 18:29 | |
d2m | Theuni: let me check edit permissions in zwiki | 18:29 |
Theuni | d2m: no. it's not edit permissions. | 18:30 |
Theuni | it's *slooooooooooooooooooow*ness | 18:30 |
Theuni | it took about 4 minutes to apply the last change i did | 18:30 |
d2m | oh, its gone to sleep again | 18:30 |
d2m | Theuni: likely it has restarted and now it is not coming up again - this happens ever other day now | 18:31 |
Theuni | why would it restart in the first place? | 18:31 |
d2m | Theuni: no idea, low on ram likely | 18:32 |
Theuni | eeeeek | 18:32 |
Theuni | how much ram does that machine have? | 18:32 |
d2m | this runs on a 256MB vhost | 18:32 |
Theuni | how many objects in the ZODB cache? | 18:32 |
Theuni | how many threads? | 18:32 |
d2m | too many | 18:32 |
d2m | you need to ask sm in #zwiki for detail (hardware and setup) | 18:33 |
*** jodok_ has joined #zope3-dev | 18:34 | |
softdevr | ccomb / mgedin - thanks I'll try that out | 18:36 |
ccomb | a 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 |
mgedmin | no | 18:40 |
mgedmin | IReadContainer is used to get a list of attribute names | 18:40 |
mgedmin | the permissions are declared for your object only | 18:40 |
mgedmin | but note that when you subclass some Zope 3 class like, say, SampleContainer, permissions are not inherited | 18:41 |
ccomb | ah yes, it's inside zope:class | 18:41 |
mgedmin | and you always have to add the security declarations | 18:41 |
*** jodok has quit IRC | 18:51 | |
Theuni | jodok_: whazzaup? | 18:55 |
*** jodok_ is now known as jodok | 18:55 | |
*** henri_ has quit IRC | 18:58 | |
*** projekt01 has quit IRC | 19:01 | |
softdevr | mgedmin: I've tried to add a require tag for IReadContainer within the content class but that's causing compilations errors | 19:01 |
*** rocky|away is now known as rocky | 19:03 | |
softdevr | A problem in the ZCML ... For: ('protectName', <class 'bhf.news.news.NewsArticleCollection'>, 'values') | 19:03 |
softdevr | and ... For: ('protectName', <class 'bhf.news.news.NewsArticleCollection'>, 'keys') | 19:04 |
*** wreutz has quit IRC | 19:05 | |
*** jodok has quit IRC | 19:08 | |
*** jodok has joined #zope3-dev | 19:10 | |
*** jodok has quit IRC | 19:12 | |
*** zenwryly has quit IRC | 19:13 | |
*** jodok has joined #zope3-dev | 19:14 | |
*** natea|nawlins has quit IRC | 19:17 | |
*** jodok_ has joined #zope3-dev | 19:18 | |
*** jodok has quit IRC | 19:18 | |
*** jinty has quit IRC | 19:26 | |
*** dobee has quit IRC | 19:34 | |
*** jodok_ has quit IRC | 19:36 | |
*** BjornT has quit IRC | 19:47 | |
*** BjornT has joined #zope3-dev | 19:47 | |
*** schwendinger has quit IRC | 19:49 | |
*** RaFromBRC has joined #zope3-dev | 19:51 | |
*** jodok has joined #zope3-dev | 19:59 | |
*** tarek has quit IRC | 20:01 | |
*** jkakar has quit IRC | 20:19 | |
*** jkakar has joined #zope3-dev | 20:19 | |
*** wreutz has joined #zope3-dev | 20:21 | |
*** lzdych has quit IRC | 20:25 | |
*** rlo has quit IRC | 20:28 | |
*** redir has joined #zope3-dev | 20:29 | |
*** softdevr has quit IRC | 20:33 | |
*** wreutz has quit IRC | 20:39 | |
*** wreutz has joined #zope3-dev | 20:39 | |
*** srichter has quit IRC | 20:49 | |
*** pelle_ has joined #zope3-dev | 20:56 | |
*** dunny has joined #zope3-dev | 20:59 | |
*** schwendinger has joined #zope3-dev | 21:02 | |
*** tarek has joined #zope3-dev | 21:04 | |
*** pelle_ has quit IRC | 21:05 | |
*** pelle_ has joined #zope3-dev | 21:06 | |
*** alecm has quit IRC | 21:07 | |
*** alecm has joined #zope3-dev | 21:10 | |
*** wreutz_ has joined #zope3-dev | 21:26 | |
*** wreutz has quit IRC | 21:28 | |
*** redir has quit IRC | 21:30 | |
*** softdevr has joined #zope3-dev | 21:31 | |
softdevr | in the bookmarker example online, in the configure.zcml file the content class has no implements tag for .interfaces.IBookmarker | 21:31 |
softdevr | but the code works | 21:31 |
softdevr | my code only works if I include the 'implements' | 21:33 |
*** schwendinger_ has joined #zope3-dev | 21:35 | |
benji | softdevr: (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-dev | 21:35 | |
*** wreutz__ has joined #zope3-dev | 21:36 | |
*** wreutz_ has quit IRC | 21:36 | |
softdevr | benji: no, the class implements the interface | 21:37 |
softdevr | http://zissue.berlios.de/z3/Zope3In30Minutes.html | 21:37 |
benji | softdevr: oh, I misunderstood your question; you're asking "why doesn't the ZCML mention implements", right? | 21:38 |
softdevr | yes | 21:38 |
benji | the short answer is: because the class does; you only need to do it in ZCML if the class doesn't make it explicitly | 21:39 |
softdevr | i'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 too | 21:41 |
benji | sorry, nothing jumps out at me | 21:44 |
softdevr | that'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 |
softdevr | While trying to find any differences between what I've done and the example that's what I noticed | 21:46 |
softdevr | I 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 works | 21:48 |
softdevr | (it displays the contained objects in a view) | 21:48 |
*** pelle_ has quit IRC | 21:49 | |
*** pelle_ has joined #zope3-dev | 21:49 | |
*** schwendinger has quit IRC | 21:51 | |
*** dobee has joined #zope3-dev | 21:52 | |
*** jodok has quit IRC | 21:56 | |
*** dobee has joined #zope3-dev | 21:57 | |
*** mkerrin has quit IRC | 21:57 | |
mgedmin | the fact that TAL apparently uses dictionary internal order when rendering tal:attributes makes doctests fun to write | 22:03 |
benji | heh | 22:04 |
benji | I haven't noticed that, but it might not be that noticable | 22:04 |
*** wreutz__ has quit IRC | 22:06 | |
*** wreutz__ has joined #zope3-dev | 22:07 | |
*** alecm has quit IRC | 22:11 | |
*** wreutz_ has joined #zope3-dev | 22:16 | |
*** jodok has joined #zope3-dev | 22:18 | |
*** wreutz__ has quit IRC | 22:25 | |
*** softdevr has quit IRC | 22:33 | |
*** timte has joined #zope3-dev | 22:34 | |
Theuni | hach | 22:35 |
*** stub has joined #zope3-dev | 22:43 | |
mgedmin | wow | 22:47 |
mgedmin | I don't know what I did, but doctest went crazy on me | 22:47 |
mgedmin | >>> widget = MyWidget(field, request) | 22:47 |
mgedmin | >>> print widget() | 22:47 |
mgedmin | it fails on the second line claiming that global 'widget' is not found | 22:47 |
mgedmin | no errors on the first line | 22:47 |
mgedmin | oh, duh, my fault | 22:48 |
* mgedmin forgot how to read tracebacks | 22:48 | |
J1m | Theuni, are you stil working on the download cache for buildout? | 22:51 |
*** tarek has quit IRC | 22:54 | |
Theuni | J1m: 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 |
Theuni | I do have some code ready though which I started working on but didn't get finished. | 22:56 |
Theuni | Also the notes that we made on the two types of caching. | 22:56 |
Theuni | I'll check those in on a branch in case you want to use those. | 22:56 |
Theuni | J1m: see svn+ssh://ctheune@svn.zope.org/repos/main/zc.buildout/branches/downloadcache | 22:59 |
Theuni | not as ctheune of course ;) | 22:59 |
J1m | OK, I may want to pusue this quicker than you do. | 23:00 |
Theuni | thats what we have svn for :) | 23:00 |
*** timte has quit IRC | 23:04 | |
*** stub has quit IRC | 23:11 | |
*** naro has quit IRC | 23:14 | |
J1m | I'm getting very tired of sites having the distros we need being down. | 23:15 |
*** schwendinger_ has quit IRC | 23:21 | |
Theuni | which one is it now? | 23:21 |
*** tarek has joined #zope3-dev | 23:31 | |
*** jodok has quit IRC | 23:33 | |
*** MrTopf has joined #zope3-dev | 23:37 | |
*** jodok has joined #zope3-dev | 23:38 | |
J1m | Theuni, it's amk's site for pycrypto. | 23:42 |
Theuni | ah | 23:42 |
Theuni | we're getting eggs from there or externals? | 23:42 |
*** pelle_ has quit IRC | 23:45 | |
*** pelle_ has joined #zope3-dev | 23:46 | |
*** tarek has quit IRC | 23:48 | |
*** RaFromBRC is now known as RaFromBRC|lunch | 23:49 | |
*** dobee has quit IRC | 23:59 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!