*** alecm has joined #zope3-dev | 00:00 | |
*** hazmat has joined #zope3-dev | 00:00 | |
*** b52laptop has quit IRC | 00:00 | |
*** b52laptop has joined #zope3-dev | 00:00 | |
*** cursor has quit IRC | 00:01 | |
*** whit has quit IRC | 00:35 | |
*** whit has joined #zope3-dev | 00:40 | |
*** dunny has quit IRC | 00:57 | |
*** markusleist has joined #zope3-dev | 00:58 | |
*** dunny has joined #zope3-dev | 00:58 | |
*** natea|boston has joined #zope3-dev | 01:04 | |
*** hazmat has quit IRC | 01:15 | |
*** alecm has quit IRC | 01:16 | |
*** markusleist has quit IRC | 01:27 | |
*** gstratton has quit IRC | 01:55 | |
*** pan has joined #zope3-dev | 02:12 | |
pan | anyone alive =) ? | 02:12 |
---|---|---|
ccomb | almost alive | 02:13 |
pan | hehe. how to create object that can be contained and container? | 02:15 |
ccomb | you just implement IContainer and IContained | 02:15 |
pan | it doesnt work. | 02:15 |
pan | when im doing it | 02:15 |
ccomb | a Folder is already that | 02:15 |
pan | im getting error: | 02:15 |
pan | TypeError: iteration over non-sequence | 02:16 |
pan | when object is only IContained its ok | 02:16 |
pan | Folder doesnt implement IContainer | 02:16 |
pan | Object Introspector: zope.app.folder.folder.Folder ( fsda ) | 02:16 |
ccomb | yes it does | 02:16 |
pan | Provided Interfaces | 02:16 |
pan | oh | 02:16 |
pan | i see that IFolder is based on IContained. | 02:17 |
pan | ok. | 02:17 |
pan | my mistake. | 02:17 |
pan | but... i still have this error when im making my object IContained and IContainer | 02:17 |
pan | TypeError: iteration over non-sequence | 02:17 |
ccomb | beeing contained and container is probably not the reason for this error | 02:17 |
pan | hm... | 02:18 |
pan | i have folder called site. i made site from it. there i have folder users. it can cantain only user objects. users can be contained in it. | 02:18 |
pan | and thats work. | 02:18 |
pan | but now i want to make user object like a container, that he will keep messages for everyuser. | 02:19 |
pan | /site/users/user1/messge1 | 02:19 |
pan | /site/users/user1/messge2 | 02:19 |
pan | thats correct solution, right? | 02:19 |
ccomb | it looks like, yes | 02:20 |
pan | ok. | 02:20 |
pan | and when im changing my interfaces.py | 02:20 |
pan | from IUser(IContained) | 02:20 |
pan | to IUser(IContained, IContainer) | 02:20 |
pan | and im trying to add user to folder users | 02:20 |
pan | im getting this error. | 02:21 |
pan | any idea :-) ? | 02:21 |
pan | ccomb thanks for help in saturday night ;-) | 02:21 |
pan | i will buy you beer ;-) | 02:21 |
ccomb | you don't just have to *provide* IContainer, you also have to *implement* IContainer | 02:21 |
pan | hm. | 02:21 |
ccomb | pan: anyway my week-end is lost, I'm reviewing the whole translation of z3 :) | 02:22 |
pan | hehe ;-) | 02:22 |
pan | hm. im thinking about what you said. | 02:22 |
pan | ah. | 02:23 |
pan | hm. | 02:23 |
pan | gimme a minute for try something ;-) | 02:23 |
ccomb | either you implement everymethod listed in IContainer (__deltitem__ __get_item__, etc.), or you derive from an object that already implements all these methods | 02:24 |
pan | right! | 02:25 |
pan | BTreeContainer? | 02:25 |
ccomb | for example | 02:25 |
pan | trying trying. | 02:26 |
pan | but thats so obvious what you said. but to understand it you had to say it to me ;-) without you i would look for this for hours i think ;-) | 02:27 |
ccomb | that reminds me all the hours I've also been spending understanding all that. | 02:28 |
*** harobed has quit IRC | 02:28 | |
ccomb | but Philipp's book helps a lot | 02:28 |
pan | hehe ;-) i spend about 2 days to understand zope security. | 02:29 |
pan | and about 2 hours to realize that PAU has to registered to work :P | 02:29 |
ccomb | that's common :) | 02:29 |
pan | i have it. it is v.good, but... but it shows only some solutions. | 02:29 |
pan | i had to read zope code to understand a lot of things... | 02:29 |
ccomb | ew, my brain is just stopping working by itself, I must sleep... | 02:33 |
pan | im trying to solve this problem with using BTreeContainer but im getting errors. ill try to end this and go to sleep ;-) | 02:34 |
pan | end some part of your work ccomb and do the same? | 02:34 |
ccomb | (ok I'll try progress on a few other msgids...) | 02:35 |
pan | ;] | 02:35 |
*** pcardune has quit IRC | 02:36 | |
*** whit has quit IRC | 02:39 | |
*** romanofski has quit IRC | 02:40 | |
pan | hm. | 02:40 |
pan | ForbiddenAttribute: ('__len__', <moae.user.use object at 0x9a5d1ec>) | 02:41 |
pan | strange. | 02:41 |
ccomb | you forgot to specify permissions on ISized | 02:41 |
ccomb | I guess | 02:41 |
pan | but for normal containers (i mean objects that are only IContainer, not IContained and IContainer) i didnt do that. | 02:42 |
ccomb | non __len__ is part of IContaier | 02:42 |
ccomb | permissions on IContainer | 02:42 |
pan | ah | 02:42 |
pan | so this object | 02:42 |
pan | should be configred as normal object, or as folder object? or as both? | 02:43 |
pan | (trying both configuration at the same time) | 02:44 |
ccomb | you must have a zope:class ZCML directive for your 'user' class, with the require = "..." and interface ="...IContainer" | 02:44 |
pan | ah. | 02:45 |
pan | ok. | 02:45 |
pan | thats obvious again. but im doing this kind of thing first time, so forgive me :-) | 02:45 |
pan | and ofcourse, its late! | 02:45 |
pan | ;-) | 02:45 |
pan | HAH! | 02:48 |
pan | it works. | 02:48 |
pan | ccomb, tell me where send this BIG beer =] heineken? | 02:48 |
ccomb | I'm to be blamed but I don"t like beer that much :) | 02:48 |
pan | ok ok. | 02:48 |
pan | i will send whisky then | 02:48 |
pan | =] | 02:48 |
ccomb | :) | 02:48 |
pan | after all, i saved few hours thanks to you. | 02:49 |
pan | ok. | 02:49 |
ccomb | just send me wishes for a good night to sleep, I need it :) | 02:50 |
pan | hehe. | 02:51 |
pan | ok. | 02:51 |
pan | done! | 02:51 |
* pan is sending magic to ccomb. now his sleep will be amazing! | 02:51 | |
pan | ;] | 02:51 |
pan | natural magic! ;] | 02:51 |
ccomb | waw, great effect, I'm already sleeping. Are you a remote hypnotiser? | 02:51 |
pan | no, im just full of life person i think =] but glad to hear that it helps to you too ;-) | 02:52 |
*** timte has quit IRC | 03:04 | |
*** dunny has quit IRC | 04:10 | |
*** povbot` has joined #zope3-dev | 04:17 | |
*** povbot has quit IRC | 04:31 | |
*** vlado has joined #zope3-dev | 05:01 | |
*** hazmat has joined #zope3-dev | 05:08 | |
*** baijum has joined #zope3-dev | 05:23 | |
*** hazmat has quit IRC | 05:27 | |
*** baijum has quit IRC | 05:30 | |
*** vlado has quit IRC | 05:35 | |
*** jinty has joined #zope3-dev | 05:40 | |
*** b52laptop has quit IRC | 05:42 | |
*** pcardune has joined #zope3-dev | 06:21 | |
*** whit has joined #zope3-dev | 06:23 | |
*** pcardune has quit IRC | 06:51 | |
*** jinty has quit IRC | 06:53 | |
*** hexsprite has quit IRC | 08:11 | |
*** hexsprite has joined #zope3-dev | 08:13 | |
*** hexsprite has quit IRC | 08:29 | |
*** hexsprite has joined #zope3-dev | 08:40 | |
*** cursor has joined #zope3-dev | 08:58 | |
*** BjornT has joined #zope3-dev | 09:12 | |
*** dunny has joined #zope3-dev | 09:34 | |
*** dunny has quit IRC | 09:37 | |
*** whit has quit IRC | 09:40 | |
*** gstratton has joined #zope3-dev | 10:14 | |
*** BjornT has quit IRC | 10:19 | |
*** pelle__ has joined #zope3-dev | 10:23 | |
*** dunny has joined #zope3-dev | 10:29 | |
*** huajie has joined #zope3-dev | 10:35 | |
*** Ariel_Calzada has joined #zope3-dev | 10:42 | |
*** philiKON has joined #zope3-dev | 11:18 | |
*** markusleist has joined #zope3-dev | 11:26 | |
*** dunny has quit IRC | 11:28 | |
*** jodok has joined #zope3-dev | 11:38 | |
*** afd__ has joined #zope3-dev | 11:43 | |
*** ktwilight has quit IRC | 11:48 | |
*** ktwilight has joined #zope3-dev | 11:51 | |
*** malthe has joined #zope3-dev | 11:57 | |
*** Ariel_Calzada has quit IRC | 11:59 | |
*** malthe has quit IRC | 12:01 | |
*** malthe has joined #zope3-dev | 12:09 | |
*** zagy has joined #zope3-dev | 12:18 | |
*** b52laptop has joined #zope3-dev | 12:43 | |
*** b52laptop has joined #zope3-dev | 12:43 | |
*** jinty has joined #zope3-dev | 12:46 | |
*** philiKON has quit IRC | 12:54 | |
*** philiKON has joined #zope3-dev | 12:55 | |
*** quodt has joined #zope3-dev | 12:59 | |
*** cursor has quit IRC | 13:33 | |
*** schwendinger has joined #zope3-dev | 13:37 | |
*** jodok has quit IRC | 13:40 | |
*** schwendinger has quit IRC | 13:50 | |
*** quodt has quit IRC | 14:06 | |
*** timte has joined #zope3-dev | 14:14 | |
ccomb | Hi, an i18n question: can someone explain me at which moment the pot file is extracted, and at which moment the po files are merged. The latter is generally done during make or make install, but while installing zope 3.4 from source I didn't see anything. | 14:26 |
*** huajie has quit IRC | 14:28 | |
*** afd__ has quit IRC | 14:39 | |
*** afd__ has joined #zope3-dev | 14:39 | |
pan | ccomb hi :-) | 14:41 |
philiKON | ccomb: the merging happens when we developers do it | 14:44 |
philiKON | it doesn't happen during installation | 14:44 |
ccomb | philiKON and there is a tool to merge evrything at once? | 14:45 |
philiKON | yup | 14:45 |
philiKON | i18nmergeall | 14:45 |
ccomb | ok. And the extraction? | 14:45 |
philiKON | i18nextract | 14:46 |
ccomb | are you speaking of the extraction and merging of a zope application, or zope itself? | 14:48 |
ccomb | it's the same process, I guess? | 14:48 |
philiKON | yes | 14:49 |
*** cursor has joined #zope3-dev | 14:55 | |
*** pelle__ has quit IRC | 14:56 | |
*** pelle__ has joined #zope3-dev | 14:57 | |
*** zagy has quit IRC | 15:01 | |
*** pan_ has joined #zope3-dev | 15:10 | |
*** zagy has joined #zope3-dev | 15:12 | |
*** pelle__ has quit IRC | 15:15 | |
*** BjornT has joined #zope3-dev | 15:17 | |
*** pan has quit IRC | 15:28 | |
*** philiKON has quit IRC | 15:37 | |
*** philiKON has joined #zope3-dev | 15:45 | |
*** cursor has quit IRC | 16:00 | |
*** hazmat has joined #zope3-dev | 16:28 | |
*** markusleis1 has joined #zope3-dev | 16:31 | |
*** markusleist has quit IRC | 16:32 | |
*** philiKON has quit IRC | 16:40 | |
*** markusleis1 has quit IRC | 17:11 | |
*** afd__ has quit IRC | 17:21 | |
*** spython has joined #zope3-dev | 17:26 | |
*** michwill has joined #zope3-dev | 17:34 | |
*** michwill has left #zope3-dev | 17:34 | |
*** grahal has joined #zope3-dev | 17:40 | |
spython | hi, I got a function that yields items.. is there something in tal so i can I tal:repeat on this function to only get e.g 5 items? | 17:41 |
*** dunny has joined #zope3-dev | 17:42 | |
*** whit has joined #zope3-dev | 18:05 | |
hazmat | spython, make an argument to your function | 18:05 |
hazmat | that stops the iterator is the most efficient | 18:05 |
hazmat | else do a list( function())[:5] | 18:05 |
hazmat | to turn the iterator into the full list and slice first five | 18:05 |
hazmat | but that will exhaust the iterator first | 18:06 |
spython | yes, argument to my function sounds best for me | 18:07 |
*** michwill has joined #zope3-dev | 18:24 | |
michwill | Hello! Where can I ask a stupid question about zope3 if im' a novice? | 18:26 |
spython | here,and maybe someone can answer you | 18:27 |
*** baijum has joined #zope3-dev | 18:28 | |
michwill | M.. How to install zpsycopgda (where to copy / what .zcml to write)? And can I use sql database as easy as if it would be zodb? | 18:29 |
*** norro has joined #zope3-dev | 18:35 | |
*** dunny has quit IRC | 18:48 | |
*** michwill has quit IRC | 18:54 | |
*** cursor has joined #zope3-dev | 19:00 | |
*** dunny has joined #zope3-dev | 19:07 | |
*** hexsprite has quit IRC | 19:15 | |
*** norro has quit IRC | 19:16 | |
*** hexsprite has joined #zope3-dev | 19:21 | |
*** dunny has quit IRC | 19:31 | |
*** baijum has quit IRC | 19:33 | |
*** markusleist has joined #zope3-dev | 20:05 | |
*** markusleist has quit IRC | 20:15 | |
*** niemeyer has joined #zope3-dev | 20:24 | |
*** cursor has quit IRC | 20:28 | |
*** gstratton has quit IRC | 20:37 | |
*** hexsprite_ has joined #zope3-dev | 20:46 | |
*** hexsprite has quit IRC | 20:49 | |
*** acsr has quit IRC | 20:49 | |
*** rmarianski has joined #zope3-dev | 20:50 | |
*** Ariel_Calzada has joined #zope3-dev | 20:51 | |
*** hexsprite has joined #zope3-dev | 20:52 | |
*** acsr has joined #zope3-dev | 20:52 | |
*** hexsprite has quit IRC | 21:06 | |
*** Ariel_Calzada has quit IRC | 21:06 | |
*** jodok has joined #zope3-dev | 21:12 | |
*** dunny has joined #zope3-dev | 21:31 | |
*** quodt has joined #zope3-dev | 21:50 | |
*** natea|boston has quit IRC | 21:58 | |
*** BjornT has quit IRC | 21:58 | |
*** natea|boston has joined #zope3-dev | 21:58 | |
*** Jell-O-Fishi has joined #zope3-dev | 22:04 | |
*** b52lap has joined #zope3-dev | 22:29 | |
*** philiKON has joined #zope3-dev | 22:34 | |
*** b52laptop has quit IRC | 22:45 | |
*** zagy has joined #zope3-dev | 22:59 | |
*** rmarianski has quit IRC | 23:01 | |
*** natea_ has joined #zope3-dev | 23:20 | |
*** philiKON has quit IRC | 23:20 | |
*** stub has joined #zope3-dev | 23:22 | |
*** grahal has quit IRC | 23:24 | |
*** stub has quit IRC | 23:25 | |
*** stu1 has joined #zope3-dev | 23:25 | |
*** stu1 is now known as stub | 23:25 | |
*** natea|boston has quit IRC | 23:27 | |
*** hazmat has quit IRC | 23:39 | |
*** hexsprite_ has quit IRC | 23:51 | |
*** zagy has quit IRC | 23:56 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!