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

*** natea|boston has quit IRC00:06
*** malthe has joined #zope3-dev00:08
*** jfroche has joined #zope3-dev00:19
*** dobee has joined #zope3-dev00:22
*** salfield has joined #zope3-dev00:39
*** benji has quit IRC00:41
*** d2m has quit IRC00:42
*** jfroche has quit IRC00:49
*** natea|boston has joined #zope3-dev00:52
*** dunny has joined #zope3-dev01:00
*** rcrafton has quit IRC01:00
*** srichter has quit IRC01:03
*** rmarianski has quit IRC01:06
*** malthe is now known as malthe|Zzz01:08
*** natea_ has quit IRC01:09
*** stub has joined #zope3-dev01:10
*** malthe|Zzz has quit IRC01:14
*** regebro has left #zope3-dev01:19
*** timte has quit IRC01:22
*** nathany has quit IRC01:24
*** greenman has quit IRC01:24
*** greenman has joined #zope3-dev01:27
*** gstratton has quit IRC01:28
*** philiKON_ has joined #zope3-dev01:35
*** zenwryly` has joined #zope3-dev01:39
*** zenwryly has quit IRC01:40
*** stub has quit IRC01:41
*** stub has joined #zope3-dev01:42
*** Ariel_Calzada has quit IRC01:45
*** zenwryly` has quit IRC01:48
*** zenwryly` has joined #zope3-dev01:48
*** zenwryly` is now known as zenwryly01:49
*** BjornT has quit IRC01:51
*** philiKON has quit IRC01:52
*** zenwryly` has joined #zope3-dev01:53
*** zenwryly has quit IRC01:53
*** RaFromBRC has quit IRC01:54
*** dobee has quit IRC01:56
*** BjornT has joined #zope3-dev02:00
*** Doc_Dan has quit IRC02:21
*** stub has quit IRC02:25
*** philiKON_ has quit IRC02:39
*** huajie has joined #zope3-dev02:40
*** RaFromBRC has joined #zope3-dev02:50
*** srichter has joined #zope3-dev03:13
*** ChanServ sets mode: +o srichter03:13
*** b52lap has joined #zope3-dev03:27
*** b52laptop has quit IRC03:44
*** b52lap has quit IRC04:20
*** salfield has quit IRC04:34
*** run|home has joined #zope3-dev04:43
*** stub has joined #zope3-dev05:07
*** reco has quit IRC05:09
*** projekt01 has joined #zope3-dev05:34
*** __mac__ has quit IRC05:37
*** baijum has joined #zope3-dev05:46
*** alecm has quit IRC06:00
*** RaFromBRC has quit IRC06:24
*** stub has quit IRC06:45
*** sm has left #zope3-dev06:48
*** greenman has quit IRC06:51
*** greenman has joined #zope3-dev06:55
*** afd__ has joined #zope3-dev07:12
*** greenman has joined #zope3-dev07:24
*** RaFromBRC has joined #zope3-dev07:31
*** Jell-O-Fishi has quit IRC07:42
*** cursor has joined #zope3-dev08:01
*** cursor has quit IRC08:02
*** cursor has joined #zope3-dev08:09
*** sorin has joined #zope3-dev08:20
*** sorin is now known as sorindregan08:20
*** jodok has quit IRC08:26
*** __mac__ has joined #zope3-dev08:37
*** quodt has quit IRC08:44
*** acsr_ has joined #zope3-dev08:49
*** acsr has quit IRC08:57
*** jodok has joined #zope3-dev08:59
*** schwendinger has joined #zope3-dev09:06
*** dobee has joined #zope3-dev09:07
*** timte has joined #zope3-dev09:17
*** RaFromBRC has quit IRC09:28
*** baijum has quit IRC09:28
*** hdima has joined #zope3-dev09:29
*** gstratton has joined #zope3-dev09:30
*** malthe has joined #zope3-dev09:33
*** projekt01 has quit IRC09:39
*** baijum has joined #zope3-dev09:39
*** BjornT has quit IRC09:51
*** goschtl has joined #zope3-dev10:11
*** ghendi has joined #zope3-dev10:12
*** jfroche has joined #zope3-dev10:13
*** harobed has joined #zope3-dev10:18
*** baijum has quit IRC10:19
*** quodt has joined #zope3-dev10:19
*** baijum has joined #zope3-dev10:21
*** malthe has quit IRC10:23
*** baijum has quit IRC10:25
*** jodok has quit IRC10:28
*** jodok has joined #zope3-dev10:31
*** gstratton has quit IRC10:34
*** baijum has joined #zope3-dev10:35
*** zenwryly` has quit IRC10:42
*** pyqwer has joined #zope3-dev10:52
pyqwerI have a class that implements an interface. Is there a simple zope function that returns me the interface for my class, e.g. "listInterfaces(myclass)"?10:53
pyqwerbaijum: Thanks, but this just tests if my class provides an interface. But I don't want to test, I want to retrieve the interface itself.10:57
*** pelle__ has joined #zope3-dev10:57
pyqwerMy class has the attributes __implemented__, __providedBy__ and __provides__, perhaps one of these can be used for retrieving my Interface?10:58
baijumpyqwer, Use something like this:  [x.__name__ for x in providedBy(obj)] (I will update update doc later with info)11:01
pyqwerbaijum: Ah, yes, the following does the trick: [Myclass.__name__ for Myclass in implementedBy(Myclass)]11:03
baijumpyqwer, thanks for this info, I will update that too :)11:04
*** b52laptop has joined #zope3-dev11:05
baijumpyqwer: done :)11:16
pyqwerbaijum: Thanks!11:16
baijumpyqwer, welcome :)11:16
*** MJ has joined #zope3-dev11:24
*** philiKON has joined #zope3-dev11:24
*** aross has joined #zope3-dev11:38
*** yvl has joined #zope3-dev11:50
*** dunny has quit IRC11:57
*** malthe has joined #zope3-dev11:59
*** mgedmin has joined #zope3-dev12:01
*** projekt01 has joined #zope3-dev12:19
*** ignas has joined #zope3-dev12:34
mgedminnote to self: dynamically creating interfaces and passing those to formlib is not a good technique12:53
projekt01probably the right time to try z3c.form12:57
*** aross has quit IRC12:58
*** jfroche has quit IRC12:58
malthemgedmin: you don't need to create interfaces13:05
malthejust pass the schema definitions to FormFields13:06
maltheyou will need to assign them a __name__ explicitly13:06
*** schwendinger has quit IRC13:11
*** jodok has quit IRC13:13
*** regebro has joined #zope3-dev13:17
*** fcorrea has joined #zope3-dev13:18
*** Ariel_Calzada has joined #zope3-dev13:22
*** greenman has quit IRC13:30
*** __mac__ has quit IRC13:34
*** malthe has quit IRC13:37
*** __mac__ has joined #zope3-dev13:41
projekt01dobee, ayt?13:59
*** Ariel_Calzada has quit IRC14:04
*** __mac__ has quit IRC14:13
dobeeprojekt01: now14:17
projekt01dobee, why do we need a BeforeUpdateEvent?14:17
dobeeprojekt01: for doing thinks like cache lookups  before update is called14:18
dobeeso that update is not called14:18
dobeesee z3c.responsecache14:18
projekt01is there a package for caching somewhere?14:19
projekt01ah thanks, I wasn't sure if this has to do with update/render issue14:19
*** __mac__ has joined #zope3-dev14:21
*** salfield has joined #zope3-dev14:21
projekt01dobee, do you mean z3c.responseheaders or lovely.responsecache14:22
dobeeups sorry - lovely.responsecache14:22
*** __mac__ has quit IRC14:34
*** chacha_chaudhry has joined #zope3-dev14:35
*** chacha_chaudhry has quit IRC14:47
*** mkerrin has joined #zope3-dev14:51
*** acsr_ has quit IRC14:52
*** acsr has joined #zope3-dev14:57
*** malthe has joined #zope3-dev14:57
*** schwendinger has joined #zope3-dev15:02
*** run|home has quit IRC15:03
malthethe default widget for a schema.List with value_type schema.TextLine is a button15:08
malthewhat gives?15:09
projekt01malthe, what's the value of the button?15:09
malthelet me check15:10
projekt01is the value Add?15:10
malthetitle of the list15:10
projekt01and what happens if you click on the button?15:10
maltheI'm not sure15:12
malthenothing I guess15:12
maltheholy moly15:12
projekt01there should be a form with a button and if you click on the button, it should render a form with a input field for your text15:12
malthenever saw that before15:12
projekt01after adding the text, it sould show the text and offer a new for the next text line15:12
*** __mac__ has joined #zope3-dev15:13
maltheI guess there must also be a somewhat simpler widget for this defined15:14
malthei.e. one that just presents a textarea and splits on newlines15:14
projekt01The sequence (zope.schema.List) renders the zope.schema.TextLine widget and adds the add button etc.15:15
projekt01you can write a widget and use them for your list field15:15
malthethanks man15:16
projekt01if you use z3c.form, you can use the text area widget and write a data converter wich converts text to lines15:16
*** baijum has quit IRC15:19
*** quodt has quit IRC15:24
*** reco has joined #zope3-dev15:25
*** schwendinger has quit IRC15:26
*** quodt has joined #zope3-dev15:26
*** schwendinger has joined #zope3-dev15:29
*** benji has joined #zope3-dev15:30
*** norro has joined #zope3-dev15:34
*** hazmat has joined #zope3-dev15:38
*** jodok has joined #zope3-dev15:43
*** sorindregan has quit IRC15:47
*** pelle__ has quit IRC15:49
hazmatis there a reason jquery.layer doesn't actually contain the js its registering as resources?15:50
*** pelle__ has joined #zope3-dev15:56
*** huajie has quit IRC16:05
*** Ariel_Calzada has joined #zope3-dev16:05
ignasanyone using fedora ?16:07
timteignas: I can boot it up16:08
ignasnot necessary, just maybe you know whether there is a way to install "build dependencies" on fedora using command line?16:09
ignaslike - "install all the packages needed to build PIL (python-imaging on debian)"16:09
projekt01hazmat, no reason, just not there16:13
projekt01hazmat, I'm not sure if we should support the js scripts by it's version name16:13
*** reco_ has joined #zope3-dev16:14
projekt01hazmat, and I'm not sure if we should duplicate the js from jquery.javascript or include the js files from there16:15
timteignas: using yum you mean?16:15
ignasi guess16:16
ignaswhatever the default tool is16:16
timteignas: yum install python-imaging16:16
*** reco__ has joined #zope3-dev16:17
ignasbut what about - all the things needed to *build* pytohn-imaging16:17
timteas in compile?16:18
ignasdebian has apt-get build-dep python-imaging , that installs everything from gcc to needed libraries and headers16:18
timteignas: oh16:18
timteignas: that I don't know16:19
ignasi am using buildout to build PILwoTK, and want to put a command in makefile that would allow users with Fedora to install all the needed libraries16:19
ignasi have everything set up for ubuntu16:19
ignasbut i don't have any fedoras around ;)16:20
*** thruflo has joined #zope3-dev16:29
*** reco has quit IRC16:30
*** reco__ has quit IRC16:32
*** reco_ has quit IRC16:34
*** J1m has joined #zope3-dev16:51
*** cursor has quit IRC16:53
*** hdima has quit IRC16:57
*** rcrafton has joined #zope3-dev16:57
*** rmarianski has joined #zope3-dev16:59
*** __mac__ has quit IRC17:06
*** yvl has quit IRC17:26
*** schwendinger has quit IRC17:31
hazmatprojekt01, basically i just wanted a working jquery package, its not really clear whats going on with the separation in  jquery.layer, if its dependent on jquery.javascript, it shouldn't be doing registration for resources from there that it assumes are self contained within the package. its not clear how to add a package and have this working out of the box..  in the end its just easier to roll your own.. which sort of defeats th17:32
hazmate purpose of the package17:32
hazmatre version, i think its appropriate to put the version numbers in the resource names17:33
*** Ariel_Calzada has quit IRC17:34
*** pelle__ has quit IRC17:34
*** Ariel_Calzada has joined #zope3-dev17:36
*** schwendinger has joined #zope3-dev17:42
*** Ariel_Calzada has quit IRC17:52
*** Ariel_Calzada has joined #zope3-dev17:54
*** strichter has joined #zope3-dev17:57
*** srichter has quit IRC17:59
projekt01hazmat, I agree, feel free to add the JS scripts with version numbers to the package18:02
*** malthe has quit IRC18:03
*** jodok has quit IRC18:08
*** hazmat has quit IRC18:09
*** reco has joined #zope3-dev18:15
*** thruflo_ has joined #zope3-dev18:19
*** thruflo has quit IRC18:19
*** BjornT has joined #zope3-dev18:23
*** markusleist has left #zope3-dev18:24
*** stub has joined #zope3-dev18:26
*** norro has quit IRC18:34
*** goschtl has quit IRC18:36
*** malthe has joined #zope3-dev18:38
*** natea_ has joined #zope3-dev18:44
*** MJ has quit IRC18:55
*** sm has joined #zope3-dev18:55
*** natea|boston has quit IRC19:00
*** ghendi has quit IRC19:02
*** javimansilla has joined #zope3-dev19:04
*** harobed has quit IRC19:05
*** pyqwer has quit IRC19:06
*** natea_ has quit IRC19:08
*** projekt01 has quit IRC19:14
*** natea|boston has joined #zope3-dev19:14
*** faassen has joined #zope3-dev19:21
*** stub has quit IRC19:24
*** zagy has quit IRC19:25
*** rmarianski has quit IRC19:26
*** alecm has joined #zope3-dev19:29
*** cursor has joined #zope3-dev19:32
*** stub has joined #zope3-dev19:37
ignasJ1m: are you there?19:37
ignasoh, nvm, found the bug19:38
*** zagy has joined #zope3-dev19:49
*** gstratton has joined #zope3-dev19:53
*** zenwryly has joined #zope3-dev19:58
*** afd__ has quit IRC19:59
*** afd__ has joined #zope3-dev19:59
*** ignas has quit IRC20:11
*** mgedmin has quit IRC20:18
*** stub has quit IRC20:19
*** RaFromBRC has joined #zope3-dev20:21
*** quodt has quit IRC20:30
*** zagy_ has joined #zope3-dev20:31
*** zagy has quit IRC20:31
*** javimansilla has left #zope3-dev20:34
*** jodok has joined #zope3-dev20:37
*** dobee has quit IRC20:37
*** thruflo_ has quit IRC20:47
*** bigkevmcd has joined #zope3-dev20:52
*** quodt has joined #zope3-dev20:55
*** zagy_ has quit IRC21:02
*** greenman has joined #zope3-dev21:05
*** WebMaven_ has joined #zope3-dev21:06
*** rmarianski has joined #zope3-dev21:09
*** salfield has quit IRC21:10
*** niemeyer has joined #zope3-dev21:13
*** Ariel_Calzada has quit IRC21:16
*** WebMaven has quit IRC21:21
*** WebMaven_ is now known as WebMaven21:22
*** danfairs has joined #zope3-dev21:28
*** jodok has quit IRC21:29
*** mkerrin has quit IRC21:29
*** _srichter has joined #zope3-dev21:30
*** pelle__ has joined #zope3-dev21:30
*** pelle__ has quit IRC21:31
*** malthe has quit IRC21:32
*** stub has joined #zope3-dev21:41
*** strichter has quit IRC21:46
instantfoohi, i'd like to apply a security setting to a class' attribute (which is an IFTreeSet)22:01
lisppaste6instantfoo pasted "zcml" at
instantfoothis code lets me access it but i can't do iter or len on it..22:02
instantfooI get a ForbiddenAttribtue22:03
*** hazmat has joined #zope3-dev22:19
*** faassen has quit IRC22:21
*** afd__ has quit IRC22:26
*** fcorrea has quit IRC22:26
*** _srichter is now known as srichter22:26
*** ChanServ sets mode: +o srichter22:26
alecminstantfoo: I presume set is a set or a Set?22:43
alecmyou'll need to make some security declarations for that class I'd think22:43
instantfooset is an IFTreeSet (BTrees..)22:44
instantfooit feels wrong adding security decl. for one of the BTrees.. :)22:46
alecmindeed, it probably is, maybe you should provide some special methods to do those things for you22:46
*** cursor has quit IRC23:05
*** dobee has joined #zope3-dev23:09
*** bigkevmcd has quit IRC23:12
*** malthe has joined #zope3-dev23:17
*** stub has quit IRC23:17
*** niemeyer has quit IRC23:28
*** ccomb has left #zope3-dev23:53
*** RaFromBRC is now known as RaFromBRC|lunch23:56

Generated by 2.15.1 by Marius Gedminas - find it at!