*** csmiga has quit IRC | 00:02 | |
philiKON_ | edgordon: http://svn.zope.org/zope.contentprovider/ | 00:03 |
---|---|---|
*** grahal has quit IRC | 00:04 | |
edgordon | i saw that. i just thought it was odd that it was only there, while most of the other packages had made their way to cheeseshop. just wanted to make sure it was still in use | 00:04 |
philiKON_ | yes | 00:04 |
philiKON_ | the availability on the cheeseshop isn't representative atm | 00:04 |
philiKON_ | something which should change soon | 00:04 |
philiKON_ | now that we have ppix | 00:04 |
philiKON_ | and no longer need to maintain download.zope.org/distribution | 00:05 |
wiggy | has ppix been properly accepted by now? | 00:05 |
philiKON_ | as far as i could tell, the response was positive | 00:06 |
philiKON_ | it seems that MvL would like to include it into the cheeseshop proper | 00:06 |
*** jsadjohnson has joined #zope3-dev | 00:09 | |
*** malthe has joined #zope3-dev | 00:13 | |
*** afd has quit IRC | 00:15 | |
*** jsadjohnson has quit IRC | 00:20 | |
wiggy | as soon as he has time, which is somewhere 2008? | 00:25 |
philiKON_ | well, no, he would like to *see* it integrated... :) | 00:27 |
*** niemeyer has quit IRC | 00:28 | |
*** benji has quit IRC | 00:29 | |
*** malthe_ has quit IRC | 00:30 | |
*** jinty has quit IRC | 00:34 | |
*** niemeyer has joined #zope3-dev | 00:36 | |
*** schwendinger has quit IRC | 00:39 | |
*** J1m has left #zope3-dev | 00:40 | |
*** nerdalert has quit IRC | 00:41 | |
*** RaFromBRC is now known as RaFromBRC|away | 00:43 | |
*** norro has quit IRC | 00:48 | |
*** jsadjohnson has joined #zope3-dev | 00:52 | |
*** malthe is now known as malthe|Zzz | 00:56 | |
*** malthe|Zzz has quit IRC | 00:58 | |
*** regebro has left #zope3-dev | 01:00 | |
*** timte has quit IRC | 01:01 | |
*** jinty has joined #zope3-dev | 01:11 | |
*** tarek has quit IRC | 01:13 | |
*** BjornT has quit IRC | 01:15 | |
*** tarek has joined #zope3-dev | 01:15 | |
philiKON_ | nathany: re cc.gettext: have you considered using the pygettext module to do the work, rather than forking a process? | 01:19 |
nathany | philiKON_: I thought there was a python way to do it, but couldn't find it in the 30 seconds i spent looking | 01:20 |
nathany | is that part of python or zope? | 01:20 |
philiKON_ | apparently it's part of python even: http://docs.python.org/lib/module-gettext.html | 01:21 |
philiKON_ | except that only seems to provide the read api | 01:21 |
philiKON_ | not necessarily the msgfmt stuff | 01:21 |
philiKON_ | nathany: you want this: http://cheeseshop.python.org/pypi/python-gettext/ | 01:21 |
philiKON_ | god bless hannosch :) | 01:21 |
nathany | ah, cool | 01:22 |
nathany | great, thanks philiKON_ | 01:22 |
*** RaFromBRC|away is now known as RaFromBRC | 01:27 | |
nathany | if i my recipe has a dependency (ie, python-gettext), is adding it to install_requires enough to get it on the python path @ buildout time? | 01:29 |
nathany | (rephrased, it doesn't seem to be enough -- am i missing something?) | 01:29 |
*** jfroche_ has quit IRC | 01:30 | |
philiKON_ | nathany: the recipe should state it in its own install_requires | 01:34 |
philiKON_ | which should be enough | 01:34 |
nathany | philiKON_: hrm; that's what I did, but it still complains; i'm doing some more looking | 01:35 |
philiKON_ | hmm, sounds like a bug in zc.buildout then | 01:35 |
nathany | oh, weird | 01:35 |
nathany | nope, nevermind... outdated example in the python-gettext stuff | 01:35 |
*** tarek has quit IRC | 01:36 | |
*** malthe|Zzz has joined #zope3-dev | 01:39 | |
*** malthe|Zzz has quit IRC | 01:40 | |
*** jsadjohnson has quit IRC | 01:40 | |
*** tarek has joined #zope3-dev | 01:53 | |
*** jinty has quit IRC | 01:54 | |
*** pelle_ has quit IRC | 02:04 | |
*** jsadjohnson has joined #zope3-dev | 02:22 | |
*** b52laptop has quit IRC | 02:33 | |
*** jsadjohnson has quit IRC | 02:33 | |
philiKON_ | waaaaa | 02:45 |
philiKON_ | whoever invented to use 'self' as a marker? | 02:45 |
pbugni | some silly java programmer, i'm sure :) | 02:46 |
pbugni | of course, it dates further back than java - context? | 02:47 |
philiKON_ | i'm talking about getattr(self, key, self) is not self | 02:48 |
philiKON_ | this backfires when self.key is self | 02:48 |
philiKON_ | (which you may have to do for BBB sometimes) | 02:48 |
*** nathany has quit IRC | 02:51 | |
*** jinty has joined #zope3-dev | 02:54 | |
*** tarek has quit IRC | 02:55 | |
*** natea has quit IRC | 02:58 | |
*** fcorrea_ has quit IRC | 03:04 | |
*** niemeyer has quit IRC | 04:04 | |
*** jsadjohnson has joined #zope3-dev | 04:14 | |
*** alecm has quit IRC | 04:20 | |
*** RaFromBRC has quit IRC | 04:22 | |
*** jinty has quit IRC | 04:40 | |
*** Ariel_Calzada has joined #zope3-dev | 04:42 | |
*** jinty has joined #zope3-dev | 04:43 | |
*** jinty has quit IRC | 04:44 | |
*** jinty has joined #zope3-dev | 04:45 | |
*** jinty has quit IRC | 04:53 | |
*** Ariel_Calzada has quit IRC | 04:58 | |
*** fcorrea has joined #zope3-dev | 05:05 | |
*** fsufitch has joined #zope3-dev | 05:06 | |
fcorrea | Hey there. Is there any event that is sent upon error? I need to write a subscriber for it....if not, what is the top level interface for sending a custom event? | 05:07 |
fcorrea | I was looking at IException but not sure if its enough though | 05:08 |
*** jsadjohnson has quit IRC | 05:08 | |
*** jsadjohnson has joined #zope3-dev | 05:09 | |
*** greenman has quit IRC | 05:22 | |
*** jsadjohnson has quit IRC | 05:26 | |
*** jsadjohnson has joined #zope3-dev | 05:27 | |
*** projekt01 has quit IRC | 05:40 | |
*** jsadjohnson has quit IRC | 05:40 | |
*** jsadjohnson has joined #zope3-dev | 05:45 | |
*** stub has joined #zope3-dev | 05:51 | |
*** projekt01 has joined #zope3-dev | 05:59 | |
*** jsadjohnson has quit IRC | 06:02 | |
*** jsadjohnson has joined #zope3-dev | 06:04 | |
*** natea_ has joined #zope3-dev | 06:11 | |
*** jsadjohnson has quit IRC | 06:21 | |
*** pcardune has quit IRC | 06:22 | |
*** fcorrea has quit IRC | 06:27 | |
*** cursor has joined #zope3-dev | 06:31 | |
*** natea_ has quit IRC | 06:31 | |
*** philiKON has joined #zope3-dev | 06:31 | |
*** cursor has quit IRC | 06:31 | |
*** cursor has joined #zope3-dev | 06:32 | |
*** cursor has quit IRC | 06:32 | |
*** philiKON_ has quit IRC | 06:40 | |
*** greenman has joined #zope3-dev | 06:40 | |
*** natea_ has joined #zope3-dev | 06:41 | |
*** projekt01 has quit IRC | 06:53 | |
*** deo has quit IRC | 07:45 | |
*** natea_ has quit IRC | 07:49 | |
*** baijum has joined #zope3-dev | 07:52 | |
*** kleist^lurking has joined #zope3-dev | 07:57 | |
*** kleist^lurking is now known as kleist | 07:58 | |
*** projekt01 has joined #zope3-dev | 08:12 | |
*** greenman has quit IRC | 08:19 | |
*** cursor has joined #zope3-dev | 08:22 | |
*** afd has joined #zope3-dev | 08:25 | |
*** BjornT has joined #zope3-dev | 08:28 | |
*** Ariel_Calzada has joined #zope3-dev | 08:29 | |
*** pbugni has quit IRC | 08:30 | |
*** projet01_ has joined #zope3-dev | 08:39 | |
*** zagy has joined #zope3-dev | 08:45 | |
*** sorin has joined #zope3-dev | 08:47 | |
*** sorin is now known as sorindregan | 08:48 | |
*** projekt01 has quit IRC | 08:57 | |
*** edgordon has quit IRC | 09:05 | |
*** natea_ has joined #zope3-dev | 09:17 | |
*** zagy has quit IRC | 09:23 | |
*** zagy has joined #zope3-dev | 09:32 | |
*** afd has quit IRC | 09:42 | |
*** schwendinger has joined #zope3-dev | 09:55 | |
*** romanofski has joined #zope3-dev | 09:56 | |
romanofski | moin :) | 09:57 |
*** pelle_ has joined #zope3-dev | 10:01 | |
*** timte has joined #zope3-dev | 10:04 | |
*** projet01_ has quit IRC | 10:08 | |
*** yvl has joined #zope3-dev | 10:13 | |
*** projekt01 has joined #zope3-dev | 10:17 | |
*** regebro has joined #zope3-dev | 10:18 | |
*** natea_ has quit IRC | 10:18 | |
*** natea_ has joined #zope3-dev | 10:34 | |
*** malthe|Zzz has joined #zope3-dev | 10:34 | |
*** malthe|Zzz has quit IRC | 10:35 | |
*** jfroche has joined #zope3-dev | 10:46 | |
*** tarek has joined #zope3-dev | 10:48 | |
*** jfroche has quit IRC | 10:50 | |
*** jfroche has joined #zope3-dev | 10:50 | |
*** jfroche has quit IRC | 10:51 | |
*** jfroche has joined #zope3-dev | 10:52 | |
*** malthe|Zzz has joined #zope3-dev | 10:54 | |
*** norro has joined #zope3-dev | 11:11 | |
*** malthe|Zzz has quit IRC | 11:24 | |
*** xenru has joined #zope3-dev | 11:28 | |
*** projekt01 has quit IRC | 11:30 | |
*** jinty has joined #zope3-dev | 11:33 | |
*** projekt01 has joined #zope3-dev | 11:33 | |
*** pelle_ has quit IRC | 11:35 | |
*** stub has quit IRC | 12:03 | |
*** natea_ has quit IRC | 12:07 | |
*** junkafarian has joined #zope3-dev | 12:07 | |
*** Aiste_ has joined #zope3-dev | 12:12 | |
*** mkerrin has joined #zope3-dev | 12:17 | |
*** richardkan has joined #zope3-dev | 12:24 | |
*** b52laptop has joined #zope3-dev | 12:25 | |
*** malthe|Zzz has joined #zope3-dev | 12:25 | |
*** jodok has joined #zope3-dev | 12:26 | |
*** markusleist has quit IRC | 12:28 | |
*** markusleist has joined #zope3-dev | 12:29 | |
*** malthe|Zzz is now known as malthe | 12:29 | |
*** greenman has joined #zope3-dev | 12:34 | |
timte | Would it be possible to distribute zope clients to nontrusted parties? Is it possible to make this safe, preventing them from modifying the zope cient and do any writes they want to ZEO? | 12:38 |
bigkevmcd | I'd say no | 12:41 |
bigkevmcd | they could always install another zeo client, and connect to the supplied zeo | 12:41 |
bigkevmcd | as long as they have a username... | 12:41 |
timte | yeah, probably it's not possible to verify the client | 12:47 |
bigkevmcd | there are too many ways to get at a Data.fs | 12:49 |
bigkevmcd | you could copy it and open it in a non-Zeo zope instance | 12:50 |
bigkevmcd | and set the inituser, which would allow you to change the password | 12:50 |
*** xenru has quit IRC | 12:53 | |
*** goschtl has joined #zope3-dev | 13:05 | |
*** ignas has joined #zope3-dev | 13:05 | |
goschtl | hi has anybody knowledge of the package http://svn.zope.org/soap/trunk/ | 13:07 |
*** jfroche has quit IRC | 13:13 | |
*** salfield has joined #zope3-dev | 13:34 | |
*** stub has joined #zope3-dev | 13:34 | |
*** dunny has quit IRC | 13:50 | |
zagy | hrm | 14:05 |
zagy | z3c.form doesn't really work with zc.sourcefactory, yet,... | 14:05 |
*** greenman has quit IRC | 14:07 | |
*** greenman has joined #zope3-dev | 14:08 | |
*** schwendinger has quit IRC | 14:12 | |
*** zagy has quit IRC | 14:29 | |
*** ktwilight_ has joined #zope3-dev | 14:30 | |
*** Ariel_Calzada has quit IRC | 14:31 | |
*** jsadjohnson has joined #zope3-dev | 14:37 | |
*** bigkev has joined #zope3-dev | 14:43 | |
*** bigkevmcd has quit IRC | 14:44 | |
*** bigkev is now known as bigkevmcd | 14:44 | |
*** sorindregan has quit IRC | 14:45 | |
*** ktwilight has quit IRC | 14:46 | |
*** sorin has joined #zope3-dev | 14:47 | |
*** sorin is now known as sorindregan | 14:47 | |
*** cursor has quit IRC | 14:53 | |
*** ferrafox has joined #zope3-dev | 14:53 | |
*** goschtl has left #zope3-dev | 14:55 | |
*** zagy has joined #zope3-dev | 14:57 | |
*** jsadjohnson has quit IRC | 15:08 | |
*** chacha_chaudhry has joined #zope3-dev | 15:13 | |
*** zagy_ has joined #zope3-dev | 15:16 | |
*** afd has joined #zope3-dev | 15:16 | |
*** zagy has quit IRC | 15:17 | |
*** niemeyer has joined #zope3-dev | 15:26 | |
*** dunny has joined #zope3-dev | 15:31 | |
*** mgedmin has joined #zope3-dev | 15:33 | |
*** jinty has quit IRC | 15:39 | |
*** bigkev has joined #zope3-dev | 15:40 | |
*** bigkevmcd has quit IRC | 15:41 | |
*** bigkev is now known as bigkevmcd | 15:41 | |
*** edgordon has joined #zope3-dev | 15:53 | |
*** greenman has quit IRC | 15:56 | |
*** afd has quit IRC | 16:01 | |
*** edgordon has quit IRC | 16:06 | |
*** edgordon has joined #zope3-dev | 16:07 | |
*** afd_ has joined #zope3-dev | 16:07 | |
*** yvl has quit IRC | 16:10 | |
*** benji has joined #zope3-dev | 16:14 | |
*** jukart has joined #zope3-dev | 16:16 | |
*** J1m has joined #zope3-dev | 16:20 | |
*** afd_ has quit IRC | 16:24 | |
*** schwendinger has joined #zope3-dev | 16:27 | |
*** tarek has quit IRC | 16:27 | |
*** afd_ has joined #zope3-dev | 16:28 | |
*** afd_ has quit IRC | 16:32 | |
*** afd_ has joined #zope3-dev | 16:33 | |
*** zagy_ has quit IRC | 16:35 | |
*** nerdalert has joined #zope3-dev | 16:40 | |
*** afd_ has quit IRC | 16:41 | |
*** vlado has joined #zope3-dev | 16:42 | |
*** tarek has joined #zope3-dev | 16:45 | |
*** ksmith99 has left #zope3-dev | 16:46 | |
*** dunny has quit IRC | 16:53 | |
*** baijum has quit IRC | 16:54 | |
*** povbot has joined #zope3-dev | 17:01 | |
*** zagy has joined #zope3-dev | 17:05 | |
*** b52laptop has quit IRC | 17:07 | |
*** b52laptop has joined #zope3-dev | 17:08 | |
*** jukart has quit IRC | 17:08 | |
*** afd_ has joined #zope3-dev | 17:08 | |
*** povbot` has quit IRC | 17:17 | |
*** fil has joined #zope3-dev | 17:21 | |
*** sorindregan has quit IRC | 17:23 | |
fil | I have an old zope2 system that acts as a front-end to a psql database, and I thought I'd use updating it as an excuse to look at zope3, but I seem to be falling at the first fence, since setting up a Psycopg DA instance results in complaints about tzinfo being an int | 17:25 |
fil | should I even be using Psycopg? and if so how do I shut it up about tzinfo? | 17:26 |
*** grahal has joined #zope3-dev | 17:26 | |
*** jukart has joined #zope3-dev | 17:26 | |
fil | (BTW the Psycopg connection is clearly vaguely working, as I can get it to complain if I specify non-existant tables in selects, say) | 17:27 |
edgordon | i have seen that error but i can't remember how i get of it | 17:28 |
edgordon | but i do think psycopg is the way to go | 17:28 |
edgordon | i haven't had any trouble on that end of it, but it does always seem to be an ordeal to setup | 17:28 |
fil | my somewhat clueless attempt to track it down left me with the impression that I'd probably failed to set up a system-wide connection between the OS's timezone, and the python/zope's instance of tzinfo | 17:30 |
fil | but I really don't know my way around python (I gave up on this aplication the first time round becasue zope2 seemed documented on the basis that one thought in python, and was the author of zope ;-) | 17:31 |
edgordon | i don't remember having to do anything like that | 17:32 |
fil | ok, well that's good -- in case it helps, the exact error I'm seeing is: | 17:33 |
fil | Thu Aug 2 15:22:29 2007 phil, zope.manager, Manager, TypeError: tzinfo argument must be None or of a tzinfo subclass, not type 'int' | 17:33 |
edgordon | are you using sqlos? | 17:36 |
fil | not as far as I know -- I've just installed zope3 and python-psycopg packages on a debian etch system | 17:37 |
rocky|away | hey i'm just getting started with zc.buildout ... is there any way to say that my buildout should include everything (all parts, etc) of a third-party buildout but add more ? in an effort to not duplicate stuff? | 17:37 |
*** rocky|away is now known as rocky | 17:37 | |
wiggy | extends = xxx.cfg | 17:38 |
rocky | so that means i'd have to check out both buildouts and then make buildout #2 reference buildout #1's xxx.cfg using that syntax? | 17:39 |
*** cursor has joined #zope3-dev | 17:47 | |
wiggy | oh, really different buildouts? no | 17:47 |
wiggy | you write recipes if you want to reuse | 17:47 |
philiKON | wiggy: i think rocky really did mean the extends= thing | 18:02 |
wiggy | the 'check out both buildouts' makes me suspect he didn't | 18:03 |
philiKON | hmm | 18:03 |
edgordon | does the add menu not check preconditions? it seems to work when i uses contains(), but when i use my precondition, it just shows every addable item, but then my precondition correctly returns an invalid error when i try to add an invalid item. | 18:03 |
*** zagy_ has joined #zope3-dev | 18:07 | |
*** zagy has quit IRC | 18:07 | |
*** b52laptop has quit IRC | 18:22 | |
*** b52laptop has joined #zope3-dev | 18:23 | |
*** chacha_chaudhry has quit IRC | 18:24 | |
*** ignas has quit IRC | 18:30 | |
*** nathany has joined #zope3-dev | 18:32 | |
*** malthe has quit IRC | 18:45 | |
*** natea|andala_ has joined #zope3-dev | 18:46 | |
*** natea|andala_ is now known as natea|jazloft | 18:47 | |
*** kleist_ has joined #zope3-dev | 18:47 | |
*** jukart has quit IRC | 18:51 | |
*** stub has quit IRC | 18:55 | |
timte | "The required version of setuptools (>=0.6c6) is not available, and can't be installed while this script is running." | 18:57 |
timte | Why can't it be installed? Do I have to install a more recent setuptools in system python? | 18:58 |
timte | this is buildout throwing the error btw | 18:58 |
mgedmin | I used easy_install to get a newer version of setuptools (in /usr/local, 'cause I'm tidy about my system) and buildout stopped complaining | 18:59 |
timte | yeah I can do that, but I hoped there was something else I could do | 19:00 |
*** kleist has quit IRC | 19:02 | |
nathany | is there an attribute on a zope.i18n.locale to determine if the locale is RTL or LTR? | 19:02 |
mgedmin | I'd like to know why buildout wants that version specifically, but that's just idle curiosity | 19:03 |
mgedmin | I assume there's a good reason | 19:03 |
mgedmin | nathany: no idea, sorry | 19:03 |
*** fsufitch has quit IRC | 19:05 | |
nathany | found it -- request.locale.orientation | 19:05 |
nathany | .lines or .characters | 19:05 |
*** vlado has quit IRC | 19:06 | |
*** pcardune has joined #zope3-dev | 19:09 | |
*** RaFromBRC has joined #zope3-dev | 19:10 | |
*** timte has quit IRC | 19:13 | |
*** romanofski has quit IRC | 19:16 | |
*** tdoggette has quit IRC | 19:21 | |
*** edgordon has quit IRC | 19:23 | |
*** mgedmin has quit IRC | 19:26 | |
*** kleist_ has quit IRC | 19:41 | |
*** alecm has joined #zope3-dev | 19:43 | |
*** pcardune has quit IRC | 19:44 | |
*** projekt01 has quit IRC | 19:49 | |
*** ferrafox has quit IRC | 20:00 | |
*** junkafarian has quit IRC | 20:00 | |
*** mkerrin has quit IRC | 20:08 | |
*** fcorrea has joined #zope3-dev | 20:09 | |
*** b52laptop has quit IRC | 20:23 | |
*** projekt01 has joined #zope3-dev | 20:30 | |
*** rocky has quit IRC | 20:35 | |
*** rocky has joined #zope3-dev | 20:36 | |
*** afd_ has quit IRC | 20:39 | |
*** faassen has joined #zope3-dev | 20:52 | |
J1m | faassen | 20:52 |
faassen | J1m: J1m :) | 20:52 |
*** edgordon has joined #zope3-dev | 20:53 | |
faassen | J1m: what's up? | 20:53 |
J1m | did you see the email I just sent? | 20:53 |
faassen | J1m: to where? to me? | 20:53 |
J1m | I looked for you here first, but you weren't here. | 20:53 |
J1m | yes you | 20:53 |
faassen | ah, there it is. | 20:53 |
J1m | I was wondering how martian was coming along. | 20:53 |
faassen | martian is not really the place that should do generate actions. it's up to the users of martian to generate those actions. | 20:53 |
faassen | and Grok at this point still doesn't generate proper actions. | 20:54 |
faassen | but martian is really zope independent. | 20:54 |
J1m | hm, ok | 20:54 |
faassen | it's the thing that goes through code and triggers side effects, which may be CA action registrations. | 20:54 |
faassen | J1m: what are you looking for, though? | 20:54 |
J1m | I want to DRI without having to swallow grok. | 20:55 |
faassen | J1m: I was thinking we could try just generating actions compatible with the z3 ones, and use the same ..now what are they called.. the conflict detection thingers. | 20:55 |
faassen | J1m: distinguishers. something like that. :) | 20:55 |
J1m | descrominators | 20:55 |
faassen | J1m: discriminators, right. | 20:55 |
J1m | discrominators | 20:55 |
faassen | :) | 20:55 |
faassen | discriminators. :) | 20:55 |
faassen | I got it! | 20:55 |
J1m | discriminators | 20:55 |
faassen | I can read jimonese. | 20:55 |
faassen | http://svn.zope.org/martian/trunk/src/martian/README.txt?rev=76820&view=auto | 20:56 |
faassen | has the martian doctest. | 20:56 |
*** richardkan has quit IRC | 20:56 | |
faassen | anyway, so it depends on what you're looking for. if you are looking for something that can dig up classes and instances from code and then do things. | 20:56 |
faassen | then Martian's your alien. | 20:56 |
faassen | if you need to look up things that implement particular interfaces, Martian isn't your alien, but it'd be easy to convince him. | 20:57 |
J1m | sp sounds like something I should build on. | 20:57 |
J1m | so sounds like something I should build on. | 20:57 |
faassen | I hope you can. | 20:57 |
*** marianom has joined #zope3-dev | 20:57 | |
faassen | anyway I guess the best thing to decide that is to read Martian's readme. | 20:58 |
J1m | another option is to have decorators scribble into a data structure in the module namespace. | 20:58 |
J1m | which would be easier to find. | 20:58 |
faassen | right. we do that in some cases in grok too. | 20:58 |
faassen | and martian can grok modules too. | 20:58 |
J1m | I'm a little nervous about importing modules implicitly. | 20:58 |
faassen | using a GlobalGrokker. | 20:59 |
faassen | yeah, that's a risk, though so far we haven't had anyone have trouble with it with grokked code. | 20:59 |
J1m | I'd sort of like to have a gesture in zcml that says "look in these modules". | 20:59 |
faassen | sure. | 20:59 |
faassen | that'd be easy to build on top of martian. | 20:59 |
J1m | But I haven't thought about it much. | 20:59 |
faassen | just use ModuleGrokker. | 21:00 |
*** edgordon has quit IRC | 21:00 | |
J1m | But if I did that and if the decorators scribbled in a single data structure, I wouldn't really need or necessarily want martian. | 21:00 |
faassen | sure, if you'd only use decorators to scribble into a data structure you might not want to. | 21:00 |
faassen | but it's nice to know about inheritance and classes. | 21:01 |
J1m | If you say so. :) | 21:01 |
faassen | well, you could have a base class, say, grok.View | 21:01 |
faassen | and a subclass, say, grok.Form | 21:01 |
J1m | uh huh | 21:01 |
faassen | and then you'd like grok.View to have a grokker that registers the view and grok.Form to do the form stuff. | 21:01 |
J1m | Jim *smash* inheritence! | 21:02 |
* faassen grins. | 21:02 | |
faassen | everything in moderation. :) | 21:02 |
J1m | :) | 21:02 |
*** salfield has quit IRC | 21:02 | |
faassen | anyway, even if you use interfaces. | 21:02 |
J1m | That's not what I was thinking of. | 21:03 |
faassen | you might still want to know about class structures on which these interfaces are used on. | 21:03 |
*** pelle_ has joined #zope3-dev | 21:03 | |
faassen | anyway, decorators that scribble into the module's data structure will help, but only with functions. | 21:03 |
J1m | right, until Python 3 (or 2.6). In the mean time, I'd use advisers. | 21:04 |
faassen | anyway, for classes I think using advisers that scribble into the module is a bit redundant. | 21:05 |
faassen | the object you want to do things for is right there, it's class. | 21:05 |
faassen | it's the class. | 21:05 |
faassen | you're likely going to end up asking it things anyway. | 21:05 |
* J1m shrugs | 21:06 | |
faassen | so why not have the adviser scribble a bit onto the class and then find the class directly. | 21:06 |
J1m | Because I don't like the idea of rumaging around in the module. | 21:06 |
* J1m hates sniffing | 21:06 | |
*** whit_ has joined #zope3-dev | 21:07 | |
faassen | okay, but frequently you want the result of the adviser action also to influence the subclasses. | 21:07 |
*** whit has quit IRC | 21:08 | |
faassen | like, imagine you said grok.require('some.permission') on your page. | 21:08 |
faassen | it'd be nice if a subclass of that page also got that bit. | 21:08 |
*** whit_ is now known as whit | 21:08 | |
J1m | If you say so. | 21:08 |
faassen | anyway, I'll leave you to invent any wheels you like. :) | 21:09 |
J1m | :) | 21:09 |
*** jodok has quit IRC | 21:11 | |
J1m | You can ignore my email now. :) | 21:11 |
faassen | and if you can extract actions from ZCML implementation so we can reuse them that'd be cool. :) | 21:12 |
*** pcardune has joined #zope3-dev | 21:13 | |
J1m | zope.configuration *should* support actions w/o zcml now. | 21:13 |
J1m | But given that we | 21:13 |
J1m | But given that we've only used the xml format for a long while, I can imagine that that has atrophied. | 21:13 |
faassen | I imagine it does, it's just that it'd be nice to be reuse some of the ZCML action implementations. | 21:14 |
faassen | to have a bit of a formal contract about what a discriminator is doing, perhaps. | 21:14 |
J1m | I also want to implement my old action filtering proposal soon, so I suspect that a good place to start would be to implement a basic action-generating API from Python. | 21:14 |
faassen | I mean, I imagine it's not atrophied. | 21:14 |
faassen | okay, that'd be very cool to have. | 21:14 |
faassen | I talked to theuni at Europython about it a bit. | 21:14 |
J1m | The action semantics are defined by zope.configuration *not* by the xml syntax. | 21:15 |
faassen | and he had some ideas which I now forget about this, but that sounded good. :) | 21:15 |
faassen | right, I know. | 21:15 |
faassen | I know that zope.configuration should be reusable. | 21:15 |
J1m | why wouldn't it be? | 21:15 |
faassen | it's just that individual action implementations are not reusable. like, registering something. | 21:15 |
faassen | I know it *is* reusable. | 21:15 |
faassen | I'm not talking about the action handling bits. | 21:16 |
faassen | I know that's generic. | 21:16 |
J1m | actually, individual handlers often are reusable and are often reused. | 21:16 |
faassen | I'm talking about the actual implementation of various handlers. | 21:16 |
faassen | yeah, but they are tied in with ZCML a bit more. | 21:16 |
faassen | anyway, we'll see. | 21:16 |
J1m | I don't think so. | 21:16 |
faassen | okay, let's just say that I don't *WANT* to reuse browser:page | 21:17 |
J1m | The handlers are passed data that has nothing to do with the xml format. | 21:17 |
J1m | The actions don't have anything to do with the format. | 21:17 |
faassen | but the schema for the directives is not necessary the ideal schema for other usages. | 21:17 |
faassen | necessarily. | 21:17 |
faassen | I mean, I've dealt with ZCML before, I do have some basic understanding of what's going on in there. :) | 21:18 |
faassen | I realize that you define a new directive with a schema. | 21:18 |
faassen | it's just that it feels a bit scary to depend on those actions from a completely different configuration system. | 21:18 |
J1m | The schemas support the parsing. | 21:18 |
J1m | The handlers are just Python functions for the most part. | 21:19 |
faassen | yes, I know. | 21:19 |
faassen | and they may be reusable, or they may not be, from grok. | 21:19 |
faassen | we will find out how many actions we need to define for our own purposes once we do it. | 21:19 |
faassen | and doing this will probably give us some data on which actions can be shared, all or few. | 21:20 |
*** shurik_ has joined #zope3-dev | 21:27 | |
*** shurik_ has left #zope3-dev | 21:28 | |
*** b52laptop has joined #zope3-dev | 21:31 | |
*** timte has joined #zope3-dev | 21:41 | |
*** rocky is now known as rocky|away | 21:44 | |
*** jfroche has joined #zope3-dev | 21:44 | |
*** b52laptop has quit IRC | 21:44 | |
*** jodok has joined #zope3-dev | 21:50 | |
*** deo has joined #zope3-dev | 21:51 | |
*** sm has quit IRC | 21:59 | |
*** sm has joined #zope3-dev | 21:59 | |
*** Ariel_Calzada has joined #zope3-dev | 22:04 | |
*** romanofski has joined #zope3-dev | 22:09 | |
*** jodok has left #zope3-dev | 22:11 | |
*** whit_ has joined #zope3-dev | 22:19 | |
*** whit has quit IRC | 22:19 | |
*** jfroche has quit IRC | 22:24 | |
*** RaFromBRC is now known as RaFromBRC|lunch | 22:29 | |
fcorrea | Hey, does anybody know if any event is sent when a Exception occurs in zope2.9? I want to write a event subscriber for this | 22:29 |
*** faassen has quit IRC | 22:30 | |
*** whit_ has quit IRC | 22:34 | |
*** whit has joined #zope3-dev | 22:39 | |
*** cursor has quit IRC | 22:41 | |
*** edgordon has joined #zope3-dev | 22:43 | |
*** natea|jazloft has quit IRC | 22:44 | |
*** t3h_sood has joined #zope3-dev | 22:54 | |
t3h_sood | Does zope3 go through some sort of special process while creating an object through an addForm, like, something extra that isn't just a constructor? | 22:56 |
*** Masood_ has joined #zope3-dev | 23:02 | |
*** dunny has joined #zope3-dev | 23:03 | |
* wiggy feels like killing the cheeseshop | 23:08 | |
* benji reports wiggy to the Very Clean Shop Homicide Squad. | 23:08 | |
wiggy | it's been down for hours now, but teasing me with being up for a few minutes occasionally | 23:09 |
*** t3h_sood has quit IRC | 23:11 | |
*** Masood_ is now known as t3h_sood | 23:11 | |
benji | wiggy: have you tried ppix? | 23:14 |
wiggy | I forgot how to use it | 23:14 |
benji | You can put "index = http://download.zope.org/ppix" in the [buildout] | 23:14 |
benji | section of your config. | 23:14 |
wiggy | does that work in ~/.buildout/default.cfg as well? | 23:15 |
*** ksmith99_ has joined #zope3-dev | 23:15 | |
*** edgordon has quit IRC | 23:16 | |
*** SteveA has quit IRC | 23:17 | |
*** regebro has left #zope3-dev | 23:17 | |
*** SteveA has joined #zope3-dev | 23:18 | |
*** SteveA has quit IRC | 23:22 | |
*** SteveA has joined #zope3-dev | 23:23 | |
*** t3h_sood has left #zope3-dev | 23:24 | |
benji | wiggy: should | 23:24 |
benji | Note that you may be as much as *one minute* out of date using ppix. <wink> | 23:25 |
*** greenman has joined #zope3-dev | 23:26 | |
fcorrea | What is the best way to create a hook for a error or if possible, send a event upon error? | 23:33 |
fcorrea | I am in zope2.9 and don | 23:33 |
fcorrea | don't want to put a notify statement in the middle of OFS.SimpleItem. Is there a way for doing this? | 23:33 |
*** natea|jazloft has joined #zope3-dev | 23:36 | |
*** malthe has joined #zope3-dev | 23:36 | |
*** andrew_m has quit IRC | 23:38 | |
*** norro_ has joined #zope3-dev | 23:42 | |
*** dunny has quit IRC | 23:45 | |
*** whit has quit IRC | 23:53 | |
*** RaFromBRC|lunch is now known as RaFromBRC | 23:54 | |
*** b52laptop has joined #zope3-dev | 23:57 | |
*** schwendinger has quit IRC | 23:59 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!