IRC log of #zope3-dev for Tuesday, 2008-01-15

*** jpfarias_ has quit IRC00:12
*** flox has quit IRC00:27
*** RaFromBRC|lunch is now known as RaFromBRC00:36
*** dobee has quit IRC00:42
*** norro has quit IRC00:53
*** danielblackburn_ has quit IRC00:58
*** regebro has left #zope3-dev01:02
*** benji has quit IRC01:02
*** jeffk has joined #zope3-dev01:21
*** jodok has quit IRC01:36
*** rmarianski has quit IRC01:40
*** pbugni has quit IRC01:44
*** jpfarias has joined #zope3-dev01:48
*** J1m has quit IRC01:48
*** timte has quit IRC01:56
*** danielblackburn_ has joined #zope3-dev02:04
*** danielblackburn_ has quit IRC02:23
*** RaFromBRC has quit IRC02:26
*** sp0cksbeard has quit IRC02:30
*** quodt has quit IRC03:20
*** tjs has joined #zope3-dev03:24
tjslooking for a buildbot z3 test runner class03:24
tjsfor creating build steps03:24
tjsanyone have anything handy?03:24
*** niemeyer has quit IRC03:29
*** mcdonc has quit IRC03:31
*** pbugni has joined #zope3-dev04:23
*** pbugni has quit IRC04:26
*** rcrafton has quit IRC04:34
*** tjs has left #zope3-dev04:47
*** rcrafton has joined #zope3-dev04:58
*** philiKON has joined #zope3-dev04:59
*** rmarianski has joined #zope3-dev05:00
*** philiKON_ has quit IRC05:02
*** alecm has quit IRC05:18
*** jpfarias has quit IRC05:34
*** philiKON_ has joined #zope3-dev05:46
*** mcdonc has joined #zope3-dev05:55
*** stub has joined #zope3-dev05:59
*** rmarianski has quit IRC05:59
*** philiKON has quit IRC06:03
*** [1]Doc_Dan has joined #zope3-dev06:43
*** jeffk has quit IRC06:53
*** rcrafton has quit IRC06:57
*** Doc_Dan has quit IRC07:01
*** [1]Doc_Dan is now known as Doc_Dan07:01
*** alecm has joined #zope3-dev07:20
*** amit_am has joined #zope3-dev07:26
*** alecm has quit IRC07:38
*** vod has quit IRC07:41
*** vod has joined #zope3-dev07:44
*** alecm has joined #zope3-dev07:57
*** stub has quit IRC08:04
*** sorin has joined #zope3-dev08:33
*** sorin is now known as sorindregan08:33
*** dobee has joined #zope3-dev08:50
*** jukart has joined #zope3-dev08:53
*** jodok has joined #zope3-dev08:55
*** zagy has joined #zope3-dev08:59
*** jodok_ has joined #zope3-dev09:02
*** jodok has quit IRC09:04
*** jodok_ is now known as jodok09:04
*** hdima has joined #zope3-dev09:11
*** jukart has quit IRC09:16
*** jukart has joined #zope3-dev09:20
*** romanofski has joined #zope3-dev09:33
*** philiKON_ is now known as philiKON09:36
*** d2m has joined #zope3-dev09:43
*** stub has joined #zope3-dev09:51
*** jodok has quit IRC09:54
*** timte has joined #zope3-dev10:00
*** kursor has joined #zope3-dev10:10
*** afd__ has joined #zope3-dev10:20
*** toutpt has joined #zope3-dev10:23
*** jpcw2002 has joined #zope3-dev10:23
*** harobed has joined #zope3-dev10:32
*** projekt01 has joined #zope3-dev10:40
*** MJ has joined #zope3-dev10:48
*** pelle_ has joined #zope3-dev11:08
*** stub has left #zope3-dev11:12
*** goschtl has joined #zope3-dev11:24
*** markusleist has quit IRC11:34
*** quodt has joined #zope3-dev11:41
*** BjornT has quit IRC11:48
*** BjornT has joined #zope3-dev11:53
*** goschtl_ has joined #zope3-dev12:09
goschtl_hi how can i debug unauthorized problems. is there anything like verbosesecurity for z3?12:10
*** MJ|nickcollision has joined #zope3-dev12:14
*** jodok has joined #zope3-dev12:15
*** MJ has quit IRC12:15
*** jodok has quit IRC12:21
*** MJ|nickcollision is now known as MJ12:23
*** goschtl has quit IRC12:25
*** jinty has joined #zope3-dev12:37
*** greenman has joined #zope3-dev12:47
*** jinty_ has joined #zope3-dev12:48
*** jodok has joined #zope3-dev12:48
*** toutpt has quit IRC12:48
*** romanofs1i has joined #zope3-dev12:50
*** romanofski has quit IRC12:51
*** toutpt has joined #zope3-dev12:56
*** jodok has quit IRC12:56
*** jinty__ has joined #zope3-dev12:57
*** jinty has quit IRC12:57
*** jodok has joined #zope3-dev13:03
*** jodok_ has joined #zope3-dev13:04
*** jinty_ has quit IRC13:05
*** niemeyer has joined #zope3-dev13:06
*** jinty has joined #zope3-dev13:07
*** mgedmin has joined #zope3-dev13:08
*** __gotcha has joined #zope3-dev13:10
*** jinty__ has quit IRC13:15
*** jinty_ has joined #zope3-dev13:16
*** jodok has quit IRC13:21
*** jodok_ is now known as jodok13:21
*** yvl has joined #zope3-dev13:24
*** toutpt has quit IRC13:30
*** jinty has quit IRC13:32
goschtl_hi i have a custom authenticator in my function     def principalInfo(self, id): the id is " zope.Everybody" instead of the id of my user! Why that?13:32
*** jinty_ has quit IRC13:32
mgedminthe user is not authenticated?13:34
mgedminat least some versions of firefox didn't send the HTTP basic auth headers if it could get away with it13:35
*** jodok has quit IRC13:35
goschtl_mgedmin: ok i will check what my Authenticator does exactly.13:35
*** dunny has quit IRC13:37
*** kursor_ has joined #zope3-dev13:45
goschtl_mgedmin: the authenticateCredentials returns the right PrincipalInfo!  and i ve checked the http headers for the request it seems to be authenticated!13:45
*** __gotcha has left #zope3-dev13:47
*** agroszer has joined #zope3-dev13:50
*** jpcw2002 has quit IRC13:51
*** kursor has quit IRC13:52
*** rocky has joined #zope3-dev14:04
*** mkerrin has joined #zope3-dev14:06
*** Aiste has joined #zope3-dev14:15
*** jpcw2002 has joined #zope3-dev14:29
*** MJ has quit IRC14:41
*** afd_ has quit IRC14:59
*** greenman has quit IRC15:00
*** MJ has joined #zope3-dev15:01
*** toutpt has joined #zope3-dev15:03
*** ignas has joined #zope3-dev15:04
*** danielblackburn_ has joined #zope3-dev15:17
*** danielblackburn_ has quit IRC15:17
*** jodok has joined #zope3-dev15:24
*** danielblackburn has joined #zope3-dev15:24
goschtl_hi in the principalInfo(self, id) function of my custom authenticator i got always "zope.Everybody" or "zopeAuthenticated" as parameter id instead of my principal id. Is this normal?15:24
*** danielblackburn has quit IRC15:27
*** danielblackburn has joined #zope3-dev15:28
rockywhat's the standard way of getting a buildout to generate the console scripts configured for an egg?15:28
afd__rocky: there's nothing special15:29
afd__in my experience, buildout reads the entry_points parameter of setup()15:29
rockyafd__: well i was expecting the script to be generated just by referencing it as an egg that my buildout uses... but that's not doing it so i assume i need to use a recipe to kickstart it or something15:29
afd__and it even makes them .exe for Windows15:29
afd__rocky: I'm not using any recipe for this on one of my apps15:30
*** benji has joined #zope3-dev15:30
*** faassen has joined #zope3-dev15:30
afd__in the setup.py you do:15:30
afd__setup(..., entry_points = {'console_scripts':['app = mypackage.app:my_main_function']}15:31
afd__)15:31
rockyi have that15:31
afd__ok... then I'm not sure15:31
afd__let me double check my setup, maybe I have missed something15:32
rockyand in my global [buildout] section i have the egg which has that setup.py specified in "eggs="15:32
*** hazmat has joined #zope3-dev15:34
afd__rocky: I don't know if I can help you further...15:34
afd__I haven't tried yet this feature for an egg which is not developed by the current buildout15:35
rockyi found it... http://readlist.com/lists/zope.org/zope3-users/0/3941.html15:35
rockyscript generation is not implicit it seems15:35
*** agroszer has quit IRC15:37
*** pelle_ has quit IRC15:38
*** kursor_ has quit IRC15:44
*** acsr has quit IRC15:47
*** agroszer has joined #zope3-dev15:49
*** pelle_ has joined #zope3-dev15:49
*** acsr has joined #zope3-dev15:52
*** jpfarias has joined #zope3-dev15:56
*** MJ is now known as MJ|lunch15:58
*** TresEquis has joined #zope3-dev16:04
*** agroszer_ has joined #zope3-dev16:12
*** junkafarian has joined #zope3-dev16:13
*** MJ|lunch is now known as MJ16:15
*** agroszer has quit IRC16:25
*** rcrafton has joined #zope3-dev16:25
junkafariani was wondering what the best way to handle 404s were16:25
*** yvl has left #zope3-dev16:25
junkafarianeg handle a request to a non-existent object16:25
*** agroszer_ is now known as agroszer16:26
junkafariando i need to hang a url parser off the root folder or can i handle an exception?16:27
afd__junkafarian: look in the basic skin16:27
mgedminif you want to replace the standard 404 error page, write a view on the NotFound exception16:27
junkafariancool16:28
mgedminif you want to provide some virtual objects at some given location, provide a custom browser traverser16:28
mgedmin(adapter on (context, request) providing IBrowserPublisher)16:28
junkafariani basically want to pass the url args and parameters to a search function16:28
junkafarian...if its not a valid path16:28
*** afd__ has quit IRC16:28
Theuni*sigh*16:32
Theunilooks like i found one of the issues with persistent zeo cache files16:32
Theunibetter16:33
Theuniit found me16:33
*** J1m has joined #zope3-dev16:34
TheuniJ1m: I have news! And you can decide whether they are good or bad! :)16:35
*** MJ|nickcollision has joined #zope3-dev16:42
*** MJ has quit IRC16:42
*** MJ|nickcollision is now known as MJ16:42
*** natea|boston has quit IRC16:45
*** danielblackburn has quit IRC16:48
goschtl_he i try to check in an viewletmanager filter if the authenticated principal has the right to see the viewlet. has anybody  an example of this functionality? this is my try but i run into errors: http://paste.lisp.org/display/5427016:59
*** sorindregan has quit IRC17:02
*** Doc_Dan has quit IRC17:03
srichtergoschtl_: I thought the default implementation does this already17:03
*** TresEquis has quit IRC17:04
goschtl_srichter: ok i havenĀ“t  test it. i now check...17:05
*** natea|boston has joined #zope3-dev17:06
J1mTheuni, what is the news?17:09
goschtl_srichter: you are right. sometimes things are realy easy...17:13
srichtergoschtl_: cool17:14
goschtl_thanks a log17:14
goschtl_thanks a lot17:14
TheuniJ1m: Thomas and I are hunting a bug that might make persistent zeo caches more reliable17:14
Theunithe spurious errors led us to the tests using persistent zeo cache files17:15
J1mcool17:15
Theuniwe're digging into that right now17:15
J1mThat's great news.17:15
*** goschtl_ has quit IRC17:15
Theuniso a) the trunk is failing spuriously right now but b) looks like we get into a much better state than before17:15
J1mBTW, a simple way to make zeo caches more reliable -- probably indepenent of what you are doing -- is to give them lock files.17:15
J1mThis should have been done from the start.17:16
*** rmarianski has joined #zope3-dev17:16
Theuniright. that's independent. we were suspecting something like this but noticed that the tests work hard enough to avoid this scenario17:16
J1mI strongly suspect many problems arise from accidendentilly starting 2 processes with the same cache.17:16
*** hdima has quit IRC17:21
*** danielblackburn has joined #zope3-dev17:27
*** zagy has quit IRC17:30
*** lucielejard has joined #zope3-dev17:34
*** MJ has quit IRC17:37
*** ccomb has left #zope3-dev17:42
*** run|home has joined #zope3-dev17:46
*** wreutz has joined #zope3-dev17:52
*** alga has joined #zope3-dev17:52
Theunignah17:52
*** wreutz has quit IRC17:52
Theunithe spurious errors went away without us doing anything17:52
Theunilooks like they only appear between 2pm and 3:30pm17:52
Theuni:P17:52
benjiheh17:53
* benji packs up the time machine to send to Theuni.17:53
Theunithanks!17:53
*** sp0cksbeard has joined #zope3-dev18:03
*** MJ has joined #zope3-dev18:04
Theuniah18:17
Theuniinteresting18:17
Theunithe probability of an error rises the smaller the cache file is18:18
*** faassen has quit IRC18:18
srichterso let's do large cache files then :-)18:18
Theuni*g18:18
TheuniHmm. Or not. bah.18:20
*** norro has joined #zope3-dev18:28
*** pyqwer has joined #zope3-dev18:29
pyqwerHi, does someone know how to give a TestRequest() a context?18:29
srichterpyqwer: how can a request have a context?18:32
*** harobed has quit IRC18:32
*** harobed has joined #zope3-dev18:33
*** junkafarian_ has joined #zope3-dev18:33
*** pelle_ has quit IRC18:34
pyqwersrichter: Hmmm, I'd like to test my SessionCredentialsPlugin, which is registered/stored in my local site manager.18:34
mgedminyou need to call setSite() in your test setup18:34
pyqwermgedmin: Ah, thanks!18:35
pyqwerHowever, there's one thing I don't understand: When I look at Zope-3.4.0b2/lib/python/zope/session/session.py, line 334, the DataContainer is looked up without any context.18:36
pyqwerHow does that work?18:36
pyqwerI mean, how can getUtility() magically guess which site it should use without a context?18:37
*** ccomb has joined #zope3-dev18:38
*** ccomb has left #zope3-dev18:38
*** ccomb has joined #zope3-dev18:38
*** junkafarian has quit IRC18:40
pyqwermgedmin: Yes, setSite() did the trick, my doctests pass! That made my day, thanks! :-)18:44
mgedmindon't forget setSite(None) in the tearDown, too18:44
pyqwermgedmin: Ah, good to know.18:44
mgedminfun an inexplicable side effects in tests down the line are the punishment when you forget18:45
*** jpfarias has quit IRC18:47
*** projekt01 has quit IRC18:48
*** alecm has joined #zope3-dev18:51
*** __mac__ has quit IRC18:54
*** zagy has joined #zope3-dev19:02
*** afd_ has joined #zope3-dev19:03
junkafarian_hey mgedmin?19:05
*** junkafarian_ is now known as junkafarian19:06
mgedmin?19:07
*** danielblackburn has quit IRC19:08
junkafarianit doesnt seem to want me to override the NotFound view19:11
junkafarians/page19:11
mgedminyeah, zope is like that sometimes19:11
mgedminI use a custom skin19:11
junkafariandispite includeOverrides19:11
junkafarianok19:11
*** projekt01 has joined #zope3-dev19:12
*** jpcw2002 has quit IRC19:14
*** pyqwer has quit IRC19:18
*** alecm has quit IRC19:23
*** projet01_ has joined #zope3-dev19:23
*** alecm has joined #zope3-dev19:27
*** MJ has quit IRC19:33
junkafarian mgedmin works a treat, thanks a lot19:35
mgedminincludeOverrides is *tricky*19:36
junkafarianhrhr19:36
mgedminyou have to know graph theory to get it19:36
*** alecm has quit IRC19:36
mgedminwell, not really, but it's really unobvious19:36
*** alecm has joined #zope3-dev19:36
junkafariani havent needed to use it enough to look into it thoroughly19:37
junkafarianonly other time i had to resort to another solution anyway :P19:38
*** projekt01 has quit IRC19:41
*** jeffk has joined #zope3-dev19:42
*** toutpt has quit IRC19:42
*** jpfarias has joined #zope3-dev19:46
*** pbugni has joined #zope3-dev19:50
*** junkafarian has quit IRC19:50
*** danfairs has joined #zope3-dev19:55
*** run|home has quit IRC20:01
*** danielblackburn has joined #zope3-dev20:03
*** edgordon has joined #zope3-dev20:05
edgordonI have some objects that keep disappearing from a catalog index when I edit them via a basic formlib form, even thought the form doesn't change any attributes that have to do w/ the indexes. Any idea what might be going wrong? do i need to notify something after these edits?20:07
*** danfairs has quit IRC20:07
*** agroszer has quit IRC20:18
*** projet01_ has left #zope3-dev20:20
*** stub has joined #zope3-dev20:25
*** regebro has joined #zope3-dev20:27
*** alecm_ has joined #zope3-dev20:28
*** harobed has quit IRC20:33
*** junkafarian has joined #zope3-dev20:36
*** alecm has quit IRC20:39
*** mkerrin has quit IRC20:41
*** d2m has quit IRC21:01
*** natea|boston has quit IRC21:04
*** RaFromBRC has joined #zope3-dev21:04
*** dobee has quit IRC21:08
*** alecm has joined #zope3-dev21:20
*** natea|boston has joined #zope3-dev21:30
*** danielblackburn has quit IRC21:37
*** danielblackburn has joined #zope3-dev21:37
*** rocky has quit IRC21:39
*** rocky has joined #zope3-dev21:39
*** dunny has joined #zope3-dev21:40
*** alecm_ has quit IRC21:41
*** dobee_ has joined #zope3-dev21:41
*** pbugni_ has joined #zope3-dev21:43
*** stub has quit IRC21:57
*** pbugni has quit IRC21:58
*** ignas has quit IRC22:04
*** dobee_ has quit IRC22:06
*** junkafarian has quit IRC22:07
*** dobee has joined #zope3-dev22:13
*** harobed has joined #zope3-dev22:15
*** alecm has quit IRC22:22
*** jukart has quit IRC22:30
*** jodok has quit IRC22:34
*** greenman has joined #zope3-dev22:36
*** dobee has quit IRC22:39
*** ignas has joined #zope3-dev22:45
*** sp0cksbeard_ has joined #zope3-dev22:49
*** jodok has joined #zope3-dev22:49
*** alecm has joined #zope3-dev22:50
*** sp0cksbeard has quit IRC22:56
*** amit_am has quit IRC22:57
*** pbugni has joined #zope3-dev22:59
*** TresEquis has joined #zope3-dev23:02
*** TresEquis has left #zope3-dev23:05
*** replicant has joined #zope3-dev23:08
*** hazmat has quit IRC23:09
*** mgedmin has quit IRC23:15
*** zagy has quit IRC23:16
*** pbugni_ has quit IRC23:17
*** Jell-O-Fishi has joined #zope3-dev23:19
*** RaFromBRC is now known as RaFromBRC|lunch23:19
*** toutpt has joined #zope3-dev23:20
*** dobee has joined #zope3-dev23:23
*** replicant has quit IRC23:29
*** afd_ has quit IRC23:34
*** ktwilight_ has joined #zope3-dev23:49
*** nerdalert has joined #zope3-dev23:54
*** ronny has joined #zope3-dev23:58
ronnyyo23:58
ronnysomeone from #zope just send me here for asking about zodb23:59
* benji resists sending ronny to #zope.23:59
*** whit has quit IRC23:59

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