IRC log of #zope3-dev for Thursday, 2005-11-10

*** yutakashino has quit IRC00:03
*** benji has joined #zope3-dev00:07
*** BjornT has joined #zope3-dev00:10
*** tarek_ has quit IRC00:11
*** tarek has joined #zope3-dev00:11
*** sashav has quit IRC00:17
*** bradb_ has quit IRC00:20
*** xenru|clone has joined #zope3-dev00:21
*** xenru has quit IRC00:33
*** bradb_ has joined #zope3-dev00:33
*** anguenot is now known as _anguenot00:53
*** natea is now known as natea|around00:56
*** gumpa has quit IRC00:59
*** BjornT has quit IRC01:17
*** BjornT has joined #zope3-dev01:17
*** benji has quit IRC01:37
*** dobee has quit IRC01:56
*** niemeyer has quit IRC02:06
*** niemeyer has joined #zope3-dev02:06
*** yota has quit IRC02:27
*** j1m has quit IRC02:38
*** j1m has joined #zope3-dev02:39
*** SteveA has joined #zope3-dev02:41
*** natea|around is now known as natea|away02:43
*** jinty has quit IRC03:14
*** bradb_ has quit IRC03:16
*** bob2_ is now known as bob2_ari03:19
*** andres has quit IRC03:24
*** bob2_ari is now known as bob203:28
*** SteveA has quit IRC03:34
*** BjornT has quit IRC03:35
*** stu1 has quit IRC03:36
*** j1m has quit IRC04:00
*** JoaoJoao has joined #zope3-dev04:19
*** zbir has quit IRC04:24
*** tarek has quit IRC04:56
*** tarek has joined #zope3-dev04:59
*** MiUlEr has joined #zope3-dev05:03
*** alga has quit IRC05:04
*** JoaoJoao has quit IRC05:17
*** zbir has joined #zope3-dev05:39
*** niemeyer has quit IRC06:30
*** sashav has joined #zope3-dev06:30
*** _anguenot has quit IRC06:55
*** SteveA has joined #zope3-dev07:12
*** natea|away has quit IRC07:19
*** natea has joined #zope3-dev07:23
*** fabiorizzo has joined #zope3-dev07:32
*** MiUlEr has quit IRC07:45
*** SteveA has quit IRC07:48
*** fabiorizzo is now known as fabiorizzo-ZZzz08:10
*** tarek has quit IRC08:12
*** dobee has joined #zope3-dev08:23
*** sashav has quit IRC08:39
*** hdima has joined #zope3-dev09:17
*** dobee has quit IRC09:19
*** Aiste has quit IRC09:41
*** agroszer has joined #zope3-dev09:44
*** dobee has joined #zope3-dev09:47
*** sm-afk has quit IRC09:48
*** xenru|clone has quit IRC10:04
*** MJ has quit IRC10:09
*** sashav has joined #zope3-dev10:32
*** yota has joined #zope3-dev11:14
*** MJ has joined #zope3-dev11:14
*** MrTopf has joined #zope3-dev11:29
*** tarek has joined #zope3-dev11:33
*** tarek_ has joined #zope3-dev11:33
*** tarek has quit IRC11:33
*** tarek_ has quit IRC11:33
*** tarek has joined #zope3-dev11:33
*** agroszer_ has joined #zope3-dev11:38
*** agroszer has quit IRC11:38
*** agroszer_ is now known as agroszer11:39
*** vlado has joined #zope3-dev11:43
*** vlado has quit IRC11:44
*** agroszer_ has joined #zope3-dev12:02
*** agroszer has quit IRC12:02
*** mkerrin has joined #zope3-dev12:16
*** philiKON has joined #zope3-dev12:34
*** JoaoJoao has joined #zope3-dev12:36
*** sashav has quit IRC12:39
*** sashav has joined #zope3-dev12:43
*** ignas has joined #zope3-dev12:47
*** JoaoJoao has quit IRC12:55
*** faassen has joined #zope3-dev12:57
*** projekt01 has joined #zope3-dev13:15
*** projekt01 has quit IRC13:27
*** mgedmin has joined #zope3-dev13:40
*** alga has joined #zope3-dev13:57
*** srichter has quit IRC14:12
*** MJ has quit IRC14:23
*** xenru has joined #zope3-dev14:26
*** MJ has joined #zope3-dev14:31
*** faassen has left #zope3-dev14:31
*** faassen has joined #zope3-dev14:32
*** JoaoJoao has joined #zope3-dev14:41
*** hdima has quit IRC14:51
*** srichter has joined #zope3-dev15:00
*** dobee has quit IRC15:23
*** dobee has joined #zope3-dev15:26
*** Aiste has joined #zope3-dev15:53
*** efge has joined #zope3-dev15:54
*** jinty has joined #zope3-dev15:54
*** bradb_ has joined #zope3-dev15:57
*** drzoltron_ has joined #zope3-dev16:06
drzoltron_are skin-layers deprecated in 3.1 ?16:06
*** BjornT has joined #zope3-dev16:07
drzoltron_I get this one here: ConfigurationError: ('Unknown directive', u'', u'layer')16:07
philiKONbrowser:layer :)16:08
drzoltron_it's called namespaces, philiKON16:08
philiKONah, wait, you're using the browser namesapce16:08
drzoltron_http://namespaceSSSSS ;916:08
drzoltron_need some oxygen in this room !!16:08
drzoltron_nice book btw, philiKON ;)16:08
*** benji has joined #zope3-dev16:16
*** dlk has joined #zope3-dev16:27
*** xenru|clone has joined #zope3-dev16:28
*** xenru has quit IRC16:28
drzoltron_Is it right that "" in app.rotterdam is the base template of the skin ?16:31
*** ChanServ sets mode: +o srichter16:52
*** philiKON has quit IRC16:53
*** BjornT has quit IRC16:54
*** dlk has quit IRC16:58
*** drzoltron_ has quit IRC17:03
*** BjornT has joined #zope3-dev17:13
*** sm has joined #zope3-dev17:15
*** agroszer_ is now known as agroszer17:21
agroszersrichter: ayt?17:22
srichteragroszer: not really17:32
srichterwhat do you have?17:32
*** philiKON has joined #zope3-dev17:32
agroszerI think I solved the CustomSequenceWidgetFactory widget no problem, I can wait17:33
agroszershould I make the diff'17:33
agroszers and send to you?17:34
*** MJ has quit IRC17:34
srichteror actually attach the diff to the bug collector entry17:34
agroszerI think you should see it first :-)17:34
*** sashav has quit IRC17:36
*** zagy has quit IRC17:38
*** zagy has joined #zope3-dev17:42
*** BjornT_ has joined #zope3-dev17:43
*** dobee has quit IRC17:45
*** natea is now known as natea|away17:47
*** tlotze has quit IRC17:48
*** BjornT has quit IRC17:49
*** alga has quit IRC18:06
*** MJ has joined #zope3-dev18:10
philiKONhey MJ18:12
*** jim__ has joined #zope3-dev18:16
* MJ coughs loudly18:19
*** jim__ has joined #zope3-dev18:20
* MJ croaks "Hi"18:20
*** jim__ has quit IRC18:20
*** jim__ has joined #zope3-dev18:20
*** jim__ has left #zope3-dev18:20
*** yutakashino has joined #zope3-dev18:20
*** j1m has joined #zope3-dev18:21
*** j1m has joined #zope3-dev18:21
j1msrichter, ayt?18:22
srichterj1m: yeah18:27
*** SteveA has joined #zope3-dev18:34
*** stub has joined #zope3-dev18:35
*** stub has quit IRC18:38
*** BjornT_ has quit IRC18:38
*** BjornT has joined #zope3-dev18:38
*** lifeless has joined #zope3-dev18:42
lifelessj1m: hows your test stuff rework going ?18:43
*** SteveA has quit IRC18:57
*** SteveA has joined #zope3-dev18:59
*** philiKON has quit IRC19:02
*** sashav has joined #zope3-dev19:15
*** drzoltron_ has joined #zope3-dev19:24
drzoltron_is there something like a customization policy in z3 ?19:24
*** natea|away is now known as natea19:25
nateacustomization policy is for configuring a Plone site19:29
nateadrzoltron_, i think the preferred way to do it will be to use CMFSetup and XML19:29
*** stub has joined #zope3-dev19:31
drzoltron_natea: hi :)19:31
drzoltron_natea: I know, but it could be that Z3 learned from plone ;)19:31
nateaask tresequis in #goldegg19:32
nateayou doing a lot of z3 these days?19:32
drzoltron_natea: ok, will19:33
drzoltron_natea: yeah, the digital museum of copenhagen19:33
nateawow, cool19:33
drzoltron_I use Z3 as a frontend for pgsql but it's still cool ;)19:33
nateais the site live yet?19:33
drzoltron_natea: not for you ;)19:34
drzoltron_we skinned today and will have a first prototype on monday19:34
drzoltron_but theres still a long way ... have to crank up the geoservers, imageservers and thinkmap19:34
nateai'm using pgsql together with plonepas19:34
nateaso there is a gis component to the project as well?19:35
drzoltron_pgsql is very cool ...19:35
drzoltron_absolutely, otherwise I wouldn't participate19:35
*** benji has left #zope3-dev19:42
*** benji has joined #zope3-dev19:42
*** faassen has quit IRC19:48
*** mp has quit IRC20:03
*** natea has quit IRC20:11
*** MrTopf has quit IRC20:11
*** fabiorizzo-ZZzz is now known as fabiorizzo20:12
*** MrTopf has joined #zope3-dev20:19
*** zbir has quit IRC20:23
*** mp has joined #zope3-dev20:28
*** zbir has joined #zope3-dev20:28
*** JoaoJoao has quit IRC20:32
*** mkerrin has quit IRC20:36
*** BjornT has quit IRC20:36
*** bradb_ has quit IRC20:37
*** alga has joined #zope3-dev20:37
*** tav_ has joined #zope3-dev20:42
*** tav__ has joined #zope3-dev20:49
*** efge has quit IRC20:55
*** MrTopf has quit IRC20:56
*** tav has quit IRC20:56
*** tarek has quit IRC20:58
*** tav_ has quit IRC21:03
benjiwould anyone here cosider it a bug that if an adapter returns None, a ComponentLookupError will be raised indicating that the adapter (that did indeed run) couldn't be found?21:04
mgedminI thought that was a feature21:08
mgedminit lets you write adapters from IFoo to IBar that work only on a subset of IFoos21:09
mgedminand use them like my_bar = IBar(my_foo, some_default_value)21:09
mgedminso that my_bar would be set to some_default_value if the adapter discovers it cannot really adapt21:09
benjimgedmin, <shrug> I think this is the second time it's bit me, sometimes you just want an adapter that does all the work and doesn't return anything, and in Python, if you don't do an explicit return you get None :/21:14
benjiif that's really a "feature" we want, adapters should instead raise some sort of "opps, I don't really handle these objects" exception21:15
srichteran adapter lookup should not do work21:18
srichterfor those scenarios we have subscribers21:18
benjihmm, we've done that in a couple places and I haven't heard any complaints (even from Jim, but he might no know :) )21:19
srichteryeah, I am sure he does not know :-)21:22
*** natea has joined #zope3-dev21:24
*** JoaoJoao has joined #zope3-dev21:26
*** dman13 has joined #zope3-dev21:29
*** ignas has quit IRC21:31
*** bradb_ has joined #zope3-dev21:36
*** BjornT has joined #zope3-dev21:38
*** agroszer has quit IRC21:38
*** drzoltron_ has quit IRC21:40
*** Laaapin has joined #zope3-dev21:42
Laaapini have a simple question21:42
Laaapini created a site with a database adapter as a tool21:43
Laaapini'd like to connect to the database adapter with a script21:43
j1mlifeless, I'm pretty much done for now.21:46
j1msrichter, have you tried out the test language yet?21:46
mgedminwhat's the test language?21:47
j1mTry ++lang++test21:47
j1min a url21:47
j1mIt shows you what's being translated and with what domain and message id.21:48
j1mGood for spotting/testing i18n bugs.21:48
*** JoaoJoao has quit IRC22:01
srichterno, I have not tried it yet22:02
*** hazmat has joined #zope3-dev22:03
*** ChanServ sets mode: +o hazmat22:03
mgedminwow, sounds cool22:14
* mgedmin runs to svn up22:14
*** lunatik has joined #zope3-dev22:19
srichterj1m: that's hilarious22:19
*** lunatik has left #zope3-dev22:19
*** zbir has quit IRC22:31
*** mgedmin has quit IRC22:36
*** zbir has joined #zope3-dev22:38
j1msrichter, hilarious?22:39
j1mHow about informative? :)22:40
srichterit just looks really funny22:41
j1mThat's part of the appeal.22:42
*** natea has quit IRC22:42
j1mAnything that doesn't look strange should stand out.22:42
j1mEither it's something that should have been i18ned and hasn't or it's content.22:43
srichterI wish it would allow inserting markup22:43
*** mp has quit IRC22:44
j1msrichter, what do you mean?22:46
*** Aiste has quit IRC22:47
srichterlike all translated strings should be green or another light color22:48
srichterso that the untranslated strings, which are usually black will be really visible22:48
*** projekt01 has joined #zope3-dev22:49
j1mI tried to pick markup that stands out a lot.22:54
j1mThere are a lot of interseting things that it highlights.22:54
j1mmultiple translations22:54
j1mtendency to give things that don't have domains the zope domain.22:55
j1mYou should try it w ST22:55
*** dobee has joined #zope3-dev22:58
*** GaryPoster has joined #zope3-dev22:58
*** fabiorizzo has quit IRC23:00
*** GaryPoster has quit IRC23:01
*** Aiste has joined #zope3-dev23:01
*** GaryPoster has joined #zope3-dev23:02
lifelessj1m: cool23:06
lifelessj1m: where did you get up to ?23:06
srichterj1m: yeah, I will try it with ST and see where we mess up :-)23:08
*** dobee has quit IRC23:11
*** lunatik has joined #zope3-dev23:13
*** lunatik has left #zope3-dev23:14
*** alga has quit IRC23:18
*** dobee has joined #zope3-dev23:26
j1mlifeless, see the text files in
j1mNote that I didn't work on any of the stuff y'all wanted.  I assumed that y'all would do those.23:27
j1mThe new test runner is being used in z3, z2, and zodb23:27
lifelessso I'm going to be doing a bunch of things23:28
lifelessmore than previously discussed23:28
lifelesswhat are the criteria for you, for those to be accepted in to the zope runner23:28
j1mThey should be sane and they must have doctests.23:31
*** GaryPoster has quit IRC23:32
lifelessyou dont do unittests anymore at all ?23:33
j1mI don't.23:33
j1mSome people do.23:33
lifelessI find doctests quite annoying for the degree of testing I usually do, though I'm happy to write them *as well*.23:33
j1mWell, I do when I have to update an old test that's a unit test.23:34
j1mWhy do you find them annoying?23:34
lifelessIts hard to express succintly, I need to find a way to do that23:34
j1mI'm not necessarily stuck on doctests.23:35
j1mI am stuck on documentation-based tests.23:35
lifelessit has to do with intent, and clarity, and interactive debug support, and reuusing test contexts.23:35
j1mI've got a copy of the FIT testing book to read.23:35
j1mdoctests have pretty good debugging support at this time, I think.23:35
lifelessone thing I'd like to do is a more fluid choice of doctest/unittest in tests.23:35
j1mThey support post-mortem debugging and pdb.set_trace() debugging.23:36
lifelessbecause I think that doctests *are* good for documenting the api.23:36
lifelesshow modular is the testrunner - can I drop it into an existing, older z3 and have it JustWork ?23:37
j1mI have less problem with using init tests for edge cases.23:37
j1myes and no.23:37
lifelesswhat do you mean by 'init tests' ?23:37
lifelessah. :)23:38
j1myou always have to write a driving script that sets up defaults.23:38
j1mThis is, for example, how you tell it what directories to look for tests in.23:38
lifelessright, we have one already ;)23:38
lifelessbut I dont want to update the z3 snapshot right now, nor to write improvements to our current test runner.23:39
j1mAlso, if you want to run the z3 functional tests, you need to set up a layer for them.23:39
*** natea has joined #zope3-dev23:40
j1mactually, there is an issue.23:40
j1mIntegrating the new test runner exposed some test problems.23:40
j1mIt runs tests in a somewhat different order than the old test runner.23:40
j1mThere were tests that didn't run in some orders.23:41
lifelessok, well we dont run the zope tests routinely, as we dont code on zope routinely, so as long as I have the old one around, I think that that would be ok.23:41
j1mIn the future, it would be nice to have options in the test runner to exercise this sort of thing.23:42
lifelesstest randomisation for instnace ?23:42
j1mor maybe run in reverse, or run each test in a separate process.23:42
j1mif you had randomize, you'd want it to incude the seed used in the output.23:43
* j1m has to get back to work23:44
lifelessI shall be in contact, probably a week or two, my work on this ins 1/2 time23:48
*** Laaapin has quit IRC23:53
*** Aiste has quit IRC23:54

Generated by 2.15.1 by Marius Gedminas - find it at!