IRC log of #zope3-dev for Tuesday, 2009-11-03

*** jbglenn has quit IRC00:34
*** hathawsh is now known as hath|away00:37
*** hath|away is now known as hathawsh00:42
*** fcorrea has quit IRC00:46
*** benji has quit IRC00:47
*** matthal has quit IRC00:51
*** redir has joined #zope3-dev00:52
*** hathawsh is now known as hath|away00:52
*** hath|away is now known as hathawsh00:57
*** gary_poster has quit IRC00:59
*** J1m has quit IRC01:02
*** alecm has quit IRC01:08
*** hathawsh is now known as hath|away01:13
*** alecm has joined #zope3-dev01:14
*** fcorrea has joined #zope3-dev01:18
*** hath|away is now known as hathawsh01:27
*** matthal has joined #zope3-dev01:37
*** mcdonc has quit IRC01:52
*** mcdonc has joined #zope3-dev01:54
*** Aiste has quit IRC02:10
*** davisagli has joined #zope3-dev02:21
*** redir has quit IRC02:26
menesisswampmonkey: zope 3.4 supports python2.4 and python2.5 only.02:32
*** malthe has quit IRC02:39
*** dunny has quit IRC02:42
*** dunny has joined #zope3-dev02:47
runyagamenesis, when is py2.6 support suppose to land?02:48
*** menesis has quit IRC02:50
mcdoncrunyaga: in your DREAMS02:51
runyagaok02:51
mcdoncno, jk, i have no idea02:51
runyagacandy coloured clown02:52
*** alecm has quit IRC02:52
runyagathe candy coloured clown says "in dreams"02:52
*** alecm has joined #zope3-dev02:52
mcdonci understand02:52
mcdoncnot really, but.. you know.02:53
runyagayou seen blue velvet?02:53
runyagaanyhoo.. i presume ztk supports py2.602:53
runyagathis magikal ztk thingie02:53
mcdoncit supports everything02:54
mcdoncthings that we haven't even made yet02:54
runyagaahh infinite flexibility02:55
runyagai love that aspect of zope02:55
mcdoncyes, and did i mention its free02:56
runyagai get all of that for free?02:56
mcdoncits free02:57
mcdoncit has a website02:57
mcdoncand a logo even02:57
runyagainfinite flexibility that supports all possible combinations for free?  improbable!02:57
mcdoncmr. zope doesn't like doubters02:58
runyagaas a member of mr. zope's possee I suggest you move on02:59
mcdoncoh alright.  i didn't like the logo anyway.02:59
runyagahow is everything going mcdonc ? snowing?02:59
runyagasnowing up north02:59
mcdoncno its warm, how is it there?02:59
runyagawarm02:59
runyaga85 or so02:59
mcdoncyou gettin your zope on03:00
runyagai cant get enough of mr. zope03:00
runyagai need to get back to my zope its getting cold03:00
mcdoncalright, ttys03:00
*** tarek has quit IRC03:17
*** matthal has quit IRC03:33
*** alga has quit IRC03:50
*** matthal has joined #zope3-dev04:05
*** alecm has quit IRC04:20
*** stub has joined #zope3-dev04:36
*** swampmonkey has quit IRC04:39
*** hathawsh is now known as hath|away04:56
*** hath|away is now known as hathawsh05:21
*** matthal has quit IRC05:41
*** pcardune has quit IRC05:47
*** hathawsh is now known as hath|away05:50
*** hath|away is now known as hathawsh06:01
*** deo has quit IRC06:17
*** hathawsh is now known as hath|away06:34
*** davisagli has quit IRC06:41
*** baijum has joined #zope3-dev06:54
*** allisterb has joined #zope3-dev06:59
*** allisterb_ has quit IRC07:09
*** jfkw has quit IRC07:10
*** hath|away is now known as hathawsh07:31
*** pcardune has joined #zope3-dev07:40
*** pcardune has quit IRC07:41
*** afd__ has joined #zope3-dev07:51
*** stub1 has joined #zope3-dev08:09
*** stub has quit IRC08:09
*** stub1 is now known as stub08:09
*** zagy has joined #zope3-dev08:14
*** stub has left #zope3-dev08:21
*** hexsprite has joined #zope3-dev08:29
*** pcardune has joined #zope3-dev08:37
*** runyaga has quit IRC08:41
*** sweh has joined #zope3-dev08:42
*** alecm has joined #zope3-dev08:46
*** matthal has joined #zope3-dev08:47
*** Theuni1 has quit IRC08:50
*** baijum has quit IRC08:57
*** baijum has joined #zope3-dev08:58
*** runyaga has joined #zope3-dev08:58
*** Theuni1 has joined #zope3-dev09:04
*** srichter_ has quit IRC09:04
*** srichter has joined #zope3-dev09:04
*** ChanServ sets mode: +o srichter09:04
*** sunoano has joined #zope3-dev09:05
*** __mac__ has joined #zope3-dev09:19
*** Theuni1 has left #zope3-dev09:19
*** baijum has quit IRC09:22
*** baijum has joined #zope3-dev09:23
*** hexsprite has quit IRC09:26
*** sunoano has quit IRC09:28
*** alecm has quit IRC09:28
*** hexsprite has joined #zope3-dev09:43
*** runyaga has quit IRC09:46
*** stub has joined #zope3-dev09:57
*** agroszer has joined #zope3-dev10:04
*** afd_ has joined #zope3-dev10:09
*** romanofski has quit IRC10:11
*** reinout has joined #zope3-dev10:11
*** hexsprite has quit IRC10:21
*** jukart has joined #zope3-dev10:26
*** alga has joined #zope3-dev10:28
*** El_Rolando has joined #zope3-dev10:33
*** afd__ has quit IRC10:33
*** tarek has joined #zope3-dev10:34
*** reinout has quit IRC10:37
*** hexsprite has joined #zope3-dev10:42
*** jpcw_ has joined #zope3-dev10:43
*** mgedmin has joined #zope3-dev10:44
*** malthe has joined #zope3-dev10:46
*** jpcw has quit IRC10:46
*** afd_ has quit IRC10:48
*** Theuni1 has joined #zope3-dev10:50
*** afd_ has joined #zope3-dev10:55
*** hexsprite has quit IRC10:58
*** matthal has quit IRC11:06
*** Aiste has joined #zope3-dev11:16
*** afd___ has joined #zope3-dev11:19
*** markusleist has joined #zope3-dev11:32
*** mkerrin has joined #zope3-dev11:34
*** afd_ has quit IRC11:38
*** malthe has quit IRC11:39
*** malthe has joined #zope3-dev11:40
*** romanofski has joined #zope3-dev11:43
*** afd____ has joined #zope3-dev11:43
*** ignas has joined #zope3-dev11:47
*** afd___ has quit IRC11:50
*** afd______ has joined #zope3-dev11:51
*** junkafarian has joined #zope3-dev11:53
*** malthe has quit IRC11:56
*** allisterb_ has joined #zope3-dev12:02
*** afd_ has joined #zope3-dev12:03
*** afd____ has quit IRC12:09
*** malthe has joined #zope3-dev12:12
*** allisterb has quit IRC12:13
*** MJ has joined #zope3-dev12:15
*** afd______ has quit IRC12:21
*** malthe has quit IRC12:23
*** malthe has joined #zope3-dev12:25
*** kaeru has quit IRC12:26
ignashow do I set include_path property that is set in setup.cfg most of the time using buildout?12:27
mgedminI like "most of the time", it's so very specific12:31
*** hathawsh is now known as hath|away12:33
*** MJ has quit IRC12:37
ignaswell - the setting is in setup.cfg, I *think*12:37
ignashmm, where is setup.cfg?12:37
ignascan I have setup.cfg next to my buildout.cfg? should I?12:37
ignasor is it a part of the egg12:37
mgedminsetup.cfg goes with setup.py12:38
*** baijum has quit IRC12:38
mgedminsame directory, I assume12:38
*** baijum has joined #zope3-dev12:38
mgedminwell, since setup.py usually FAILS AND DIES A HORRIBLE HORRIBLE DEATH LIKE THE SOUND OF A THOUSAND DYING SUNS if you run it when it's not in the current working directory, I'd assume that setup.cfg is also expected to be in the current working directory12:38
mgedminI think the things you can specify in setup.cfg you might be able to pass as arguments to setup.py12:39
ignasok, so - how do I set these settings for one of the eggs using buildout?12:40
mgedminno clue12:40
mgedmineggs are the result of running setup.py, so I think it's too late to set anything up by then12:40
mgedminusing the term 'eggs' in the narrow *.egg sense12:40
* ignas is trying to conver the instruction - "download the egg, extract it, fix it's setup.cfg, install it"12:41
ignasinto buildouteese12:41
mgedminis setup.cfg something to be modified by people who install packages?12:43
ignasthe "real problem" is psycopg2 in buildout on a mac12:43
mgedminI though it was something to be modified by people who build packages12:43
mgedminthe mx.DateTime brain damage?12:43
* mgedmin encountered it today12:43
ignasthe datetime is on ubuntu12:43
mgedminpsycooooooooooooooooooooooooooooopg2!!!!12:43
ignasbut yeah, I still voodoo around the datetime12:44
ignassomething like sudo apt-get build-dep python-psycopg2 && sudo apt-remove python-egenix-mx-base-dev12:44
ignaswhich kind of works, but doesn't sometimes12:45
*** malthe has quit IRC12:48
*** malthe has joined #zope3-dev12:49
*** alecm has joined #zope3-dev12:53
*** afd__ has joined #zope3-dev13:06
*** afd_ has quit IRC13:13
*** afd___ has joined #zope3-dev13:14
*** sweh has quit IRC13:15
*** menesis has joined #zope3-dev13:17
*** pcardune has quit IRC13:18
*** afd____ has joined #zope3-dev13:21
*** MJ has joined #zope3-dev13:25
*** afd___ has quit IRC13:28
*** afd______ has joined #zope3-dev13:29
*** baijum has quit IRC13:30
*** baijum has joined #zope3-dev13:30
*** alecm has quit IRC13:30
*** afd__ has quit IRC13:32
*** fcorrea has quit IRC13:34
*** romanofski has quit IRC13:34
*** sweh has joined #zope3-dev13:36
*** pyqwer has joined #zope3-dev13:43
pyqwerHi, does someone have a hint to do the following: Make it possible to shut down a site to a "maintenance" mode, where all requests to the site object (and all other objects/views in it's hierarchy) are redirected to some maintenance page?13:44
pyqwerI thought about some tricks with the traverser, but maybe there's a simple way?13:45
ignasapache rewrite rule!?13:46
pyqwerignas: Yes, possible, but I'd like to be able to shut to this maintenance mode via the Zope instance itself.13:47
*** afd____ has quit IRC13:48
ignasone custom traverser on the site level should be enough then13:48
pyqwerignas: That's what I thought, but it seems not to be that simple to implement it.13:49
ignasreally? a traverser that returns "itself" if "maintainance" is set13:49
ignasor calls out to superclass if it's not13:50
ignasis one way to do it13:50
pyqwerignas: Theoretically, yes, but this easily leads to recursive redirects.13:50
ignasthe other way is - eating traversal stack isntead of recursion13:50
ignasnope it does not lead to recursive redirects13:50
pyqwerFor instance, I have pictures/CSS in my site as views, which are needed in the maintenance page.13:50
ignasyou do not redirect13:50
ignasyou return an object with a maintainance view at the end13:51
ignasoh13:51
ignasso you don't want to redirect "everything"13:51
ignasbut only "something"13:51
pyqweryes, right.13:52
ignasso you will have to mark all the "something" somehow13:52
*** __mac__ has quit IRC13:52
ignasor mark all the "other_thing" somehow13:52
pyqwerignas: Ah, "mark" is a good hint. So I could e.g. let them implement some marker interface.13:52
ignasyeah, probably would work13:53
ignasor maybe do it using skins13:53
pyqwerignas: How would that help?13:53
ignascan'e recall whether it's "context, request" or "request, context"13:53
ignascan you remind me?13:53
yvlcontext, request13:53
ignasargh, in that case IFoo, IBrowserRequest will win out against Interface, IMyLayer13:54
ignasso yeah, you can't use a skin13:54
pyqwerignas: Hmmm, but maybe a skin will do it, too. Because I simply don't display the content in the surrounding template.13:55
*** __mac__ has joined #zope3-dev13:55
ignasmaybe, you know more about your code ;)13:55
pyqwerignas: Yes, hopefully ;-) Thanks for your ideas!13:56
ignasso you either do some traversal magic, provide some skin on the request in the "site traverser" if maintainance is on13:56
pyqwerignas: Exactly.13:56
ignasor override some adapter/view when you click "enable"13:56
ignasfor the maintainance mode13:56
pyqwerignas: Also a good idea.13:56
ignaslike install a view for all "IMaintained"13:57
ignasthat redirects13:57
ignas(not sure how to deal with "names" for your views though)13:57
pyqwerignas: Hmmm...13:58
ignasi mean - there are 2 places to plug in13:58
*** afd_ has joined #zope3-dev13:58
ignastraversal13:58
ignasand queryAdapter((context, request), name="foo.html")13:58
pyqwerYes.13:59
ignasthe "name" part complicates the view lookup part IIRC13:59
pyqwerTrue.13:59
ignasor does it, can't recall whether you can register an adapter for "all" the names13:59
ignasbut I am pretty sure zope tries traversing into a name before view lookup14:00
pyqwerignas: I think so, too.14:00
pyqwerThe name has precedence.14:00
ignasso just plain traverser for all IMaintained that always allows traversal should intercept it14:00
pyqwerright.14:00
ignasmeh, haven14:01
ignashaven't looked at the code for 5 months ;)14:01
ignasis getting all hazy14:01
ignasZope3 http publisher code that is14:01
*** malthe is now known as malthe|away14:02
*** afd______ has quit IRC14:05
*** zagy has quit IRC14:05
*** Aiste has quit IRC14:07
*** menesis has quit IRC14:13
*** fcorrea has joined #zope3-dev14:14
*** Aiste has joined #zope3-dev14:19
*** projekt01 has joined #zope3-dev14:23
*** davisagli has joined #zope3-dev14:24
*** gary_poster has joined #zope3-dev14:26
*** zagy has joined #zope3-dev14:29
*** malthe|away is now known as malthe14:31
*** zagy has quit IRC14:36
*** menesis has joined #zope3-dev14:36
*** zagy has joined #zope3-dev14:41
*** davisagli has left #zope3-dev14:53
*** gary_poster has quit IRC14:58
*** gary_poster has joined #zope3-dev15:04
*** dunny has quit IRC15:04
*** gary_poster has quit IRC15:12
mgedminpyqwer, I still think you'd better implement it with apache15:13
mgedminusually you need to restart Zope to do upgrades15:14
mgedminduring that time any zope-built maintenance page won't work15:14
mgedminsure, maybe build a Zope UI for enabling/disabling maintenance mode15:14
mgedminby, e.g. dropping a file into a directory on the file system somewhere15:14
mgedminthen have an apache rewritecond check the existence of that file15:14
*** baijum has quit IRC15:25
*** baijum has joined #zope3-dev15:26
pyqwermgedmin: Thanks for feedback, I'll consider that.15:31
*** J1m has joined #zope3-dev15:43
*** jfkw has joined #zope3-dev15:45
*** gary_poster has joined #zope3-dev16:10
*** afd__ has joined #zope3-dev16:12
*** baijum has quit IRC16:16
*** baijum has joined #zope3-dev16:16
*** afd_ has quit IRC16:28
*** baijum has quit IRC16:35
*** kursor has joined #zope3-dev16:38
*** menesis has quit IRC16:51
*** markusleist has quit IRC16:56
*** benji has joined #zope3-dev17:02
*** J1m has quit IRC17:09
*** kaeru has joined #zope3-dev17:20
*** redir has joined #zope3-dev17:30
*** nathany has joined #zope3-dev17:44
*** agroszer_ has joined #zope3-dev17:45
*** agroszer has quit IRC17:45
*** nathany has quit IRC17:47
*** nathany_ has joined #zope3-dev17:47
*** agroszer_ is now known as agroszer17:47
*** sweh has quit IRC17:52
*** nathany_ has quit IRC17:58
*** alecm has joined #zope3-dev18:06
*** nathany has joined #zope3-dev18:09
*** menesis has joined #zope3-dev18:16
*** drudi has joined #zope3-dev18:18
*** alecm has quit IRC18:20
*** alecm has joined #zope3-dev18:25
*** danfairs_ has joined #zope3-dev18:26
*** yvl has quit IRC18:27
*** alecm has quit IRC18:28
*** redir has quit IRC18:31
*** projekt01 has quit IRC18:33
*** redir has joined #zope3-dev18:42
*** mkerrin has left #zope3-dev18:44
*** __mac__ has quit IRC18:58
*** El_Rolando has quit IRC19:08
*** jukart has quit IRC19:12
*** ignas has quit IRC19:13
*** alecm has joined #zope3-dev19:15
*** jukart has joined #zope3-dev19:17
*** redir_ has joined #zope3-dev19:18
*** redir has quit IRC19:32
*** J1m has joined #zope3-dev19:33
*** pcardune has joined #zope3-dev19:38
*** Theuni2 has joined #zope3-dev19:48
*** MJ has quit IRC19:53
*** Theuni1 has quit IRC19:54
*** pyqwer has quit IRC19:57
*** hexsprite has joined #zope3-dev20:01
*** nathany_ has joined #zope3-dev20:04
*** alecm_ has joined #zope3-dev20:05
*** nathany has quit IRC20:06
*** menesis has quit IRC20:07
*** stub has quit IRC20:10
*** alecm has quit IRC20:17
*** alecm_ is now known as alecm20:17
*** jukart has quit IRC20:18
*** mgedmin has quit IRC20:18
*** kursor has quit IRC20:18
*** afd__ has quit IRC20:19
*** benji has quit IRC20:21
*** benji has joined #zope3-dev20:21
*** redir has joined #zope3-dev20:34
*** hath|away is now known as hathawsh20:36
*** menesis has joined #zope3-dev20:46
*** redir_ has quit IRC20:47
*** nathany_ has quit IRC20:51
*** Theuni2 has quit IRC20:53
*** Theuni1 has joined #zope3-dev20:53
*** alecm has quit IRC20:57
*** hexsprite has quit IRC21:06
*** nathany_ has joined #zope3-dev21:07
*** agroszer has quit IRC21:12
*** agroszer_ has joined #zope3-dev21:12
*** fcorrea has quit IRC21:25
*** jpcw_ has quit IRC21:33
*** matthal has joined #zope3-dev21:34
*** dunny has joined #zope3-dev21:36
*** mcdonc has quit IRC21:40
*** agroszer_ has quit IRC21:42
*** mcdonc has joined #zope3-dev21:42
*** tarek has quit IRC21:51
*** junkafarian has quit IRC21:57
*** hathawsh is now known as hath|away21:58
*** benji has quit IRC22:13
*** J1m has quit IRC22:18
*** jukart has joined #zope3-dev22:20
*** jpcw has joined #zope3-dev22:22
*** hath|away is now known as hathawsh22:23
*** J1m has joined #zope3-dev22:24
*** J1m has quit IRC22:36
*** jukart_ has joined #zope3-dev22:39
*** benji has joined #zope3-dev22:53
*** jukart has quit IRC22:58
*** jukart_ is now known as jukart22:58
*** jukart_ has joined #zope3-dev23:01
*** jukart_ has quit IRC23:02
*** jukart has quit IRC23:04
*** romanofski has joined #zope3-dev23:33
*** J1m has joined #zope3-dev23:44
*** drudi has quit IRC23:58

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