| *** projekt01 has quit IRC | 00:09 | |
| *** rockyburt has quit IRC | 00:16 | |
| *** natea has joined #zope3-dev | 00:32 | |
| *** LucasMIW has joined #zope3-dev | 00:35 | |
| LucasMIW | Howdy: 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-dev | 00:37 | |
| *** efrerich has quit IRC | 00:41 | |
| sm | LucasMIW: yes, this is the place, but you may have to wait a while | 00:43 |
| LucasMIW | That's fine. I'm not in a hurry. :) | 00:44 |
| LucasMIW | I'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 IRC | 00:47 | |
| *** rom|aw is now known as romanofski | 01:23 | |
| *** romanofski has quit IRC | 01:34 | |
| *** zbir has quit IRC | 01:37 | |
| *** jan_s has joined #zope3-dev | 01:49 | |
| *** natea has quit IRC | 01:56 | |
| *** natea has joined #zope3-dev | 01:57 | |
| *** rockyburt has joined #zope3-dev | 01:58 | |
| *** d2m has quit IRC | 02:08 | |
| *** d2m_ has joined #zope3-dev | 02:09 | |
| *** d2m_ is now known as d2m | 02:09 | |
| *** natea is now known as natea|away | 02:22 | |
| *** rockyburt is now known as rockyburt|zzz | 02:32 | |
| *** RaFromBRC is now known as RaFromBRC|away | 02:45 | |
| *** tarek has quit IRC | 02:48 | |
| *** tarek has joined #zope3-dev | 02:52 | |
| *** zbir has joined #zope3-dev | 03:04 | |
| *** yota has quit IRC | 03:29 | |
| *** benji has quit IRC | 03:36 | |
| *** dunny has joined #zope3-dev | 04:11 | |
| *** philiKON has joined #zope3-dev | 04:42 | |
| *** mexiKON has quit IRC | 04:52 | |
| *** stub has joined #zope3-dev | 05:06 | |
| *** niemeyer has quit IRC | 05:23 | |
| *** rockyburt|zzz has quit IRC | 07:10 | |
| *** d2m has quit IRC | 07:32 | |
| *** d2m_ has joined #zope3-dev | 07:33 | |
| *** d2m_ is now known as d2m | 07:33 | |
| *** d2m has quit IRC | 07:34 | |
| *** d2m_ has joined #zope3-dev | 07:35 | |
| *** d2m_ is now known as d2m | 07:35 | |
| *** tarek has quit IRC | 08:01 | |
| *** eins has joined #zope3-dev | 08:24 | |
| *** kamalgill has joined #zope3-dev | 08:24 | |
| *** deo has quit IRC | 08:33 | |
| *** Theuni has joined #zope3-dev | 09:07 | |
| *** natea has joined #zope3-dev | 09:10 | |
| *** dobee has joined #zope3-dev | 09:15 | |
| *** natea has quit IRC | 09:20 | |
| *** natea has joined #zope3-dev | 09:22 | |
| *** kamalgill is now known as kamal-nearby | 09:23 | |
| *** zagy has joined #zope3-dev | 09:27 | |
| *** hdima has joined #zope3-dev | 09:27 | |
| *** j-w has joined #zope3-dev | 09:32 | |
| *** d2m has quit IRC | 09:33 | |
| *** d2m_ has joined #zope3-dev | 09:34 | |
| *** d2m_ is now known as d2m | 09:34 | |
| *** zagy has quit IRC | 09:45 | |
| *** zagy has joined #zope3-dev | 09:46 | |
| *** SteveA has joined #zope3-dev | 09:52 | |
| *** romanofski has joined #zope3-dev | 10:02 | |
| romanofski | moin | 10:04 |
| *** natea has quit IRC | 10:06 | |
| *** natea has joined #zope3-dev | 10:07 | |
| * eins greets romanofski | 10:14 | |
| romanofski | hey eins :) | 10:14 |
| romanofski | how is life? | 10:14 |
| *** kamal-nearby has left #zope3-dev | 10:15 | |
| *** RaFromBRC|away has quit IRC | 10:15 | |
| eins | well despite having sleep shortage everything seems to be ok;) | 10:16 |
| eins | how is yours?:) | 10:16 |
| *** whit is now known as whit|zZzz | 10:18 | |
| *** danfairs has joined #zope3-dev | 10:20 | |
| romanofski | well... got this week off so I was working on my zope product | 10:22 |
| romanofski | currently migrating the views to Five | 10:22 |
| eins | ahh;) | 10:22 |
| * eins is fighting with bugs in zope3 sqlscript | 10:23 | |
| eins | fighting = doing workarounds | 10:23 |
| romanofski | eek! eek! :) | 10:25 |
| eins | yeah.. | 10:25 |
| *** romanofski has quit IRC | 10:31 | |
| *** alga has joined #zope3-dev | 10:33 | |
| *** romanofski has joined #zope3-dev | 10:35 | |
| *** The|uni has joined #zope3-dev | 10:37 | |
| *** Theuni has quit IRC | 10:51 | |
| philiKON | eins, patches are welcome :) | 10:55 |
| eins | philiKON I will bug-report it probably:) | 10:57 |
| philiKON | coward | 10:57 |
| eins | :D | 10:57 |
| * eins slaps philiKON around a bit with a large trout | 10:58 | |
| philiKON | aua | 10:58 |
| *** srichter has joined #zope3-dev | 10:58 | |
| philiKON | hey srichter | 10:58 |
| *** ChanServ sets mode: +o srichter | 10:59 | |
| philiKON | velkom in ze sviss mountens | 10:59 |
| srichter | thanks :-) | 10:59 |
| *** dobee has quit IRC | 11:02 | |
| *** danfairs has quit IRC | 11:16 | |
| *** d2m has quit IRC | 11:20 | |
| *** andres has joined #zope3-dev | 11:25 | |
| *** SteveA has quit IRC | 11:34 | |
| *** vinsci has joined #zope3-dev | 11:35 | |
| *** d2m has joined #zope3-dev | 11:37 | |
| *** SteveA has joined #zope3-dev | 11:48 | |
| *** d2m has quit IRC | 12:12 | |
| *** d2m has joined #zope3-dev | 12:13 | |
| *** fizz has joined #zope3-dev | 12:23 | |
| *** yota has joined #zope3-dev | 12:24 | |
| *** jinty has joined #zope3-dev | 12:25 | |
| *** Aiste has quit IRC | 12:26 | |
| *** Aiste has joined #zope3-dev | 12:48 | |
| *** alga has quit IRC | 12:49 | |
| *** mgedmin has joined #zope3-dev | 12:58 | |
| *** mkerrin has joined #zope3-dev | 13:01 | |
| *** ignas has joined #zope3-dev | 13:11 | |
| *** BjornT has quit IRC | 13:13 | |
| *** BjornT has joined #zope3-dev | 13:18 | |
| *** jinty has quit IRC | 13:30 | |
| *** BjornT has quit IRC | 13:32 | |
| *** jinty has joined #zope3-dev | 13:33 | |
| *** rockyburt has joined #zope3-dev | 13:40 | |
| *** dunny has quit IRC | 13:55 | |
| *** jan_s has quit IRC | 13:57 | |
| *** jinty has quit IRC | 14:01 | |
| *** BjornT has joined #zope3-dev | 14:05 | |
| *** J1m_ has joined #zope3-dev | 14:12 | |
| *** zagy has quit IRC | 14:12 | |
| *** Aiste has quit IRC | 14:12 | |
| *** zagy has joined #zope3-dev | 14:12 | |
| *** BjornT has quit IRC | 14:21 | |
| *** BjornT has joined #zope3-dev | 14:22 | |
| *** tonico has quit IRC | 14:38 | |
| *** tonico has joined #zope3-dev | 14:44 | |
| *** alga has joined #zope3-dev | 14:52 | |
| *** J1m_ has quit IRC | 14:58 | |
| *** tarek has joined #zope3-dev | 15:08 | |
| *** stub has quit IRC | 15:09 | |
| *** stub has joined #zope3-dev | 15:17 | |
| *** dobee has joined #zope3-dev | 15:32 | |
| *** Aiste has joined #zope3-dev | 15:39 | |
| *** zbir has quit IRC | 15:47 | |
| *** gintas has joined #zope3-dev | 15:59 | |
| *** niemeyer has joined #zope3-dev | 16:11 | |
| *** andres_ has joined #zope3-dev | 16:25 | |
| *** Aiste has quit IRC | 16:30 | |
| *** Aiste has joined #zope3-dev | 16:30 | |
| *** tonico has quit IRC | 16:31 | |
| *** MJ has quit IRC | 16:31 | |
| philiKON | for all you mac users out there: http://www.z3lab.org/sections/blogs/philipp-weitershausen/2006_03_30_powerbook-vs-mac-mini | 16:35 |
| srichter | wow, so the mini is much faster | 16:37 |
| philiKON | twice as fast, basically | 16:37 |
| srichter | they must have really messed something up on the powerbook | 16:37 |
| srichter | right | 16:38 |
| philiKON | well, "messed up" | 16:38 |
| philiKON | it's just an old architecture | 16:38 |
| srichter | we basically stopped supporting SchoolTool for the MAC because of the unacceptable performance | 16:38 |
| philiKON | they should have had the G5 equivalent technology in the powerbook when i bought mine | 16:38 |
| philiKON | srichter, well, you can resume now :) | 16:39 |
| srichter | :-) | 16:39 |
| srichter | yeah, Tom needs to get his hand on a mini and check it out | 16:39 |
| srichter | I wonder how the new intel computers are working | 16:39 |
| philiKON | the mac mini core solo 1.5 GHz is basically the slowest intel mac you can get right now | 16:39 |
| srichter | oh, it is the intel version | 16:39 |
| philiKON | all others have Core Duos (two processors) and up to 2.0 GHz | 16:39 |
| philiKON | yes | 16:39 |
| philiKON | that's the point | 16:40 |
| srichter | ok, wow | 16:40 |
| philiKON | it's my powerbook against the slowest intel mac out there | 16:40 |
| srichter | he he | 16:41 |
| *** andres has quit IRC | 16:43 | |
| *** gumpa has joined #zope3-dev | 16:44 | |
| *** zbir has joined #zope3-dev | 16:54 | |
| *** Aiste has quit IRC | 17:00 | |
| *** tonico has joined #zope3-dev | 17:00 | |
| *** eins has quit IRC | 17:01 | |
| *** MJ has joined #zope3-dev | 17:03 | |
| *** stub has quit IRC | 17:16 | |
| *** Aiste has joined #zope3-dev | 17:18 | |
| *** hdima has quit IRC | 17:32 | |
| *** romanofski has quit IRC | 17:45 | |
| *** benji has joined #zope3-dev | 17:52 | |
| *** j-w has quit IRC | 17:57 | |
| *** jinty has joined #zope3-dev | 18:04 | |
| *** dobee has quit IRC | 18:12 | |
| *** andres_ is now known as andres | 18:15 | |
| philiKON | srichter, you guys sprinting? | 18:18 |
| LucasMIW | I'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 |
| SteveA | where exactly are the directives that you want to use as overrides? | 18:23 |
| LucasMIW | browser:addform and browser:ediform | 18:24 |
| LucasMIW | I suppose those aren't overridable? :( | 18:24 |
| philiKON | they are | 18:24 |
| SteveA | ah... | 18:28 |
| SteveA | you need to override these at the time that meta-directives are parsed | 18:28 |
| SteveA | well, that is, if you're overriding how browser:addform itself works. | 18:28 |
| SteveA | i'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 |
| LucasMIW | The latter. | 18:29 |
| SteveA | ah | 18:29 |
| SteveA | okay | 18:29 |
| SteveA | so, in what file do you have your new browser:addform and editform directives? | 18:29 |
| LucasMIW | overrides.zcml in my package's directory. | 18:30 |
| SteveA | i see | 18:30 |
| SteveA | and you included this using <includeOverrides file="overrides.zcml" /> ? | 18:30 |
| LucasMIW | Correct. | 18:30 |
| SteveA | and, if you comment out or remove the <includeOverrides file="overrides.zcml" />, does zope start up with no conflict errors? | 18:31 |
| LucasMIW | Correct. :) | 18:31 |
| SteveA | does your overrides.zcml file contain anything else? | 18:36 |
| *** JiVo has joined #zope3-dev | 18:36 | |
| *** whit|zZzz is now known as whit | 18:38 | |
| *** MJ has quit IRC | 18:40 | |
| *** jinty has quit IRC | 18:55 | |
| *** roym has quit IRC | 18:57 | |
| LucasMIW | Nope, just that. | 19:04 |
| SteveA | then this is most odd | 19:04 |
| LucasMIW | I agree. :) | 19:05 |
| mgedmin | includeOverrides is very non-intuitive | 19:09 |
| mgedmin | there's this tree of little ZCML files that include each other | 19:09 |
| mgedmin | directives in parent files override directives in child nodes | 19:09 |
| mgedmin | directives in siblings conflict | 19:10 |
| *** rockyburt has quit IRC | 19:10 | |
| mgedmin | includeOverrides just tells the zcml machinery "treat the directives in this file as if they were spelled out directly here" | 19:10 |
| mgedmin | so it doesn't create a child node in the tree | 19:10 |
| mgedmin | but it doesn't override directives that are outside your current subtree | 19:10 |
| LucasMIW | That's probably it. Hmm.. | 19:11 |
| mgedmin | LucasMIW: 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 work | 19:11 |
| mgedmin | I think | 19:11 |
| mgedmin | s/our/your/ | 19:11 |
| LucasMIW | I'll try that. | 19:12 |
| LucasMIW | Worked. Thanks. | 19:14 |
| * SteveA gives mgedmin kudos karma points | 19:15 | |
| philiKON | SteveA, is that a new rosetta thing? ;) | 19:16 |
| *** srichter has quit IRC | 19:16 | |
| *** MJ has joined #zope3-dev | 19:27 | |
| *** rockyburt has joined #zope3-dev | 19:29 | |
| *** JiVo has quit IRC | 19:29 | |
| *** regebro has joined #zope3-dev | 19:29 | |
| *** tarek has quit IRC | 19:35 | |
| *** vinsci has quit IRC | 19:37 | |
| *** d2m_ has joined #zope3-dev | 19:49 | |
| *** d2m has quit IRC | 19:49 | |
| *** d2m_ is now known as d2m | 19:49 | |
| *** kamalgill has joined #zope3-dev | 20:02 | |
| *** jinty has joined #zope3-dev | 20:05 | |
| *** MJ has joined #zope3-dev | 20:06 | |
| *** BjornT has quit IRC | 20:33 | |
| regebro | Toodeloo dudes! Two questions: | 20:34 |
| regebro | 1. In doctests, I'd like to do things like | 20:35 |
| regebro | >>> ob | 20:35 |
| regebro | which returns <foo.bar.objType at 5765757657> | 20:35 |
| regebro | Can 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 |
| sm | I believe there is some convenience feature like that.. can't remember it either | 20:37 |
| regebro | Question 2: Where can I read up on what ContainedProxus really are and why they are. :) | 20:37 |
| mgedmin | regebro: you need to enable the ELLIPSIS doctest flag | 20:37 |
| sm | what about >>> assert type(ob) is foo.bar.objType | 20:37 |
| regebro | sm: | 20:37 |
| mgedmin | either do >>> ob # doctest: +ELLIPSIS | 20:37 |
| *** vlado has joined #zope3-dev | 20:37 | |
| mgedmin | or when you create the DocTestSuite | 20:37 |
| *** stub has joined #zope3-dev | 20:37 | |
| regebro | mgedmin: Ah, ok, thanks. | 20:37 |
| mgedmin | pass optionflags=doctest.ELLIPSIS | 20:37 |
| regebro | Wait, is ContainedProxys something that wraps around objects that do not implement IContained, perhaps? | 20:39 |
| *** kamalgill is now known as kamal-nearby | 20:40 | |
| mgedmin | something like that, yes | 20:42 |
| regebro | Right, I let my DummyObject implement IContained, and hey presto, no proxy! :) Good. | 20:43 |
| regebro | the I can test with >>> a is b. Much neater. :) | 20:44 |
| regebro | Whoho, I have a repository. It is a stupid repository, but it is a repository. :) | 20:47 |
| *** regebro has quit IRC | 20:49 | |
| benji | I was going to tell regebro about the doctest rewriting capabilities in Jim's new testrunner, but he left | 20:54 |
| sm | what are those ? | 20:55 |
| benji | you 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 IRC | 20:57 | |
| benji | so for the example above, instead of having <FooClass at ...> in your doctest you'd have | 20:58 |
| benji | <FooClass at 0x12345678>; where the address was translated from the random memory address into some constant | 20:58 |
| benji | so it looks more like real interpreter output, but is still constant across test runs | 20:58 |
| *** kamal-nearby is now known as kamal-away | 20:59 | |
| benji | make sense, sm? | 20:59 |
| sm | sorry.. yes pretty much | 21:02 |
| sm | sounds handy | 21:03 |
| benji | yep. It can really make doctests look much cleaner and more understandable | 21:03 |
| *** gintas has quit IRC | 21:04 | |
| *** RaFromBRC has joined #zope3-dev | 21:04 | |
| *** gintas has joined #zope3-dev | 21:04 | |
| *** gintas has quit IRC | 21:05 | |
| *** kamal-away is now known as kamalgill | 21:10 | |
| *** andres has quit IRC | 21:12 | |
| *** rockyburt has quit IRC | 21:15 | |
| * mgedmin drools | 21:15 | |
| mgedmin | benji: where could I find examples of that? | 21:16 |
| benji | hmm, let me look | 21:16 |
| * benji thought mgedmin was drooling because they'd upped his meds | 21:16 | |
| mgedmin | benji: you know what would be a Really Really Nice feature to have in testbrowser? | 21:18 |
| mgedmin | HTML -> plain text rendering (links/elinks/w3m style) | 21:18 |
| benji | here you go, mgedmin, the "renormalizing" module: http://svn.zope.org/zope.testing/trunk/src/zope/testing/renormalizing.py?rev=30915&view=markup | 21:18 |
| *** rockyburt has joined #zope3-dev | 21:18 | |
| benji | mgedmin, I don't think it should be /in/ testbrowser, but it might be nice to have a helper /for/ testbrowser that would do that | 21:19 |
| mgedmin | actually, 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 documents | 21:20 |
| mgedmin | and render just those | 21:20 |
| mgedmin | so that I can write unit tests for forms | 21:21 |
| mgedmin | and in the meantime change the header/footer/page macro globally | 21:21 |
| mgedmin | without having to go through all the ftests | 21:21 |
| benji | you should be able to do that now, feed the .contents attribute to ET or another XML toolkit | 21:21 |
| benji | I 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 exist | 21:22 |
| *** jinty has quit IRC | 21:23 | |
| *** deo has joined #zope3-dev | 21:27 | |
| philiKON | benji, 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-away | 21:30 | |
| *** baldtrol has joined #zope3-dev | 21:31 | |
| *** srichter has joined #zope3-dev | 21:32 | |
| *** ChanServ sets mode: +o srichter | 21:32 | |
| benji | It 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 clearer | 21:32 |
| philiKON | true | 21:52 |
| *** rockyburt has quit IRC | 22:01 | |
| *** j1m_ has joined #zope3-dev | 22:17 | |
| *** j1m has quit IRC | 22:17 | |
| *** dobee has joined #zope3-dev | 22:24 | |
| *** rockyburt has joined #zope3-dev | 22:31 | |
| *** mkerrin has quit IRC | 22:36 | |
| *** romanofski has joined #zope3-dev | 22:46 | |
| *** The|uni has quit IRC | 22:57 | |
| *** dobee has quit IRC | 22:59 | |
| *** rockyburt has quit IRC | 23:10 | |
| *** mgedmin has quit IRC | 23:10 | |
| *** kamalgill is now known as kamal-nearby | 23:16 | |
| *** ignas has quit IRC | 23:20 | |
| *** alga has quit IRC | 23:46 | |
| *** xshiv has joined #zope3-dev | 23:53 | |
| xshiv | sup fellas | 23:54 |
| xshiv | is there a way to override the hard-coded paths that zope3 spits out into pages by default? | 23:55 |
| xshiv | eg 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:port | 23:56 |
| xshiv | and is then inaccessible as you would imagine | 23:56 |
| *** kamal-nearby is now known as kamalgill | 23:56 | |
| benji | xshiv, there is support for virtual hosting, but I don't know much about it :) | 23:58 |
| xshiv | ahh k | 23:58 |
| SteveA | i'd love to put virtual hosting into the server conf | 23:59 |
| SteveA | but as it is: | 23:59 |
Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!