IRC log of #zope3-dev for Sunday, 2007-11-11

*** alecm has joined #zope3-dev00:00
*** hazmat has joined #zope3-dev00:00
*** b52laptop has quit IRC00:00
*** b52laptop has joined #zope3-dev00:00
*** cursor has quit IRC00:01
*** whit has quit IRC00:35
*** whit has joined #zope3-dev00:40
*** dunny has quit IRC00:57
*** markusleist has joined #zope3-dev00:58
*** dunny has joined #zope3-dev00:58
*** natea|boston has joined #zope3-dev01:04
*** hazmat has quit IRC01:15
*** alecm has quit IRC01:16
*** markusleist has quit IRC01:27
*** gstratton has quit IRC01:55
*** pan has joined #zope3-dev02:12
pananyone alive =) ?02:12
ccombalmost alive02:13
panhehe. how to create object that can be contained and container?02:15
ccombyou just implement IContainer and IContained02:15
panit doesnt work.02:15
panwhen im doing it02:15
ccomba Folder is already that02:15
panim getting error:02:15
panTypeError: iteration over non-sequence02:16
panwhen object is only IContained its ok02:16
panFolder doesnt implement IContainer02:16
pan Object Introspector: zope.app.folder.folder.Folder  ( fsda )02:16
ccombyes it does02:16
panProvided Interfaces02:16
panoh02:16
pani see that IFolder is based on IContained.02:17
panok.02:17
panmy mistake.02:17
panbut... i still have this error when im making my object IContained and IContainer02:17
panTypeError: iteration over non-sequence02:17
ccombbeeing contained and container is probably not the reason for this error02:17
panhm...02:18
pani 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
panand thats work.02:18
panbut now i want to make user object like a container, that he will keep messages for everyuser.02:19
pan/site/users/user1/messge102:19
pan/site/users/user1/messge202:19
panthats correct solution, right?02:19
ccombit looks like, yes02:20
panok.02:20
panand when im changing my interfaces.py02:20
panfrom IUser(IContained)02:20
panto IUser(IContained, IContainer)02:20
panand im trying to add user to folder users02:20
panim getting this error.02:21
panany idea :-) ?02:21
panccomb thanks for help in saturday night ;-)02:21
pani will buy you beer ;-)02:21
ccombyou don't just have to *provide* IContainer, you also have to *implement* IContainer02:21
panhm.02:21
ccombpan: anyway my week-end is lost, I'm reviewing the whole translation of z3 :)02:22
panhehe ;-)02:22
panhm. im thinking about what you said.02:22
panah.02:23
panhm.02:23
pangimme a minute for try something ;-)02:23
ccombeither you implement everymethod listed in IContainer (__deltitem__ __get_item__, etc.), or you derive from an object that already implements all these methods02:24
panright!02:25
panBTreeContainer?02:25
ccombfor example02:25
pantrying trying.02:26
panbut 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
ccombthat reminds me all the hours I've also been spending understanding all that.02:28
*** harobed has quit IRC02:28
ccombbut Philipp's book helps a lot02:28
panhehe ;-) i spend about 2 days to understand zope security.02:29
panand about 2 hours to realize that PAU has to registered to work :P02:29
ccombthat's common :)02:29
pani have it. it is v.good, but... but it shows only some solutions.02:29
pani had to read zope code to understand a lot of things...02:29
ccombew, my brain is just stopping working by itself, I must sleep...02:33
panim trying to solve this problem with using BTreeContainer but im getting errors. ill try to end this and go to sleep ;-)02:34
panend 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 IRC02:36
*** whit has quit IRC02:39
*** romanofski has quit IRC02:40
panhm.02:40
panForbiddenAttribute: ('__len__', <moae.user.use object at 0x9a5d1ec>)02:41
panstrange.02:41
ccombyou forgot to specify permissions on ISized02:41
ccombI guess02:41
panbut for normal containers (i mean objects that are only IContainer, not IContained and IContainer) i didnt do that.02:42
ccombnon __len__ is part of IContaier02:42
ccombpermissions on IContainer02:42
panah02:42
panso this object02:42
panshould be configred as normal object, or as folder object? or as both?02:43
pan(trying both configuration at the same time)02:44
ccombyou must have a zope:class ZCML directive for your 'user' class, with the require = "..." and interface ="...IContainer"02:44
panah.02:45
panok.02:45
panthats obvious again. but im doing this kind of thing first time, so forgive me :-)02:45
panand ofcourse, its late!02:45
pan;-)02:45
panHAH!02:48
panit works.02:48
panccomb, tell me where send this BIG beer =] heineken?02:48
ccombI'm to be blamed but I don"t like beer that much :)02:48
panok ok.02:48
pani will send whisky then02:48
pan=]02:48
ccomb:)02:48
panafter all, i saved few hours thanks to you.02:49
panok.02:49
ccombjust send me wishes for a good night to sleep, I need it :)02:50
panhehe.02:51
panok.02:51
pandone!02:51
* pan is sending magic to ccomb. now his sleep will be amazing!02:51
pan;]02:51
pannatural magic! ;]02:51
ccombwaw, great effect, I'm already sleeping. Are you a remote hypnotiser?02:51
panno, im just full of life person i think =] but glad to hear that it helps to you too ;-)02:52
*** timte has quit IRC03:04
*** dunny has quit IRC04:10
*** povbot` has joined #zope3-dev04:17
*** povbot has quit IRC04:31
*** vlado has joined #zope3-dev05:01
*** hazmat has joined #zope3-dev05:08
*** baijum has joined #zope3-dev05:23
*** hazmat has quit IRC05:27
*** baijum has quit IRC05:30
*** vlado has quit IRC05:35
*** jinty has joined #zope3-dev05:40
*** b52laptop has quit IRC05:42
*** pcardune has joined #zope3-dev06:21
*** whit has joined #zope3-dev06:23
*** pcardune has quit IRC06:51
*** jinty has quit IRC06:53
*** hexsprite has quit IRC08:11
*** hexsprite has joined #zope3-dev08:13
*** hexsprite has quit IRC08:29
*** hexsprite has joined #zope3-dev08:40
*** cursor has joined #zope3-dev08:58
*** BjornT has joined #zope3-dev09:12
*** dunny has joined #zope3-dev09:34
*** dunny has quit IRC09:37
*** whit has quit IRC09:40
*** gstratton has joined #zope3-dev10:14
*** BjornT has quit IRC10:19
*** pelle__ has joined #zope3-dev10:23
*** dunny has joined #zope3-dev10:29
*** huajie has joined #zope3-dev10:35
*** Ariel_Calzada has joined #zope3-dev10:42
*** philiKON has joined #zope3-dev11:18
*** markusleist has joined #zope3-dev11:26
*** dunny has quit IRC11:28
*** jodok has joined #zope3-dev11:38
*** afd__ has joined #zope3-dev11:43
*** ktwilight has quit IRC11:48
*** ktwilight has joined #zope3-dev11:51
*** malthe has joined #zope3-dev11:57
*** Ariel_Calzada has quit IRC11:59
*** malthe has quit IRC12:01
*** malthe has joined #zope3-dev12:09
*** zagy has joined #zope3-dev12:18
*** b52laptop has joined #zope3-dev12:43
*** b52laptop has joined #zope3-dev12:43
*** jinty has joined #zope3-dev12:46
*** philiKON has quit IRC12:54
*** philiKON has joined #zope3-dev12:55
*** quodt has joined #zope3-dev12:59
*** cursor has quit IRC13:33
*** schwendinger has joined #zope3-dev13:37
*** jodok has quit IRC13:40
*** schwendinger has quit IRC13:50
*** quodt has quit IRC14:06
*** timte has joined #zope3-dev14:14
ccombHi,  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 IRC14:28
*** afd__ has quit IRC14:39
*** afd__ has joined #zope3-dev14:39
panccomb hi :-)14:41
philiKONccomb: the merging happens when we developers do it14:44
philiKONit doesn't happen during installation14:44
ccombphiliKON and there is a tool to merge evrything at once?14:45
philiKONyup14:45
philiKONi18nmergeall14:45
ccombok.  And the extraction?14:45
philiKONi18nextract14:46
ccombare you speaking of the extraction and merging of a zope application, or zope itself?14:48
ccombit's the same process, I guess?14:48
philiKONyes14:49
*** cursor has joined #zope3-dev14:55
*** pelle__ has quit IRC14:56
*** pelle__ has joined #zope3-dev14:57
*** zagy has quit IRC15:01
*** pan_ has joined #zope3-dev15:10
*** zagy has joined #zope3-dev15:12
*** pelle__ has quit IRC15:15
*** BjornT has joined #zope3-dev15:17
*** pan has quit IRC15:28
*** philiKON has quit IRC15:37
*** philiKON has joined #zope3-dev15:45
*** cursor has quit IRC16:00
*** hazmat has joined #zope3-dev16:28
*** markusleis1 has joined #zope3-dev16:31
*** markusleist has quit IRC16:32
*** philiKON has quit IRC16:40
*** markusleis1 has quit IRC17:11
*** afd__ has quit IRC17:21
*** spython has joined #zope3-dev17:26
*** michwill has joined #zope3-dev17:34
*** michwill has left #zope3-dev17:34
*** grahal has joined #zope3-dev17:40
spythonhi, 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-dev17:42
*** whit has joined #zope3-dev18:05
hazmatspython, make an argument to your function18:05
hazmatthat stops the iterator is the most efficient18:05
hazmatelse do a list( function())[:5]18:05
hazmatto turn the iterator into the full list and slice first five18:05
hazmatbut that will exhaust the iterator first18:06
spythonyes, argument to my function sounds best for me18:07
*** michwill has joined #zope3-dev18:24
michwillHello! Where can I ask a stupid question about zope3 if im' a novice?18:26
spythonhere,and maybe someone can answer you18:27
*** baijum has joined #zope3-dev18:28
michwillM.. 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-dev18:35
*** dunny has quit IRC18:48
*** michwill has quit IRC18:54
*** cursor has joined #zope3-dev19:00
*** dunny has joined #zope3-dev19:07
*** hexsprite has quit IRC19:15
*** norro has quit IRC19:16
*** hexsprite has joined #zope3-dev19:21
*** dunny has quit IRC19:31
*** baijum has quit IRC19:33
*** markusleist has joined #zope3-dev20:05
*** markusleist has quit IRC20:15
*** niemeyer has joined #zope3-dev20:24
*** cursor has quit IRC20:28
*** gstratton has quit IRC20:37
*** hexsprite_ has joined #zope3-dev20:46
*** hexsprite has quit IRC20:49
*** acsr has quit IRC20:49
*** rmarianski has joined #zope3-dev20:50
*** Ariel_Calzada has joined #zope3-dev20:51
*** hexsprite has joined #zope3-dev20:52
*** acsr has joined #zope3-dev20:52
*** hexsprite has quit IRC21:06
*** Ariel_Calzada has quit IRC21:06
*** jodok has joined #zope3-dev21:12
*** dunny has joined #zope3-dev21:31
*** quodt has joined #zope3-dev21:50
*** natea|boston has quit IRC21:58
*** BjornT has quit IRC21:58
*** natea|boston has joined #zope3-dev21:58
*** Jell-O-Fishi has joined #zope3-dev22:04
*** b52lap has joined #zope3-dev22:29
*** philiKON has joined #zope3-dev22:34
*** b52laptop has quit IRC22:45
*** zagy has joined #zope3-dev22:59
*** rmarianski has quit IRC23:01
*** natea_ has joined #zope3-dev23:20
*** philiKON has quit IRC23:20
*** stub has joined #zope3-dev23:22
*** grahal has quit IRC23:24
*** stub has quit IRC23:25
*** stu1 has joined #zope3-dev23:25
*** stu1 is now known as stub23:25
*** natea|boston has quit IRC23:27
*** hazmat has quit IRC23:39
*** hexsprite_ has quit IRC23:51
*** zagy has quit IRC23:56

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