IRC log of #zope for Monday, 2011-02-21

*** J1m_ has quit IRC00:00
*** m8 has quit IRC00:08
CIA-85mj * r120477 zope.password/src/zope/password/ Update several tests to cover the unicode hash input case better, and update the description of the salt-means-random-output test for SSHA.00:27
CIA-85mj * r120478 zope.password/src/zope/password/configure.zcml: Register security assertions for the legacy classes.00:27
CIA-85mj * r120479 zope.password/ (5 files in 2 dirs): Add a SMD5 (salted MD5) implementation, compatible with OpenLDAP.00:27
*** davisagli has quit IRC00:37
*** davisagli has joined #zope00:37
*** J1m_ has joined #zope00:41
*** Arfrever has quit IRC00:46
*** J1m_ has joined #zope01:00
RaceConditionis there a way to use ${foo} outside of node attributes of the 'tal' namespace?01:03
RaceConditionlike `<div>${foo}</div>` instead of the less readable `<div tal:content="foo">bla</div>`01:04
*** menesis has quit IRC01:17
CIA-85mj * r120480 zope.password/src/zope/password/ ( configure.zcml): Just case the MySQL utility registration the same as the project name.01:24
CIA-85mj * r120481 zope.password/src/zope/password/ Style: double newline between classes.01:24
*** mustard has quit IRC01:38
*** npmccallum has joined #zope01:53
npmccallumis it possible to do a browser:page with a regex name (or some other variable name)?  I basically want to do this in configure.zcml: <browser:page name="/foo/[a-z0-9]+" ... /> so that it passes everything that matches that pattern to the view...01:54
*** Ariel_Calzada has quit IRC01:57
RaceConditionnpmccallum: I don't think anybody is here...02:00
npmccallumRaceCondition: yeah, agreed02:07
npmccallumI'm just curious how zope handles the$carid pattern02:07
RaceConditionI have no idea :) I'm hear just to get help regarding TAL :)02:08
npmccallumwhere $carid isn't a zope object, but an object from another db02:08
npmccallumRaceCondition: oh, TAL is easy, what do you need?02:08
RaceConditionI'm using SimpleTAL from Django, and I'm trying to understand how to get macros to work02:08
RaceConditionfirst of all, I tried defining a macro in a template and then using it straight away, but that doesn't work02:08
npmccallumoh, macros I know nothing about :(02:09
RaceConditiondamn :P02:09
RaceConditionI can handle everything else, but I cannot find anything about that02:09
*** J1m_ has quit IRC02:13
avnRaceCondition: I think chamaleon's TAL allow ${foo} inside both nodes and attrs02:18
RaceConditionavn: ah, that's good to know... I should look at Chameleon02:18
RaceConditionavn: can you also take a look at the last lines of ?02:19
avnchameleon mostly compatible with zope tal, and sometimes used as fast replacement02:19
RaceConditionChameleon is recommended over SimpleTAL, I assume?02:19
avnI can't sae "Recommend", but as I know -- chamaleon developed as zope.tal replacement02:20
RaceConditionit also has a better documentation than SimpleTAL02:20
npmccallumavn: do you know anything about the use of BrowserViews and browser:page in zcml?02:21
avnmmm... {{ var }} is djangizm.  ${var} (in chamaleon)02:21
avnnpmccallum: not all ;) I'm only learning zope3 ;)02:22
RaceConditionavn: yes, I know, I have mixed Django/TAL templates02:22
RaceConditionthe {{ }} and {% %} are for Django02:22
npmccallumavn: argh, thanks anyway02:23
RaceConditionavn: if I do a <div tal:define-macro="foo">Foo!</div> right inside a HTML document, is it correct usage, and should I be able to use that macro right away?02:23
npmccallumI'm not sure why what I want to do isn't documented anywhere02:23
RaceConditionor do I always have to put macros in separate files?02:23
avnRaceCondition: In this file. You need some special tricks from z3c.* to use macros from other files.02:24
avnand metal:define-macro...02:25
RaceConditionyes, of course02:25
RaceConditionbut I only want inside the same file02:25
avn(And I repeat -- I'm not a expert, I am only learning myself ;)02:25
RaceConditionlike <div metal:define-macro="foo">Foo!</div>  and then <div metal:use-macro="foo"></div> in the same file02:25
avnI'm exploring indexes (z.index now)02:25
RaceConditionI tried with use-macro="macros/foo" but nothing... the macro node just gets evaluated right away02:26
avnRaceCondition: yes, I'm sure -- it will work in same file.02:26
RaceConditioncan how can I refer to a macro named 'foo' in the same file? use-macro="macros/foo" or just use-macro="foo"?02:26
avnDon't know. btw as I know  foo/bar/baz may require, and not raw chameleon02:28
RaceConditionand with Chameleon?02:28
avnI'm exact know have some code to make var/field/traverse/syntax works.  Raw chameleon just get "var" from context dict. (But I can be wrong -- ask malthe on #repoze -- he is an author of chameleon)02:31
CIA-85malthe * r120482 / Starting 1.3 maintenance branch.02:31
CIA-85malthe * r120483 / Preparing 1.2 maintenance branch.02:31
*** davisagli has quit IRC02:34
*** davisagli has joined #zope02:35
RaceConditionavn: isn't TALES responsible from that?02:40
RaceConditionI'm still not getting macros to work, now with Chameleon02:40
RaceConditionany define-macro block just gets evaluated right away and nothing gets put into the context/environment for later access02:41
*** J1m_ has joined #zope02:44
RaceConditionI can't find any documentation whatsoever about inline macros02:45
*** J1m_ has quit IRC02:47
*** nitrogenycs has left #zope02:50
*** nitrogenycs has joined #zope02:50
*** davisagli has quit IRC02:52
*** nitrogenycs has left #zope02:53
*** nitrogenycs has joined #zope02:53
*** MrTango has quit IRC02:53
*** davisagli has joined #zope02:54
RaceConditionnice, I can access the macro with rcontext.macros['foo'], but that's a hack I guess02:58
RaceConditionavn: you were right btw, Chameleon does support ${}.. that's so nice03:06
avnRaceCondition: chameleon have few enchancements, but also few restrictions (no builtin traverse). I'm suggest you to /join #repoze and ask malthe... I believe he known more, because he is chameleon author ;)03:08
RaceConditionyou mean no builtin foo/bar/baz ? I don't really like that anyway03:08
RaceConditionthe reason I wanted TAL in the first place was better integration with XML03:08
RaceConditionDjango just sucks at that03:09
avnRaceCondition: I like TAL more than django templates because like well formed xml in sources (easy to check for dumb failures like unclosed tags)03:10
RaceConditionyeah, but I'm writing apps with Django, so I need Django integration in templates03:10
RaceConditionlike i18n, tpl inheritance etc (METAL macros seem to quite suck)03:11
RaceConditionalso, access to custom template tags people have built--those provide a lot of logic03:11
RaceConditionis there a way to make tal:repeat add a line ending after each iteration?03:13
avncontentproviders and few z3c.* stuff looks more smooth than template inheritance. But I don't have any production app with this and don't have real world expirience with this.03:14
RaceConditionI mean, I just need the basic macro fill-slot behaviour, but without all the macro heaviness03:14
RaceConditionalso, since using macros inline really sucks, and there's no way to pass arguments to them (other than slots), they seem quite useless03:15
avncontentproviders works well for it.  It work differently for z.tal  and chameleon (ie _defining_ new providers), but works similiar  -- provider:foo expressions03:18
*** alga has quit IRC03:39
RaceConditionavn: I don't really know too much about that... but it seems very very heavy-weight :)03:40
RaceConditionmaybe it's good for big and complex applications03:40
avnRaceCondition: chameleon resolve <foo>: expression via zope.component.queryUtility (and I believe ZCA is not too complex for standalone apps)03:47
RaceConditionZCA is of course nice, but we were talking about ZPT, no?03:48
avnTAL/TALES expressions (both zope.tal and chameleon -- just named ZCA utilities)03:52
RaceConditionyeah, I just need basic template constructs like repeat and omit-tag and stuff04:16
*** mr_jolly has quit IRC04:27
*** nitrogenycs has left #zope04:33
*** tiwula has joined #zope04:37
*** zenwryly has joined #zope05:18
*** tiwula has quit IRC05:19
*** davetoo has joined #zope05:51
davetooI'm having trouble finding documentation for the syntax of zeo.conf (zodb 3.7.0)05:52
davetoofound it :)05:54
*** davisagli has quit IRC06:21
*** davisagli has joined #zope06:22
*** sm has quit IRC07:02
*** bhagat has joined #zope08:01
*** cpf_ has quit IRC08:17
*** davetoo has quit IRC08:49
*** wosc has joined #zope08:53
*** zagy has joined #zope09:05
*** __mac__ has joined #zope09:24
*** tisto has joined #zope09:25
*** MrTango has joined #zope09:25
*** goschtl has joined #zope09:32
*** mcdonc has quit IRC09:42
*** mcdonc has joined #zope09:42
*** cpf_ has joined #zope09:44
*** d2m has joined #zope09:46
*** bigkevmcd has joined #zope10:12
*** goschtl_ has joined #zope10:13
*** seppo14 has joined #zope10:14
*** Theuni1 has joined #zope10:22
*** d2m has quit IRC10:24
*** bigkevmcd has quit IRC10:25
*** tisto_ has joined #zope10:28
*** yvl has joined #zope10:29
*** seppo14 has quit IRC10:31
*** tisto has quit IRC10:32
*** planetzopebot has quit IRC10:33
*** planetzopebot has joined #zope10:34
*** sylvain has joined #zope10:34
*** menesis has joined #zope10:35
*** d2m has joined #zope10:38
*** ccomb has joined #zope10:40
*** seppo14 has joined #zope10:41
*** bigkevmcd has joined #zope10:41
*** eperez has joined #zope10:50
*** seppo14 has quit IRC10:52
*** alexpilz has joined #zope11:22
*** nitrogenycs has joined #zope11:28
*** evilbungle has joined #zope11:30
*** mitchell`off is now known as mitchell`11:31
*** digitalmortician has quit IRC11:31
CIA-85malthe * r120484 (14 files in 3 dirs): Started development of 2.x series, following stable build of Chameleon 2.x series. This commit marks a stable development version.11:32
CIA-85yuppie * r120485 Products.CMFCalendar/Products/CMFCalendar/ (CHANGES.txt tests/ - fixed object initialization11:32
CIA-85yuppie * r120486 Products.CMFCalendar/Products/CMFCalendar/skins/zpt_calendar/ - fixed links11:32
*** mr_jolly has joined #zope11:41
*** alexpilz has quit IRC11:55
*** alexpilz has joined #zope11:56
*** agroszer has joined #zope11:57
*** mr_jolly has left #zope11:57
*** agroszer has quit IRC11:58
*** menesis has quit IRC12:00
*** digitalmortician has joined #zope12:01
*** goschtl_ has quit IRC12:01
*** goschtl_ has joined #zope12:02
*** sunew has joined #zope12:05
*** alexpilz has left #zope12:08
*** alexpilz has joined #zope12:15
*** seppo14 has joined #zope12:18
*** ccomb has quit IRC12:19
*** seppo14 has quit IRC12:20
*** seppo14 has joined #zope12:22
CIA-85yuppie * r120487 CMF/CODINGSTYLE.txt: - added note about offset-naive and offset-aware datetime and DateTime12:23
*** digitalmortician has quit IRC12:28
*** digitalmortician has joined #zope12:36
*** alga has joined #zope12:45
*** digitalmortician has quit IRC12:49
*** menesis has joined #zope12:51
*** digitalmortician has joined #zope12:53
*** j-w has joined #zope13:03
*** J1m_ has joined #zope13:05
*** J1m_ has quit IRC13:10
*** ccomb has joined #zope13:12
*** cpf_ has quit IRC13:16
*** MJ has joined #zope13:18
MJany POV devs about?13:18
betabugwhat's POV?13:18
*** digitalmortician has quit IRC13:19
MJmgedmin: poke13:19
MJbetabug: Programmers of Vilnius13:19
* MJ found one already :-)13:19
betabugaha :-)13:19
MJnot that he's present (auto away since sat)13:19
betabugquite far from here :-)13:19
MJmgedmin: when you are back13:19
MJwhy is the zope3 trac redirecting to localhost for intertrac links (ex:
betabugMJ: he should wire up his irc bot to his alarm clock13:20
MJbetabug: that would help, indeed13:20
betabugsomeone messed up a setting there13:20
betabug"but... it works for me!"13:21
*** avoinea has joined #zope13:22
*** avoinea has quit IRC13:22
*** avoinea has joined #zope13:23
*** seppo14 has quit IRC13:23
*** gwik has joined #zope13:24
*** seppo14 has joined #zope13:26
*** eperez has quit IRC13:27
*** eperez has joined #zope13:27
*** digitalmortician has joined #zope13:28
CIA-85yuppie * r120488 Products.CMFDefault/Products/CMFDefault/formlib/ ( schema.txt
CIA-85- simplified DateTime conversion (using newer DateTime API)13:29
CIA-85- normalize to offset-naive datetimes, not to offset-aware datetimes13:29
CIA-85yuppie * r120489 Products.CMFCalendar/Products/CMFCalendar/browser/event.txt: - improved tests13:29
CIA-85yuppie * r120490 Products.CMFDefault/Products/CMFDefault/ (formlib/ CHANGES.txt): - added SettingsEditFormBase13:29
CIA-85yuppie * r120491 Products.CMFDefault/Products/CMFDefault/browser/membership/ ( tests/preferences.txt): - fixed Preferences form (re-implemented it using SettingsEditFormBase)13:29
*** cpf_ has joined #zope13:34
*** digitalmortician has quit IRC13:38
*** cpf_ has quit IRC13:38
*** J1m_ has joined #zope13:38
*** MJ is now known as MJ|lunch13:42
*** agroszer has joined #zope13:46
*** goschtl has quit IRC13:51
*** goschtl_ is now known as goschtl13:51
*** cpf_ has joined #zope13:53
*** evilbungle has quit IRC13:56
*** evilbungle has joined #zope13:56
*** thet has joined #zope13:56
*** Theuni1 has quit IRC13:57
*** avoinea has quit IRC13:57
*** cpf_ has quit IRC13:58
*** avoinea has joined #zope13:58
*** bhagat has quit IRC14:06
*** digitalmortician has joined #zope14:09
*** MJ|lunch is now known as MJ14:09
*** Theuni1 has joined #zope14:13
*** cpf_ has joined #zope14:13
*** Arfrever has joined #zope14:16
*** J1m_ has quit IRC14:30
*** lucmult has joined #zope14:33
CIA-85icemac * r120492 zope.testrunner/ (5 files in 2 dirs): merged branch to fix LP #719369 (handling of unexpected successes on Python 2.7)14:35
CIA-85icemac * r120493 zope.testrunner/src/zope/testrunner/ run test on 2.7.0, too14:35
CIA-85icemac * r120494 zope.testrunner/ (CHANGES.txt Preparing release 4.0.114:35
CIA-85icemac * r120495 /zope.testrunner/tags/4.0.1: Tagging 4.0.114:35
_mup_Bug #719369: zope.testrunner does not handle unexpected test successes but it claims to do so <zope.testing:New> <zope.testrunner:New> < >14:35
CIA-85icemac * r120496 zope.testrunner/ (CHANGES.txt Back to development: 4.0.214:35
*** tisto_ is now known as tisto|away14:37
*** cpf_ has quit IRC14:44
*** cpf_ has joined #zope14:47
*** eperez has quit IRC14:48
*** eperez has joined #zope14:49
*** Ariel_Calzada has joined #zope14:55
*** cpf_ has quit IRC15:17
*** RaceCondition has left #zope15:24
*** fredvd has joined #zope15:31
*** j-w has quit IRC15:32
*** Ariel_Calzada has quit IRC15:34
*** Ariel_Calzada has joined #zope15:37
*** FSCV has joined #zope15:37
*** giampaolo has joined #zope15:41
*** purserj has quit IRC15:46
*** purserj has joined #zope15:47
*** J1m_ has joined #zope16:09
*** shastry has joined #zope16:14
*** tisto|away is now known as tisto16:22
*** wosc_ has joined #zope16:23
*** wosc has quit IRC16:24
*** __mac__ has quit IRC16:33
*** Theuni1 has quit IRC16:36
*** wosc_ has quit IRC16:36
*** bigkevmcd has quit IRC16:36
*** zenwryly has quit IRC16:40
*** bigkevmcd has joined #zope16:42
*** seppo14 has left #zope16:50
*** webmaven has joined #zope16:53
*** sm has joined #zope16:57
*** eperez has quit IRC17:00
*** eperez has joined #zope17:01
*** ccomb has quit IRC17:02
*** eperez has quit IRC17:13
*** giampaolo_ has joined #zope17:13
*** eperez has joined #zope17:13
*** teix has joined #zope17:14
*** giampaolo_ has quit IRC17:18
*** Ariel_Calzada has quit IRC17:27
*** Ariel_Calzada has joined #zope17:27
*** digitalmortician has quit IRC17:31
CIA-85icemac 3.9 * r120497 zope.testing/buildout.cfg:17:32
CIA-85- fixed recipe version, so zope.testrunner does not sneak in17:32
CIA-85- added test support for Python 2.717:32
CIA-85icemac 3.9 * r120498 zope.testing/src/zope/testing/testrunner/ (2 files in 2 dirs): Fixed tests to run on Python 2.7, too (fix taken from zope.testrunner)17:33
CIA-85icemac 3.9 * r120499 zope.testing/ (6 files in 3 dirs):17:33
CIA-85LP #719369: An `Unexpected success`_ (concept intruduced in Python 2.7) is no longer handled as success but as failure. This is a workaround. The whole unexpected success concept might be implemented later.17:33
CIA-85(Adapted from zope.testrunner)17:33
CIA-85icemac 3.9 * r120500 zope.testing/ (CHANGES.txt Preparing release 3.9.617:33
_mup_Bug #719369: zope.testrunner does not handle unexpected test successes but it claims to do so <zope.testing:New> <zope.testrunner:New> < >17:33
CIA-85icemac * r120501 /zope.testing/tags/3.9.6: Tagging 3.9.617:33
CIA-85icemac 3.9 * r120502 zope.testing/ (CHANGES.txt Back to development: 3.9.717:33
CIA-85malthe * r120503 (16 files in 3 dirs): Update to Chameleon 2.0. This commit marks a stable development version.17:33
mgedminMJ, I'm back now17:33
mgedminthat's an interesting bug there17:33
*** sunew has quit IRC17:36
*** supton has joined #zope17:37
*** tiwula has joined #zope17:38
mgedminMJ, should be fixed now17:39
MJthanks :-)17:39
* mgedmin adds contact info to and makes it validate while at it17:42
*** daMaestro has joined #zope17:48
*** sm_ has joined #zope17:52
*** MJ has quit IRC17:54
*** sm has quit IRC17:55
*** sm_ is now known as sm17:55
*** tisto has quit IRC17:59
*** npmccallum has quit IRC17:59
*** __mac__ has joined #zope18:00
*** agroszer has quit IRC18:08
*** digitalmortician has joined #zope18:11
*** supton has quit IRC18:21
*** lcpfnyvc has quit IRC18:21
*** d2m has quit IRC18:23
*** thet has quit IRC18:25
*** thet has joined #zope18:26
*** sylvain has quit IRC18:27
*** lcpfnyvc has joined #zope18:35
*** bigkevmcd has quit IRC18:39
*** d2m has joined #zope18:39
*** thet has quit IRC18:40
*** bigkevmcd has joined #zope18:40
*** goschtl has quit IRC18:41
*** dayne has joined #zope18:47
*** Theuni1 has joined #zope18:50
*** npmccallum has joined #zope18:57
*** dayne has quit IRC19:02
*** yvl has quit IRC19:10
*** nitrogenycs has left #zope19:13
*** nitrogenycs has joined #zope19:13
*** fredvd|away has joined #zope19:29
*** fredvd has quit IRC19:33
*** npmccallum has quit IRC19:33
*** fredvd|away has quit IRC19:33
*** avoinea has quit IRC19:33
*** evilbungle has quit IRC19:36
*** alexpilz has quit IRC19:46
CIA-85ldr * r120504 plone.z3cform/ (3 files in 2 dirs): Handle wrong fieldnames more cleanly in the ++widget++ traverser.19:50
CIA-85ldr * r120505 plone.z3cform/plone/z3cform/ (traversal.txt Should be raising a TraversalError here rather than returning none19:50
*** npmccallum has joined #zope19:50
*** mitchell` is now known as mitchell`off19:56
*** bigkevmcd has quit IRC20:06
*** d2m has quit IRC20:12
*** eperez has quit IRC20:13
*** alecm has joined #zope20:21
*** m8 has joined #zope20:42
*** npmccallum has quit IRC20:44
*** menesis has quit IRC20:46
*** Ariel_Calzada has quit IRC21:16
*** Ariel_Calzada has joined #zope21:17
*** d2m has joined #zope21:19
*** prinzdezibel has joined #zope21:22
*** ccomb has joined #zope21:24
*** mustard has joined #zope21:26
*** alga has quit IRC21:27
*** ccomb has quit IRC21:36
*** Ariel_Calzada has quit IRC21:41
*** Ariel_Calzada has joined #zope21:44
*** allisterb has quit IRC21:47
*** teix has left #zope21:48
*** Ariel_Calzada has quit IRC21:49
*** d2m has quit IRC21:54
*** Ariel_Calzada has joined #zope21:57
*** goschtl has joined #zope21:58
*** allisterb has joined #zope22:01
CIA-85fdrake * r120506 zc.intid/ don't set a version number on development branches22:26
CIA-85fdrake * r120507 /zc.intid/tags/1.0.0: initial release22:26
*** menesis has joined #zope22:34
*** mustard has quit IRC22:39
*** menesis has quit IRC22:41
*** FSCV has quit IRC22:47
*** tiwula has quit IRC22:47
*** alecm_ has joined #zope22:50
*** alecm_ has joined #zope22:50
*** FSCV has joined #zope22:51
*** menesis has joined #zope22:51
*** alecm has quit IRC22:53
*** alecm_ is now known as alecm22:53
*** cpf_ has joined #zope22:56
*** astoon has joined #zope22:57
*** FSCV has quit IRC22:58
*** menesis has quit IRC22:59
*** FSCV has joined #zope23:01
*** sunew has joined #zope23:01
*** nitrogenycs has quit IRC23:03
*** __mac__ has quit IRC23:04
*** lucmult has left #zope23:04
*** sunew has quit IRC23:06
*** goschtl has quit IRC23:11
*** alecm_ has joined #zope23:14
*** alecm_ has joined #zope23:14
*** cpf_ has quit IRC23:15
*** alecm__ has joined #zope23:16
*** alecm__ has joined #zope23:16
*** alecm has quit IRC23:18
*** alecm__ is now known as alecm23:18
*** alecm_ has quit IRC23:19
*** alecm has quit IRC23:19
*** sunew has joined #zope23:19
*** alecm has joined #zope23:19
*** alecm has joined #zope23:19
*** avoinea has joined #zope23:27
*** avoinea has left #zope23:27
*** runyaga has joined #zope23:28
*** astoon has quit IRC23:28
*** fredvd has joined #zope23:28
*** alexpilz has joined #zope23:33
CIA-85tseaver * r120508 Products.GenericSetup/ Use zope.testrunner's support for skipping layers.23:46
*** m8 has quit IRC23:46
*** supton has joined #zope23:48
*** cpf_ has joined #zope23:58

Generated by 2.15.1 by Marius Gedminas - find it at!