*** goschtl has joined #zope3-dev | 00:10 | |
*** goschtl has quit IRC | 00:25 | |
*** MrTango has quit IRC | 01:47 | |
bbot_ztk10 | build #204 of Python2.4.6 Linux 64bit started, including [] | 02:00 |
---|---|---|
bbot_ztk10 | build #203 of Python2.5.5 Linux 64bit started, including [] | 02:00 |
bbot_ztk10 | build #202 of Python3.1.2 Linux 64bit started, including [] | 02:00 |
bbot_ztk10 | build #202 of Python2.6.5 Linux 64bit started, including [] | 02:00 |
bbot_ztk10 | build #202 of Python2.7.0 Linux 64bit started, including [] | 02:00 |
bbot_ztk10 | build #202 of Python3.1.2 Linux 64bit is complete: Failure [failed virtualenv] Build details are at http://buildbot.afpy.org/ztk1.0/builders/Python3.1.2%20Linux%2064bit/builds/202 | 02:00 |
*** srichter has quit IRC | 02:32 | |
*** srichter has joined #zope3-dev | 02:34 | |
*** ChanServ sets mode: +o srichter | 02:34 | |
bbot_ztk10 | build #202 of Python2.7.0 Linux 64bit is complete: Failure [failed test zopeapp] Build details are at http://buildbot.afpy.org/ztk1.0/builders/Python2.7.0%20Linux%2064bit/builds/202 | 02:43 |
*** sunew_ has quit IRC | 02:45 | |
bbot_ztk10 | build #204 of Python2.4.6 Linux 64bit is complete: Success [build successful] Build details are at http://buildbot.afpy.org/ztk1.0/builders/Python2.4.6%20Linux%2064bit/builds/204 | 02:45 |
bbot_ztk10 | build #202 of Python2.6.5 Linux 64bit is complete: Success [build successful] Build details are at http://buildbot.afpy.org/ztk1.0/builders/Python2.6.5%20Linux%2064bit/builds/202 | 02:46 |
bbot_ztk10 | build #203 of Python2.5.5 Linux 64bit is complete: Success [build successful] Build details are at http://buildbot.afpy.org/ztk1.0/builders/Python2.5.5%20Linux%2064bit/builds/203 | 02:47 |
*** J1m has joined #zope3-dev | 03:26 | |
bbot_ztk10dev_ | build #209 of Python2.4.6 Linux 64bit started, including [] | 04:00 |
bbot_ztk10dev_ | build #206 of Python2.5.5 Linux 64bit started, including [] | 04:00 |
bbot_ztk10dev_ | build #204 of Python3.1.2 Linux 64bit started, including [] | 04:00 |
bbot_ztk10dev_ | build #207 of Python2.6.5 Linux 64bit started, including [] | 04:00 |
bbot_ztk10dev_ | build #205 of Python2.7.0 Linux 64bit started, including [] | 04:00 |
bbot_ztk10dev_ | build #204 of Python3.1.2 Linux 64bit is complete: Failure [failed virtualenv] Build details are at http://buildbot.afpy.org/ztk1.0dev/builders/Python3.1.2%20Linux%2064bit/builds/204 | 04:00 |
*** J1m has quit IRC | 04:13 | |
bbot_ztk10dev_ | build #205 of Python2.7.0 Linux 64bit is complete: Failure [failed test zopeapp trunks] Build details are at http://buildbot.afpy.org/ztk1.0dev/builders/Python2.7.0%20Linux%2064bit/builds/205 | 05:06 |
bbot_ztk10dev_ | build #209 of Python2.4.6 Linux 64bit is complete: Success [build successful] Build details are at http://buildbot.afpy.org/ztk1.0dev/builders/Python2.4.6%20Linux%2064bit/builds/209 | 05:07 |
bbot_ztk10dev_ | build #207 of Python2.6.5 Linux 64bit is complete: Success [build successful] Build details are at http://buildbot.afpy.org/ztk1.0dev/builders/Python2.6.5%20Linux%2064bit/builds/207 | 05:07 |
bbot_ztk10dev_ | build #206 of Python2.5.5 Linux 64bit is complete: Success [build successful] Build details are at http://buildbot.afpy.org/ztk1.0dev/builders/Python2.5.5%20Linux%2064bit/builds/206 | 05:08 |
*** mcdonc has quit IRC | 06:51 | |
*** mcdonc has joined #zope3-dev | 06:53 | |
bbot_kgs341 | build #209 of Python2.4.6 64bit linux started, including [] | 07:00 |
bbot_kgs341 | build #209 of Python2.4.6 64bit linux is complete: Success [build successful] Build details are at http://buildbot.afpy.org/kgs3.4/builders/Python2.4.6%2064bit%20linux/builds/209 | 07:21 |
bbot_kgs341 | build #209 of Python2.5.5 64bit linux started, including [] | 07:21 |
*** sunew has joined #zope3-dev | 07:30 | |
*** srichter has quit IRC | 07:43 | |
bbot_kgs341 | build #209 of Python2.5.5 64bit linux is complete: Success [build successful] Build details are at http://buildbot.afpy.org/kgs3.4/builders/Python2.5.5%2064bit%20linux/builds/209 | 07:43 |
*** sunew has quit IRC | 08:18 | |
*** stub has joined #zope3-dev | 08:27 | |
*** stub has joined #zope3-dev | 08:27 | |
*** avn has quit IRC | 09:06 | |
*** avn has joined #zope3-dev | 09:06 | |
*** jpcw has left #zope3-dev | 09:36 | |
*** agroszer has joined #zope3-dev | 09:42 | |
*** ccomb has joined #zope3-dev | 09:59 | |
*** rvba has joined #zope3-dev | 10:06 | |
*** rvba has quit IRC | 10:11 | |
*** jpcw has joined #zope3-dev | 10:11 | |
*** rvba has joined #zope3-dev | 10:11 | |
*** El_Rolando has joined #zope3-dev | 10:17 | |
*** stub has quit IRC | 10:30 | |
*** yvl has joined #zope3-dev | 10:57 | |
*** alga has joined #zope3-dev | 11:06 | |
*** jhauser has joined #zope3-dev | 11:14 | |
*** goschtl has joined #zope3-dev | 11:16 | |
*** projekt01 has joined #zope3-dev | 11:38 | |
*** MrTango has joined #zope3-dev | 11:49 | |
*** rvba has quit IRC | 11:56 | |
*** rvba has joined #zope3-dev | 12:05 | |
*** rvba has quit IRC | 12:07 | |
*** rvba has joined #zope3-dev | 12:08 | |
*** mkerrin has joined #zope3-dev | 12:11 | |
*** rvba has quit IRC | 12:11 | |
*** rvba has joined #zope3-dev | 12:15 | |
*** stub has joined #zope3-dev | 12:32 | |
*** stub has joined #zope3-dev | 12:32 | |
*** menesis has quit IRC | 12:34 | |
*** stub has quit IRC | 12:38 | |
*** El_Rolando has quit IRC | 12:55 | |
*** El_Rolando has joined #zope3-dev | 12:55 | |
*** El_Rolando has quit IRC | 13:03 | |
*** J1m has joined #zope3-dev | 13:08 | |
*** menesis has joined #zope3-dev | 13:16 | |
*** J1m has quit IRC | 13:26 | |
*** thetet has joined #zope3-dev | 13:40 | |
*** thetet has quit IRC | 13:43 | |
*** sunew has joined #zope3-dev | 14:17 | |
*** El_Rolando has joined #zope3-dev | 14:20 | |
*** rvba has quit IRC | 14:38 | |
*** yota has joined #zope3-dev | 14:41 | |
*** El_Rolando has quit IRC | 14:42 | |
*** stub has joined #zope3-dev | 14:43 | |
*** stub has joined #zope3-dev | 14:43 | |
*** rvba has joined #zope3-dev | 14:49 | |
*** paddy has joined #zope3-dev | 15:11 | |
*** goschtl has quit IRC | 15:17 | |
*** srichter has joined #zope3-dev | 15:18 | |
*** ChanServ sets mode: +o srichter | 15:18 | |
*** goschtl has joined #zope3-dev | 15:18 | |
*** jpcw has quit IRC | 15:21 | |
*** jpcw has joined #zope3-dev | 15:26 | |
*** allisterb_ has quit IRC | 15:44 | |
*** projekt01 has quit IRC | 16:01 | |
*** bogdan_ has joined #zope3-dev | 16:15 | |
bogdan_ | Hi | 16:16 |
bogdan_ | I have some question | 16:16 |
bogdan_ | about invariant | 16:16 |
bogdan_ | http://goo.gl/e5C8Y | 16:19 |
bogdan_ | This isn't work | 16:20 |
bogdan_ | ^( | 16:20 |
bogdan_ | :( | 16:20 |
goschtl | bogdan_: one sec | 16:23 |
goschtl | bogdan_: you need the @invariant decorator before your method | 16:24 |
*** thetet has joined #zope3-dev | 16:25 | |
goschtl | bogdan_: http://pastie.org/1726287 | 16:26 |
goschtl | you can import invariant---> from zope.interface import invariant | 16:26 |
mgedmin | it's imported, afaics | 16:28 |
mgedmin | what, specifically, does "isn't work" mean? | 16:28 |
mgedmin | goschtl's version is almost equivalent to yours, bogdan_, the only difference is that IDetail ends up with an attribute check_leght [sic], which is assigned to the value returned by invariant() | 16:29 |
mgedmin | BTW length is not spelt "leght" | 16:29 |
bogdan_ | when I try insert object in select range or insert object out range nothing happens | 16:29 |
bogdan_ | Why doesn't it work? | 16:32 |
mgedmin | how are you inserting? | 16:32 |
mgedmin | do you use z3c.form, or zope.formlib, or your own code? | 16:33 |
bogdan_ | So I use standart zope3 | 16:36 |
mgedmin | show me your code | 16:37 |
bogdan_ | http://goo.gl/e5C8Y | 16:37 |
bogdan_ | or all | 16:37 |
bogdan_ | ? | 16:37 |
mgedmin | this bit you already showed | 16:37 |
mgedmin | show me the code where you "insert object in select range" where "nothing happens" | 16:38 |
mgedmin | and tell me what you expect to happen instead | 16:38 |
*** frieza_ has quit IRC | 16:39 | |
*** frieza_ has joined #zope3-dev | 16:39 | |
bogdan_ | I'm waiting exeption Invalid when I try to insert object frot ZMI | 16:40 |
bogdan_ | I did read this manual zope/interface/README.txt in line 613 about invariants | 16:42 |
mgedmin | ZMI, ah, ok | 16:43 |
mgedmin | so you use <addform> and friends in your ZCML? | 16:43 |
bogdan_ | Yes | 16:44 |
mgedmin | hm, I thought forms ran interface checks | 16:44 |
bogdan_ | look my configure.zcml where addform http://pastie.org/1726376 | 16:46 |
mgedmin | I'd rather look at the z3 source for the addform code | 16:50 |
mgedmin | if I remembered where it lived | 16:50 |
bogdan_ | Tell me may be this doesn't work when I insert object in ZMI | 16:52 |
mgedmin | the ancient zope.app.form stuff doesn't do anything with invariants | 16:54 |
mgedmin | apparently | 16:54 |
mgedmin | surprise to me -- but I never used invariants | 16:54 |
*** aclark has left #zope3-dev | 16:54 | |
bogdan_ | That, do I need to use other libs? | 16:57 |
*** stub has quit IRC | 16:57 | |
bogdan_ | as z3c.form? | 16:57 |
mgedmin | yes | 16:58 |
mgedmin | I believe most people who work with what used to be called "zope 3" prever to avoid ZMI | 16:59 |
*** J1m has joined #zope3-dev | 16:59 | |
bogdan_ | Thanks for help. | 17:01 |
*** mkerrin has left #zope3-dev | 17:52 | |
*** ccomb has quit IRC | 18:00 | |
*** agroszer has quit IRC | 18:26 | |
*** thetet has quit IRC | 18:37 | |
*** ccomb has joined #zope3-dev | 18:47 | |
*** sunew has quit IRC | 18:52 | |
*** goschtl has quit IRC | 18:52 | |
*** paddy has quit IRC | 19:28 | |
*** rvba has quit IRC | 19:36 | |
*** jpcw has quit IRC | 19:57 | |
*** menesis has quit IRC | 19:57 | |
*** alga has quit IRC | 20:02 | |
*** mcdonc has quit IRC | 20:07 | |
*** mcdonc has joined #zope3-dev | 20:07 | |
*** yota has quit IRC | 20:30 | |
*** ccomb has quit IRC | 20:50 | |
*** menesis has joined #zope3-dev | 21:06 | |
*** jpcw has joined #zope3-dev | 21:15 | |
*** alga has joined #zope3-dev | 21:24 | |
*** menesis has quit IRC | 21:30 | |
*** goschtl has joined #zope3-dev | 21:55 | |
*** mcdonc has quit IRC | 22:11 | |
*** sunew has joined #zope3-dev | 22:11 | |
*** mcdonc has joined #zope3-dev | 22:12 | |
*** mcdonc has quit IRC | 22:15 | |
*** mcdonc has joined #zope3-dev | 22:16 | |
*** mcdonc_ has joined #zope3-dev | 22:24 | |
*** mcdonc has quit IRC | 22:24 | |
*** webmaven has joined #zope3-dev | 23:12 | |
*** mintsauce has joined #zope3-dev | 23:16 | |
*** goschtl has quit IRC | 23:18 | |
*** J1m has quit IRC | 23:26 | |
*** ccomb has joined #zope3-dev | 23:50 | |
*** sunew has quit IRC | 23:58 | |
*** sunew has joined #zope3-dev | 23:58 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!