IRC log of #zope3-dev for Wednesday, 2008-05-28

*** rocky has quit IRC00:06
*** rocky has joined #zope3-dev00:09
*** greenman has joined #zope3-dev00:14
*** sm_ has joined #zope3-dev00:22
*** sm_ has quit IRC00:24
*** greenman has quit IRC00:24
*** rock1 has joined #zope3-dev00:26
*** sm_ has joined #zope3-dev00:27
*** sm_ has quit IRC00:33
*** sm_ has joined #zope3-dev00:36
*** sm_ has quit IRC00:42
*** rocky has quit IRC00:45
*** aclark|away is now known as aclark00:58
*** aclark is now known as aclark|grill00:58
*** benji has quit IRC00:59
*** rock1 has quit IRC01:02
*** lucielejard has quit IRC01:12
*** yota has quit IRC01:12
*** rocky has joined #zope3-dev01:21
*** jamur2 has quit IRC01:33
*** nathany has quit IRC01:33
*** rmarianski has quit IRC01:55
*** lurkymclurkleton has quit IRC01:57
*** jodok has joined #zope3-dev01:57
*** dobee has joined #zope3-dev02:00
*** gstratton has joined #zope3-dev02:17
*** J1m_ has quit IRC02:26
*** dobee has quit IRC02:27
*** jodok has quit IRC02:27
*** b52lap has quit IRC02:38
*** aclark|grill is now known as aclark02:38
*** sm_ has joined #zope3-dev02:39
*** sm__ has joined #zope3-dev02:43
*** sm_ has quit IRC03:00
*** tarek has quit IRC03:01
*** quodt has quit IRC03:03
*** sidnei has quit IRC03:13
*** greenman has joined #zope3-dev03:27
*** sidnei has joined #zope3-dev03:38
*** norro has quit IRC03:39
*** djohnson_ has joined #zope3-dev03:59
*** djohnson__ has joined #zope3-dev04:01
*** jodok has joined #zope3-dev04:03
*** jodok has quit IRC04:04
*** jodok has joined #zope3-dev04:04
*** dobee has joined #zope3-dev04:04
*** jpcw2002 has quit IRC04:11
*** djohnson has quit IRC04:15
*** djohnson_ has quit IRC04:16
*** sidnei has quit IRC04:17
*** lisppaste6 has quit IRC04:29
*** jodok has quit IRC04:37
*** deo has joined #zope3-dev04:41
*** lisppaste6 has joined #zope3-dev04:42
*** dobee has quit IRC04:55
*** greenman has quit IRC05:06
*** greenman has joined #zope3-dev05:09
*** niemeyer has quit IRC05:34
*** srichter has quit IRC05:35
*** jodok has joined #zope3-dev05:38
*** dobee has joined #zope3-dev05:38
*** whit has quit IRC05:39
*** jodok_ has joined #zope3-dev05:52
*** jodok has quit IRC05:52
*** dobee has quit IRC05:52
*** dobee has joined #zope3-dev05:53
*** gberdyshev_ has quit IRC05:53
*** sm__ has quit IRC06:10
*** jodok_ has quit IRC06:13
*** dobee has quit IRC06:13
*** jodok has joined #zope3-dev06:14
*** dobee has joined #zope3-dev06:15
*** fairwinds has quit IRC06:17
*** stub has joined #zope3-dev06:28
*** jodok has quit IRC06:30
*** dobee_ has joined #zope3-dev06:33
*** jodok has joined #zope3-dev06:33
*** dobee has quit IRC06:33
*** stu1 has joined #zope3-dev06:37
*** stub has quit IRC06:37
*** stu1 is now known as stub06:37
*** dobee_ has quit IRC06:40
*** greenman has quit IRC06:48
*** fcorrea has joined #zope3-dev07:01
*** fcorrea_ has joined #zope3-dev07:01
*** binseer has joined #zope3-dev07:19
*** jayaraj has joined #zope3-dev07:20
*** replicant has joined #zope3-dev07:22
*** hazmat has quit IRC07:23
*** deo has quit IRC07:35
*** deo has joined #zope3-dev07:36
*** jukart has joined #zope3-dev07:36
*** baijum has joined #zope3-dev07:39
*** hexsprite has quit IRC07:51
*** jukart has quit IRC08:23
*** srichter has joined #zope3-dev08:24
*** vimes656 has joined #zope3-dev08:24
*** timte has joined #zope3-dev08:26
*** timte has quit IRC08:26
*** timte has joined #zope3-dev08:26
*** timte has quit IRC08:29
*** timte has joined #zope3-dev08:40
*** jukart has joined #zope3-dev08:45
*** zagy has quit IRC08:46
*** sorindregan has joined #zope3-dev08:53
*** __mac__ has joined #zope3-dev09:03
*** zagy has joined #zope3-dev09:09
*** greenman has joined #zope3-dev09:19
*** greenman has quit IRC09:25
*** __mac__ has quit IRC09:27
*** __mac__ has joined #zope3-dev09:28
*** philiKON_ has joined #zope3-dev09:45
*** rcrafton_ has joined #zope3-dev09:53
*** philiKON has quit IRC09:53
*** sm_ has joined #zope3-dev09:58
*** sm_ has quit IRC10:00
*** rcrafton has quit IRC10:02
*** Pan_ has quit IRC10:14
*** aclark has quit IRC10:14
*** jpcw2002 has joined #zope3-dev10:14
*** Pan_ has joined #zope3-dev10:15
*** aclark has joined #zope3-dev10:15
*** seletz has joined #zope3-dev10:21
*** gstratton has quit IRC10:23
*** MJ has joined #zope3-dev10:42
*** norro has joined #zope3-dev10:44
*** ktwilight_ has joined #zope3-dev10:47
*** ktwilight has quit IRC10:51
*** ktwilight has joined #zope3-dev10:52
*** charith_para has joined #zope3-dev10:53
*** quodt has joined #zope3-dev10:55
*** maurits has joined #zope3-dev11:04
*** ktwilight_ has quit IRC11:04
*** goschtl has joined #zope3-dev11:04
*** agroszer has joined #zope3-dev11:06
*** thruflo has joined #zope3-dev11:14
*** tarek has joined #zope3-dev11:17
*** malthe has joined #zope3-dev11:19
*** yotaff has joined #zope3-dev11:26
maltheusing z3c.extfile in a paste deployment, is it possible to use buildout to tell paste to set the EXTFILE_STORAGEDIR environment variable to some directory local to the buildout?11:40
*** ignas has joined #zope3-dev11:51
*** greenman has joined #zope3-dev11:53
*** binseer has quit IRC11:57
*** binseer has joined #zope3-dev11:59
*** mkerrin has joined #zope3-dev12:04
timtemalthe: why do you want paste to do that?12:06
malthetimte: well, when I say bin/paster serve ... , --- I need this environment variable to be set to a value known to the buildout configuration.12:07
malthei.e. var/filestorage/extfile12:07
maltheI wonder what the lovely guys do12:08
*** menesis has joined #zope3-dev12:22
*** alecghica has joined #zope3-dev12:33
*** b52laptop has joined #zope3-dev12:34
seletzmalthe, well using buildout you can add special initialization to generated scripts -- see for example the ipzope script part12:41
malthehmm12:41
seletzmalthe, basically you add python code which does add the env var to the environ dict12:41
malthehelp12:41
maltheseletz: seems like low-hanging fruit to you; maybe you'd like to cash in on a cheap commit?12:43
maltheand help save the world?12:43
seletzmalthe, sure, I'll give it a shot12:43
maltheseletz: i'll follow your every move12:44
* seletz hides in the shadow12:44
malthe</slimy-mode-off>12:44
seletzmalthe, but i wonder if that can't be done in the paste debug.ini file?12:45
maltheseletz: I've wondered that, too12:46
maltheand googled, and googled, ...12:46
seletzmalthe, I'll try. I'll get back to you when I have it.12:48
*** stub has quit IRC12:53
Pan_when i use z3c.form can i have my own schemas for edit object? for example i have user object with fields name,surname,password,phone. now i want to create form to edit password. using formlib it was quite easy (hehe, perhaps only one easy thing in formlib) - create schema with fields password, password2, checking invariant, and thats all.12:54
Pan_in z3c.form i cant do that - do i have to create user object with all fields at the beginning (name,surname,password,password2,phone - but thats silly) or there is other way?12:54
Pan_perhpas answer is obvious, but i cant find it ;)12:55
Pan_now, when i create my own interface to generate form (with password and password2) for object User i get information that datamanager throws exception about "Could not adapt".12:56
malthePan_: your object needs to implement the interface13:04
*** markusleist has joined #zope3-dev13:05
Pan_ok, right, but in zope.formlib that wasnt necessary13:05
malthePan_: implement getContent13:05
malthehave it return self.context13:05
seletzmalthe, git pull :)13:07
maltheok13:07
malthePan_: your object *should* implement the interface, if it infact, does.13:07
malthewhy wouldn't you have it implement it13:07
Pan_malthe: because sometimes i want to create edit form, that will take input from user but wont be included in object? like this example about user?13:09
Pan_why do i have to implement interface for user with 2 password fields13:09
Pan_if i only want to use 1 password field13:09
Pan_but13:09
Pan_i need 2 fields during editiong (to confirm that user know what he is typing)13:10
Pan_malthe: perhpas something is wrong in my understanding of this concept.13:11
maltheaha13:11
maltheI see what you mean13:11
Pan_great, so my english isnt so bad ;)13:11
malthePan_: I guess this isn't an edit-form, then, but a form.13:11
Pan_ok, but when i use form.Form13:12
Pan_i get the same problem about datamanager13:12
Pan_'Could not adapt'13:12
Pan_but when im using AddForm with my custom interface13:12
Pan_everything is ok :D13:12
malthePan_: that's because you need to provide default values.13:13
Pan_malthe: with getContent? and that will be ok?13:13
malthePan_: or you could return self, and have the form provide defaults.13:14
Pan_malthe: so - the idea is: im creating interface IUser with name,password, phone. for AddForm im just doing fields = field.Field(IUser). For changing password im creating interface IUserChangePass password with password, password2 (fields = field.Field(IUserChangePass))13:15
Pan_and now only thing i have to do is to implement getContent that will reaturn dictionary for password and password2?13:15
malthePan_: you can pass in fields directly to field.Fields13:15
malthejust have __name__="field_name" in your field constructor13:15
Pan_but i need also invariant13:16
Pan_to checking if password == password13:16
malthePan_: not a dictionary; an object that provides the field attributes as attributes.13:16
Pan_to checking if password == password213:16
malthegotcha13:16
malthean interface then13:16
Pan_yep.13:16
*** greenman has quit IRC13:16
malthePan_: I think you can say ignoreContext, too.13:16
malthesomething like that.13:16
maltheso it just uses field defaults13:16
Pan_ignoreContext?13:17
Pan_ok, ill look for it.13:17
malthebut I suppose you do want to set some defaults, like the user.13:17
maltheyou could also introduce an adapter from your user object (context) to the interface13:17
maltheyou'll probably work it out :-)13:18
Pan_hehe. thanks that you belive in me ;)13:18
maltheI do, I do.13:18
Pan_im php/java programmer... its sometimes a little pain that simple things in zope are taking so much time. like creating your own forms for edition.13:19
Pan_but when i get understaing of those simple things, next time it takes me just a while :)13:20
Pan_thanks malthe :)13:23
malthePan_: I think that now that you know the concept, it's quite easy, right?13:24
maltheit's a bit more formal than php frameworks.13:24
malthenp Pan_13:24
Pan_malthe: getContent and ignoreContext are the concept! now, yes, its quite easy. ;)13:25
Pan_malthe: yes, more component architecture.13:25
malthecool13:25
*** goschtl has quit IRC13:31
*** goschtl has joined #zope3-dev13:34
ccombgawel c'est dans /var/www/dl.afpy.org/pycon-fr-08, je te laisse faire le sous-domaine et la config apache13:36
ccombogrisel tu veux faire comment pour ton mdp ?13:37
ccomboupsss sorry, wrong channel13:37
*** b52laptop has quit IRC13:40
*** b52laptop has joined #zope3-dev13:41
*** goschtl has quit IRC13:47
*** alga has joined #zope3-dev13:47
*** goschtl has joined #zope3-dev13:49
*** salfield has joined #zope3-dev13:54
*** ktwilight has quit IRC14:04
*** ktwilight has joined #zope3-dev14:05
*** regebro has joined #zope3-dev14:06
*** b52laptop has quit IRC14:13
*** charith_para has quit IRC14:21
*** b52laptop has joined #zope3-dev14:23
Pan_is there possibility to omit invariant during passing edit form (i dont display all fields in edit form) ?14:27
*** dunny has quit IRC14:53
*** regebro has quit IRC15:00
*** niemeyer has joined #zope3-dev15:16
*** norro has quit IRC15:18
*** dunny has joined #zope3-dev15:23
*** benji has joined #zope3-dev15:28
*** sorindregan has quit IRC15:35
*** sorindregan has joined #zope3-dev15:36
*** alecghica has quit IRC15:36
*** benji_ has joined #zope3-dev15:38
*** benji has quit IRC15:39
*** sorindregan has quit IRC15:44
*** replicant is now known as hazmat15:46
*** b52laptop has quit IRC15:49
*** b52laptop has joined #zope3-dev15:50
*** jamur2 has joined #zope3-dev15:55
*** Jell-O-Fishi has joined #zope3-dev15:57
*** lurkymclurkleton has joined #zope3-dev15:59
*** jpcw2002 has left #zope3-dev16:00
*** jpcw2002 has joined #zope3-dev16:00
*** djohnson has joined #zope3-dev16:00
*** zagy has quit IRC16:01
*** benji_ has quit IRC16:08
*** benji has joined #zope3-dev16:11
*** Jell-O-Fishi has quit IRC16:13
*** charith_para has joined #zope3-dev16:13
*** aclark is now known as aclark|away16:16
*** norro has joined #zope3-dev16:16
*** sorindregan has joined #zope3-dev16:17
*** djohnson__ has quit IRC16:17
*** alecghica has joined #zope3-dev16:18
*** zagy has joined #zope3-dev16:19
*** lucielejard has joined #zope3-dev16:19
*** rcrafton_ is now known as rcrafton16:34
*** srichter has quit IRC16:35
*** jodok has quit IRC16:40
*** jodok has joined #zope3-dev16:42
*** baijum has quit IRC16:42
*** J1m has joined #zope3-dev16:45
*** philiKON_ is now known as philiKON16:45
*** whit has joined #zope3-dev16:47
*** jayaraj has quit IRC16:49
*** regebro has joined #zope3-dev16:49
*** regebro has quit IRC16:55
*** gstratton has joined #zope3-dev17:03
Pan_malthe: i made it ;) at last. hehe ;)17:05
*** dobee has joined #zope3-dev17:07
*** tomus has quit IRC17:07
malthePan_: great17:07
Pan_malthe: im not sure how it works, but it works ;) i have 2 invariants in my base clase (checking if password == password2 and checking if login is free). i created IChangePassword interface with fields password and password2. and i craeted getContent with return {'password': '', 'password2': ''}17:11
Pan_if i was using normal IUser interface for editing second invariant (checking login) it shows me error that login is already taken.17:12
Pan_so i had to create my own schema and now it looks that it works..17:12
Pan_argh ;)17:12
malthe:-)17:13
*** b52laptop has quit IRC17:14
*** b52laptop has joined #zope3-dev17:15
*** vimes656 has quit IRC17:15
*** nathany has joined #zope3-dev17:20
*** binseer has quit IRC17:22
*** gstratton has quit IRC17:32
*** zagy has quit IRC17:35
*** rmarianski has joined #zope3-dev17:35
*** MJ has quit IRC17:40
*** aclark|away is now known as aclark17:40
*** sorindregan has quit IRC17:40
*** menesis has quit IRC17:43
*** dobee has quit IRC17:44
*** jodok has quit IRC17:47
*** gstratton has joined #zope3-dev17:48
*** gstratton has quit IRC17:50
*** jpcw2002 has quit IRC17:54
*** jpcw2002 has joined #zope3-dev17:54
*** vimes656 has joined #zope3-dev17:57
*** sm_ has joined #zope3-dev18:00
*** timte has quit IRC18:05
*** srichter has joined #zope3-dev18:07
*** b52laptop has quit IRC18:14
*** b52laptop has joined #zope3-dev18:15
*** zagy has joined #zope3-dev18:16
*** ignas has quit IRC18:22
*** romanofski has quit IRC18:26
*** romanofski has joined #zope3-dev18:27
*** andres has joined #zope3-dev18:27
*** vimes656_ has joined #zope3-dev18:30
*** alecghica has quit IRC18:30
*** charith_para has quit IRC18:31
*** goschtl has left #zope3-dev18:34
*** djohnson has quit IRC18:35
*** jukart has quit IRC18:39
*** jsadjohnson has joined #zope3-dev18:39
*** vimes656__ has joined #zope3-dev18:40
*** afd_ has joined #zope3-dev18:41
*** vimes656 has quit IRC18:41
*** andres_f has joined #zope3-dev18:45
*** ChanServ sets mode: +o srichter18:45
*** jsadjohnson has quit IRC18:45
*** andres has quit IRC18:46
*** vimes656 has joined #zope3-dev18:46
*** djohnson has joined #zope3-dev18:48
*** vimes656_ has quit IRC18:49
*** jodok has joined #zope3-dev18:49
*** vimes656_ has joined #zope3-dev18:51
*** vimes656__ has quit IRC18:51
*** jodok has quit IRC18:52
*** __mac__ has quit IRC18:54
*** __mac__ has joined #zope3-dev18:55
*** __mac__ has joined #zope3-dev18:57
*** lucielejard has quit IRC18:57
*** lucielejard_ has joined #zope3-dev18:57
*** jpcw2002 has quit IRC18:58
*** sidnei has joined #zope3-dev19:04
*** whit has quit IRC19:04
*** andres_f is now known as andres19:05
*** sp0cksbeard has joined #zope3-dev19:06
afd_are there any documents detailing a zope 3 vision / long term goals?19:07
*** vimes656 has quit IRC19:09
*** quodt has quit IRC19:15
*** dobee has joined #zope3-dev19:17
*** deo has quit IRC19:17
*** jodok has joined #zope3-dev19:17
*** nathany_ has joined #zope3-dev19:21
*** nathany has quit IRC19:21
*** dobee has quit IRC19:22
*** jodok has quit IRC19:22
Pan_Couldn't find index page for 'z3c.password' (maybe misspelled?)19:25
Pan_ummm?19:25
afd_http://svn.zope.org/z3c.password/19:28
afd_svn co svn://svn.zope.org/repos/main/z3c.password19:28
Pan_yes, but this is response from buildout19:28
Pan_where i should checkout it? to egg directory?19:29
*** jpcw2002 has joined #zope3-dev19:30
afd_you could check out the trunk and build the egg with python setup.py bdist_egg, then place that egg in buildout's cache folder, buildout will find it from there. There are probably better solution then this, maybe someone can sugest some19:31
*** jodok has joined #zope3-dev19:31
Pan_naaa. your suggestin is so good because it works ;)19:34
*** seletz has left #zope3-dev19:35
*** jpcw2002 has quit IRC19:38
*** jpcw2002 has joined #zope3-dev19:39
*** jpcw2002 has quit IRC19:39
*** jodok has quit IRC19:40
*** jodok has joined #zope3-dev19:40
*** vimes656_ has quit IRC19:41
*** vimes656 has joined #zope3-dev19:42
*** jpcw2002 has joined #zope3-dev19:42
*** jpcw2002 has quit IRC19:43
*** vimes656 has quit IRC19:44
*** jukart has joined #zope3-dev19:44
*** salfield has quit IRC19:45
*** jodok has quit IRC19:46
*** b52laptop has quit IRC19:53
*** jpcw2002 has joined #zope3-dev19:57
*** andres has quit IRC19:58
*** andres has joined #zope3-dev20:00
*** malthe has quit IRC20:05
*** mkerrin has quit IRC20:08
*** charith_para has joined #zope3-dev20:11
*** povbot` has joined #zope3-dev20:21
*** sm_ is now known as sm20:22
*** whit has joined #zope3-dev20:23
*** djohnson__ has joined #zope3-dev20:25
*** whitmo has joined #zope3-dev20:26
*** whit has quit IRC20:27
*** salfield has joined #zope3-dev20:30
*** whitmo is now known as whit20:30
*** nathany_ has quit IRC20:30
*** ChanServ sets mode: +o hazmat20:31
*** alga has quit IRC20:33
*** nathany has joined #zope3-dev20:37
*** nathany_ has joined #zope3-dev20:38
*** charith_para has quit IRC20:40
*** djohnson has quit IRC20:41
*** povbot has quit IRC20:45
*** maurits has quit IRC20:47
*** nathany has quit IRC20:53
*** andres has quit IRC20:55
*** reco_ has joined #zope3-dev21:06
*** reco_ has quit IRC21:09
*** reco_ has joined #zope3-dev21:14
*** rcrafton has quit IRC21:15
*** jukart has quit IRC21:17
*** jukart has joined #zope3-dev21:24
*** reco_ has quit IRC21:28
*** dobee has joined #zope3-dev21:31
*** jodok has joined #zope3-dev21:35
*** hexsprite has joined #zope3-dev21:45
*** djohnson__ has left #zope3-dev21:49
*** jukart has quit IRC21:52
*** rcrafton has joined #zope3-dev21:54
*** lucielejard_ is now known as lucielejard22:01
*** jodok has quit IRC22:05
*** dobee has quit IRC22:05
*** nathany_ is now known as nathany22:24
*** nathany is now known as nathany_food22:24
*** d2m has joined #zope3-dev22:24
*** sm has quit IRC22:29
*** aclark is now known as aclark|away22:30
*** agroszer has quit IRC22:36
*** jodok has joined #zope3-dev22:57
*** malthe has joined #zope3-dev23:03
*** sidnei has quit IRC23:04
*** jodok has quit IRC23:22
*** hexsprite has quit IRC23:23
*** d2m has quit IRC23:24
*** dobee has joined #zope3-dev23:27
*** dobee has quit IRC23:30

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