| *** replicant has quit IRC | 00:12 | |
| *** allisterb has joined #zope3-dev | 00:17 | |
| *** seb_ has quit IRC | 00:28 | |
| *** fcorrea has joined #zope3-dev | 00:31 | |
| *** junkafarian has joined #zope3-dev | 00:37 | |
| *** jhauser has quit IRC | 00:43 | |
| *** srichter has quit IRC | 00:53 | |
| *** hexsprite__ has quit IRC | 01:08 | |
| *** stub has joined #zope3-dev | 01:20 | |
| *** J1m has quit IRC | 01:24 | |
| *** ignas has quit IRC | 01:33 | |
| *** redir_ has quit IRC | 01:43 | |
| *** junkafarian has quit IRC | 01:57 | |
| *** nathany has quit IRC | 01:59 | |
| *** hexsprite_ has joined #zope3-dev | 02:05 | |
| *** hexsprite_ has quit IRC | 02:10 | |
| *** malthe has quit IRC | 02:15 | |
| *** malthe has joined #zope3-dev | 02:15 | |
| *** kapil__ has quit IRC | 02:20 | |
| *** malthe2 has joined #zope3-dev | 02:25 | |
| *** malthe2 has quit IRC | 02:26 | |
| *** malthe has quit IRC | 02:27 | |
| *** malthe has joined #zope3-dev | 02:28 | |
| *** mcdonc has quit IRC | 02:28 | |
| *** mcdonc has joined #zope3-dev | 02:31 | |
| *** hathawsh is now known as hath|away | 03:01 | |
| *** malthe has quit IRC | 03:03 | |
| *** malthe has joined #zope3-dev | 03:03 | |
| *** davisagli has quit IRC | 03:13 | |
| *** hath|away is now known as hathawsh | 03:21 | |
| *** febb has joined #zope3-dev | 03:32 | |
| *** hexsprite_ has joined #zope3-dev | 03:37 | |
| *** pcardune has quit IRC | 03:50 | |
| *** alecm has quit IRC | 03:55 | |
| *** davisagli has joined #zope3-dev | 04:02 | |
| *** malthe has quit IRC | 04:05 | |
| *** kiorky has quit IRC | 04:07 | |
| *** tarek has quit IRC | 04:08 | |
| *** pcardune has joined #zope3-dev | 04:37 | |
| *** febb has quit IRC | 04:46 | |
| *** drudi has joined #zope3-dev | 05:09 | |
| *** hathawsh is now known as hath|away | 05:18 | |
| *** pcardune has quit IRC | 05:19 | |
| *** hexsprite_ has quit IRC | 05:22 | |
| *** hexsprite has quit IRC | 05:26 | |
| *** hexsprite has joined #zope3-dev | 05:27 | |
| *** hexsprite is now known as jbb | 05:28 | |
| *** jbb is now known as hexsprite | 05:28 | |
| *** hexsprite_ has joined #zope3-dev | 05:33 | |
| *** huajie has joined #zope3-dev | 05:46 | |
| *** davisagli has quit IRC | 05:46 | |
| *** hath|away is now known as hathawsh | 05:52 | |
| *** drudi has quit IRC | 06:00 | |
| *** aaronv has quit IRC | 06:06 | |
| *** davisagli has joined #zope3-dev | 06:18 | |
| *** pcardune has joined #zope3-dev | 06:32 | |
| *** stub has quit IRC | 06:33 | |
| *** baijum has joined #zope3-dev | 06:40 | |
| *** baijum has quit IRC | 07:26 | |
| *** baijum has joined #zope3-dev | 07:27 | |
| *** sm has joined #zope3-dev | 07:29 | |
| *** matthal has quit IRC | 07:37 | |
| *** sm has quit IRC | 07:51 | |
| *** benkio has joined #zope3-dev | 07:51 | |
| *** baijum has quit IRC | 08:03 | |
| *** pcardune has quit IRC | 08:04 | |
| *** benkio has quit IRC | 08:09 | |
| *** jfkw has quit IRC | 08:11 | |
| *** jukart has joined #zope3-dev | 08:35 | |
| *** matthal has joined #zope3-dev | 08:37 | |
| *** stub has joined #zope3-dev | 08:49 | |
| *** baijum has joined #zope3-dev | 08:52 | |
| *** dunny has quit IRC | 09:05 | |
| *** jhauser has joined #zope3-dev | 09:05 | |
| *** huajie has left #zope3-dev | 09:09 | |
| *** dunny has joined #zope3-dev | 09:13 | |
| *** __mac__ has joined #zope3-dev | 09:23 | |
| *** Theuni1 has joined #zope3-dev | 09:39 | |
| *** __mac__ has quit IRC | 09:46 | |
| *** Theuni1 has quit IRC | 09:50 | |
| *** Theuni1 has joined #zope3-dev | 09:51 | |
| *** __mac__ has joined #zope3-dev | 09:52 | |
| *** Theuni1 has quit IRC | 10:01 | |
| *** afd_____ has joined #zope3-dev | 10:05 | |
| *** junkafarian has joined #zope3-dev | 10:09 | |
| *** jpcw has joined #zope3-dev | 10:21 | |
| *** junkafarian has quit IRC | 10:31 | |
| *** agroszer has joined #zope3-dev | 10:35 | |
| *** junkafarian has joined #zope3-dev | 10:35 | |
| *** tarek_ has joined #zope3-dev | 10:52 | |
| *** mgedmin has joined #zope3-dev | 10:56 | |
| *** matthal has quit IRC | 11:00 | |
| *** markusleist has joined #zope3-dev | 11:01 | |
| *** Theuni1 has joined #zope3-dev | 11:04 | |
| *** malthe has joined #zope3-dev | 11:05 | |
| *** kiorky has joined #zope3-dev | 11:06 | |
| *** junkafarian has quit IRC | 11:13 | |
| *** davisagli has quit IRC | 11:17 | |
| *** MJ has joined #zope3-dev | 11:28 | |
| *** sweh has joined #zope3-dev | 11:33 | |
| *** junkafarian has joined #zope3-dev | 11:37 | |
| *** baijum has quit IRC | 11:39 | |
| *** baijum has joined #zope3-dev | 11:41 | |
| *** mintsauce has joined #zope3-dev | 11:43 | |
| *** mcdonc has quit IRC | 11:45 | |
| *** goschtl has joined #zope3-dev | 11:50 | |
| mintsauce | When I 'raise UserError' what view template is called? | 12:06 |
|---|---|---|
| mgedmin | the one registered for it... | 12:08 |
| mgedmin | sorry, I can't remember | 12:08 |
| *** drudi has joined #zope3-dev | 12:08 | |
| mgedmin | recursively grep zcml files in your omelette directory for UserError | 12:08 |
| *** mkerrin has joined #zope3-dev | 12:09 | |
| *** jhauser has quit IRC | 12:16 | |
| *** junkafarian is now known as junk|afk | 12:22 | |
| *** MJ has quit IRC | 12:33 | |
| *** drudi has quit IRC | 12:34 | |
| *** baijum has quit IRC | 12:37 | |
| *** baijum has joined #zope3-dev | 12:40 | |
| *** malthe has quit IRC | 12:49 | |
| *** goschtl has quit IRC | 12:50 | |
| mintsauce | Does UserError use a specific interface? As in system errors use zope.interface.common.interfaces.IException | 12:50 |
| mgedmin | I dunno, why don't you look up UserError and see if it implements anything | 12:51 |
| mgedmin | IUserError is possible | 12:51 |
| mgedmin | but you can register views on classes directly | 12:51 |
| *** mcdonc has joined #zope3-dev | 13:06 | |
| *** mintsauce has quit IRC | 13:08 | |
| *** alga has joined #zope3-dev | 13:13 | |
| *** mintsauce has joined #zope3-dev | 13:16 | |
| lisppaste6 | mintsauce pasted "IUserError Template" at http://paste.lisp.org/display/90223 | 13:19 |
| mintsauce | Tried the above, but doesn't seem to be overriding the default template | 13:19 |
| mgedmin | lemmesee, I successfully overrode the UserError view in one project | 13:22 |
| *** MJ has joined #zope3-dev | 13:23 | |
| mgedmin | mintsauce, http://pastie.org/695248 | 13:23 |
| mgedmin | I usually put my templates in the class definition rather than in ZCML | 13:24 |
| *** drudi has joined #zope3-dev | 13:24 | |
| mintsauce | Hmmm ... no luck, even putting a pdb in the class definition doesn't work, so it looks like im not 'intercepting' the error.... | 13:29 |
| *** hathawsh is now known as hath|away | 13:35 | |
| *** hath|away is now known as hathawsh | 13:35 | |
| *** aaronv has joined #zope3-dev | 13:45 | |
| *** fcorrea has quit IRC | 13:49 | |
| *** J1m has joined #zope3-dev | 13:55 | |
| *** benkio has joined #zope3-dev | 13:55 | |
| *** zagy has quit IRC | 14:01 | |
| *** benkio has quit IRC | 14:19 | |
| *** zagy has joined #zope3-dev | 14:27 | |
| *** fcorrea has joined #zope3-dev | 14:29 | |
| mintsauce | Doh | 14:30 |
| mintsauce | mgedmin: Got it working thanks (embarrassing mistake that I won't go into stopped the zcml being called). | 14:31 |
| *** mintsauce has quit IRC | 14:34 | |
| *** fcorrea has quit IRC | 14:36 | |
| *** markusleist has quit IRC | 14:38 | |
| *** fcorrea has joined #zope3-dev | 14:39 | |
| *** dunny has quit IRC | 14:45 | |
| mgedmin | zope is like that often :/ | 14:48 |
| *** baijum has quit IRC | 14:51 | |
| *** baijum has joined #zope3-dev | 14:53 | |
| *** projekt01 has joined #zope3-dev | 14:53 | |
| *** mintsauce_ has joined #zope3-dev | 14:54 | |
| *** tarek_ has quit IRC | 15:19 | |
| *** tarek_ has joined #zope3-dev | 15:19 | |
| *** markusleist has joined #zope3-dev | 15:22 | |
| *** ignas has joined #zope3-dev | 15:25 | |
| *** stub has quit IRC | 15:25 | |
| *** baijum has quit IRC | 15:51 | |
| *** gary_poster has joined #zope3-dev | 16:01 | |
| *** allisterb_ has joined #zope3-dev | 16:04 | |
| *** benji has joined #zope3-dev | 16:08 | |
| *** jpcw has quit IRC | 16:09 | |
| *** srichter has joined #zope3-dev | 16:12 | |
| *** ChanServ sets mode: +o srichter | 16:12 | |
| *** alga has quit IRC | 16:15 | |
| *** allisterb has quit IRC | 16:18 | |
| *** huajie has joined #zope3-dev | 16:21 | |
| *** jpcw has joined #zope3-dev | 16:23 | |
| *** sm has joined #zope3-dev | 16:36 | |
| *** lurkymclurkleton has joined #zope3-dev | 16:45 | |
| *** alga has joined #zope3-dev | 16:49 | |
| *** Theuni1 has quit IRC | 16:51 | |
| *** sweh has quit IRC | 16:56 | |
| *** huajie has left #zope3-dev | 16:56 | |
| *** zagy has quit IRC | 17:04 | |
| *** zagy has joined #zope3-dev | 17:10 | |
| *** srichter_ has joined #zope3-dev | 17:12 | |
| *** srichter has quit IRC | 17:13 | |
| *** __mac__ has quit IRC | 17:16 | |
| *** stub has joined #zope3-dev | 17:16 | |
| *** vaab has joined #zope3-dev | 17:25 | |
| vaab | hi all | 17:25 |
| vaab | About features in zope.testing, I am wondering why there is a test_setup/test_teardown function as it seems that they are not called in all zope.testing code nor implemented in any provided feature. This is also the case for layer_teardown | 17:25 |
| vaab | Also, the fact that features are included in a hard coded manner is quite puzzling: third party IFeatures object cannot be plugged in. It seems to me that modularity is half implemented, or I missed something. | 17:26 |
| vaab | What is the positioning/policy of the zope.testing team on these topics ? | 17:26 |
| vaab | If I provided patch to load dynamically IFeatures, would it be accepted ? Has this been already discussed ? | 17:26 |
| ignas | zope.testing team :D | 17:27 |
| vaab | okay, I see ;) | 17:27 |
| ignas | features do not exist, because no one implemented them ;) it's their natural state | 17:27 |
| ignas | so if you would write some kind of plugability mechanism | 17:28 |
| ignas | it would probably get accepted | 17:28 |
| ignas | unless there will be no one to accept it ;) | 17:28 |
| *** tisto has joined #zope3-dev | 17:28 | |
| ignas | I think zope.testing is using the python unittest model of extensibility | 17:28 |
| ignas | inherit + override | 17:29 |
| vaab | Well no, IFeature is defined ... but there loading is hardcoded. And zope.testing seems quite well written and thought with modularity in mind... | 17:29 |
| vaab | s/there/their/ | 17:29 |
| vaab | So I'm in position to write a new IFeature, but I'll can't use it without patching zope.testing... | 17:31 |
| ignas | as for I Feature | 17:31 |
| ignas | won't it require ZCA being enabled to work? | 17:31 |
| ignas | at the moment most of the steps are ZCA/zcml free | 17:31 |
| ignas | making me have a zcml just to use zope.testing would break a lot of usecases | 17:32 |
| ignas | I am using zope.testing in my pylons and twisted projects for example | 17:32 |
| vaab | well, that's true (for ZCA)... but aren't we in *zope*.testing ? I didn't know ZCA was to avoid... | 17:33 |
| ignas | also - you would want to isolate the components you need for testing from the application specific components that get registered during test setup | 17:33 |
| ignas | well - you are not passing zcml file to bin/test, are you? | 17:33 |
| *** srichter has joined #zope3-dev | 17:33 | |
| *** ChanServ sets mode: +o srichter | 17:33 | |
| ignas | zope.conf is not using component architecture too, because it is the component that is used to load the config that tells which zcml should be loaded ;) | 17:34 |
| vaab | zope.interface is used... this is nearly ZCA (come on ;)... ) | 17:34 |
| mcdonc | the nose testrunner is actually quite nice, ftr | 17:34 |
| *** srichter_ has quit IRC | 17:34 | |
| ignas | zope.interface can be useful | 17:34 |
| vaab | no zcml | 17:34 |
| ignas | you can use it | 17:34 |
| mcdonc | esp. if you develop your packages for the purpose of being able to do "python setup.py test" | 17:34 |
| ignas | but provideAdapter(IFeature) is not a good idea i'd say... | 17:34 |
| ignas | I think i used setuptools entry points when I needed plugins that get loaded before zope adapters are available | 17:35 |
| *** baijum has joined #zope3-dev | 17:35 | |
| vaab | mcdonc: we are using buildout | 17:35 |
| *** baijum has quit IRC | 17:35 | |
| mcdonc | us too | 17:35 |
| mcdonc | in such cases we actually put a script in the package itself | 17:36 |
| mcdonc | that just does | 17:36 |
| ignas | an entry point [zope.testing.feature] that has components that implement IFeature might make a lot of sense | 17:36 |
| mcdonc | ../../bin/nosetests $* | 17:36 |
| ignas | but that's just what I would do ;) | 17:36 |
| ignas | you can try doing it the way twisted does | 17:36 |
| ignas | src/zope/testing/plugins/plugin1.py | 17:37 |
| ignas | (twisted has src/twisted/plugins) | 17:37 |
| ignas | there is no __init__.py in twisted directory | 17:37 |
| ignas | so it does not clash with actual twisted egg | 17:37 |
| vaab | ignas: indeed, an entry point could be a good idea | 17:37 |
| ignas | plugins = list(pkg_resources.iter_entry_points('zope.testing.plugin')) | 17:40 |
| vaab | I'll probably provide a first patch that will call test_setup/teardown and layer_teardown (that are defined in IFeature, but never called...) | 17:40 |
| ignas | [entry.load().do_stuff() for entry in plugins] | 17:40 |
| vaab | ignas: thx, that's clearer for me... | 17:40 |
| vaab | I will study this, and eventually provide a patch PoC | 17:43 |
| ignas | cool :) can you implement http://pypi.python.org/pypi/unittest-xml-reporting/1.0.3 integration along the way ? :D | 17:45 |
| vaab | I will take a look... | 17:48 |
| *** SteveA_ is now known as SteveA | 17:49 | |
| *** projekt01 has quit IRC | 18:01 | |
| *** jhauser has joined #zope3-dev | 18:01 | |
| *** davisagli has joined #zope3-dev | 18:07 | |
| *** MJ has quit IRC | 18:32 | |
| *** stub has left #zope3-dev | 18:34 | |
| *** nathany has joined #zope3-dev | 18:35 | |
| *** jhauser has quit IRC | 18:40 | |
| *** jukart has quit IRC | 18:42 | |
| *** mgedmin has quit IRC | 19:05 | |
| *** redir has joined #zope3-dev | 19:08 | |
| *** mgedmin has joined #zope3-dev | 19:08 | |
| nathany | i have a bone-headed zodb question | 19:23 |
| nathany | (er, zope3+zodb) | 19:23 |
| nathany | how do i set the connection pool_size for my ZODB instance? | 19:23 |
| nathany | nevermind, found it | 19:31 |
| *** mgedmin has quit IRC | 19:35 | |
| *** alecm has joined #zope3-dev | 19:38 | |
| *** pcardune has joined #zope3-dev | 19:42 | |
| *** agroszer_ has joined #zope3-dev | 19:44 | |
| *** agroszer has quit IRC | 19:44 | |
| *** redir_ has joined #zope3-dev | 19:46 | |
| *** menesis has quit IRC | 19:47 | |
| *** menesis has joined #zope3-dev | 19:48 | |
| *** afd_____ has quit IRC | 19:49 | |
| *** afd_____ has joined #zope3-dev | 19:49 | |
| *** MJ has joined #zope3-dev | 19:52 | |
| *** MJ has quit IRC | 19:52 | |
| *** redir has quit IRC | 19:55 | |
| *** jukart has joined #zope3-dev | 19:56 | |
| *** ignas has quit IRC | 19:57 | |
| *** davisagli has quit IRC | 20:03 | |
| *** sweh has joined #zope3-dev | 20:08 | |
| vaab | implemented the feature loading via entry_points, but I have some issues as features seems to be loaded in a specific order... how should I tackle this problem ? (I have several solution in minds, but none of them seem clean enough to my view). | 20:10 |
| vaab | (I'm currently using entry_points keys that start with a number: (ie: 10_selftest = zope.testing.testrunner.selftest:SelfTest ) | 20:13 |
| vaab | these are automatically sorted by setuptools I guess... | 20:20 |
| *** hathawsh is now known as hath|away | 20:27 | |
| *** aaronv has quit IRC | 20:28 | |
| *** junk|afk is now known as junkafarian | 20:28 | |
| *** hath|away is now known as hathawsh | 20:28 | |
| *** aaronv has joined #zope3-dev | 20:35 | |
| vaab | is there a zope.testing commiter in here having 2sec to kill ? I've corrected a bug in tests, the patch is very small. Or if anyone could tell me were could I ship my patch for review/integration ? | 20:37 |
| benji | vaab: I'll take a look; you can pastebin it or email me at benji@zope.com | 20:38 |
| vaab | http://pastebin.com/m106f2058 | 20:38 |
| benji | heh, you fixed a test that I commented out | 20:39 |
| vaab | ;) is that bad ? | 20:39 |
| benji | no, it's good | 20:40 |
| benji | my lazyness was rewarded ;) | 20:40 |
| vaab | the previous test was failing with my new feature | 20:40 |
| benji | I'll commit the change after the tests run | 20:40 |
| vaab | so I had to look a bit what was happening... | 20:40 |
| vaab | benji: thx | 20:40 |
| benji | no problem | 20:42 |
| *** markusleist has quit IRC | 20:42 | |
| vaab | benji: I have a bigger patch that implements the feature loading through setuptools entry_points... where could I ship it for discussion ? | 20:42 |
| benji | the zope-dev mailing list would be the right place for that | 20:42 |
| vaab | benji: ok, thx for the info | 20:45 |
| *** junkafarian has quit IRC | 20:48 | |
| *** menesis has quit IRC | 20:50 | |
| *** menesis1 has joined #zope3-dev | 20:50 | |
| *** menesis1 is now known as menesis | 20:51 | |
| *** menesis has quit IRC | 20:52 | |
| *** menesis has joined #zope3-dev | 20:52 | |
| *** lurkymclurklet-1 has joined #zope3-dev | 20:53 | |
| *** lurkymclurklet-1 has joined #zope3-dev | 20:54 | |
| *** lurkymclurkleton has quit IRC | 20:55 | |
| *** hazmat has joined #zope3-dev | 20:56 | |
| *** ChanServ sets mode: +o hazmat | 20:56 | |
| *** davisagli has joined #zope3-dev | 20:57 | |
| *** hazmat has quit IRC | 20:57 | |
| *** brandon_rhodes has joined #zope3-dev | 21:04 | |
| *** srichter has quit IRC | 21:05 | |
| *** srichter has joined #zope3-dev | 21:06 | |
| *** ChanServ sets mode: +o srichter | 21:06 | |
| vaab | benji: how is my little patch getting along ? | 21:08 |
| benji | it caused me to realize that my ssh config on my new ubuntu install is totally messed up | 21:09 |
| benji | I have to fix that before I can commit the change | 21:10 |
| vaab | you've upgraded to karmic | 21:12 |
| vaab | ? | 21:12 |
| benji | yep | 21:12 |
| *** mkerrin has left #zope3-dev | 21:15 | |
| *** davisagli has quit IRC | 21:16 | |
| *** mcdonc has quit IRC | 21:21 | |
| *** J1m has quit IRC | 21:22 | |
| *** mcdonc has joined #zope3-dev | 21:23 | |
| benji | ok, vaab, the fix has been comitted to the trunk | 21:28 |
| *** jpcw has quit IRC | 21:28 | |
| vaab | benji: ok, thx for your attention and your time ! | 21:29 |
| benji | glad to help | 21:36 |
| *** jukart has quit IRC | 21:39 | |
| *** tisto has quit IRC | 21:39 | |
| *** hathawsh is now known as hath|away | 21:42 | |
| *** sweh has quit IRC | 21:46 | |
| *** Theuni1 has joined #zope3-dev | 21:49 | |
| *** agroszer has joined #zope3-dev | 21:53 | |
| *** Theuni1 has quit IRC | 21:54 | |
| *** Theuni2 has joined #zope3-dev | 21:54 | |
| *** hazmat has joined #zope3-dev | 21:54 | |
| *** ChanServ sets mode: +o hazmat | 21:54 | |
| *** agroszer_ has quit IRC | 22:14 | |
| *** hath|away is now known as hathawsh | 22:15 | |
| *** zagy has quit IRC | 22:21 | |
| *** dunny has joined #zope3-dev | 22:21 | |
| *** jpcw has joined #zope3-dev | 22:35 | |
| *** junkafarian has joined #zope3-dev | 22:41 | |
| *** J1m has joined #zope3-dev | 22:48 | |
| *** brandon_rhodes has quit IRC | 23:04 | |
| *** agroszer has quit IRC | 23:08 | |
| *** MJ has joined #zope3-dev | 23:16 | |
| *** markusleist has joined #zope3-dev | 23:19 | |
| *** dunny has quit IRC | 23:22 | |
| *** junkafarian has quit IRC | 23:24 | |
| *** run|vm|winxp has joined #zope3-dev | 23:24 | |
| *** fcorrea has quit IRC | 23:38 | |
| *** nathany has quit IRC | 23:41 | |
| *** nathany has joined #zope3-dev | 23:41 | |
| *** jpcw has quit IRC | 23:42 | |
| *** aaronv has quit IRC | 23:43 | |
| *** drudi has quit IRC | 23:45 | |
| *** junkafarian has joined #zope3-dev | 23:53 | |
| *** nathany has quit IRC | 23:53 | |
| *** srichter has quit IRC | 23:53 | |
| *** srichter has joined #zope3-dev | 23:53 | |
| *** ChanServ sets mode: +o srichter | 23:53 | |
| *** nathany has joined #zope3-dev | 23:53 | |
Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!