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

*** jukart_ has quit IRC00:03
*** lucielejard has quit IRC00:06
*** lucielejard has joined #zope3-dev00:07
__selfhmm, I can add my contentcomponent if I press the "Add" button under the contents table on ZMI, but if I try to add it via the addmenu the buttons under the table change to "[Apply] [Cancel]" but I can't do anything ..00:08
*** grahal has quit IRC00:08
__selfshouldn't adding via addmenuitem it redirect to the add view?00:09
__selfno errors generated..00:10
*** b52laptop has joined #zope3-dev00:22
*** b52laptop has quit IRC00:22
*** dobee has left #zope3-dev00:22
*** dobee has joined #zope3-dev00:23
*** greenman has joined #zope3-dev00:23
*** timte has quit IRC00:29
*** d2m has quit IRC00:32
*** dunny has joined #zope3-dev00:36
*** lucielejard has quit IRC00:39
*** projekt01 has joined #zope3-dev00:43
*** projekt01 has joined #zope3-dev00:44
*** jukart has joined #zope3-dev00:44
*** jukart_ has joined #zope3-dev00:46
*** eldar has quit IRC00:46
*** jhancock has quit IRC00:48
*** benji has quit IRC01:00
*** deo has quit IRC01:00
*** jukart has quit IRC01:03
*** netshade has quit IRC01:04
*** jinty_ has quit IRC01:14
*** jsadjohnson has quit IRC01:20
*** RaFromBRC is now known as RaFromBRC|lunch01:22
*** b52laptop has joined #zope3-dev01:23
*** jsadjohnson has joined #zope3-dev01:26
*** jukart_ has quit IRC01:51
*** lmiller_ has joined #zope3-dev01:52
*** jsadjohnson has quit IRC01:52
*** dobee has quit IRC01:55
*** RaFromBRC|lunch is now known as RaFromBRC01:57
*** jsadjohnson has joined #zope3-dev01:58
*** jukart has joined #zope3-dev01:59
*** jodok_ has quit IRC02:01
*** jukart_ has joined #zope3-dev02:03
*** _prefixer has quit IRC02:10
*** J1m has quit IRC02:12
*** jukart has quit IRC02:19
*** srichter has quit IRC02:21
*** b52laptop has quit IRC02:32
*** jsadjohnson has quit IRC02:32
*** tarek_ has joined #zope3-dev02:35
*** Ariel_Calzada has quit IRC02:35
*** nathany has quit IRC02:39
*** nathany_ has joined #zope3-dev02:39
*** tarek has quit IRC02:39
__selfi'm trying to make a subscriber with @adapter(IPost, IObjectModifiedEvent, IObjectAddedEvent)02:48
__selfand it doesn't do anything.. but it works if I try it with IObjectModifiedEvent alone..02:49
__selfor IObjectAddedEvent02:49
__selfany ideas? adapter's __init__ does take *interfaces as argument, so I'm confused :O02:50
*** huajie has joined #zope3-dev02:51
*** rcrafton has quit IRC02:53
jukart___self: the subscriber is a multiadapter on the object and the event02:54
jukart_you need a subscriber for IObjectModifiedEvent and one for IObjectAddedEvent02:55
__selfso a subscriber can only subscribe to one event? I'm kind of new to this zope3 thing so everythings a bit messy for me now :)02:56
*** nathany_ has quit IRC03:01
projekt01__self, the registration @adapter(foo, bar) reflects the arguments in the __init__(foo, bar) of the adapter03:05
__selfok03:09
__selfwhich file is that? I'm looking in zope/component/_declaration.py and see __init__(self,*interfaces)03:09
__selffor the:  class adapter03:10
__selfprojekt01:03:10
projekt01@adapter is only a decorator which declares the adapters "for" arguments03:18
projekt01what are you looking for?03:18
__selfnothing now, just trying to understand :) I did what jukart_ said and it works03:22
jukart___self: the subscriber you are using here for an event is adapting to the object and the event, that means your adapter has to be registered for exactly these arguments03:24
projekt01another option; remove the @adapter decorator and use for="foo bar" in the adapter/subscriber directive03:24
jukart_projekt01: still up03:24
projekt01jukart_, hi03:24
projekt01yes03:24
__selfah03:24
projekt01another sleepless night03:25
jukart_hehe03:25
jukart_I'm in canada right now :)03:25
projekt01cool, how is the weather?03:25
jukart_overcast today, but ok tomorrow03:26
jukart_going for a sailing tour03:26
__selfbah, can't sleep either03:27
projekt01Uhh, and I'm still working03:27
__selfprojekt01: so.. remove the @adapter..  and add <subscriber for="IObjMod IObjAdd" ... /> to zcml?03:30
projekt01no03:31
projekt01for="IPost IObjectModifiedEvent" and another registration for="IPost IObjAddedEvent" (note: there is no coma)03:32
*** rcrafton has joined #zope3-dev03:34
projekt01rcrafton, hi03:34
*** whit has quit IRC03:36
*** jsadjohnson has joined #zope3-dev03:37
__selfok, let's see03:38
__selfprojekt01: thx works03:39
__selfhow long before you guys became friends with this beast? :O03:40
projekt01I'm working with Zope3 since the last 4 years03:41
__selfwow03:43
projekt01and I still understand it better and better everyday ;-)03:44
__self1.5 weeks here..03:44
__selfbut i get those aha's almost daily :)03:44
projekt01it's not this hard, but it takes a while till you get the concepts behind the scene03:45
*** whit has joined #zope3-dev03:45
projekt01whit, hi03:46
markusleistprojekt01: so late, still up? You are in europe/Switzerland, right?03:52
projekt01yes03:56
markusleistI'm working with z3c.form.EditForm and ObjectModifiedEvent, too.03:58
markusleistIn the old form and in the new z3c.form there is only one argument in ObjectModifiedEvent(obj)03:59
markusleistthis obj - with its properties - represents the values _after_ edit, right?03:59
projekt01yes04:00
markusleisthmm, i will register a subscriber, which will receive this event. in old forms there was no way to determine exactly which fields have changed, right?04:02
markusleistIt is possible to  customize z3c.form to submit a list of fields, which have changed? May i help?04:05
projekt01yes, there is support for a field description on modified events, but you have to implement this individual for each object04:07
projekt01but are you really sure you will need this level?04:07
projekt01what is your use case?04:08
markusleistany generic approach?04:09
markusleistmy usecase: two instances zope3, which are conneted by an xmlrpc-"wire".04:10
markusleistwhen edit an object on the left, some informations are sent to the right.04:10
markusleistat the moment the full set of properties are sent to the remote-instance.04:11
projekt01if you need to optimize, you can add a declaration describing the fields in object modified event and only exchange this attributes04:12
markusleistyes, is this an interesting approach for you, too?04:14
projekt01I never used it, I don't have this much traffic via XMLRPC04:15
markusleistin zope.lifecycleevent.ObjectModifiedEvent: >>notify(ObjectModifiedEvent(obj, Attributes(ISample, "field")))04:16
projekt01I was thinking last week to implement some basic components wihtout event support, e.g. a container without fireing events. It turned me crazy as I saw all the event subscribers calling the catalog indexes just for nothing.04:17
markusleistok, i will see - but tomorrow ;-)04:18
markusleistbtw in my app, the event-machinery plays a central role.04:20
rcraftonhey, projekt01. Was away with the family04:20
markusleistprojekt01: so far, thnx a lot and good night04:20
projekt01markusleist, see you04:21
projekt01rcrafton, is everything fine over there?04:21
*** reco has quit IRC04:49
*** reco has joined #zope3-dev04:49
*** jukart_ has quit IRC04:58
*** projekt01 has quit IRC05:11
*** netshade has joined #zope3-dev05:12
*** jodok has joined #zope3-dev05:13
*** RaFromBRC has quit IRC05:18
*** dobee has joined #zope3-dev05:24
*** netshade has quit IRC05:25
*** dobee has left #zope3-dev05:26
*** dobee has joined #zope3-dev05:26
*** whit has quit IRC05:33
*** rcrafton has quit IRC05:40
*** hazmat has quit IRC05:42
*** dobee has quit IRC05:44
*** dobee has joined #zope3-dev05:58
*** dobee has quit IRC06:00
*** stub has joined #zope3-dev06:02
*** jsadjohnson has quit IRC06:15
*** chacha_chaudhry has joined #zope3-dev06:17
*** reco has quit IRC06:26
*** Ariel_Calzada has joined #zope3-dev06:39
*** alecm has quit IRC06:46
*** alecm has joined #zope3-dev06:49
*** hazmat has joined #zope3-dev06:49
*** ChanServ sets mode: +o hazmat06:49
*** cursor has joined #zope3-dev07:02
*** greenman has quit IRC07:20
*** Ariel_Calzada has quit IRC07:22
*** tarek_ has quit IRC07:56
*** dunny has quit IRC07:58
*** stub has quit IRC08:08
*** alecm has quit IRC08:14
*** romanofski has quit IRC08:22
*** sorin has joined #zope3-dev08:22
*** alecm has joined #zope3-dev08:30
*** sorin is now known as sorindregan08:32
*** ignas has joined #zope3-dev08:50
*** yvl has joined #zope3-dev08:50
*** baijum has joined #zope3-dev08:53
*** cursor has quit IRC08:55
*** naro has joined #zope3-dev09:02
*** jodok has quit IRC09:08
*** Aiste has joined #zope3-dev09:08
*** romanofski has joined #zope3-dev09:21
*** afd has joined #zope3-dev09:22
romanofskimoin09:23
*** markusleist has quit IRC09:27
*** bigkevmcd has quit IRC09:30
*** Aiste has quit IRC09:44
*** cursor has joined #zope3-dev09:53
*** schwendinger has joined #zope3-dev10:08
*** goschtl has joined #zope3-dev10:13
*** alecm has quit IRC10:13
*** Aiste has joined #zope3-dev10:13
*** j-w has joined #zope3-dev10:13
*** alecm has joined #zope3-dev10:14
*** d2m has joined #zope3-dev10:17
*** MJ has joined #zope3-dev10:22
*** timte has joined #zope3-dev10:26
*** jfroche has quit IRC10:28
*** ktwilight_ has joined #zope3-dev10:33
*** stub has joined #zope3-dev10:38
*** bigkevmcd has joined #zope3-dev10:41
*** jinty has joined #zope3-dev10:43
*** tarek has joined #zope3-dev10:44
*** ktwilight has quit IRC10:47
*** afd has quit IRC10:54
*** afd has joined #zope3-dev10:55
*** pelle_ has joined #zope3-dev10:55
*** afd has quit IRC10:59
*** afd has joined #zope3-dev10:59
*** ktwilight has joined #zope3-dev11:01
*** theuni has joined #zope3-dev11:01
*** harobed has joined #zope3-dev11:04
j-wsomehow subscribing to the checkins@zope.org isn't working for me - is there anyone I can contact about this?11:06
*** ktwilight_ has quit IRC11:14
*** mgedmin has joined #zope3-dev11:15
*** alecm has quit IRC11:16
*** alga has joined #zope3-dev11:23
*** projekt01 has joined #zope3-dev11:24
wiggyit might just take a while11:36
wiggytook two days before my cmf-checkins subscription worked11:36
*** zagy has joined #zope3-dev11:38
projekt01build.bat11:40
projekt01Hm, that was the wrong window11:41
*** ghendi has joined #zope3-dev11:46
projekt01mgedmin, I'll get Expected:11:56
projekt01    <!DOCTYPE ...11:56
projekt01    <div>Rating: A</div>11:56
projekt01    ...11:56
projekt01Got:11:56
projekt01    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">11:56
projekt01    <html lang="en" xmlns="http://www.w3.org/1999/xhtml"11:56
projekt01          xml:lang="en">11:56
projekt01    <head>11:56
projekt01    <title>Refline: </title><meta name="author" content="Refline (Schweiz) AG" />11:56
projekt01    <meta name="copyright" content="Refline (Schweiz) AG" />11:56
projekt01    <meta http-equiv="cache-control" content="no-cache" />11:56
projekt01    <meta http-equiv="pragma" content="no-cache" />11:56
projekt01    <!-- css viewlets -->11:56
projekt01    <link type="text/css" rel="stylesheet"11:56
projekt01          href="http://localhost/++skin++Recruiter/000000/@@/thickbox.css"11:56
projekt01          media="all" />11:56
projekt01    <BLANKLINE>11:56
*** projekt01 has quit IRC11:56
*** projekt01 has joined #zope3-dev11:57
projekt01sorry, about that, I guess this is defently not my day11:58
projekt01mgedmin, did something change in the testing, some of my tests fail because of output like: &lt;div&gt; instead of <div>12:00
*** richardkan has joined #zope3-dev12:01
*** Aiste has quit IRC12:02
*** mgedmin has quit IRC12:09
*** ferrafox has joined #zope3-dev12:10
*** mgedmin has joined #zope3-dev12:14
*** cursor has quit IRC12:22
*** b52laptop has joined #zope3-dev12:28
*** Jell-O-Fishi has quit IRC12:28
*** projekt01 has left #zope3-dev12:31
*** greenman has joined #zope3-dev12:37
*** markusleist has joined #zope3-dev13:12
*** b52lap has joined #zope3-dev13:20
*** lisppaste6 has quit IRC13:22
*** b52laptop has quit IRC13:22
*** ktwilight has quit IRC13:26
*** ktwilight has joined #zope3-dev13:27
*** greenman has quit IRC13:30
*** lisppaste6 has joined #zope3-dev13:32
*** mkerrin has joined #zope3-dev13:32
*** jfroche has joined #zope3-dev13:33
*** huajie has quit IRC13:57
*** romanofs1i has joined #zope3-dev14:00
*** afd has quit IRC14:00
*** afd_ has joined #zope3-dev14:00
*** jfroche has quit IRC14:00
*** Newfie2007 has joined #zope3-dev14:05
*** romanofski has quit IRC14:10
*** theuni has quit IRC14:11
*** romanofs1i is now known as romanofski14:11
*** theuni has joined #zope3-dev14:14
*** MJ is now known as MJ|lunch14:22
*** jodok has joined #zope3-dev14:23
*** Ariel_Calzada has joined #zope3-dev14:30
*** dobee has joined #zope3-dev14:32
*** dobee has left #zope3-dev14:32
*** dobee has joined #zope3-dev14:33
*** ghendi has quit IRC14:51
*** jodok has quit IRC14:51
*** dobee has quit IRC14:52
*** jsadjohnson has joined #zope3-dev14:52
*** ferrafox has quit IRC15:13
*** jsadjohnson_ has joined #zope3-dev15:14
*** ferrafox has joined #zope3-dev15:15
*** romanofs1i has joined #zope3-dev15:17
*** Aiste has joined #zope3-dev15:21
*** benji has joined #zope3-dev15:28
*** xbeanx has joined #zope3-dev15:30
*** jsadjohnson has quit IRC15:30
*** baijum has quit IRC15:34
*** romanofski has quit IRC15:35
*** xxbeanxx has quit IRC15:38
*** MJ|lunch is now known as MJ15:38
*** theuni has quit IRC15:41
*** dobee has joined #zope3-dev15:42
*** jodok has joined #zope3-dev15:42
*** jodok_ has joined #zope3-dev15:43
*** Aiste has quit IRC15:44
*** jodok_ has quit IRC15:48
*** jodok_ has joined #zope3-dev15:48
*** Aiste has joined #zope3-dev15:49
*** timte has quit IRC15:51
*** jodok_ has quit IRC15:57
*** zagy_ has joined #zope3-dev15:59
*** zagy has quit IRC15:59
*** jodok has quit IRC16:03
*** afd__ has joined #zope3-dev16:08
*** afd_ has quit IRC16:09
*** J1m has joined #zope3-dev16:11
*** Ariel_Calzada has quit IRC16:14
*** schwendinger has quit IRC16:14
*** pelle_ has quit IRC16:16
*** jsadjohnson has joined #zope3-dev16:17
*** schwendinger has joined #zope3-dev16:18
*** yvl has quit IRC16:19
*** netshade has joined #zope3-dev16:22
*** jsadjohnson_ has quit IRC16:32
*** rcrafton has joined #zope3-dev16:33
*** ferrafox_ has joined #zope3-dev16:38
*** Aiste has quit IRC16:38
*** afd__ has quit IRC16:40
*** andre_ has joined #zope3-dev16:40
*** afd__ has joined #zope3-dev16:42
*** andre_ has quit IRC16:46
*** afd__ has quit IRC16:47
*** afd__ has joined #zope3-dev16:48
*** whit has joined #zope3-dev16:51
*** ferrafox has quit IRC16:55
*** jukart has joined #zope3-dev16:56
*** torkel_ has joined #zope3-dev16:56
*** srichter has joined #zope3-dev17:00
*** Ariel_Calzada has joined #zope3-dev17:03
*** redir has joined #zope3-dev17:03
*** ferrafox_ is now known as ferrafox17:06
*** theuni has joined #zope3-dev17:07
theuniJ1m: hmm. could it be that ppix has a problem with unicode characters in package names?17:08
*** projekt01 has joined #zope3-dev17:09
*** ChanServ sets mode: +o srichter17:09
*** jukart_ has joined #zope3-dev17:12
*** alecm has joined #zope3-dev17:12
*** timte has joined #zope3-dev17:22
*** sorindregan has quit IRC17:24
*** afd__ has quit IRC17:25
*** theuni has quit IRC17:26
*** schwendinger has quit IRC17:28
*** jukart has quit IRC17:28
*** theuni has joined #zope3-dev17:28
*** jodok has joined #zope3-dev17:29
*** lucielejard has joined #zope3-dev17:34
*** chacha_chaudhry has quit IRC17:34
*** alecm_ has joined #zope3-dev17:37
*** schwendinger has joined #zope3-dev17:37
*** Theuni_ has joined #zope3-dev17:49
*** timte_ has joined #zope3-dev17:49
*** jodok is now known as jodok|seltsa17:50
*** alecm has quit IRC17:53
*** Newfie2007_ has joined #zope3-dev18:00
*** Newfie2007 has quit IRC18:01
*** stub has quit IRC18:02
*** theuni has quit IRC18:12
*** jodok|seltsa has quit IRC18:16
*** Theuni_ has quit IRC18:21
*** Theuni has joined #zope3-dev18:21
*** goschtl has quit IRC18:22
*** jukart_ has quit IRC18:24
*** pcardune has joined #zope3-dev18:29
*** j-w has quit IRC18:33
*** MJ has quit IRC18:36
*** markusleist has left #zope3-dev18:36
*** nathany has joined #zope3-dev18:38
*** deo has joined #zope3-dev18:40
*** markusleist has joined #zope3-dev18:41
*** ignas has quit IRC18:47
*** pcardune has quit IRC19:02
*** projekt01 has quit IRC19:02
*** alecm_ has quit IRC19:04
CrippsFXI'm looking for a way to generate and display a Container (or a list, whichever is best suited) based on information gathered from a custom form using formlib. I want the method decorated by @action("Get List", failure = "handleSubmitError") to take care of calling the appropriate utility to generate the list, but I'm not sure how to go about returning the view for said list. Is there some other (specific) documentation someone could point me19:05
CrippsFX to?19:05
CrippsFXsorry, I forgot to mention that I've read the entirety of http://svn.zope.org/zope.formlib/trunk/src/zope/formlib/form.txt?rev=75131&view=markup19:06
srichterCrippsFX: use z3c.form; it is better documented ;-)19:07
CrippsFXsrichter: thanks for the hint ... I'm *trying* to refrain from additions to the Zope Skeleton unless it's absolutely neccessary though ... it's one of the project requirements.19:08
srichterthat's really dumb!19:08
srichter:-)19:08
srichterseriously, we are publishing packages to make your life easier19:09
CrippsFX:) ... I'll ask the project leader about it.19:09
CrippsFXokay, he gave it the go-ahead ... so I'll check it out.19:10
srichterhe he, cool19:10
srichterthis was easy :-)19:10
wiggythe plan for world domination is coming along? :)19:10
CrippsFXhaha ... yeah, good thing about having a small dev team :P19:11
srichteryep19:11
CrippsFXwiggy: actually, that has a lower priority than the current component I'm working. I won't get around to that for another few weeks.19:11
CrippsFX*working on19:11
CrippsFXI'm thinking about it already, however, and Poland seems like the best place to start.19:12
srichterwiggy: well, we put a lot of sweat and energy into z3c.form, so I feel obligated to promote it heavily ;-)19:13
CrippsFXhahaha.19:13
CrippsFXthe z3c stuff won't ever be built into zope as defaults, will it?19:13
srichterwell, I think there will probably be no more Zope releases ;-)19:14
srichterCrippsFX: Zope becomes more like a Linux distro19:14
wiggyzope becomes more like plone ;)19:15
srichterin any Linux distro, it doesn't make sense to ask, will "Firefox" be part of the standard distro?19:15
CrippsFXah, I see.19:15
wiggysrichter: unless you're talking about debian of course19:15
Lumieresrichter: how is zope going to be packaged in distrobutions then?19:15
srichterwiggy: I am a little afraid of this myself;l I hope we will do well with ensuring a working set of dependencies19:15
CrippsFXwell, with the buildout and eggification of Zope, it should start becoming much easier to install z3c stuff.19:15
srichterLumiere: this is the big question19:16
*** romanofs1i has quit IRC19:16
wiggysrichter: imho the python packaging system isn't nearly ready for it19:16
Lumiereone that needs to be solved pretty soon imho19:16
CrippsFXalthough, I don't mind the current way of doing things ... except for documenting it for my cow orkers.19:16
wiggysrichter: you really want something that comes close to what dpkg or rpm do with package relations19:16
srichterLumiere: some people talk about meta-egss others, liek Phil, try to make very user-friendly scripts19:16
srichterwe will see what will develop as the best option to support19:16
* Lumiere has a package that's going to require zope3.4 in some manner in ubuntu gutsy19:17
wiggyimho someone should factor relation handling out of dpkg or rpm and work a python package handling system on top of that19:17
Lumierewiggy: dpkg...19:17
srichterwiggy: if the eggs and setuptools packages will not be close to that, then we are in big trouble; but I think we are on the right track19:17
Lumiererpm's reltionship handling leaves a lot to be desired19:17
Lumierebrb19:17
CrippsFXtrue that (@ Lumiere )19:18
wiggysrichter: last time I checked there was no concept of virtual package or conflicts19:18
wiggyboth of which are essential19:18
wiggyLumiere: I tried to be neutral here...19:18
wiggy(even though I was the dpkg maintainer for some time)19:18
srichterright now, I am using buildout to do my work and it seems okay19:18
CrippsFXsrichter: hm. I like the documentation in z3c.form already ... to start, there is an example using zope.schema.Choice ... the other one didn't do that, which sucks because Choice widgets are the ones I'm using.19:18
srichterbtw, Jim is working on an RPM generator from eggs19:18
srichterI think soon someone will work on a deb package generator19:19
wiggysrichter: there is no way to tell buildout 'this thing is already present on the system with this version'19:19
wiggywhich broke things for us twice this week19:19
srichterright, Jim is a big believer of not using system python ;-)19:20
srichterI tend to disagree, but I think he is right ;-)19:20
wiggyI'm a big believer of not using very complex systems to build the same thing 50 times if I can just do it once properly19:20
wiggyesp. since I may want to use a special build of something19:20
srichteronce we have packge/egg to DEB/RPM converters, system python can be used again19:20
wiggythe 'convert xyz to deb/rpm' approach has been tried and never succeeded19:21
wiggyso I'm still sceptical19:21
CrippsFXsrichter: since I have svn write access, I can checkout, fix a typo, and checkin the form.txt documentation, correct?19:21
srichterwiggy: well, then you are on Jim's side ;-) Having your own Python is the simplest, because you do not have to worry about any other dependency or installed package19:22
CrippsFXer, well, it's not really a typo, but it is an error.19:22
wiggysrichter: I'm not though; I generally prefer to use things form the system if they are there19:22
srichterCrippsFX: yep, please do19:22
*** harobed has quit IRC19:23
srichterwiggy: me too, but the problem is that system Python is used by so many application in a distribution, that it is harder to make it work for your development than simply compile a clean version19:23
CrippsFXsrichter: and since it's only an error in the non-doctest section of the documentation, I can do that right in trunk, right?19:24
wiggysrichter: so far I've never seen the system python not working19:24
CrippsFX(I'm just double checking on svn etiquette)19:24
srichterwiggy: mine is not working right now, because it has setuptools 0.6rc5 installed, but I need 0.6rc6 for my buildouts19:25
srichterCrippsFX: yeah, I only work on the trunk, but please run the tests before submitting19:26
*** Newfie2007_ is now known as Newfie200719:26
CrippsFXsrichter: will do.19:27
CrippsFXthanks.19:27
srichterCrippsFX: also, please write a CHANGES.txt comment.19:30
wiggyideally you should be able to selectively use bits of the system python19:30
wiggylike 'use the python itself, package x, package y, package z, but nothing else'19:30
srichterright19:30
srichterthat would be a good improvement I think19:31
wiggythe only major pain I have is that the OSX lxml is stupidly broken and segfaults19:31
srichterI just added lxml into my requirements and on Linux it just built it beatifully from source; needless to say, I am happy ;-)19:31
wiggysrichter: it works beautiful everywhere except on OSX19:32
*** alecm has joined #zope3-dev19:32
Lumiereto me a big part of the problem is19:41
Lumierezope3/python don't have any real distribution type people on board for making packages19:42
Lumieresomeone like wiggy would be good for putting together a good release/build structure for z3/python19:42
* wiggy is quite busy managing plone releases though19:43
wiggyand I highly doubt people are going to sponsor that19:43
Lumiereyea19:45
CrippsFXsrichter: shouldn't it be documented somewhere that z3c.form depends on z3c.template ?19:46
*** zagy_ has quit IRC19:46
*** reco has joined #zope3-dev19:54
*** naro has left #zope3-dev19:56
*** Ariel_Calzada has quit IRC19:57
markusleisthi, maybe the permission-attribute in viewletManager is required but not evaluated? my viewlet without a given permission doesn't render, a viewlet-manger does? I don't find any hint on the mailinglist.19:58
markusleistdoes one allowed viewlet allow the whole viewlet-manager? i thought a not allowed manager would hide all viewlets?20:02
markusleistAny examples or bugs are known?20:03
*** timte_ has quit IRC20:05
*** RaFromBRC has joined #zope3-dev20:12
markusleistIt seems to me: ony visible viewlet will make the viewletmanager be visible - so be it.20:15
CrippsFXsrichter: it appears as though I am unable to download the CHANGES.txt file using "svn co svn+ssh://acripps@svn.zope.org/repos/main/z3c.form/trunk/"20:15
*** nathany has quit IRC20:20
*** b52lap has quit IRC20:28
*** ferrafox has quit IRC20:29
*** Newfie2007 has quit IRC20:32
*** nathany has joined #zope3-dev20:48
*** markusleist has quit IRC20:50
*** jinty has quit IRC20:55
*** richardkan has quit IRC20:57
*** romanofski has joined #zope3-dev20:57
*** d2m has quit IRC21:06
*** mkerrin has quit IRC21:06
*** rcrafton_ has joined #zope3-dev21:08
*** rcrafton_ has joined #zope3-dev21:09
*** mgedmin has quit IRC21:10
*** rcrafton has quit IRC21:24
*** torkel_ has quit IRC21:28
*** jodok|seltsa has joined #zope3-dev21:34
*** jodok|seltsa is now known as jodok21:35
*** marianom has joined #zope3-dev21:37
*** RaFromBRC is now known as RaFromBRC|away21:38
*** rcrafton_ has quit IRC21:39
*** jinty has joined #zope3-dev21:44
*** whit is now known as whit|lunch21:48
CrippsFXhm. Using the z3c.form package, is it possible to "override" the form.render() method to 1)create an object using data gathered from the form and then 2)render a template that uses the object made in part 1)  ?21:49
*** zagy has joined #zope3-dev21:52
srichterCrippsFX: if you use z3c.form.form.AddForm it shows you how to write an addform21:55
srichterCrippsFX: if you use z3c.form.form.AddForm it does everything you want21:55
srichterz3c/form/form/form.txt documents this21:55
srichterjust make the nextURL() point to the view of the newly created object21:55
srichteralso, z3c.formdemo.message shows the behavior you are looking for21:56
*** romanofski has quit IRC21:56
CrippsFXsrichter: I'm not trying to write an add firm per se ... rather, I'm trying to write a form that takes in a house name and a term, and queries a database to get a list of people who lived in said house during said term ... this list (or container) is something I want to discard as soon as it's no longer being displayed.21:56
srichterok, that's easy too21:57
srichterwrite a form with the house and term as a field21:57
srichtercreate a button called something like "Search"21:57
CrippsFXgot those, (each are Choice fields), and I have a "get list" button.21:58
srichterregister a handler for this button that looks up the students in the DB and stores the result in a session or as a view attribute21:58
srichterthe template can then access the session or attribute21:58
CrippsFXokay. Sounds good. I'll probably have to do some reading to *fully* understand what you're saying, but that's a task for tomorrow morning.21:59
srichterwriting new handlers is demonstrated in all demo packages, the simplest one being z3c.formdemo.message again21:59
srichterCrippsFX: btw, there are also two architecture overview PNGs in the form package that you want to check out21:59
CrippsFXthanks. Now I'm two steps closer to doing what I've been trying to do for a week and a half ;)21:59
CrippsFXokay. I'll take a look at those too.22:00
*** whit|lunch has quit IRC22:04
*** whit|lunch has joined #zope3-dev22:06
CrippsFXalright, work is over ... it's time for me to head home. Goodnight folks.22:07
*** whit|lunch has quit IRC22:09
*** javimansilla has joined #zope3-dev22:12
*** projekt01 has joined #zope3-dev22:13
*** schwendinger has quit IRC22:14
lisppaste6javier pasted "unbound index traceback" at http://paste.lisp.org/display/4511922:15
*** zagy has quit IRC22:15
javimansillaWhat could be causing that "unboud index" error? (traceback here http://paste.lisp.org/display/45119)22:16
srichterit is unbound prefix22:17
srichterthat means you are using an XML namespace prefix prefix that you do not have defined22:17
javimansillaI added a <zope:view /> element, and I have my configure.zcml with xmlns="http://namespaces.zope.org/zope" ... shouldn't be enough ?22:18
philiKON_xmlns:zope="..."22:19
philiKON_i generally recommend against using a prefix for the 'zope' namespace in documentation22:19
philiKON_because it generates that precise confustion22:19
philiKON_confusion even22:19
javimansillaphiliKON_: oh my dear... what a silly error. Thanks22:19
philiKON_yes, it's silly, but not that uncommon.22:19
*** whit|lunch has joined #zope3-dev22:20
*** whit|lunch is now known as whit|cafe22:22
*** nathany has quit IRC22:27
philiKON_svn.zope.org down?22:31
philiKON_hmm, looks more like the repo is down22:32
philiKON_or just very slow22:33
philiKON_weird22:33
benjiphiliKON_: it should be back now/soon; the zope.org machine has been having trouble the last couple of days22:33
philiKON_:(22:33
philiKON_ah, here we go22:34
philiKON_thanks22:34
*** philiKON_ is now known as philiKON22:35
srichteris there a recipe that let's me use a script to build a part?22:36
philiKONi don't think so22:36
srichterso, I would have to write my own recipe or is there a simpler construct to use?22:36
philiKONyou could write that recipe that lets you configure the script :)22:36
philiKONnot sure what you're trying to do though22:37
*** markusleist has joined #zope3-dev22:37
srichterwell, I have to install a really non-standard pacakge22:37
philiKONlike what?22:37
srichterso that zc.recipe.cmmi does not work22:37
srichternoweb.tgz22:37
srichterhttp://www.eecs.harvard.edu/~nr/noweb/dist/22:38
philiKONhum22:38
srichter(yeah, there is a deb package for it, but other Linux distro has it)22:38
philiKONi suppose you'll write your own recipe then :)22:39
srichteryep, just wanted to make sure this is what I need to do22:39
*** hazmat has quit IRC22:50
*** philiKON_ has joined #zope3-dev22:50
philiKON_benji: it seems that svnserve is now down on svn.zope.org23:03
benjiphiliKON_: the ZC system administrators have discovered that Google is hammering svn.zope.com. :(23:04
benjiit's an attack <wink>23:04
philiKON_what does that have to do with svnserve?23:04
benjieverything.zope.org is on the same box23:04
philiKON_heck, i could do without ViewCVS for the moment23:04
philiKON_but svnserve is sorta essential23:04
benjiwe may get to the point of disabling viewcvs23:05
philiKON_or simply install a robot.txt23:05
benjigood point23:05
wiggytrac is sooo much nicer than ViewCVS anyway23:05
benjiheh, there's alread one that disallows everything23:06
wiggyI added robots.txt to viewcvs and trac for svn.plone.org23:06
philiKON_yes it is, but i don't care. i just want my svnserve back :/23:06
*** philiKON has quit IRC23:06
*** philiKON_ is now known as philiKON23:06
philiKONah, it's back23:07
*** RaFromBRC|away has quit IRC23:10
*** hazmat has joined #zope3-dev23:14
*** ChanServ sets mode: +o hazmat23:14
*** redir has quit IRC23:15
*** whit|cafe has quit IRC23:16
*** nathany has joined #zope3-dev23:19
*** RaFromBRC has joined #zope3-dev23:24
javimansillaclassImplements is raising me TypeError: iteration over non-sequence23:25
*** whit|cafe has joined #zope3-dev23:25
*** whit|cafe is now known as whit23:26
javimansillais there something obvious I'm not viewing?23:26
philiKONdepends on how you use it23:27
*** projekt01 has quit IRC23:34
*** benji has quit IRC23:34
javimansillaphiliKON: I'm inheriting not from an Interface but from a class23:39
philiKONyou still haven't told me how you use it23:39
javimansillaphiliKON: what I mean is that when I corrected the base class, it worked23:39
philiKONi don't get that23:40
javimansillaI'm trying to make a Choice field that run a javascript on change, and I'm sweating as horse :-/23:41
philiKONthis is a javascript thing23:42
philiKONwhat does it have to do with classImplements?23:42
javimansillaphiliKON: I thought I should made a new field interface, derived from IChoice, and later the implemetation of that, that inherints from Choice. Later, I want to remark that my class implements my interface23:43
javimansillaafter that, I started with my widget, and there's where I'm stuck now23:44
philiKONyou haven't heard of widgets have you?23:44
philiKONwhy would you want to make a different field interface and all that?23:44
philiKONwhat does the data model have to do with the fact that you might end up using a different widget?23:44
javimansillaphiliKON: shouldn't my field store what javascript function run?23:45
philiKONgod no23:45
philiKONthis is a widget thing23:45
philiKONthe field stores information about the data model23:45
*** alga has quit IRC23:45
javimansillaphiliKON: fine. If I want 2 fields (country and state) kind of binded, where would you put that binding?23:46
philiKONwhat kind of binding?23:46
javimansillaWhat I actually want is 2 dropdown fields: country and state. Changin country, I would like to see only states of that country on the other field23:46
philiKONsure.23:47
javimansillaI have forms with 2 pairs of this fields. ie: 2 country fields and 2 states fields. Each pair binded23:48
philiKONthis is only a matter of an appropriate source/vocabulary factory23:48
javimansillaThat's why I thought I could store on the Country field, which state field is binded with it.23:48
*** rcrafton has joined #zope3-dev23:49
philiKONi suggest you have two fields, one for country and one for state23:49
philiKONcountry is a choice with a country vocabulary/source23:49
philiKONand state is a coice23:49
philiKONchoice23:49
javimansillayes, that's what I have so far23:50
philiKONand the source/vocabulary factory is made so that it takes the country into account23:50
javimansillayes, I have a states vocabulary that have a method getStates(fromCountry)23:50
javimansillanow, how should I bind all this pieces?23:51
philiKONgee, i don't know that by heart23:51
philiKONmy book might help23:51
javimansillahi, I just realize who you are... yes, I have your book in my hands... first edition I think23:52
philiKONget the 2nd one23:53
philiKONthe 1st one sucks :)23:53
javimansillanow I'll be shy to keep asking :-P23:53
javimansillawe realized that's incomplete on several places... the problem is that it's hard to get European books in South America :-)23:54
philiKONit's distributed world-wide23:54
philiKONi'm surprised23:54
philiKONspringer has lots of college textbooks23:54
philiKONso i assumed they have a good world-wide distrubition network23:55
javimansillawell, the book I have was bring here from London23:55
javimansillaI should go to the library and ask again then...23:56
javimansillaanyways, I was just checking the DynamicSequenceWidget you have in the book23:56
javimansillasomething like that is what you suggest?23:56
philiKONwell, yes23:57
javimansillaok, I'll take a deep look to that. Thanks a lot23:58
philiKONexcept that that widget is a sequencewidget23:58
philiKONyou'll have to write a choice widget23:59
javimansillaright23:59
javimansillaI'll inherint from dropdownWidget23:59

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