*** HakTom has joined #zope3-dev | 00:01 | |
*** flox has quit IRC | 00:06 | |
*** redir has quit IRC | 00:09 | |
*** dobee has joined #zope3-dev | 00:11 | |
*** dobee has quit IRC | 00:16 | |
*** waa has quit IRC | 00:23 | |
*** tomus has quit IRC | 00:38 | |
*** alga has quit IRC | 00:41 | |
*** timte has quit IRC | 00:43 | |
*** rlo has quit IRC | 01:09 | |
*** RaFromBRC is now known as RaFromBRC|away | 01:14 | |
*** schwendinger_ has quit IRC | 01:26 | |
*** harobed has quit IRC | 01:29 | |
*** RaFromBRC|away is now known as RaFromBRC | 01:29 | |
*** HakTom has quit IRC | 01:30 | |
*** lamike has quit IRC | 01:37 | |
*** b_52Free has quit IRC | 01:42 | |
*** b_52Free has joined #zope3-dev | 01:43 | |
*** rmarianski has quit IRC | 01:44 | |
*** reco has quit IRC | 01:55 | |
*** replaceafill has left #zope3-dev | 02:23 | |
*** tarek has left #zope3-dev | 02:24 | |
*** b_52Free has quit IRC | 02:28 | |
*** b_52Free has joined #zope3-dev | 02:29 | |
*** rocky is now known as rocky|Zzz | 02:40 | |
*** jfroche has quit IRC | 02:44 | |
*** jkakar has quit IRC | 02:47 | |
*** ccomb has quit IRC | 02:52 | |
*** b_52GM has joined #zope3-dev | 03:01 | |
*** jkakar has joined #zope3-dev | 03:01 | |
*** b_52Free has quit IRC | 03:03 | |
*** yota has quit IRC | 03:11 | |
*** b_52GM has quit IRC | 03:17 | |
*** xenru_ has joined #zope3-dev | 03:25 | |
*** deo has quit IRC | 03:26 | |
*** b_52GM has joined #zope3-dev | 03:36 | |
*** xenru has quit IRC | 03:39 | |
*** oferw has joined #zope3-dev | 04:00 | |
*** J1m has quit IRC | 04:03 | |
oferw | xenru_: awake? | 04:21 |
---|---|---|
*** MiUlEr has joined #zope3-dev | 04:25 | |
*** xenru has joined #zope3-dev | 04:33 | |
*** xenru_ has quit IRC | 04:33 | |
*** MiUlEr has quit IRC | 04:34 | |
*** MiUlEr has joined #zope3-dev | 04:34 | |
*** projekt01 has quit IRC | 04:38 | |
*** RaFromBRC has quit IRC | 04:39 | |
*** oferw has quit IRC | 04:44 | |
*** MiUlEr has quit IRC | 04:53 | |
*** b_52GM has quit IRC | 04:54 | |
*** b_52GM has joined #zope3-dev | 04:55 | |
*** xenru has quit IRC | 04:56 | |
*** niemeyer has quit IRC | 05:07 | |
*** jkakar has quit IRC | 05:30 | |
*** jkakar has joined #zope3-dev | 05:35 | |
*** b_52GM has quit IRC | 05:43 | |
*** b_52GM has joined #zope3-dev | 05:46 | |
*** stub has joined #zope3-dev | 06:04 | |
*** b_52GM has quit IRC | 06:32 | |
*** b_52GM has joined #zope3-dev | 06:32 | |
*** baijum has joined #zope3-dev | 06:42 | |
*** stub has quit IRC | 06:50 | |
*** stub has joined #zope3-dev | 06:52 | |
*** stub has quit IRC | 06:56 | |
*** stub has joined #zope3-dev | 07:05 | |
*** whit has quit IRC | 07:11 | |
*** b_52GM has quit IRC | 07:27 | |
*** b_52GM has joined #zope3-dev | 07:28 | |
*** eins has joined #zope3-dev | 08:06 | |
*** dobee has joined #zope3-dev | 08:08 | |
*** alecm has quit IRC | 08:10 | |
WebMaven | What determines whether, when adding an object, a 'name' form field appears in the container? | 08:13 |
*** timte has joined #zope3-dev | 08:16 | |
*** dlk has joined #zope3-dev | 08:25 | |
*** timte_ has joined #zope3-dev | 08:28 | |
*** dobee has quit IRC | 08:37 | |
*** zagy has joined #zope3-dev | 08:53 | |
*** dobee has joined #zope3-dev | 09:08 | |
*** zagy has quit IRC | 09:11 | |
*** zagy has joined #zope3-dev | 09:11 | |
*** d2m has joined #zope3-dev | 09:13 | |
*** dlk has left #zope3-dev | 09:13 | |
*** dlk has joined #zope3-dev | 09:16 | |
*** wrobel has joined #zope3-dev | 09:26 | |
*** dobee has quit IRC | 09:32 | |
*** alecm has joined #zope3-dev | 09:33 | |
*** philiKON_ has joined #zope3-dev | 09:35 | |
romanofski | moin | 09:37 |
*** srichter has joined #zope3-dev | 09:47 | |
WebMaven | srichter: Back again, I see. | 09:49 |
*** philiKON has quit IRC | 09:50 | |
*** hdima has joined #zope3-dev | 09:51 | |
*** schwendinger has joined #zope3-dev | 09:52 | |
*** ChanServ sets mode: +o srichter | 09:52 | |
*** jodok has quit IRC | 09:52 | |
*** dlk has quit IRC | 09:55 | |
*** opetznick has joined #zope3-dev | 09:58 | |
*** jkakar has quit IRC | 10:09 | |
*** dobee has joined #zope3-dev | 10:12 | |
WebMaven | srichter: OK, I got your email. | 10:15 |
*** harobed has joined #zope3-dev | 10:16 | |
*** sureshvv has joined #zope3-dev | 10:16 | |
WebMaven | srichter: the bug in the version attached to the email you replied to was fixed in the version I sent six hours later. | 10:17 |
srichter | ok | 10:18 |
WebMaven | So, the message objects can only be added inside a SQLAlchemy container. | 10:19 |
WebMaven | Since you don't consider the import changes an improvement, I can put them back. | 10:19 |
srichter | it's ok, I have my version on my system | 10:20 |
srichter | I am pretty much done with my example, so I have no further interest looking into this; I just know I would not develop this way | 10:21 |
*** sureshvv has quit IRC | 10:21 | |
WebMaven | Well, what do you think of constraining the containment, then? | 10:21 |
WebMaven | Ah. OK. | 10:21 |
srichter | It is not transparent enough at this stage; Maybe I should have a look at sqlos | 10:21 |
*** dlk has joined #zope3-dev | 10:21 | |
WebMaven | Did you look at the two examples I wrote? | 10:22 |
srichter | no, I have no time this week | 10:23 |
WebMaven | I have no clue what's going on with the second one, but if you could look at the small UI bug in the first one I'd be very grateful. | 10:23 |
WebMaven | I don't know why the name-choosing form field reappeared. | 10:23 |
WebMaven | this is the latest version of rogue.za_example_1 | 10:24 |
WebMaven | BTW, I got very frustrated with SQLOS/SQLObject, it has bugs when you don't follow the database column naming conventions, which are *supposed* to be overridable, but you apparently can't override the naming of the id column of you have FK relationships between tables. | 10:27 |
WebMaven | This was about six months ago. Maybe these bugs have been fixed. | 10:28 |
WebMaven | But at least SQLOS had an example. ;-) | 10:29 |
*** jodok has joined #zope3-dev | 10:30 | |
harobed | srichter: you are here ? | 10:30 |
*** matthewrevell has joined #zope3-dev | 10:31 | |
srichter | yes | 10:33 |
*** HakTom has joined #zope3-dev | 10:33 | |
*** b_52Free has joined #zope3-dev | 10:33 | |
*** b_52GM has quit IRC | 10:35 | |
*** sureshvv has joined #zope3-dev | 10:39 | |
*** jodok has quit IRC | 10:47 | |
*** jfroche has joined #zope3-dev | 10:47 | |
*** yota has joined #zope3-dev | 10:48 | |
*** stu1 has joined #zope3-dev | 10:48 | |
*** lamike has joined #zope3-dev | 10:56 | |
*** dobee has quit IRC | 10:56 | |
*** dobee has joined #zope3-dev | 10:56 | |
*** hdima has quit IRC | 11:01 | |
*** jodok has joined #zope3-dev | 11:04 | |
*** stub has quit IRC | 11:06 | |
harobed | srichter: I wonder why my post in zope3-dev about README in root svn directory isn't commented :( | 11:30 |
srichter | harobed: could be one of two reasons: (a) people think it is not interesting to them, or/and (b) they have no strong objection | 11:34 |
*** tonico|away is now known as tonico | 11:34 | |
srichter | harobed: people are usually really busy, so they only respond to messages that push their button | 11:34 |
*** timte_ has quit IRC | 11:35 | |
*** henri_ has joined #zope3-dev | 11:35 | |
harobed | srichter: ok, I know but I haven't svn access then I can't commit this README file | 11:35 |
harobed | I think this README can be very useful for zope3 newbies users | 11:37 |
*** jinty has joined #zope3-dev | 11:38 | |
srichter | ok, I'll look into it over the weekend, I just cannot do it now | 11:38 |
harobed | thanks | 11:39 |
*** tarek has joined #zope3-dev | 11:47 | |
*** kobold has joined #zope3-dev | 11:52 | |
*** dunny has quit IRC | 12:04 | |
*** HakTom has quit IRC | 12:11 | |
*** borax has joined #zope3-dev | 12:14 | |
*** b_52Free has quit IRC | 12:18 | |
*** b_52Free has joined #zope3-dev | 12:19 | |
*** b_52Free has quit IRC | 12:20 | |
*** norro has joined #zope3-dev | 12:24 | |
*** tarek_ has joined #zope3-dev | 12:27 | |
*** norro has quit IRC | 12:27 | |
*** tarek has quit IRC | 12:36 | |
*** b_52Free has joined #zope3-dev | 12:37 | |
*** ccomb has joined #zope3-dev | 12:46 | |
*** stu1 has quit IRC | 12:51 | |
*** stub has joined #zope3-dev | 12:51 | |
*** vlado has joined #zope3-dev | 12:55 | |
*** henri_ has quit IRC | 12:55 | |
*** sureshvv has quit IRC | 12:58 | |
*** henri_ has joined #zope3-dev | 13:00 | |
*** niemeyer has joined #zope3-dev | 13:06 | |
*** tonico has quit IRC | 13:10 | |
*** tonico has joined #zope3-dev | 13:15 | |
*** J1m has joined #zope3-dev | 13:23 | |
*** harobed_ has joined #zope3-dev | 13:29 | |
*** niemeyer has quit IRC | 13:34 | |
*** niemeyer has joined #zope3-dev | 13:35 | |
*** WebMaven has quit IRC | 13:37 | |
*** tarek_ has quit IRC | 13:38 | |
ccomb | Is there a reason why __init__ constructors and their docstring are not documented automatically by the ++apidoc++ ? | 13:43 |
ccomb | for ex, the SimpleTerm class has the following constructor __init__(self, value, token=None, title=None) and the following docstring : """Create a term for value and token. If token is omitted, str(value) is used for the token. If title is provided, term implements ITitledTokenizedTerm.""" | 13:45 |
ccomb | But I had to look at the source code to find it | 13:45 |
ccomb | It's important documentation, but it is not visible. Or did I miss something ? | 13:48 |
*** borax has quit IRC | 14:08 | |
*** nathany has joined #zope3-dev | 14:22 | |
*** J1m has quit IRC | 14:29 | |
*** b_52Free has quit IRC | 14:40 | |
*** b_52Free has joined #zope3-dev | 14:40 | |
*** andrew_m2 has joined #zope3-dev | 15:05 | |
*** andrew_m has quit IRC | 15:05 | |
*** andrew_m2 is now known as andrew_m | 15:05 | |
*** harobed_ has quit IRC | 15:08 | |
*** ignas has joined #zope3-dev | 15:13 | |
*** baijum has quit IRC | 15:41 | |
*** henri_ has left #zope3-dev | 15:56 | |
*** rocky|Zzz is now known as rocky | 16:01 | |
*** tarek has joined #zope3-dev | 16:10 | |
*** J1m has joined #zope3-dev | 16:23 | |
*** schwendinger_ has joined #zope3-dev | 16:27 | |
*** jodok has quit IRC | 16:29 | |
*** dobee_ has joined #zope3-dev | 16:29 | |
*** schwendinger_ has quit IRC | 16:29 | |
*** schwendinger has quit IRC | 16:29 | |
*** jodok has joined #zope3-dev | 16:29 | |
*** schwendinger has joined #zope3-dev | 16:30 | |
*** tonico is now known as tonico|away | 16:30 | |
*** dobee has quit IRC | 16:30 | |
*** dobee_ has quit IRC | 16:35 | |
*** mkerrin has joined #zope3-dev | 16:37 | |
*** tarek_ has joined #zope3-dev | 16:47 | |
*** faassen has joined #zope3-dev | 16:49 | |
*** stub has quit IRC | 16:51 | |
*** eins has quit IRC | 16:55 | |
*** tarek has quit IRC | 16:55 | |
*** ccomb has left #zope3-dev | 17:00 | |
*** ccomb has joined #zope3-dev | 17:01 | |
*** dlk has left #zope3-dev | 17:03 | |
*** mgedmin has joined #zope3-dev | 17:09 | |
*** rmarianski has joined #zope3-dev | 17:20 | |
*** redir has joined #zope3-dev | 17:27 | |
*** nathany has quit IRC | 17:45 | |
*** jodok has quit IRC | 17:45 | |
*** nathany has joined #zope3-dev | 17:58 | |
*** regebro_ has joined #zope3-dev | 18:03 | |
*** regebro_ is now known as regebro | 18:07 | |
mgedmin | I would like to commit a couple of bugfixes to the zope 3 test runner (bare except: clauses that trap KeyboardInterrupts) | 18:08 |
mgedmin | however if I try to run the testrunner tests in a Zope 3 svn checkout with ./test.py -s zope.testing, I get 0 tests | 18:09 |
mgedmin | what am I doing wrong? | 18:09 |
*** dobee has joined #zope3-dev | 18:09 | |
mgedmin | not setting the PYTHONPATH correctly, most likely | 18:12 |
*** srichter has quit IRC | 18:15 | |
*** srichter has joined #zope3-dev | 18:16 | |
*** whit has joined #zope3-dev | 18:17 | |
*** replaceafill has joined #zope3-dev | 18:21 | |
*** vlado has quit IRC | 18:36 | |
*** dobee has quit IRC | 18:43 | |
*** dobee has joined #zope3-dev | 18:53 | |
*** dobee has quit IRC | 18:59 | |
*** replaceafill has quit IRC | 19:04 | |
*** jinty has quit IRC | 19:11 | |
*** harobed has quit IRC | 19:18 | |
*** grahal has quit IRC | 19:22 | |
*** deo has joined #zope3-dev | 19:24 | |
*** ignas has quit IRC | 19:31 | |
*** matthewrevell has quit IRC | 19:32 | |
*** grahal has joined #zope3-dev | 19:35 | |
*** grahal has quit IRC | 19:35 | |
*** jkakar has joined #zope3-dev | 19:40 | |
*** jkakar has joined #zope3-dev | 19:40 | |
*** matthewrevell has joined #zope3-dev | 19:43 | |
*** rmarianski has quit IRC | 19:56 | |
*** grahal has joined #zope3-dev | 19:56 | |
*** rmarianski has joined #zope3-dev | 19:56 | |
*** jfroche has quit IRC | 20:00 | |
*** redir has quit IRC | 20:03 | |
* mgedmin tries to remember if there's a way to list all names adapters from IFoo to IBar | 20:04 | |
*** RaFromBRC has joined #zope3-dev | 20:08 | |
*** Aiste has quit IRC | 20:09 | |
*** philiKON_ is now known as philiKON | 20:11 | |
ccomb | getAdapters ? | 20:11 |
mgedmin | it doesn't mention anything about names | 20:13 |
mgedmin | I could loop through absolutely all adapter registrations and filter, but that seems so inelegant | 20:14 |
mgedmin | what I actually need is a set of adapters with the same name, and I want the name to be choosable from the UI | 20:14 |
*** lamike has quit IRC | 20:14 | |
mgedmin | I think I'll go with utilities that describe the set and provide some additional information (e.g. description) | 20:15 |
ccomb | you have several adapters to the same interface with the same name ? | 20:15 |
ccomb | for the same object ? | 20:15 |
mgedmin | no, I have several adapters to the same interface with different names for the same object | 20:16 |
ccomb | ok | 20:16 |
mgedmin | and my "set of adapters" are adapters to different interfaces, but with the same name | 20:16 |
ccomb | ah | 20:18 |
ccomb | maybe components.registerAdapter | 20:19 |
ccomb | no | 20:19 |
ccomb | components.registeredAdapters | 20:19 |
ccomb | look at zope.component.registry.txt in the section adapters | 20:20 |
*** dunny has joined #zope3-dev | 20:27 | |
*** Aiste has joined #zope3-dev | 20:28 | |
*** mkerrin has quit IRC | 20:32 | |
ccomb | if I do getUtility(IFoo, 'name', context) and context is not locatable | 20:44 |
ccomb | I won't be able to get my utility, right ? | 20:44 |
*** jodok has joined #zope3-dev | 20:45 | |
mgedmin | if the utility is a local one, then probably not | 20:45 |
mgedmin | but if you're calling getUtility while processing a request you don't need to pass context to it | 20:46 |
mgedmin | it will look in the current site | 20:46 |
ccomb | I'm in a Source | 20:46 |
ccomb | and I can't get my local utility | 20:46 |
mgedmin | what's the context that gets passed to the source? | 20:50 |
ccomb | in the source, the context is my AnnotationCategorizable adapter | 20:50 |
ccomb | that adapts any IAnnotationCategorizable object to my ICategories | 20:51 |
ccomb | huh, actually I should have called it AnnotationCategories | 20:52 |
mgedmin | you may want to have the adapter's __init__ set self.__parent__ = context | 20:54 |
mgedmin | that will also let any local permission grants take effect | 20:55 |
ccomb | aaaah, maybe ! thanks, I'll try | 20:55 |
ccomb | and I was obliged to set the adapter trusted, what I didn't like | 20:56 |
*** tarek_ has quit IRC | 20:56 | |
mgedmin | two different things | 20:57 |
mgedmin | trusted adapter has an unproxied self.context and can do anything it likes with it | 20:58 |
ccomb | my adapter needs to write in __annotations__ | 20:58 |
mgedmin | but the adapter itself is then wrapped in a proxy, and you therefore need to provide permission declarations for the adapter class, *and* set the adapter's __parent__ so that local permission grants work | 20:58 |
mgedmin | untrusted adapters are zope.Public by default (IIRC) so you do not need to worry about security declarations and __parent__, but anything you want to get from self.context must be allowed by the security declarations on the context class | 20:59 |
mgedmin | the traditional pattern is that when you create an adapter that accesses context's annotations you make it a trusted adapter | 20:59 |
*** srichter has quit IRC | 21:00 | |
*** tomus has joined #zope3-dev | 21:11 | |
*** jamesh has quit IRC | 21:14 | |
*** jamesh has joined #zope3-dev | 21:16 | |
*** norro has joined #zope3-dev | 21:29 | |
*** b_52Centos has joined #zope3-dev | 21:35 | |
*** b_52Free has quit IRC | 21:37 | |
*** WebMaven has joined #zope3-dev | 21:38 | |
*** b_52Free has joined #zope3-dev | 21:39 | |
*** natea is now known as natea|away | 21:41 | |
*** grahal has quit IRC | 22:02 | |
*** b_52Centos has quit IRC | 22:04 | |
*** faassen has quit IRC | 22:05 | |
*** rocky is now known as rocky|away | 22:15 | |
*** schwendinger has quit IRC | 22:24 | |
*** benji has joined #zope3-dev | 22:25 | |
*** b_52GM has joined #zope3-dev | 22:25 | |
*** CSWookie has joined #zope3-dev | 22:25 | |
benji | anyone know why the tests are failing? | 22:26 |
*** schwendinger has joined #zope3-dev | 22:30 | |
benji | ahh, in a different message, Adam Groszer fessed up and said that he wouldn't be able to fix it until tomorrow | 22:32 |
mgedmin | anyone knows why ./test.py -s zope.testing in a z3 checkout finds 0 tests? | 22:36 |
*** jamesh has quit IRC | 22:40 | |
*** jamesh has joined #zope3-dev | 22:41 | |
benji | that's a good question, mgedmin :) | 22:43 |
mgedmin | here's a simple one: how much tests do you see if you run that command? | 22:43 |
mgedmin | is it my setup, or something more sinister? | 22:44 |
benji | % python ./test.py -s zope.testing | 22:44 |
benji | Total: 0 tests, 0 failures, 0 errors | 22:44 |
*** b_52Free has quit IRC | 22:44 | |
mgedmin | not my fault then | 22:46 |
benji | mgedmin: if you create an instance and run bin/test -s zope.testing, it should work | 22:46 |
* mgedmin does not like instances | 22:46 | |
mgedmin | for development, that is, I quite like them for deployment | 22:47 |
mgedmin | my preferred work cycle is simple: check out; hack; run tests; commit | 22:47 |
mgedmin | another silly question: if I do run the tests manually with PYTHONPATH=src python src/zope/testing/tests.py | 22:48 |
mgedmin | I see 4 failures | 22:48 |
benji | yeah, I don't like instances either | 22:49 |
mgedmin | does anyone else see them? | 22:49 |
benji | checking | 22:49 |
benji | yep, I see four as well | 22:50 |
benji | mgedmin: let me guess, you're running with Python 2.4.4 | 22:52 |
mgedmin | yes, probably | 22:52 |
mgedmin | differences in traceback formatting? | 22:52 |
*** matthewrevell has quit IRC | 22:52 | |
benji | differences in formatting, but not tracebacks I don't think | 22:53 |
*** natea|away is now known as natea | 22:54 | |
ccomb | I'm fed up with /me not beeing able to get his utility | 22:54 |
mgedmin | one of the failures is due to an extra function call in unittest.py | 22:56 |
benji | mgedmin: they pass when run with 2.4.3 | 22:56 |
mgedmin | so, if I fixed the tests with 2.4.4 and committed, would a buildbot notice that I broke 2.4.3? | 22:57 |
mgedmin | do zope 3 buildbots use instances for testing? | 22:57 |
mgedmin | (my first question presupposes that I (accidentally, of course) break the tests with 2.4.3) | 22:58 |
mgedmin | (I have no intention of breaking things for 2.4.3) | 22:58 |
*** schwendinger has quit IRC | 23:00 | |
benji | mgedmin: I bleive so, but it's very likely you'll break 2.4.3, so I would recommend testing for youself; unfortuanately that bit of text matching is very brittle, so it would also be best if you tested with several flavors of 2.4 and 2.3 :( | 23:01 |
mgedmin | talk about barriers for entry :( | 23:01 |
* mgedmin has python 2.4.1 handy on a debian machine | 23:02 | |
benji | apparently very few people depend on consistency between Python point releases for those particular messages, they seem to change with each release | 23:02 |
mgedmin | should the test runner care? A judicious application of ELLIPSIS or the normalizer would help, I think | 23:03 |
mgedmin | is 2.3 important for zope.testing? IIRC zope 3 as a whole started requiring 2.4 a while ago | 23:03 |
benji | it might; I think there is already some normalizing going on | 23:04 |
benji | right, Z3 requires 2.4, but zope.testing works on 2.3 | 23:04 |
*** mgedmin has quit IRC | 23:12 | |
*** d2m has quit IRC | 23:19 | |
*** opetznick has quit IRC | 23:32 | |
*** rocky|away is now known as rokcy | 23:34 | |
*** rokcy is now known as rocky | 23:34 | |
*** benji has quit IRC | 23:35 | |
*** benji has joined #zope3-dev | 23:35 | |
*** RaFromBRC is now known as RaFromBRC|lunch | 23:37 | |
*** hazmat has joined #zope3-dev | 23:41 | |
*** ChanServ sets mode: +o hazmat | 23:41 | |
*** ksmith99 has joined #zope3-dev | 23:41 | |
*** marcin_ant has joined #zope3-dev | 23:41 | |
*** ofer has joined #zope3-dev | 23:43 | |
*** benji has quit IRC | 23:44 | |
*** ofer has quit IRC | 23:44 | |
*** jfroche has joined #zope3-dev | 23:45 | |
*** ktwilight_ has joined #zope3-dev | 23:49 | |
*** ktwilight has quit IRC | 23:50 | |
*** ktwilight_ is now known as ktwilight | 23:50 | |
*** schwendinger_ has joined #zope3-dev | 23:53 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!