IRC log of #zope3-dev for Tuesday, 2009-06-02

*** xenru has joined #zope3-dev00:05
*** alecm has quit IRC00:16
*** davisagli has quit IRC00:18
*** Dan_ has quit IRC00:27
*** supton has joined #zope3-dev00:28
*** aaronv has quit IRC00:32
*** supton has quit IRC00:36
*** alecm has joined #zope3-dev00:41
*** benji has quit IRC00:41
*** Dan_ has joined #zope3-dev00:58
*** sp0cksbeard has quit IRC01:16
*** greenman has quit IRC01:25
*** hathawsh is now known as hath|away01:27
*** lurkymclurkleton has quit IRC01:29
*** redir has quit IRC01:30
*** aaronv has joined #zope3-dev01:43
*** aaronv has quit IRC01:44
*** J1m has quit IRC01:45
*** junkafarian_ has joined #zope3-dev01:49
*** romanofski has joined #zope3-dev01:53
*** junkafarian has quit IRC02:05
*** hath|away is now known as hathawsh02:06
*** jhauser has quit IRC02:08
*** Dan_ has quit IRC02:08
*** redir has joined #zope3-dev02:13
*** junkafarian has joined #zope3-dev02:13
*** harobed has quit IRC02:14
*** nathany has quit IRC02:20
*** junkafarian_ has quit IRC02:21
*** greenman has joined #zope3-dev02:39
*** davisagli has joined #zope3-dev02:46
*** tisto has quit IRC03:07
*** hathawsh is now known as hath|away03:08
*** greenman has quit IRC03:18
*** tarek has quit IRC03:25
*** kaeru has quit IRC03:40
*** gary_poster has quit IRC04:17
*** davisagli has quit IRC04:21
*** romanofski has quit IRC04:25
*** chaoflow has quit IRC04:25
*** wgrant has quit IRC04:25
*** djinni has quit IRC04:25
*** andycat has quit IRC04:26
*** BjornT has quit IRC04:26
*** ktwilight has quit IRC04:26
*** romanofski has joined #zope3-dev04:26
*** chaoflow has joined #zope3-dev04:26
*** wgrant has joined #zope3-dev04:26
*** djinni has joined #zope3-dev04:26
*** ktwilight has joined #zope3-dev04:26
*** andycat has joined #zope3-dev04:26
*** BjornT has joined #zope3-dev04:26
*** davisagli has joined #zope3-dev04:29
*** dunny has joined #zope3-dev04:30
*** alecm has quit IRC04:40
*** kaeru has joined #zope3-dev04:44
*** alga has quit IRC04:46
*** redir has quit IRC04:49
*** yota has quit IRC05:16
*** supton__ has joined #zope3-dev05:29
*** supton_ has quit IRC05:46
*** greenman has joined #zope3-dev05:54
*** hath|away is now known as hathawsh06:04
*** hathawsh is now known as hath|away06:22
*** malthe has joined #zope3-dev06:30
*** malthe has quit IRC06:42
*** malthe has joined #zope3-dev06:42
*** junkafarian_ has joined #zope3-dev07:25
*** junkafarian has quit IRC07:26
*** dunny has quit IRC07:30
*** coder-activist has quit IRC07:31
*** aclark has quit IRC07:31
*** Fubar^ has quit IRC07:31
*** baijum has joined #zope3-dev07:31
*** jfkw has quit IRC07:34
*** Fubar^ has joined #zope3-dev07:35
*** aclark has joined #zope3-dev07:35
*** coder-activist has joined #zope3-dev07:37
*** junkafarian_ has quit IRC07:57
*** afd_ has joined #zope3-dev08:01
*** afd__ has joined #zope3-dev08:01
*** malthe has quit IRC08:04
*** dunny has joined #zope3-dev08:27
*** projekt01 has joined #zope3-dev08:30
*** JaRoel|4D has quit IRC08:32
*** Theuni1 has joined #zope3-dev08:37
*** jukart has joined #zope3-dev08:40
*** quodt has joined #zope3-dev08:42
*** harobed has joined #zope3-dev08:49
*** Theuni1 has quit IRC09:20
*** Theuni1 has joined #zope3-dev09:22
*** jukart has quit IRC09:31
*** JaRoel|4D has joined #zope3-dev09:35
*** tarek has joined #zope3-dev09:39
*** fcorrea has quit IRC09:44
*** jukart has joined #zope3-dev09:48
*** afd___ has joined #zope3-dev09:51
*** basti__ has joined #zope3-dev09:51
*** fcorrea has joined #zope3-dev09:56
*** junkafarian has joined #zope3-dev10:01
*** tarek has quit IRC10:03
*** El_Rolando has joined #zope3-dev10:08
*** harobed has quit IRC10:08
*** afd_ has quit IRC10:10
*** lamike has joined #zope3-dev10:11
*** lamike has left #zope3-dev10:11
*** basti__ has quit IRC10:15
*** JaRoel|4_ has joined #zope3-dev10:18
*** pelle__ has joined #zope3-dev10:18
*** basti__ has joined #zope3-dev10:22
*** JaRoel|4D has quit IRC10:23
*** afd_ has joined #zope3-dev10:25
*** MJ has joined #zope3-dev10:35
*** davisagli has left #zope3-dev10:35
*** afd___ has quit IRC10:43
*** __mac__ has joined #zope3-dev10:46
*** harobed has joined #zope3-dev10:50
*** junkafarian has quit IRC10:51
*** jpcw has joined #zope3-dev10:52
*** harobed has joined #zope3-dev10:52
*** romanofski has quit IRC11:05
*** DrogoNevets has joined #zope3-dev11:09
*** afd_ has quit IRC11:16
*** junkafarian has joined #zope3-dev11:23
*** thekorn has joined #zope3-dev11:24
*** projekt01 has quit IRC11:24
*** agroszer has joined #zope3-dev11:25
*** tarek has joined #zope3-dev11:27
*** jhauser has joined #zope3-dev11:29
*** dunny has quit IRC11:35
*** baijum has quit IRC11:37
*** baijum has joined #zope3-dev11:38
*** MJ has quit IRC11:45
*** baijum has quit IRC11:48
*** baijum has joined #zope3-dev11:48
*** coder-activist has quit IRC11:53
*** coder-activist has joined #zope3-dev11:54
*** iham has joined #zope3-dev11:58
*** junkafarian has quit IRC12:01
*** junkafarian has joined #zope3-dev12:20
*** andycat has quit IRC12:21
*** kaeru has quit IRC12:24
*** pyqwer has joined #zope3-dev12:27
*** baijum has quit IRC12:28
*** greenman has quit IRC12:28
*** baijum has joined #zope3-dev12:29
*** baijum has quit IRC12:33
*** afd_ has joined #zope3-dev12:41
*** jpcw has quit IRC12:57
*** afd__ has quit IRC12:57
*** MJ has joined #zope3-dev13:02
*** MJ has joined #zope3-dev13:03
*** danfairs has joined #zope3-dev13:03
*** MJ has joined #zope3-dev13:05
*** jpcw has joined #zope3-dev13:06
*** alga has joined #zope3-dev13:12
*** jpcw has left #zope3-dev13:18
*** jpcw has joined #zope3-dev13:18
*** menesis has joined #zope3-dev13:23
*** jpcw has left #zope3-dev13:26
*** mgedmin has joined #zope3-dev13:36
*** menesis has joined #zope3-dev13:37
*** danfairs has quit IRC13:41
*** danfairs has joined #zope3-dev13:42
*** jpcw has joined #zope3-dev13:45
*** Aiste has joined #zope3-dev14:01
*** ignas has joined #zope3-dev14:07
*** junkafarian has quit IRC14:16
*** junkafarian has joined #zope3-dev14:22
*** romanofski has joined #zope3-dev14:22
*** redir has joined #zope3-dev14:24
*** redir has quit IRC14:31
*** alga has quit IRC14:34
*** redir has joined #zope3-dev14:37
*** danfairs has quit IRC14:39
*** junkafarian has quit IRC14:40
*** danfairs has joined #zope3-dev14:41
*** jfkw has joined #zope3-dev14:45
*** harobed has quit IRC14:56
*** allisterb_ has joined #zope3-dev15:00
*** allisterb__ has joined #zope3-dev15:02
*** allisterb has quit IRC15:17
*** allisterb_ has quit IRC15:19
*** harobed has joined #zope3-dev15:19
*** yvl has joined #zope3-dev15:24
*** gary_poster has joined #zope3-dev15:26
*** benji has joined #zope3-dev15:27
*** Dan__ has joined #zope3-dev15:33
*** pelle___ has joined #zope3-dev15:37
*** junkafarian has joined #zope3-dev15:42
*** danfairs has quit IRC15:42
*** danfairs has joined #zope3-dev15:43
*** redir has quit IRC15:43
*** ccomb has joined #zope3-dev15:44
*** tisto has joined #zope3-dev15:51
*** lurkymclurkleton has joined #zope3-dev15:58
*** pelle__ has quit IRC16:01
*** davisagli has joined #zope3-dev16:01
*** lurkymclurkleton has quit IRC16:04
*** lurkymclurkleton has joined #zope3-dev16:04
*** pelle___ has quit IRC16:05
*** J1m has joined #zope3-dev16:10
*** aaronv has joined #zope3-dev16:10
*** pelle__ has joined #zope3-dev16:12
*** pelle__ has quit IRC16:14
*** Dan__ is now known as danielblackburn16:16
*** andycat has joined #zope3-dev16:25
*** Aiste has quit IRC16:26
*** redir has joined #zope3-dev16:26
*** danfairs has quit IRC16:40
*** danfairs has joined #zope3-dev16:41
*** cbcunc has joined #zope3-dev16:41
*** romanofski has quit IRC16:41
*** zagy has joined #zope3-dev16:44
*** __mac__ has quit IRC16:58
*** kursor has joined #zope3-dev16:58
*** danielblackburn has quit IRC17:11
*** kaeru has joined #zope3-dev17:16
*** tisto has quit IRC17:28
*** tisto has joined #zope3-dev17:29
*** redir has quit IRC17:30
*** danielblackburn has joined #zope3-dev17:34
*** danfairs_ has joined #zope3-dev17:40
*** davisagli has quit IRC17:40
*** danfairs has quit IRC17:40
*** hath|away is now known as hathawsh17:41
*** redir has joined #zope3-dev17:41
*** davisagli has joined #zope3-dev17:41
*** davisagli has quit IRC17:43
*** basti__ has quit IRC18:01
*** danielblackburn has quit IRC18:02
*** __mac__ has joined #zope3-dev18:02
*** quodt has quit IRC18:03
*** JaRoel|4_ has quit IRC18:04
*** hathawsh is now known as hath|away18:08
*** afd__ has joined #zope3-dev18:14
*** ktwilight has quit IRC18:15
*** Theuni1 has quit IRC18:19
*** ktwilight_ has joined #zope3-dev18:20
*** allisterb_ has joined #zope3-dev18:20
*** Theuni1 has joined #zope3-dev18:21
*** Count-Duckula has joined #zope3-dev18:22
*** davisagli has joined #zope3-dev18:23
*** hath|away is now known as hathawsh18:23
*** allisterb__ has quit IRC18:25
Count-DuckulaIn my zope test case, i'm calling my View directly myView(None, request) but its failing on ViewPageTemplateFile with a traversal error.  It seems to be because it's not a viewmeta type.  How can I fix this, so I can test it.  It does not have a context BTW.  Very simple view only.18:25
*** afd_ has quit IRC18:31
mgedminmore details, please18:33
*** nathany has joined #zope3-dev18:37
*** jukart has quit IRC18:37
*** El_Rolando has quit IRC18:37
Count-Duckulai've got a return ViewPageTemplateFile("../templates/myt.pt")(self) which works fine running normally, but when I call the BrowserView manually in a TestCase, this statement fails with:    TraversalError: ('No traversable adapter found', <my.product.browser.classes.mymodule.MyClass object at 0x56cbbd0>).   The only difference I can find is that when run normally 'self' is <zope.app.publisher.browser.viewmeta.MyClass object at 0x1da4c10> whereas i18:38
*** danfairs_ has quit IRC18:40
*** danfairs has joined #zope3-dev18:40
*** hathawsh is now known as hath|away18:46
mgedminno, the important difference is that during runtime the zope component registry has gazillions of adapters registered, but during unit tests it's empty18:48
mgedminif you want to render page templates in *unit* tests (which is not generally recommended, but which I've done many times), you need a corresponding setUp/tearDown18:48
*** malthe has joined #zope3-dev18:50
mgedminfiguring out what adapters you need is a game of looking at tracebacks, looking at source code, finding interface names, grepping the source trees of zope.* to find adapters providing those interfaces, finding the corresponding configure.zcml files to figure out adapts/provides/names/etc and rewriting the zcml directives in Python18:50
mgedminhave fun :)18:50
*** lamike has joined #zope3-dev18:50
*** lamike has left #zope3-dev18:50
Count-Duckulamgedmin: :-( Thanks.18:50
mgedminit's not too difficult, mind18:51
*** alga has joined #zope3-dev18:54
*** afd_ has joined #zope3-dev18:58
*** alecm has joined #zope3-dev19:01
*** davisagli is now known as davi|afk19:01
*** redir has quit IRC19:02
*** davi|afk is now known as davisagli19:04
*** redir has joined #zope3-dev19:05
*** afd__ has quit IRC19:09
*** jpcw has left #zope3-dev19:12
*** jpcw has joined #zope3-dev19:13
*** malthe is now known as malthe|away19:14
*** danfairs has quit IRC19:15
*** danielblackburn has joined #zope3-dev19:17
*** jukart has joined #zope3-dev19:19
*** tarek has quit IRC19:20
*** __mac__ has quit IRC19:25
*** jukart has quit IRC19:25
*** JaRoel|4D has joined #zope3-dev19:25
*** MrSipan has joined #zope3-dev19:26
*** MrSipan has quit IRC19:27
*** MJ has quit IRC19:30
*** dbfrombrc has quit IRC19:32
*** yvl has quit IRC19:36
*** Theuni1 has quit IRC19:36
*** Theuni1 has joined #zope3-dev19:36
*** Count-Duckula has left #zope3-dev19:50
*** junkafarian has quit IRC19:50
*** harobed has quit IRC20:09
*** tarek has joined #zope3-dev20:15
*** tarek has quit IRC20:20
*** ignas has quit IRC20:23
*** tarek has joined #zope3-dev20:25
*** supton_ has joined #zope3-dev20:27
*** cshenton has joined #zope3-dev20:37
*** harobed has joined #zope3-dev20:37
*** supton__ has quit IRC20:45
*** tarek has quit IRC20:48
*** jpcw has quit IRC20:54
*** redir has quit IRC20:59
*** danielblackburn has quit IRC21:01
*** danielblackburn has joined #zope3-dev21:01
*** dbfrombrc has joined #zope3-dev21:08
*** BjornT has quit IRC21:14
*** BjornT has joined #zope3-dev21:15
*** alga has quit IRC21:15
*** pelle__ has joined #zope3-dev21:29
*** redir has joined #zope3-dev21:33
*** sp0cksbeard has joined #zope3-dev21:36
*** ktwilight has joined #zope3-dev21:41
*** mgedmin has quit IRC21:44
*** ccomb has quit IRC21:50
*** ktwilight_ has quit IRC21:53
*** danielblackburn has quit IRC22:01
*** danielblackburn has joined #zope3-dev22:02
*** DrogoNevets has quit IRC22:08
*** dbfrombrc has quit IRC22:09
*** menesis has quit IRC22:18
*** menesis has joined #zope3-dev22:18
*** afd_ has quit IRC22:28
*** tisto has quit IRC22:34
*** zagy has quit IRC22:34
*** greenman_ has joined #zope3-dev22:37
*** menesis has quit IRC22:38
*** agroszer has quit IRC22:39
*** ccomb has joined #zope3-dev22:55
*** danielblackburn has quit IRC22:57
*** kursor has quit IRC22:58
*** tisto has joined #zope3-dev23:08
*** supton__ has joined #zope3-dev23:21
*** supton_ has quit IRC23:24
*** malthe|away is now known as malthe23:24
*** malthe is now known as malthe|Zzz23:26
*** tarek has joined #zope3-dev23:33
*** tarek has quit IRC23:40
*** thekorn has quit IRC23:49
*** fcorrea has quit IRC23:59

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