IRC log of #zope3-dev for Thursday, 2006-03-30

*** projekt01 has quit IRC00:09
*** rockyburt has quit IRC00:16
*** natea has joined #zope3-dev00:32
*** LucasMIW has joined #zope3-dev00:35
LucasMIWHowdy: A quick question about programming for Zope 3 for anyone who can answer.. Is this the right place to ask?00:37
*** efrerich has joined #zope3-dev00:37
*** efrerich has quit IRC00:41
smLucasMIW: yes, this is the place, but you may have to wait a while00:43
LucasMIWThat's fine. I'm not in a hurry. :)00:44
LucasMIWI'm trying to use includeOverrides in my configure.zcml file of my module, but Zope throws up ConfigurationConflictErrors saying my overrides conflict with the original directives whenever I try to start it. I thought that's what overrides are for, overriding the original directives. Am I wrong?00:44
*** sawdog has quit IRC00:47
*** rom|aw is now known as romanofski01:23
*** romanofski has quit IRC01:34
*** zbir has quit IRC01:37
*** jan_s has joined #zope3-dev01:49
*** natea has quit IRC01:56
*** natea has joined #zope3-dev01:57
*** rockyburt has joined #zope3-dev01:58
*** d2m has quit IRC02:08
*** d2m_ has joined #zope3-dev02:09
*** d2m_ is now known as d2m02:09
*** natea is now known as natea|away02:22
*** rockyburt is now known as rockyburt|zzz02:32
*** RaFromBRC is now known as RaFromBRC|away02:45
*** tarek has quit IRC02:48
*** tarek has joined #zope3-dev02:52
*** zbir has joined #zope3-dev03:04
*** yota has quit IRC03:29
*** benji has quit IRC03:36
*** dunny has joined #zope3-dev04:11
*** philiKON has joined #zope3-dev04:42
*** mexiKON has quit IRC04:52
*** stub has joined #zope3-dev05:06
*** niemeyer has quit IRC05:23
*** rockyburt|zzz has quit IRC07:10
*** d2m has quit IRC07:32
*** d2m_ has joined #zope3-dev07:33
*** d2m_ is now known as d2m07:33
*** d2m has quit IRC07:34
*** d2m_ has joined #zope3-dev07:35
*** d2m_ is now known as d2m07:35
*** tarek has quit IRC08:01
*** eins has joined #zope3-dev08:24
*** kamalgill has joined #zope3-dev08:24
*** deo has quit IRC08:33
*** Theuni has joined #zope3-dev09:07
*** natea has joined #zope3-dev09:10
*** dobee has joined #zope3-dev09:15
*** natea has quit IRC09:20
*** natea has joined #zope3-dev09:22
*** kamalgill is now known as kamal-nearby09:23
*** zagy has joined #zope3-dev09:27
*** hdima has joined #zope3-dev09:27
*** j-w has joined #zope3-dev09:32
*** d2m has quit IRC09:33
*** d2m_ has joined #zope3-dev09:34
*** d2m_ is now known as d2m09:34
*** zagy has quit IRC09:45
*** zagy has joined #zope3-dev09:46
*** SteveA has joined #zope3-dev09:52
*** romanofski has joined #zope3-dev10:02
romanofskimoin10:04
*** natea has quit IRC10:06
*** natea has joined #zope3-dev10:07
* eins greets romanofski 10:14
romanofskihey eins :)10:14
romanofskihow is life?10:14
*** kamal-nearby has left #zope3-dev10:15
*** RaFromBRC|away has quit IRC10:15
einswell despite having sleep shortage everything seems to be ok;)10:16
einshow is yours?:)10:16
*** whit is now known as whit|zZzz10:18
*** danfairs has joined #zope3-dev10:20
romanofskiwell... got this week off so I was working on my zope product10:22
romanofskicurrently migrating the views to Five10:22
einsahh;)10:22
* eins is fighting with bugs in zope3 sqlscript10:23
einsfighting = doing workarounds10:23
romanofskieek! eek! :)10:25
einsyeah..10:25
*** romanofski has quit IRC10:31
*** alga has joined #zope3-dev10:33
*** romanofski has joined #zope3-dev10:35
*** The|uni has joined #zope3-dev10:37
*** Theuni has quit IRC10:51
philiKONeins, patches are welcome :)10:55
einsphiliKON I will bug-report it probably:)10:57
philiKONcoward10:57
eins:D10:57
* eins slaps philiKON around a bit with a large trout10:58
philiKONaua10:58
*** srichter has joined #zope3-dev10:58
philiKONhey srichter10:58
*** ChanServ sets mode: +o srichter10:59
philiKONvelkom in ze sviss mountens10:59
srichterthanks :-)10:59
*** dobee has quit IRC11:02
*** danfairs has quit IRC11:16
*** d2m has quit IRC11:20
*** andres has joined #zope3-dev11:25
*** SteveA has quit IRC11:34
*** vinsci has joined #zope3-dev11:35
*** d2m has joined #zope3-dev11:37
*** SteveA has joined #zope3-dev11:48
*** d2m has quit IRC12:12
*** d2m has joined #zope3-dev12:13
*** fizz has joined #zope3-dev12:23
*** yota has joined #zope3-dev12:24
*** jinty has joined #zope3-dev12:25
*** Aiste has quit IRC12:26
*** Aiste has joined #zope3-dev12:48
*** alga has quit IRC12:49
*** mgedmin has joined #zope3-dev12:58
*** mkerrin has joined #zope3-dev13:01
*** ignas has joined #zope3-dev13:11
*** BjornT has quit IRC13:13
*** BjornT has joined #zope3-dev13:18
*** jinty has quit IRC13:30
*** BjornT has quit IRC13:32
*** jinty has joined #zope3-dev13:33
*** rockyburt has joined #zope3-dev13:40
*** dunny has quit IRC13:55
*** jan_s has quit IRC13:57
*** jinty has quit IRC14:01
*** BjornT has joined #zope3-dev14:05
*** J1m_ has joined #zope3-dev14:12
*** zagy has quit IRC14:12
*** Aiste has quit IRC14:12
*** zagy has joined #zope3-dev14:12
*** BjornT has quit IRC14:21
*** BjornT has joined #zope3-dev14:22
*** tonico has quit IRC14:38
*** tonico has joined #zope3-dev14:44
*** alga has joined #zope3-dev14:52
*** J1m_ has quit IRC14:58
*** tarek has joined #zope3-dev15:08
*** stub has quit IRC15:09
*** stub has joined #zope3-dev15:17
*** dobee has joined #zope3-dev15:32
*** Aiste has joined #zope3-dev15:39
*** zbir has quit IRC15:47
*** gintas has joined #zope3-dev15:59
*** niemeyer has joined #zope3-dev16:11
*** andres_ has joined #zope3-dev16:25
*** Aiste has quit IRC16:30
*** Aiste has joined #zope3-dev16:30
*** tonico has quit IRC16:31
*** MJ has quit IRC16:31
philiKONfor all you mac users out there: http://www.z3lab.org/sections/blogs/philipp-weitershausen/2006_03_30_powerbook-vs-mac-mini16:35
srichterwow, so the mini is much faster16:37
philiKONtwice as fast, basically16:37
srichterthey must have really messed something up on the powerbook16:37
srichterright16:38
philiKONwell, "messed up"16:38
philiKONit's just an old architecture16:38
srichterwe basically stopped supporting SchoolTool for the MAC because of the unacceptable performance16:38
philiKONthey should have had the G5 equivalent technology in the powerbook when i bought mine16:38
philiKONsrichter, well, you can resume now :)16:39
srichter:-)16:39
srichteryeah, Tom needs to get his hand on a mini and check it out16:39
srichterI wonder how the new intel computers are working16:39
philiKONthe mac mini core solo 1.5 GHz is basically the slowest intel mac you can get right now16:39
srichteroh, it is the intel version16:39
philiKONall others have Core Duos (two processors) and up to 2.0 GHz16:39
philiKONyes16:39
philiKONthat's the point16:40
srichterok, wow16:40
philiKONit's my powerbook against the slowest intel mac out there16:40
srichterhe he16:41
*** andres has quit IRC16:43
*** gumpa has joined #zope3-dev16:44
*** zbir has joined #zope3-dev16:54
*** Aiste has quit IRC17:00
*** tonico has joined #zope3-dev17:00
*** eins has quit IRC17:01
*** MJ has joined #zope3-dev17:03
*** stub has quit IRC17:16
*** Aiste has joined #zope3-dev17:18
*** hdima has quit IRC17:32
*** romanofski has quit IRC17:45
*** benji has joined #zope3-dev17:52
*** j-w has quit IRC17:57
*** jinty has joined #zope3-dev18:04
*** dobee has quit IRC18:12
*** andres_ is now known as andres18:15
philiKONsrichter, you guys sprinting?18:18
LucasMIWI'm trying to use includeOverrides in my configure.zcml file of my module, but Zope throws up a ConfigurationConflictError exception saying my overrides conflict with the original directives whenever I try to start it. I thought that's what overrides are for, overriding the original directives. Am I wrong? Anyone ever have a problem like that?18:22
SteveAwhere exactly are the directives that you want to use as overrides?18:23
LucasMIWbrowser:addform and browser:ediform18:24
LucasMIWI suppose those aren't overridable? :(18:24
philiKONthey are18:24
SteveAah...18:28
SteveAyou need to override these at the time that meta-directives are parsed18:28
SteveAwell, that is, if you're overriding how browser:addform itself works.18:28
SteveAi'm confused actually.  are you changing the very nature of browser:addform and browser:editform?  or, are you changing some particular pages that are defined using the regular browser:addform and browser:editform directives?18:29
LucasMIWThe latter.18:29
SteveAah18:29
SteveAokay18:29
SteveAso, in what file do you have your new browser:addform and editform directives?18:29
LucasMIWoverrides.zcml in my package's directory.18:30
SteveAi see18:30
SteveAand you included this using <includeOverrides file="overrides.zcml" /> ?18:30
LucasMIWCorrect.18:30
SteveAand, if you comment out or remove the <includeOverrides file="overrides.zcml" />, does zope start up with no conflict errors?18:31
LucasMIWCorrect. :)18:31
SteveAdoes your overrides.zcml file contain anything else?18:36
*** JiVo has joined #zope3-dev18:36
*** whit|zZzz is now known as whit18:38
*** MJ has quit IRC18:40
*** jinty has quit IRC18:55
*** roym has quit IRC18:57
LucasMIWNope, just that.19:04
SteveAthen this is most odd19:04
LucasMIWI agree. :)19:05
mgedminincludeOverrides is very non-intuitive19:09
mgedminthere's this tree of little ZCML files that include each other19:09
mgedmindirectives in parent files override directives in child nodes19:09
mgedmindirectives in siblings conflict19:10
*** rockyburt has quit IRC19:10
mgedminincludeOverrides just tells the zcml machinery "treat the directives in this file as if they were spelled out directly here"19:10
mgedminso it doesn't create a child node in the tree19:10
mgedminbut it doesn't override directives that are outside your current subtree19:10
LucasMIWThat's probably it. Hmm..19:11
mgedminLucasMIW: if you create a yourpackage-overrides.zcml that includes our overrides.zcml, and put that slug directly in Zope's package-includes/ directory, it should work19:11
mgedminI think19:11
mgedmins/our/your/19:11
LucasMIWI'll try that.19:12
LucasMIWWorked. Thanks.19:14
* SteveA gives mgedmin kudos karma points19:15
philiKONSteveA, is that a new rosetta thing? ;)19:16
*** srichter has quit IRC19:16
*** MJ has joined #zope3-dev19:27
*** rockyburt has joined #zope3-dev19:29
*** JiVo has quit IRC19:29
*** regebro has joined #zope3-dev19:29
*** tarek has quit IRC19:35
*** vinsci has quit IRC19:37
*** d2m_ has joined #zope3-dev19:49
*** d2m has quit IRC19:49
*** d2m_ is now known as d2m19:49
*** kamalgill has joined #zope3-dev20:02
*** jinty has joined #zope3-dev20:05
*** MJ has joined #zope3-dev20:06
*** BjornT has quit IRC20:33
regebroToodeloo dudes! Two questions:20:34
regebro1. In doctests, I'd like to do things like20:35
regebro>>> ob20:35
regebrowhich returns <foo.bar.objType at 5765757657>20:35
regebroCan you test that in doc tests? I tried <foo.bar.objType at ...> which I have a vague memory of seeing, but it didn't work.20:36
smI believe there is some convenience feature like that.. can't remember it either20:37
regebroQuestion 2: Where can I read up on what ContainedProxus really are and why they are. :)20:37
mgedminregebro: you need to enable the ELLIPSIS doctest flag20:37
smwhat about >>> assert type(ob) is foo.bar.objType20:37
regebrosm:20:37
mgedmineither do >>> ob # doctest: +ELLIPSIS20:37
*** vlado has joined #zope3-dev20:37
mgedminor when you create the DocTestSuite20:37
*** stub has joined #zope3-dev20:37
regebromgedmin: Ah, ok, thanks.20:37
mgedminpass optionflags=doctest.ELLIPSIS20:37
regebroWait, is ContainedProxys something that wraps around objects that do not implement IContained, perhaps?20:39
*** kamalgill is now known as kamal-nearby20:40
mgedminsomething like that, yes20:42
regebroRight, I let my DummyObject implement IContained, and hey presto, no proxy! :) Good.20:43
regebrothe I can test with >>> a is b. Much neater. :)20:44
regebroWhoho, I have a repository. It is a stupid repository, but it is a repository. :)20:47
*** regebro has quit IRC20:49
benjiI was going to tell regebro about the doctest rewriting capabilities in Jim's new testrunner, but he left20:54
smwhat are those ?20:55
benjiyou can register a "thing" (forgot what they're called) that will post-process the expected doctest output (matching regular expressions and replacing them with text)20:57
*** stub has quit IRC20:57
benjiso for the example above, instead of having <FooClass at ...> in your doctest you'd have20:58
benji<FooClass at 0x12345678>; where the address was translated from the random memory address into some constant20:58
benjiso it looks more like real interpreter output, but is still constant across test runs20:58
*** kamal-nearby is now known as kamal-away20:59
benjimake sense, sm?20:59
smsorry.. yes pretty much21:02
smsounds handy21:03
benjiyep.  It can really make doctests look much cleaner and more understandable21:03
*** gintas has quit IRC21:04
*** RaFromBRC has joined #zope3-dev21:04
*** gintas has joined #zope3-dev21:04
*** gintas has quit IRC21:05
*** kamal-away is now known as kamalgill21:10
*** andres has quit IRC21:12
*** rockyburt has quit IRC21:15
* mgedmin drools21:15
mgedminbenji: where could I find examples of that?21:16
benjihmm, let me look21:16
* benji thought mgedmin was drooling because they'd upped his meds21:16
mgedminbenji: you know what would be a Really Really Nice feature to have in testbrowser?21:18
mgedminHTML -> plain text rendering (links/elinks/w3m style)21:18
benjihere you go, mgedmin, the "renormalizing" module: http://svn.zope.org/zope.testing/trunk/src/zope/testing/renormalizing.py?rev=30915&view=markup21:18
*** rockyburt has joined #zope3-dev21:18
benjimgedmin, I don't think it should be /in/ testbrowser, but it might be nice to have a helper /for/ testbrowser that would do that21:19
mgedminactually, I would like to be able to use XPath (or maybe the ElementTree API that seems to be widely used) to select subsets of HTML documents21:20
mgedminand render just those21:20
mgedminso that I can write unit tests for forms21:21
mgedminand in the meantime change the header/footer/page macro globally21:21
mgedminwithout having to go through all the ftests21:21
benjiyou should be able to do that now, feed the .contents attribute to ET or another XML toolkit21:21
benjiI don't understand the header/footer/page macro comment; it sounds like you might want to use an HTML parser to assert that certain form fields exist21:22
*** jinty has quit IRC21:23
*** deo has joined #zope3-dev21:27
philiKONbenji, while i do like renormalizing, i spend way too much time setting up the regular expressions etc. than it takes me putting in a # doctest: +ELLIPSIS comment...21:30
*** gumpa is now known as gumpa-away21:30
*** baldtrol has joined #zope3-dev21:31
*** srichter has joined #zope3-dev21:32
*** ChanServ sets mode: +o srichter21:32
benjiIt definately doesn't do away with the need for ellipsis (although I hate the comment flavor and prefer it in the test suite), it is nice for instances where the output with ellipsis is virtually meaningless to a human, but where dummy output makes things clearer21:32
philiKONtrue21:52
*** rockyburt has quit IRC22:01
*** j1m_ has joined #zope3-dev22:17
*** j1m has quit IRC22:17
*** dobee has joined #zope3-dev22:24
*** rockyburt has joined #zope3-dev22:31
*** mkerrin has quit IRC22:36
*** romanofski has joined #zope3-dev22:46
*** The|uni has quit IRC22:57
*** dobee has quit IRC22:59
*** rockyburt has quit IRC23:10
*** mgedmin has quit IRC23:10
*** kamalgill is now known as kamal-nearby23:16
*** ignas has quit IRC23:20
*** alga has quit IRC23:46
*** xshiv has joined #zope3-dev23:53
xshivsup fellas23:54
xshivis there a way to override the hard-coded paths that zope3 spits out into pages by default?23:55
xshiveg i have it listening on a private ip, with a rewrite rule from apache on the external side, yet everything gets rendered with the private ip:port23:56
xshivand is then inaccessible as you would imagine23:56
*** kamal-nearby is now known as kamalgill23:56
benjixshiv, there is support for virtual hosting, but I don't know much about it :)23:58
xshivahh k23:58
SteveAi'd love to put virtual hosting into the server conf23:59
SteveAbut as it is:23:59

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