*** jbglenn has quit IRC | 00:34 | |
*** hathawsh is now known as hath|away | 00:37 | |
*** hath|away is now known as hathawsh | 00:42 | |
*** fcorrea has quit IRC | 00:46 | |
*** benji has quit IRC | 00:47 | |
*** matthal has quit IRC | 00:51 | |
*** redir has joined #zope3-dev | 00:52 | |
*** hathawsh is now known as hath|away | 00:52 | |
*** hath|away is now known as hathawsh | 00:57 | |
*** gary_poster has quit IRC | 00:59 | |
*** J1m has quit IRC | 01:02 | |
*** alecm has quit IRC | 01:08 | |
*** hathawsh is now known as hath|away | 01:13 | |
*** alecm has joined #zope3-dev | 01:14 | |
*** fcorrea has joined #zope3-dev | 01:18 | |
*** hath|away is now known as hathawsh | 01:27 | |
*** matthal has joined #zope3-dev | 01:37 | |
*** mcdonc has quit IRC | 01:52 | |
*** mcdonc has joined #zope3-dev | 01:54 | |
*** Aiste has quit IRC | 02:10 | |
*** davisagli has joined #zope3-dev | 02:21 | |
*** redir has quit IRC | 02:26 | |
menesis | swampmonkey: zope 3.4 supports python2.4 and python2.5 only. | 02:32 |
---|---|---|
*** malthe has quit IRC | 02:39 | |
*** dunny has quit IRC | 02:42 | |
*** dunny has joined #zope3-dev | 02:47 | |
runyaga | menesis, when is py2.6 support suppose to land? | 02:48 |
*** menesis has quit IRC | 02:50 | |
mcdonc | runyaga: in your DREAMS | 02:51 |
runyaga | ok | 02:51 |
mcdonc | no, jk, i have no idea | 02:51 |
runyaga | candy coloured clown | 02:52 |
*** alecm has quit IRC | 02:52 | |
runyaga | the candy coloured clown says "in dreams" | 02:52 |
*** alecm has joined #zope3-dev | 02:52 | |
mcdonc | i understand | 02:52 |
mcdonc | not really, but.. you know. | 02:53 |
runyaga | you seen blue velvet? | 02:53 |
runyaga | anyhoo.. i presume ztk supports py2.6 | 02:53 |
runyaga | this magikal ztk thingie | 02:53 |
mcdonc | it supports everything | 02:54 |
mcdonc | things that we haven't even made yet | 02:54 |
runyaga | ahh infinite flexibility | 02:55 |
runyaga | i love that aspect of zope | 02:55 |
mcdonc | yes, and did i mention its free | 02:56 |
runyaga | i get all of that for free? | 02:56 |
mcdonc | its free | 02:57 |
mcdonc | it has a website | 02:57 |
mcdonc | and a logo even | 02:57 |
runyaga | infinite flexibility that supports all possible combinations for free? improbable! | 02:57 |
mcdonc | mr. zope doesn't like doubters | 02:58 |
runyaga | as a member of mr. zope's possee I suggest you move on | 02:59 |
mcdonc | oh alright. i didn't like the logo anyway. | 02:59 |
runyaga | how is everything going mcdonc ? snowing? | 02:59 |
runyaga | snowing up north | 02:59 |
mcdonc | no its warm, how is it there? | 02:59 |
runyaga | warm | 02:59 |
runyaga | 85 or so | 02:59 |
mcdonc | you gettin your zope on | 03:00 |
runyaga | i cant get enough of mr. zope | 03:00 |
runyaga | i need to get back to my zope its getting cold | 03:00 |
mcdonc | alright, ttys | 03:00 |
*** tarek has quit IRC | 03:17 | |
*** matthal has quit IRC | 03:33 | |
*** alga has quit IRC | 03:50 | |
*** matthal has joined #zope3-dev | 04:05 | |
*** alecm has quit IRC | 04:20 | |
*** stub has joined #zope3-dev | 04:36 | |
*** swampmonkey has quit IRC | 04:39 | |
*** hathawsh is now known as hath|away | 04:56 | |
*** hath|away is now known as hathawsh | 05:21 | |
*** matthal has quit IRC | 05:41 | |
*** pcardune has quit IRC | 05:47 | |
*** hathawsh is now known as hath|away | 05:50 | |
*** hath|away is now known as hathawsh | 06:01 | |
*** deo has quit IRC | 06:17 | |
*** hathawsh is now known as hath|away | 06:34 | |
*** davisagli has quit IRC | 06:41 | |
*** baijum has joined #zope3-dev | 06:54 | |
*** allisterb has joined #zope3-dev | 06:59 | |
*** allisterb_ has quit IRC | 07:09 | |
*** jfkw has quit IRC | 07:10 | |
*** hath|away is now known as hathawsh | 07:31 | |
*** pcardune has joined #zope3-dev | 07:40 | |
*** pcardune has quit IRC | 07:41 | |
*** afd__ has joined #zope3-dev | 07:51 | |
*** stub1 has joined #zope3-dev | 08:09 | |
*** stub has quit IRC | 08:09 | |
*** stub1 is now known as stub | 08:09 | |
*** zagy has joined #zope3-dev | 08:14 | |
*** stub has left #zope3-dev | 08:21 | |
*** hexsprite has joined #zope3-dev | 08:29 | |
*** pcardune has joined #zope3-dev | 08:37 | |
*** runyaga has quit IRC | 08:41 | |
*** sweh has joined #zope3-dev | 08:42 | |
*** alecm has joined #zope3-dev | 08:46 | |
*** matthal has joined #zope3-dev | 08:47 | |
*** Theuni1 has quit IRC | 08:50 | |
*** baijum has quit IRC | 08:57 | |
*** baijum has joined #zope3-dev | 08:58 | |
*** runyaga has joined #zope3-dev | 08:58 | |
*** Theuni1 has joined #zope3-dev | 09:04 | |
*** srichter_ has quit IRC | 09:04 | |
*** srichter has joined #zope3-dev | 09:04 | |
*** ChanServ sets mode: +o srichter | 09:04 | |
*** sunoano has joined #zope3-dev | 09:05 | |
*** __mac__ has joined #zope3-dev | 09:19 | |
*** Theuni1 has left #zope3-dev | 09:19 | |
*** baijum has quit IRC | 09:22 | |
*** baijum has joined #zope3-dev | 09:23 | |
*** hexsprite has quit IRC | 09:26 | |
*** sunoano has quit IRC | 09:28 | |
*** alecm has quit IRC | 09:28 | |
*** hexsprite has joined #zope3-dev | 09:43 | |
*** runyaga has quit IRC | 09:46 | |
*** stub has joined #zope3-dev | 09:57 | |
*** agroszer has joined #zope3-dev | 10:04 | |
*** afd_ has joined #zope3-dev | 10:09 | |
*** romanofski has quit IRC | 10:11 | |
*** reinout has joined #zope3-dev | 10:11 | |
*** hexsprite has quit IRC | 10:21 | |
*** jukart has joined #zope3-dev | 10:26 | |
*** alga has joined #zope3-dev | 10:28 | |
*** El_Rolando has joined #zope3-dev | 10:33 | |
*** afd__ has quit IRC | 10:33 | |
*** tarek has joined #zope3-dev | 10:34 | |
*** reinout has quit IRC | 10:37 | |
*** hexsprite has joined #zope3-dev | 10:42 | |
*** jpcw_ has joined #zope3-dev | 10:43 | |
*** mgedmin has joined #zope3-dev | 10:44 | |
*** malthe has joined #zope3-dev | 10:46 | |
*** jpcw has quit IRC | 10:46 | |
*** afd_ has quit IRC | 10:48 | |
*** Theuni1 has joined #zope3-dev | 10:50 | |
*** afd_ has joined #zope3-dev | 10:55 | |
*** hexsprite has quit IRC | 10:58 | |
*** matthal has quit IRC | 11:06 | |
*** Aiste has joined #zope3-dev | 11:16 | |
*** afd___ has joined #zope3-dev | 11:19 | |
*** markusleist has joined #zope3-dev | 11:32 | |
*** mkerrin has joined #zope3-dev | 11:34 | |
*** afd_ has quit IRC | 11:38 | |
*** malthe has quit IRC | 11:39 | |
*** malthe has joined #zope3-dev | 11:40 | |
*** romanofski has joined #zope3-dev | 11:43 | |
*** afd____ has joined #zope3-dev | 11:43 | |
*** ignas has joined #zope3-dev | 11:47 | |
*** afd___ has quit IRC | 11:50 | |
*** afd______ has joined #zope3-dev | 11:51 | |
*** junkafarian has joined #zope3-dev | 11:53 | |
*** malthe has quit IRC | 11:56 | |
*** allisterb_ has joined #zope3-dev | 12:02 | |
*** afd_ has joined #zope3-dev | 12:03 | |
*** afd____ has quit IRC | 12:09 | |
*** malthe has joined #zope3-dev | 12:12 | |
*** allisterb has quit IRC | 12:13 | |
*** MJ has joined #zope3-dev | 12:15 | |
*** afd______ has quit IRC | 12:21 | |
*** malthe has quit IRC | 12:23 | |
*** malthe has joined #zope3-dev | 12:25 | |
*** kaeru has quit IRC | 12:26 | |
ignas | how do I set include_path property that is set in setup.cfg most of the time using buildout? | 12:27 |
mgedmin | I like "most of the time", it's so very specific | 12:31 |
*** hathawsh is now known as hath|away | 12:33 | |
*** MJ has quit IRC | 12:37 | |
ignas | well - the setting is in setup.cfg, I *think* | 12:37 |
ignas | hmm, where is setup.cfg? | 12:37 |
ignas | can I have setup.cfg next to my buildout.cfg? should I? | 12:37 |
ignas | or is it a part of the egg | 12:37 |
mgedmin | setup.cfg goes with setup.py | 12:38 |
*** baijum has quit IRC | 12:38 | |
mgedmin | same directory, I assume | 12:38 |
*** baijum has joined #zope3-dev | 12:38 | |
mgedmin | well, 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 directory | 12:38 |
mgedmin | I think the things you can specify in setup.cfg you might be able to pass as arguments to setup.py | 12:39 |
ignas | ok, so - how do I set these settings for one of the eggs using buildout? | 12:40 |
mgedmin | no clue | 12:40 |
mgedmin | eggs are the result of running setup.py, so I think it's too late to set anything up by then | 12:40 |
mgedmin | using the term 'eggs' in the narrow *.egg sense | 12:40 |
* ignas is trying to conver the instruction - "download the egg, extract it, fix it's setup.cfg, install it" | 12:41 | |
ignas | into buildouteese | 12:41 |
mgedmin | is setup.cfg something to be modified by people who install packages? | 12:43 |
ignas | the "real problem" is psycopg2 in buildout on a mac | 12:43 |
mgedmin | I though it was something to be modified by people who build packages | 12:43 |
mgedmin | the mx.DateTime brain damage? | 12:43 |
* mgedmin encountered it today | 12:43 | |
ignas | the datetime is on ubuntu | 12:43 |
mgedmin | psycooooooooooooooooooooooooooooopg2!!!! | 12:43 |
ignas | but yeah, I still voodoo around the datetime | 12:44 |
ignas | something like sudo apt-get build-dep python-psycopg2 && sudo apt-remove python-egenix-mx-base-dev | 12:44 |
ignas | which kind of works, but doesn't sometimes | 12:45 |
*** malthe has quit IRC | 12:48 | |
*** malthe has joined #zope3-dev | 12:49 | |
*** alecm has joined #zope3-dev | 12:53 | |
*** afd__ has joined #zope3-dev | 13:06 | |
*** afd_ has quit IRC | 13:13 | |
*** afd___ has joined #zope3-dev | 13:14 | |
*** sweh has quit IRC | 13:15 | |
*** menesis has joined #zope3-dev | 13:17 | |
*** pcardune has quit IRC | 13:18 | |
*** afd____ has joined #zope3-dev | 13:21 | |
*** MJ has joined #zope3-dev | 13:25 | |
*** afd___ has quit IRC | 13:28 | |
*** afd______ has joined #zope3-dev | 13:29 | |
*** baijum has quit IRC | 13:30 | |
*** baijum has joined #zope3-dev | 13:30 | |
*** alecm has quit IRC | 13:30 | |
*** afd__ has quit IRC | 13:32 | |
*** fcorrea has quit IRC | 13:34 | |
*** romanofski has quit IRC | 13:34 | |
*** sweh has joined #zope3-dev | 13:36 | |
*** pyqwer has joined #zope3-dev | 13:43 | |
pyqwer | Hi, 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 |
pyqwer | I thought about some tricks with the traverser, but maybe there's a simple way? | 13:45 |
ignas | apache rewrite rule!? | 13:46 |
pyqwer | ignas: 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 IRC | 13:48 | |
ignas | one custom traverser on the site level should be enough then | 13:48 |
pyqwer | ignas: That's what I thought, but it seems not to be that simple to implement it. | 13:49 |
ignas | really? a traverser that returns "itself" if "maintainance" is set | 13:49 |
ignas | or calls out to superclass if it's not | 13:50 |
ignas | is one way to do it | 13:50 |
pyqwer | ignas: Theoretically, yes, but this easily leads to recursive redirects. | 13:50 |
ignas | the other way is - eating traversal stack isntead of recursion | 13:50 |
ignas | nope it does not lead to recursive redirects | 13:50 |
pyqwer | For instance, I have pictures/CSS in my site as views, which are needed in the maintenance page. | 13:50 |
ignas | you do not redirect | 13:50 |
ignas | you return an object with a maintainance view at the end | 13:51 |
ignas | oh | 13:51 |
ignas | so you don't want to redirect "everything" | 13:51 |
ignas | but only "something" | 13:51 |
pyqwer | yes, right. | 13:52 |
ignas | so you will have to mark all the "something" somehow | 13:52 |
*** __mac__ has quit IRC | 13:52 | |
ignas | or mark all the "other_thing" somehow | 13:52 |
pyqwer | ignas: Ah, "mark" is a good hint. So I could e.g. let them implement some marker interface. | 13:52 |
ignas | yeah, probably would work | 13:53 |
ignas | or maybe do it using skins | 13:53 |
pyqwer | ignas: How would that help? | 13:53 |
ignas | can'e recall whether it's "context, request" or "request, context" | 13:53 |
ignas | can you remind me? | 13:53 |
yvl | context, request | 13:53 |
ignas | argh, in that case IFoo, IBrowserRequest will win out against Interface, IMyLayer | 13:54 |
ignas | so yeah, you can't use a skin | 13:54 |
pyqwer | ignas: 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-dev | 13:55 | |
ignas | maybe, you know more about your code ;) | 13:55 |
pyqwer | ignas: Yes, hopefully ;-) Thanks for your ideas! | 13:56 |
ignas | so you either do some traversal magic, provide some skin on the request in the "site traverser" if maintainance is on | 13:56 |
pyqwer | ignas: Exactly. | 13:56 |
ignas | or override some adapter/view when you click "enable" | 13:56 |
ignas | for the maintainance mode | 13:56 |
pyqwer | ignas: Also a good idea. | 13:56 |
ignas | like install a view for all "IMaintained" | 13:57 |
ignas | that redirects | 13:57 |
ignas | (not sure how to deal with "names" for your views though) | 13:57 |
pyqwer | ignas: Hmmm... | 13:58 |
ignas | i mean - there are 2 places to plug in | 13:58 |
*** afd_ has joined #zope3-dev | 13:58 | |
ignas | traversal | 13:58 |
ignas | and queryAdapter((context, request), name="foo.html") | 13:58 |
pyqwer | Yes. | 13:59 |
ignas | the "name" part complicates the view lookup part IIRC | 13:59 |
pyqwer | True. | 13:59 |
ignas | or does it, can't recall whether you can register an adapter for "all" the names | 13:59 |
ignas | but I am pretty sure zope tries traversing into a name before view lookup | 14:00 |
pyqwer | ignas: I think so, too. | 14:00 |
pyqwer | The name has precedence. | 14:00 |
ignas | so just plain traverser for all IMaintained that always allows traversal should intercept it | 14:00 |
pyqwer | right. | 14:00 |
ignas | meh, haven | 14:01 |
ignas | haven't looked at the code for 5 months ;) | 14:01 |
ignas | is getting all hazy | 14:01 |
ignas | Zope3 http publisher code that is | 14:01 |
*** malthe is now known as malthe|away | 14:02 | |
*** afd______ has quit IRC | 14:05 | |
*** zagy has quit IRC | 14:05 | |
*** Aiste has quit IRC | 14:07 | |
*** menesis has quit IRC | 14:13 | |
*** fcorrea has joined #zope3-dev | 14:14 | |
*** Aiste has joined #zope3-dev | 14:19 | |
*** projekt01 has joined #zope3-dev | 14:23 | |
*** davisagli has joined #zope3-dev | 14:24 | |
*** gary_poster has joined #zope3-dev | 14:26 | |
*** zagy has joined #zope3-dev | 14:29 | |
*** malthe|away is now known as malthe | 14:31 | |
*** zagy has quit IRC | 14:36 | |
*** menesis has joined #zope3-dev | 14:36 | |
*** zagy has joined #zope3-dev | 14:41 | |
*** davisagli has left #zope3-dev | 14:53 | |
*** gary_poster has quit IRC | 14:58 | |
*** gary_poster has joined #zope3-dev | 15:04 | |
*** dunny has quit IRC | 15:04 | |
*** gary_poster has quit IRC | 15:12 | |
mgedmin | pyqwer, I still think you'd better implement it with apache | 15:13 |
mgedmin | usually you need to restart Zope to do upgrades | 15:14 |
mgedmin | during that time any zope-built maintenance page won't work | 15:14 |
mgedmin | sure, maybe build a Zope UI for enabling/disabling maintenance mode | 15:14 |
mgedmin | by, e.g. dropping a file into a directory on the file system somewhere | 15:14 |
mgedmin | then have an apache rewritecond check the existence of that file | 15:14 |
*** baijum has quit IRC | 15:25 | |
*** baijum has joined #zope3-dev | 15:26 | |
pyqwer | mgedmin: Thanks for feedback, I'll consider that. | 15:31 |
*** J1m has joined #zope3-dev | 15:43 | |
*** jfkw has joined #zope3-dev | 15:45 | |
*** gary_poster has joined #zope3-dev | 16:10 | |
*** afd__ has joined #zope3-dev | 16:12 | |
*** baijum has quit IRC | 16:16 | |
*** baijum has joined #zope3-dev | 16:16 | |
*** afd_ has quit IRC | 16:28 | |
*** baijum has quit IRC | 16:35 | |
*** kursor has joined #zope3-dev | 16:38 | |
*** menesis has quit IRC | 16:51 | |
*** markusleist has quit IRC | 16:56 | |
*** benji has joined #zope3-dev | 17:02 | |
*** J1m has quit IRC | 17:09 | |
*** kaeru has joined #zope3-dev | 17:20 | |
*** redir has joined #zope3-dev | 17:30 | |
*** nathany has joined #zope3-dev | 17:44 | |
*** agroszer_ has joined #zope3-dev | 17:45 | |
*** agroszer has quit IRC | 17:45 | |
*** nathany has quit IRC | 17:47 | |
*** nathany_ has joined #zope3-dev | 17:47 | |
*** agroszer_ is now known as agroszer | 17:47 | |
*** sweh has quit IRC | 17:52 | |
*** nathany_ has quit IRC | 17:58 | |
*** alecm has joined #zope3-dev | 18:06 | |
*** nathany has joined #zope3-dev | 18:09 | |
*** menesis has joined #zope3-dev | 18:16 | |
*** drudi has joined #zope3-dev | 18:18 | |
*** alecm has quit IRC | 18:20 | |
*** alecm has joined #zope3-dev | 18:25 | |
*** danfairs_ has joined #zope3-dev | 18:26 | |
*** yvl has quit IRC | 18:27 | |
*** alecm has quit IRC | 18:28 | |
*** redir has quit IRC | 18:31 | |
*** projekt01 has quit IRC | 18:33 | |
*** redir has joined #zope3-dev | 18:42 | |
*** mkerrin has left #zope3-dev | 18:44 | |
*** __mac__ has quit IRC | 18:58 | |
*** El_Rolando has quit IRC | 19:08 | |
*** jukart has quit IRC | 19:12 | |
*** ignas has quit IRC | 19:13 | |
*** alecm has joined #zope3-dev | 19:15 | |
*** jukart has joined #zope3-dev | 19:17 | |
*** redir_ has joined #zope3-dev | 19:18 | |
*** redir has quit IRC | 19:32 | |
*** J1m has joined #zope3-dev | 19:33 | |
*** pcardune has joined #zope3-dev | 19:38 | |
*** Theuni2 has joined #zope3-dev | 19:48 | |
*** MJ has quit IRC | 19:53 | |
*** Theuni1 has quit IRC | 19:54 | |
*** pyqwer has quit IRC | 19:57 | |
*** hexsprite has joined #zope3-dev | 20:01 | |
*** nathany_ has joined #zope3-dev | 20:04 | |
*** alecm_ has joined #zope3-dev | 20:05 | |
*** nathany has quit IRC | 20:06 | |
*** menesis has quit IRC | 20:07 | |
*** stub has quit IRC | 20:10 | |
*** alecm has quit IRC | 20:17 | |
*** alecm_ is now known as alecm | 20:17 | |
*** jukart has quit IRC | 20:18 | |
*** mgedmin has quit IRC | 20:18 | |
*** kursor has quit IRC | 20:18 | |
*** afd__ has quit IRC | 20:19 | |
*** benji has quit IRC | 20:21 | |
*** benji has joined #zope3-dev | 20:21 | |
*** redir has joined #zope3-dev | 20:34 | |
*** hath|away is now known as hathawsh | 20:36 | |
*** menesis has joined #zope3-dev | 20:46 | |
*** redir_ has quit IRC | 20:47 | |
*** nathany_ has quit IRC | 20:51 | |
*** Theuni2 has quit IRC | 20:53 | |
*** Theuni1 has joined #zope3-dev | 20:53 | |
*** alecm has quit IRC | 20:57 | |
*** hexsprite has quit IRC | 21:06 | |
*** nathany_ has joined #zope3-dev | 21:07 | |
*** agroszer has quit IRC | 21:12 | |
*** agroszer_ has joined #zope3-dev | 21:12 | |
*** fcorrea has quit IRC | 21:25 | |
*** jpcw_ has quit IRC | 21:33 | |
*** matthal has joined #zope3-dev | 21:34 | |
*** dunny has joined #zope3-dev | 21:36 | |
*** mcdonc has quit IRC | 21:40 | |
*** agroszer_ has quit IRC | 21:42 | |
*** mcdonc has joined #zope3-dev | 21:42 | |
*** tarek has quit IRC | 21:51 | |
*** junkafarian has quit IRC | 21:57 | |
*** hathawsh is now known as hath|away | 21:58 | |
*** benji has quit IRC | 22:13 | |
*** J1m has quit IRC | 22:18 | |
*** jukart has joined #zope3-dev | 22:20 | |
*** jpcw has joined #zope3-dev | 22:22 | |
*** hath|away is now known as hathawsh | 22:23 | |
*** J1m has joined #zope3-dev | 22:24 | |
*** J1m has quit IRC | 22:36 | |
*** jukart_ has joined #zope3-dev | 22:39 | |
*** benji has joined #zope3-dev | 22:53 | |
*** jukart has quit IRC | 22:58 | |
*** jukart_ is now known as jukart | 22:58 | |
*** jukart_ has joined #zope3-dev | 23:01 | |
*** jukart_ has quit IRC | 23:02 | |
*** jukart has quit IRC | 23:04 | |
*** romanofski has joined #zope3-dev | 23:33 | |
*** J1m has joined #zope3-dev | 23:44 | |
*** drudi has quit IRC | 23:58 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!