IRC log of #zope3-dev for Thursday, 2009-11-12

*** replicant has quit IRC00:12
*** allisterb has joined #zope3-dev00:17
*** seb_ has quit IRC00:28
*** fcorrea has joined #zope3-dev00:31
*** junkafarian has joined #zope3-dev00:37
*** jhauser has quit IRC00:43
*** srichter has quit IRC00:53
*** hexsprite__ has quit IRC01:08
*** stub has joined #zope3-dev01:20
*** J1m has quit IRC01:24
*** ignas has quit IRC01:33
*** redir_ has quit IRC01:43
*** junkafarian has quit IRC01:57
*** nathany has quit IRC01:59
*** hexsprite_ has joined #zope3-dev02:05
*** hexsprite_ has quit IRC02:10
*** malthe has quit IRC02:15
*** malthe has joined #zope3-dev02:15
*** kapil__ has quit IRC02:20
*** malthe2 has joined #zope3-dev02:25
*** malthe2 has quit IRC02:26
*** malthe has quit IRC02:27
*** malthe has joined #zope3-dev02:28
*** mcdonc has quit IRC02:28
*** mcdonc has joined #zope3-dev02:31
*** hathawsh is now known as hath|away03:01
*** malthe has quit IRC03:03
*** malthe has joined #zope3-dev03:03
*** davisagli has quit IRC03:13
*** hath|away is now known as hathawsh03:21
*** febb has joined #zope3-dev03:32
*** hexsprite_ has joined #zope3-dev03:37
*** pcardune has quit IRC03:50
*** alecm has quit IRC03:55
*** davisagli has joined #zope3-dev04:02
*** malthe has quit IRC04:05
*** kiorky has quit IRC04:07
*** tarek has quit IRC04:08
*** pcardune has joined #zope3-dev04:37
*** febb has quit IRC04:46
*** drudi has joined #zope3-dev05:09
*** hathawsh is now known as hath|away05:18
*** pcardune has quit IRC05:19
*** hexsprite_ has quit IRC05:22
*** hexsprite has quit IRC05:26
*** hexsprite has joined #zope3-dev05:27
*** hexsprite is now known as jbb05:28
*** jbb is now known as hexsprite05:28
*** hexsprite_ has joined #zope3-dev05:33
*** huajie has joined #zope3-dev05:46
*** davisagli has quit IRC05:46
*** hath|away is now known as hathawsh05:52
*** drudi has quit IRC06:00
*** aaronv has quit IRC06:06
*** davisagli has joined #zope3-dev06:18
*** pcardune has joined #zope3-dev06:32
*** stub has quit IRC06:33
*** baijum has joined #zope3-dev06:40
*** baijum has quit IRC07:26
*** baijum has joined #zope3-dev07:27
*** sm has joined #zope3-dev07:29
*** matthal has quit IRC07:37
*** sm has quit IRC07:51
*** benkio has joined #zope3-dev07:51
*** baijum has quit IRC08:03
*** pcardune has quit IRC08:04
*** benkio has quit IRC08:09
*** jfkw has quit IRC08:11
*** jukart has joined #zope3-dev08:35
*** matthal has joined #zope3-dev08:37
*** stub has joined #zope3-dev08:49
*** baijum has joined #zope3-dev08:52
*** dunny has quit IRC09:05
*** jhauser has joined #zope3-dev09:05
*** huajie has left #zope3-dev09:09
*** dunny has joined #zope3-dev09:13
*** __mac__ has joined #zope3-dev09:23
*** Theuni1 has joined #zope3-dev09:39
*** __mac__ has quit IRC09:46
*** Theuni1 has quit IRC09:50
*** Theuni1 has joined #zope3-dev09:51
*** __mac__ has joined #zope3-dev09:52
*** Theuni1 has quit IRC10:01
*** afd_____ has joined #zope3-dev10:05
*** junkafarian has joined #zope3-dev10:09
*** jpcw has joined #zope3-dev10:21
*** junkafarian has quit IRC10:31
*** agroszer has joined #zope3-dev10:35
*** junkafarian has joined #zope3-dev10:35
*** tarek_ has joined #zope3-dev10:52
*** mgedmin has joined #zope3-dev10:56
*** matthal has quit IRC11:00
*** markusleist has joined #zope3-dev11:01
*** Theuni1 has joined #zope3-dev11:04
*** malthe has joined #zope3-dev11:05
*** kiorky has joined #zope3-dev11:06
*** junkafarian has quit IRC11:13
*** davisagli has quit IRC11:17
*** MJ has joined #zope3-dev11:28
*** sweh has joined #zope3-dev11:33
*** junkafarian has joined #zope3-dev11:37
*** baijum has quit IRC11:39
*** baijum has joined #zope3-dev11:41
*** mintsauce has joined #zope3-dev11:43
*** mcdonc has quit IRC11:45
*** goschtl has joined #zope3-dev11:50
mintsauceWhen I 'raise UserError' what view template is called?12:06
mgedminthe one registered for it...12:08
mgedminsorry, I can't remember12:08
*** drudi has joined #zope3-dev12:08
mgedminrecursively grep zcml files in your omelette directory for UserError12:08
*** mkerrin has joined #zope3-dev12:09
*** jhauser has quit IRC12:16
*** junkafarian is now known as junk|afk12:22
*** MJ has quit IRC12:33
*** drudi has quit IRC12:34
*** baijum has quit IRC12:37
*** baijum has joined #zope3-dev12:40
*** malthe has quit IRC12:49
*** goschtl has quit IRC12:50
mintsauceDoes UserError use a specific interface? As in system errors use zope.interface.common.interfaces.IException12:50
mgedminI dunno, why don't you look up UserError and see if it implements anything12:51
mgedminIUserError is possible12:51
mgedminbut you can register views on classes directly12:51
*** mcdonc has joined #zope3-dev13:06
*** mintsauce has quit IRC13:08
*** alga has joined #zope3-dev13:13
*** mintsauce has joined #zope3-dev13:16
lisppaste6mintsauce pasted "IUserError Template" at http://paste.lisp.org/display/9022313:19
mintsauceTried the above, but doesn't seem to be overriding the default template13:19
mgedminlemmesee, I successfully overrode the UserError view in one project13:22
*** MJ has joined #zope3-dev13:23
mgedminmintsauce, http://pastie.org/69524813:23
mgedminI usually put my templates in the class definition rather than in ZCML13:24
*** drudi has joined #zope3-dev13:24
mintsauceHmmm ... 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|away13:35
*** hath|away is now known as hathawsh13:35
*** aaronv has joined #zope3-dev13:45
*** fcorrea has quit IRC13:49
*** J1m has joined #zope3-dev13:55
*** benkio has joined #zope3-dev13:55
*** zagy has quit IRC14:01
*** benkio has quit IRC14:19
*** zagy has joined #zope3-dev14:27
*** fcorrea has joined #zope3-dev14:29
mintsauceDoh14:30
mintsaucemgedmin: Got it working thanks (embarrassing mistake that I won't go into stopped the zcml being called).14:31
*** mintsauce has quit IRC14:34
*** fcorrea has quit IRC14:36
*** markusleist has quit IRC14:38
*** fcorrea has joined #zope3-dev14:39
*** dunny has quit IRC14:45
mgedminzope is like that often :/14:48
*** baijum has quit IRC14:51
*** baijum has joined #zope3-dev14:53
*** projekt01 has joined #zope3-dev14:53
*** mintsauce_ has joined #zope3-dev14:54
*** tarek_ has quit IRC15:19
*** tarek_ has joined #zope3-dev15:19
*** markusleist has joined #zope3-dev15:22
*** ignas has joined #zope3-dev15:25
*** stub has quit IRC15:25
*** baijum has quit IRC15:51
*** gary_poster has joined #zope3-dev16:01
*** allisterb_ has joined #zope3-dev16:04
*** benji has joined #zope3-dev16:08
*** jpcw has quit IRC16:09
*** srichter has joined #zope3-dev16:12
*** ChanServ sets mode: +o srichter16:12
*** alga has quit IRC16:15
*** allisterb has quit IRC16:18
*** huajie has joined #zope3-dev16:21
*** jpcw has joined #zope3-dev16:23
*** sm has joined #zope3-dev16:36
*** lurkymclurkleton has joined #zope3-dev16:45
*** alga has joined #zope3-dev16:49
*** Theuni1 has quit IRC16:51
*** sweh has quit IRC16:56
*** huajie has left #zope3-dev16:56
*** zagy has quit IRC17:04
*** zagy has joined #zope3-dev17:10
*** srichter_ has joined #zope3-dev17:12
*** srichter has quit IRC17:13
*** __mac__ has quit IRC17:16
*** stub has joined #zope3-dev17:16
*** vaab has joined #zope3-dev17:25
vaabhi all17:25
vaabAbout 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_teardown17:25
vaabAlso, 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
vaabWhat is the positioning/policy of the zope.testing team on these topics ?17:26
vaabIf I provided patch to load dynamically IFeatures, would it be accepted ? Has this been already discussed ?17:26
ignaszope.testing team :D17:27
vaabokay, I see ;)17:27
ignasfeatures do not exist, because no one implemented them ;) it's their natural state17:27
ignasso if you would write some kind of plugability mechanism17:28
ignasit would probably get accepted17:28
ignasunless there will be no one to accept it ;)17:28
*** tisto has joined #zope3-dev17:28
ignasI think zope.testing is using the python unittest model of extensibility17:28
ignasinherit + override17:29
vaabWell no, IFeature is defined ... but there loading is hardcoded. And zope.testing seems quite well written and thought with modularity in mind...17:29
vaabs/there/their/17:29
vaabSo I'm in position to write a new IFeature, but I'll can't use it without patching zope.testing...17:31
ignasas for I Feature17:31
ignaswon't it require ZCA being enabled to work?17:31
ignasat the moment most of the steps are ZCA/zcml free17:31
ignasmaking me have a zcml just to use zope.testing would break a lot of usecases17:32
ignasI am using zope.testing in my pylons and twisted projects for example17:32
vaabwell, that's true (for ZCA)... but aren't we in *zope*.testing ? I didn't know ZCA was to avoid...17:33
ignasalso - you would want to isolate the components you need for testing from the application specific components that get registered during test setup17:33
ignaswell - you are not passing zcml file to bin/test, are you?17:33
*** srichter has joined #zope3-dev17:33
*** ChanServ sets mode: +o srichter17:33
ignaszope.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
vaabzope.interface is used... this is nearly ZCA (come on ;)... )17:34
mcdoncthe nose testrunner is actually quite nice, ftr17:34
*** srichter_ has quit IRC17:34
ignaszope.interface can be useful17:34
vaabno zcml17:34
ignasyou can use it17:34
mcdoncesp. if you develop your packages for the purpose of being able to do "python setup.py test"17:34
ignasbut provideAdapter(IFeature) is not a good idea i'd say...17:34
ignasI think i used setuptools entry points when I needed plugins that get loaded before zope adapters are available17:35
*** baijum has joined #zope3-dev17:35
vaabmcdonc: we are using buildout17:35
*** baijum has quit IRC17:35
mcdoncus too17:35
mcdoncin such cases we actually put a script in the package itself17:36
mcdoncthat just does17:36
ignasan entry point [zope.testing.feature] that has components that implement IFeature might make a lot of sense17:36
mcdonc../../bin/nosetests $*17:36
ignasbut that's just what I would do ;)17:36
ignasyou can try doing it the way twisted does17:36
ignassrc/zope/testing/plugins/plugin1.py17:37
ignas(twisted has src/twisted/plugins)17:37
ignasthere is no __init__.py in twisted directory17:37
ignasso it does not clash with actual twisted egg17:37
vaabignas: indeed, an entry point could be a good idea17:37
ignasplugins = list(pkg_resources.iter_entry_points('zope.testing.plugin'))17:40
vaabI'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
vaabignas: thx, that's clearer for me...17:40
vaabI will study this, and eventually provide a patch PoC17:43
ignascool :) can you implement http://pypi.python.org/pypi/unittest-xml-reporting/1.0.3 integration along the way ? :D17:45
vaabI will take a look...17:48
*** SteveA_ is now known as SteveA17:49
*** projekt01 has quit IRC18:01
*** jhauser has joined #zope3-dev18:01
*** davisagli has joined #zope3-dev18:07
*** MJ has quit IRC18:32
*** stub has left #zope3-dev18:34
*** nathany has joined #zope3-dev18:35
*** jhauser has quit IRC18:40
*** jukart has quit IRC18:42
*** mgedmin has quit IRC19:05
*** redir has joined #zope3-dev19:08
*** mgedmin has joined #zope3-dev19:08
nathanyi have a bone-headed zodb question19:23
nathany(er, zope3+zodb)19:23
nathanyhow do i set the connection pool_size for my ZODB instance?19:23
nathanynevermind, found it19:31
*** mgedmin has quit IRC19:35
*** alecm has joined #zope3-dev19:38
*** pcardune has joined #zope3-dev19:42
*** agroszer_ has joined #zope3-dev19:44
*** agroszer has quit IRC19:44
*** redir_ has joined #zope3-dev19:46
*** menesis has quit IRC19:47
*** menesis has joined #zope3-dev19:48
*** afd_____ has quit IRC19:49
*** afd_____ has joined #zope3-dev19:49
*** MJ has joined #zope3-dev19:52
*** MJ has quit IRC19:52
*** redir has quit IRC19:55
*** jukart has joined #zope3-dev19:56
*** ignas has quit IRC19:57
*** davisagli has quit IRC20:03
*** sweh has joined #zope3-dev20:08
vaabimplemented 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
vaabthese are automatically sorted by setuptools I guess...20:20
*** hathawsh is now known as hath|away20:27
*** aaronv has quit IRC20:28
*** junk|afk is now known as junkafarian20:28
*** hath|away is now known as hathawsh20:28
*** aaronv has joined #zope3-dev20:35
vaabis 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
benjivaab: I'll take a look; you can pastebin it or email me at benji@zope.com20:38
vaabhttp://pastebin.com/m106f205820:38
benjiheh, you fixed a test that I commented out20:39
vaab;) is that bad ?20:39
benjino, it's good20:40
benjimy lazyness was rewarded ;)20:40
vaabthe previous test was failing with my new feature20:40
benjiI'll commit the change after the tests run20:40
vaabso I had to look a bit what was happening...20:40
vaabbenji: thx20:40
benjino problem20:42
*** markusleist has quit IRC20:42
vaabbenji: I have a bigger patch that implements the feature loading through setuptools entry_points... where could I ship it for discussion ?20:42
benjithe zope-dev mailing list would be the right place for that20:42
vaabbenji: ok, thx for the info20:45
*** junkafarian has quit IRC20:48
*** menesis has quit IRC20:50
*** menesis1 has joined #zope3-dev20:50
*** menesis1 is now known as menesis20:51
*** menesis has quit IRC20:52
*** menesis has joined #zope3-dev20:52
*** lurkymclurklet-1 has joined #zope3-dev20:53
*** lurkymclurklet-1 has joined #zope3-dev20:54
*** lurkymclurkleton has quit IRC20:55
*** hazmat has joined #zope3-dev20:56
*** ChanServ sets mode: +o hazmat20:56
*** davisagli has joined #zope3-dev20:57
*** hazmat has quit IRC20:57
*** brandon_rhodes has joined #zope3-dev21:04
*** srichter has quit IRC21:05
*** srichter has joined #zope3-dev21:06
*** ChanServ sets mode: +o srichter21:06
vaabbenji: how is my little patch getting along ?21:08
benjiit caused me to realize that my ssh config on my new ubuntu install is totally messed up21:09
benjiI have to fix that before I can commit the change21:10
vaabyou've upgraded to karmic21:12
vaab?21:12
benjiyep21:12
*** mkerrin has left #zope3-dev21:15
*** davisagli has quit IRC21:16
*** mcdonc has quit IRC21:21
*** J1m has quit IRC21:22
*** mcdonc has joined #zope3-dev21:23
benjiok, vaab, the fix has been comitted to the trunk21:28
*** jpcw has quit IRC21:28
vaabbenji: ok, thx for your attention and your time !21:29
benjiglad to help21:36
*** jukart has quit IRC21:39
*** tisto has quit IRC21:39
*** hathawsh is now known as hath|away21:42
*** sweh has quit IRC21:46
*** Theuni1 has joined #zope3-dev21:49
*** agroszer has joined #zope3-dev21:53
*** Theuni1 has quit IRC21:54
*** Theuni2 has joined #zope3-dev21:54
*** hazmat has joined #zope3-dev21:54
*** ChanServ sets mode: +o hazmat21:54
*** agroszer_ has quit IRC22:14
*** hath|away is now known as hathawsh22:15
*** zagy has quit IRC22:21
*** dunny has joined #zope3-dev22:21
*** jpcw has joined #zope3-dev22:35
*** junkafarian has joined #zope3-dev22:41
*** J1m has joined #zope3-dev22:48
*** brandon_rhodes has quit IRC23:04
*** agroszer has quit IRC23:08
*** MJ has joined #zope3-dev23:16
*** markusleist has joined #zope3-dev23:19
*** dunny has quit IRC23:22
*** junkafarian has quit IRC23:24
*** run|vm|winxp has joined #zope3-dev23:24
*** fcorrea has quit IRC23:38
*** nathany has quit IRC23:41
*** nathany has joined #zope3-dev23:41
*** jpcw has quit IRC23:42
*** aaronv has quit IRC23:43
*** drudi has quit IRC23:45
*** junkafarian has joined #zope3-dev23:53
*** nathany has quit IRC23:53
*** srichter has quit IRC23:53
*** srichter has joined #zope3-dev23:53
*** ChanServ sets mode: +o srichter23:53
*** nathany has joined #zope3-dev23:53

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