IRC log of #zope3-dev for Saturday, 2005-02-26

*** GaryPoster has quit IRC00:00
*** bskahan has joined #zope3-dev00:05
*** tvon has quit IRC00:11
* mgedmin can't fathom ++etc++site00:18
srichteralga: you have to make adpaters that use annotations trusted00:18
srichteralga: then the context and thus the annotations are unproxied00:18
mgedminsrichter, there are no adapters, just an <editform>00:18
algahm00:19
srichterbut you have a subscriber, right?00:19
mgedminthere is a default subscriber somewhere, afaiu00:19
mgedminI'll let alga talk, I think00:19
srichter(you can actually look at the DC subscribers how they do it)00:19
algait is in zope.app.dublincore00:19
algaexactly00:19
srichteryou see how the ZDCAnnotatableAdapter is trusted?00:20
srichterso its context will be unproxied00:20
algapermission="zope.app.dublincore.change"00:21
srichterbut you have to make security assertions on the adapter then00:21
algathat's the bug00:21
srichterright00:21
srichtermmh, this would be a good question for Jim00:21
algawhat about unwrapping though?00:22
algaseems like the right thing to do to me00:22
srichterit would be considered a hack00:22
*** jdz_ has joined #zope3-dev00:23
srichterbut Jim is more knowledgable and unwrapping let''s you procede00:23
srichter:-)00:23
algathanks00:23
algashould I chase up Jim then?00:23
srichteryeah00:24
srichterpoint him to the bug report00:24
algathanks00:25
* mgedmin understands that ++etc++site gave him 404 errors because getattr(..., None) hid the ForbiddenAttribute error for getSiteManager00:25
*** mgedmin has quit IRC00:30
*** tvon has joined #zope3-dev00:53
*** srichter has quit IRC00:57
*** d2m has joined #zope3-dev01:07
*** benji_york has quit IRC01:23
*** SteveA has quit IRC01:24
*** srichter has joined #zope3-dev01:26
*** projekt01 has joined #zope3-dev01:28
*** srichter has quit IRC01:29
*** srichter has joined #zope3-dev01:29
*** ChanServ sets mode: +o srichter01:29
*** Aiste has quit IRC01:32
*** Aiste has joined #zope3-dev01:36
*** SteveA has joined #zope3-dev01:36
*** WebMaven_ has quit IRC02:38
*** d2m has quit IRC02:50
*** alga has quit IRC04:01
*** sashav has quit IRC04:15
*** projekt01 has quit IRC05:12
*** jdz has joined #zope3-dev05:13
*** tvon has quit IRC05:38
*** tvon has joined #zope3-dev05:54
*** Damascus- has joined #zope3-dev06:36
Damascus-test06:36
*** Damascus- has quit IRC07:19
tvonIt's not working08:10
*** jdz has quit IRC08:39
*** sashav has joined #zope3-dev10:12
*** hazmat has joined #zope3-dev11:46
*** deo has quit IRC11:50
*** projekt01 has joined #zope3-dev13:37
*** bskahan has quit IRC13:46
*** sashav has quit IRC13:56
*** hazmat has quit IRC13:56
*** Aiste has quit IRC14:33
*** hazmat has joined #zope3-dev14:34
*** sashav has joined #zope3-dev14:35
*** mooded has joined #zope3-dev14:40
*** Aiste has joined #zope3-dev14:47
*** zagy has joined #zope3-dev15:16
*** GaryPoster has joined #zope3-dev15:21
*** admp has joined #zope3-dev15:26
*** mooded has quit IRC15:43
*** hazmat has quit IRC15:52
*** Aiste has quit IRC15:55
*** hazmat has joined #zope3-dev16:01
*** Aiste has joined #zope3-dev16:12
*** GaryPoster has quit IRC16:47
*** hazmat has quit IRC16:49
*** mgedmin has joined #zope3-dev17:02
*** gintas has joined #zope3-dev17:15
*** admp has quit IRC17:49
*** zug has joined #zope3-dev18:05
*** rejj has quit IRC18:05
mgedminI just realized why 'foo\n...\nbar' in my doctest does not match 'foo\n\nbar' in the output18:09
mgedminit's the interaction between ELLIPSIS_MATCH and NORMALIZE_WHITESPACE18:09
mgedminNORMALIZE_WHITESPACE converts the real output to 'foo bar' and my expectation to 'foo ... bar'18:09
mgedmin_ellipsis_match() then returns False18:10
*** __gotcha has joined #zope3-dev18:10
srichterahh, I see18:15
srichtergood detective work18:15
*** sashav has quit IRC18:39
*** sashav has joined #zope3-dev18:43
*** niemeyer has joined #zope3-dev19:03
*** sashav has quit IRC19:15
*** sashav has joined #zope3-dev19:22
*** GaryPoster has joined #zope3-dev19:23
*** Jim7J1AJ1 has joined #zope3-dev19:44
*** Jim7J1AJH has quit IRC19:44
*** __gotcha_ has joined #zope3-dev20:05
*** __gotcha has quit IRC20:09
*** hazmat has joined #zope3-dev20:12
*** tvon has quit IRC20:19
*** GaryPoster has quit IRC20:59
*** _projekt01 has joined #zope3-dev21:03
*** projekt01 has quit IRC21:03
*** bskahan has joined #zope3-dev21:14
*** hazmat has quit IRC21:30
*** bskahan has quit IRC22:05
*** bskahan has joined #zope3-dev22:21
*** srichter has quit IRC22:37
*** srichter has joined #zope3-dev22:37
*** ChanServ sets mode: +o srichter22:37
mgedminis raising Redirect a good idea?23:05
mgedminok, it is *not* a good idea23:06
mgedmintal:on-error catches it23:06
mgedminand the publisher shows the standard "An error occured" page23:07
mgedmininstead of redirecting23:07
mgedmin23:08
mgedminmust I live with a bunch of spurious "error: (32, 'Broken pipe')" tracebacks cluttering my error log?23:08
mgedminthough I suppose I can hide them if I play with my logging configuration...23:09
*** tvon has joined #zope3-dev23:21
SteveAthe publisher shouldn't really worry about broken pipes23:24
mgedminI'd be happier if it didn't23:29
mgedminhere's how a typical traceback looks: http://paste.plone.org/84523:30
mgedminah, zope 3 ignores those errors by default23:36
mgedminmy app sets up a root logger and sees it23:36
mgedminwhat does the <eventlog> directive set up?23:37
mgedminwhich logger?23:38

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