*** sm__ has joined #zope3-dev | 00:00 | |
*** sm has quit IRC | 00:00 | |
*** sm__ is now known as sm | 00:01 | |
*** sm_ has quit IRC | 00:07 | |
*** romanofski has joined #zope3-dev | 00:12 | |
*** ChrisW has joined #zope3-dev | 00:12 | |
ChrisW | Hi All, anyone know how to run a specific DocFileSuite using zc.recipe.testrunner? | 00:13 |
---|---|---|
ChrisW | trying to run just the protocol tests for ZEO... | 00:13 |
*** Theuni1 has quit IRC | 00:20 | |
philiKON | ChrisW: iirc you can select tests using regexp | 00:25 |
ChrisW | hey stranger :-) | 00:25 |
philiKON | bin/test -t file.txt | 00:25 |
ChrisW | what brings you here? :-) | 00:25 |
philiKON | hey ChrisW | 00:25 |
philiKON | well, #zope3-dev still is on my connect-upon-login list for irc ;) | 00:25 |
ChrisW | how's the physics going? | 00:26 |
philiKON | going well | 00:26 |
philiKON | still doing zope? | 00:26 |
*** J1m_ has quit IRC | 00:26 | |
ChrisW | yep, but less than before | 00:27 |
ChrisW | still use lots of bits of zope (buildout, test runner, component architecture, etc) but not the whole stack | 00:27 |
philiKON | aye | 00:27 |
ChrisW | although still supporting some Zope 2 apps, which is much nicer in Zope 2.12, what with buildout and all | 00:27 |
ChrisW | you sitll using python at all? | 00:27 |
ChrisW | (btw: -t worked, thanks!) | 00:28 |
philiKON | in my spare time yeah | 00:28 |
philiKON | i.e. never | 00:28 |
ChrisW | no zope though, I'm guessing? ;-) | 00:28 |
philiKON | nope | 00:28 |
philiKON | been doing lots of Mathematica and C++. now mostly C++ | 00:29 |
ChrisW | heh, ouch :-D | 00:29 |
philiKON | Mathematica is fun. functional programming FTW | 00:29 |
philiKON | and well, when i say C++, it's really not much OOP | 00:30 |
ChrisW | yeah, but C++ ;-) | 00:30 |
philiKON | we're using it for numerics | 00:30 |
ChrisW | and C is even more :-/ | 00:30 |
philiKON | number crunching etc. | 00:30 |
ChrisW | *nods* | 00:30 |
ChrisW | I may have to do some of that soon too | 00:30 |
ChrisW | *dusts off hard hat* | 00:30 |
philiKON | sure, some days i want to poke my eyes out | 00:30 |
philiKON | just to end it all | 00:30 |
philiKON | but usually it isn't C++'s fault | 00:31 |
philiKON | it's my colleagues who've never heard of version control. | 00:31 |
philiKON | or that you read code more than you write it | 00:31 |
*** benji has quit IRC | 00:31 | |
ChrisW | any unit tests? ;-) | 00:31 |
philiKON | or that we're actually collaborating so code isn't just written for one person | 00:31 |
philiKON | hahahahahahahahahhahahahahahaha | 00:31 |
*** J1m_ has joined #zope3-dev | 00:32 | |
ChrisW | heh :-) | 00:34 |
ChrisW | hey J1m_, just about to send an "interesting" mail to zodb-dev... | 00:36 |
J1m_ | ? | 00:36 |
J1m_ | How so? | 00:36 |
ChrisW | the version parameter to the history method | 00:36 |
ChrisW | the mail makes it all clear, 1 sec... | 00:36 |
ChrisW | on its way | 00:38 |
*** cbcunc is now known as cbcunc|trizpug | 00:42 | |
*** hath|away is now known as hathawsh | 00:44 | |
ChrisW | also wondering about zc.recipe.rhrc vs zc.zodbrecipes:server vs zc.recipe.deployment: so, zc.zodbrecipes:server puts scripts in /etc/init.d, zc.recipe.rhrc does the same, what do I do about the name clash? | 00:47 |
*** sm has quit IRC | 00:52 | |
*** run|vm|winxp has joined #zope3-dev | 01:01 | |
ChrisW | J1m_: what's the ZEOStorage you're referring to? | 01:01 |
*** sm has joined #zope3-dev | 01:03 | |
*** run|away has quit IRC | 01:06 | |
*** lurkymclurklet-1 has joined #zope3-dev | 01:07 | |
*** markusleist has quit IRC | 01:07 | |
*** ChrisW has left #zope3-dev | 01:07 | |
*** menesis has joined #zope3-dev | 01:08 | |
*** markusleist has joined #zope3-dev | 01:09 | |
*** markusleist has quit IRC | 01:11 | |
*** markusleist has joined #zope3-dev | 01:13 | |
*** J1m_ has quit IRC | 01:21 | |
*** lurkymclurkleton has quit IRC | 01:23 | |
*** gary_poster has quit IRC | 01:39 | |
*** sm has joined #zope3-dev | 02:04 | |
*** davisagli has quit IRC | 02:13 | |
*** hazmat has quit IRC | 02:21 | |
*** run|vm|winxp has quit IRC | 02:47 | |
*** nathany has quit IRC | 02:47 | |
*** davisagli has joined #zope3-dev | 02:56 | |
*** run|vm|winxp has joined #zope3-dev | 03:03 | |
*** drudi has joined #zope3-dev | 03:06 | |
*** run|vm|winxp| has joined #zope3-dev | 03:08 | |
*** run|vm|winxp has quit IRC | 03:08 | |
*** run|vm|winxp has joined #zope3-dev | 03:09 | |
*** run|vm|winxp| has quit IRC | 03:10 | |
*** davisagli has quit IRC | 03:11 | |
*** junkafarian has joined #zope3-dev | 03:18 | |
*** hathawsh is now known as hath|away | 03:26 | |
*** drudi has quit IRC | 03:35 | |
*** davisagli has joined #zope3-dev | 03:39 | |
*** dunny has joined #zope3-dev | 03:41 | |
*** davisagli has quit IRC | 03:53 | |
*** hath|away is now known as hathawsh | 04:05 | |
*** fcorrea has joined #zope3-dev | 04:07 | |
*** alga_ has quit IRC | 04:08 | |
*** pcardune_ has joined #zope3-dev | 04:14 | |
*** pcardune_ has quit IRC | 04:15 | |
*** stub has joined #zope3-dev | 04:16 | |
*** hathawsh is now known as hath|away | 04:19 | |
*** hath|away is now known as hathawsh | 04:24 | |
*** pcardune has quit IRC | 04:31 | |
*** hathawsh is now known as hath|away | 04:34 | |
*** hath|away is now known as hathawsh | 04:53 | |
*** hathawsh is now known as hath|away | 05:09 | |
*** aaronv has quit IRC | 05:23 | |
*** hath|away is now known as hathawsh | 05:28 | |
*** pcardune has joined #zope3-dev | 05:48 | |
*** hathawsh is now known as hath|away | 06:01 | |
*** matthal has quit IRC | 06:05 | |
*** hath|away is now known as hathawsh | 06:23 | |
*** fcorrea has quit IRC | 06:31 | |
*** davisagli has joined #zope3-dev | 06:39 | |
*** sm has quit IRC | 06:48 | |
*** afd___ has joined #zope3-dev | 07:02 | |
*** jpcw has joined #zope3-dev | 07:09 | |
*** afd__ has joined #zope3-dev | 07:20 | |
*** afd___ has quit IRC | 07:38 | |
*** stub has quit IRC | 07:41 | |
*** stub has joined #zope3-dev | 07:42 | |
*** hathawsh is now known as hath|away | 07:47 | |
*** run|vm|winxp has quit IRC | 07:52 | |
*** run|vm|winxp has joined #zope3-dev | 07:53 | |
*** Theuni1 has joined #zope3-dev | 07:57 | |
*** hath|away is now known as hathawsh | 08:09 | |
*** afd__ has quit IRC | 08:20 | |
*** jfkw has quit IRC | 08:21 | |
*** jukart has joined #zope3-dev | 08:25 | |
*** pcardune has quit IRC | 08:44 | |
*** matthal has joined #zope3-dev | 08:45 | |
*** Theuni1 has quit IRC | 08:48 | |
*** matthal has quit IRC | 08:49 | |
*** runyaga has joined #zope3-dev | 08:50 | |
*** Theuni1 has joined #zope3-dev | 08:52 | |
*** run|vm|winxp has quit IRC | 09:02 | |
*** matthal has joined #zope3-dev | 09:07 | |
*** agroszer has joined #zope3-dev | 09:17 | |
*** __mac__ has joined #zope3-dev | 09:19 | |
*** davisagli has quit IRC | 09:22 | |
*** davisagli has joined #zope3-dev | 09:23 | |
*** sweh has joined #zope3-dev | 09:38 | |
*** alecm has quit IRC | 09:48 | |
*** hathawsh is now known as hath|away | 09:52 | |
*** jpcw has quit IRC | 10:02 | |
*** goschtl has joined #zope3-dev | 10:05 | |
*** matthal has quit IRC | 10:09 | |
*** alga has joined #zope3-dev | 10:15 | |
*** jpcw has joined #zope3-dev | 10:18 | |
*** markusleist has quit IRC | 10:18 | |
*** hath|away is now known as hathawsh | 10:31 | |
*** romanofski has quit IRC | 10:31 | |
*** markusleist has joined #zope3-dev | 10:35 | |
*** agroszer has quit IRC | 10:48 | |
*** agroszer has joined #zope3-dev | 10:48 | |
*** tarek has joined #zope3-dev | 10:56 | |
*** hathawsh is now known as hath|away | 11:01 | |
*** hath|away is now known as hathawsh | 11:06 | |
*** reinout has joined #zope3-dev | 11:10 | |
*** alga has quit IRC | 11:18 | |
*** hathawsh is now known as hath|away | 11:21 | |
*** hath|away is now known as hathawsh | 11:22 | |
*** junkafarian has quit IRC | 11:22 | |
*** jhauser has joined #zope3-dev | 11:42 | |
*** hathawsh is now known as hath|away | 11:43 | |
*** romanofski has joined #zope3-dev | 11:55 | |
*** alga has joined #zope3-dev | 11:58 | |
*** davisagli has left #zope3-dev | 11:59 | |
*** hath|away is now known as hathawsh | 11:59 | |
*** junkafarian has joined #zope3-dev | 12:03 | |
*** junkafarian_ has joined #zope3-dev | 12:17 | |
*** yvl has joined #zope3-dev | 12:18 | |
*** tarek has quit IRC | 12:20 | |
*** philiKON has quit IRC | 12:25 | |
*** alga has quit IRC | 12:26 | |
*** junkafarian has quit IRC | 12:31 | |
*** junkafarian_ is now known as junkafarian | 12:31 | |
*** philiKON has joined #zope3-dev | 12:43 | |
*** markusleist has quit IRC | 13:06 | |
*** jhauser_ has joined #zope3-dev | 13:36 | |
*** jhauser has quit IRC | 13:41 | |
*** jhauser_ is now known as jhauser | 13:41 | |
*** hathawsh is now known as hath|away | 13:42 | |
*** aaronv has joined #zope3-dev | 13:49 | |
*** tarek has joined #zope3-dev | 13:50 | |
*** reinout_ has joined #zope3-dev | 13:51 | |
*** projekt01 has joined #zope3-dev | 14:06 | |
*** reinout has quit IRC | 14:06 | |
*** reinout_ is now known as reinout | 14:07 | |
*** afd_____ has joined #zope3-dev | 14:13 | |
*** fcorrea has joined #zope3-dev | 14:14 | |
*** __mac__ has quit IRC | 14:14 | |
*** __mac__ has joined #zope3-dev | 14:15 | |
*** romanofski has quit IRC | 14:15 | |
*** romanofski has joined #zope3-dev | 14:16 | |
*** __mac__ has quit IRC | 14:16 | |
*** dunny has quit IRC | 14:16 | |
*** __mac__ has joined #zope3-dev | 14:16 | |
*** afd____ has joined #zope3-dev | 14:25 | |
*** afd___ has joined #zope3-dev | 14:26 | |
*** afd_____ has quit IRC | 14:31 | |
*** romanofski has quit IRC | 14:43 | |
*** afd____ has quit IRC | 14:44 | |
*** yotaff has joined #zope3-dev | 14:48 | |
*** goschtl has quit IRC | 14:52 | |
*** tarek has quit IRC | 14:53 | |
*** ignas has quit IRC | 15:16 | |
*** afd__ has joined #zope3-dev | 15:45 | |
*** ignas has joined #zope3-dev | 15:45 | |
*** J1m has joined #zope3-dev | 15:51 | |
*** tarek has joined #zope3-dev | 15:51 | |
*** benji has joined #zope3-dev | 15:56 | |
*** mgedmin has joined #zope3-dev | 16:00 | |
*** lurkymclurkleton has joined #zope3-dev | 16:02 | |
*** lurkymclurkleton has joined #zope3-dev | 16:02 | |
*** afd___ has quit IRC | 16:03 | |
*** gary_poster has joined #zope3-dev | 16:11 | |
*** sm has joined #zope3-dev | 16:16 | |
*** drudi has joined #zope3-dev | 16:43 | |
*** tisto has joined #zope3-dev | 16:51 | |
*** __mac__ has quit IRC | 16:54 | |
*** jfkw has joined #zope3-dev | 17:10 | |
*** drudi has quit IRC | 17:13 | |
*** alga has joined #zope3-dev | 17:19 | |
*** sweh has quit IRC | 17:26 | |
*** alecm has joined #zope3-dev | 17:33 | |
mgedmin | I want something for long-running requests | 17:36 |
mgedmin | a progress indication of some kind... | 17:36 |
mgedmin | oh, wow, a BrokenModified exception | 17:37 |
mgedmin | first time I see one | 17:37 |
*** aaronv has quit IRC | 17:38 | |
*** runyaga has quit IRC | 17:41 | |
*** pyqwer_ has joined #zope3-dev | 17:51 | |
*** afd__ has quit IRC | 17:54 | |
*** mcdonc has quit IRC | 17:54 | |
*** projekt01 has quit IRC | 17:55 | |
*** pyqwer has quit IRC | 17:57 | |
*** zagy has quit IRC | 18:04 | |
*** mcdonc has joined #zope3-dev | 18:15 | |
ignas | mgedmin, hmm, is long running request progress even compatible with wsgi way of doing things? | 18:15 |
*** mcdonc has quit IRC | 18:15 | |
mgedmin | yes | 18:15 |
mgedmin | no | 18:15 |
mgedmin | maybe | 18:15 |
mgedmin | who cares | 18:15 |
*** mcdonc has joined #zope3-dev | 18:15 | |
ignas | zope does ;) Zope is out of web server business ;) and that is a server level feature I think | 18:15 |
ignas | at least the implementations I have heard of | 18:16 |
*** mcdonc has quit IRC | 18:16 | |
mgedmin | wsgi supposedly lets me return response early | 18:16 |
ignas | like "hanging requests" + inter request communication | 18:16 |
mgedmin | so I could print "in progress + a bit of javascript for async polling of status updates", then go on working | 18:16 |
mgedmin | sharing my progress via the browser session indexed by some job id | 18:17 |
mgedmin | does _zope_ support "return response, then go on working"? | 18:17 |
mgedmin | I'm fine tying up one of my 4 request threads for this | 18:17 |
mgedmin | my use case is sysadminy maintenance tasks where browser timeouts are unpleasant | 18:18 |
*** mcdonc has joined #zope3-dev | 18:19 | |
*** drudi has joined #zope3-dev | 18:19 | |
*** mcdonc has quit IRC | 18:26 | |
*** reinout has quit IRC | 18:29 | |
*** stub has quit IRC | 18:33 | |
*** davisagli has joined #zope3-dev | 18:36 | |
*** yvl has quit IRC | 18:36 | |
*** hazmat has joined #zope3-dev | 18:41 | |
*** ChanServ sets mode: +o hazmat | 18:41 | |
*** davisagli has quit IRC | 18:41 | |
gary_poster | mgedmin: zc still uses zc.async for stuff like that, fwiw and afaik | 18:46 |
gary_poster | it's designed for just that sort of thing | 18:46 |
*** mcdonc has joined #zope3-dev | 18:48 | |
*** nathany has joined #zope3-dev | 18:49 | |
ignas | mgedmin, now that I think about it, yes, gary_poster and you are correct, it is doable, pretty easily even | 18:53 |
ignas | I was thinking about file upload with a progress bar usecase | 18:53 |
mgedmin | hm, zc.async sounds complicated | 18:53 |
ignas | which is more complicated | 18:53 |
* mgedmin reading docs | 18:53 | |
ignas | than spawning an async job, and polling for results using javascript | 18:54 |
gary_poster | right | 18:54 |
*** alecm has quit IRC | 18:54 | |
* gary_poster tried to not make zc.async complicated :-/ . Failed, at some level at least. | 18:54 | |
ignas | gary_poster, by the way - what happens to zc.async with wsgi servers that spawn more than one application? | 18:55 |
ignas | I thought of using zc.async for "crontab" style stuff some time ago | 18:56 |
ignas | but was afraid that if ngnix or apache would spawn more than one wsgi application instance, I might start getting duplicate events, because one "thread" won't know about the other one | 18:56 |
ignas | so used plain crontab | 18:56 |
ignas | as I can be pretty sure there only is "one" instance of it running | 18:57 |
ignas | or is zc.async more suited for "call this long running stuff, tell me when done" kinds of tasks | 18:57 |
ignas | and not - let's have a thread next to my web application doing something | 18:58 |
mgedmin | afaiu you can have your zc.async dispatcher in a separate process | 18:59 |
* mgedmin skimmed the docs very quickly, glazing eyes over the very numerous doctest chunks | 18:59 | |
ignas | hmm? so a separate application? | 19:00 |
gary_poster | ignas: it's based on a shared ZODB via ZEO, so it has those standard characteristics (conflict resolution and so forth), and a shared scribbling space. It's primary use case is dynamic "call this long running stuff, tell me when done" as you said. I've always thought it would be pretty trivial to build from that into a crontab-like solution.The old Zope 2 predecessor had something like that. It is superior to crontabs because | 19:00 |
gary_poster | sure that the next run never overlaps with the current one. You could hack together a poor mans version with just callbacks. | 19:00 |
ignas | oh, using zodb for syncing | 19:01 |
ignas | makes sense then | 19:01 |
gary_poster | mgedmin: you can have the worker threads in the same process. It shows how to do that. That's how I used it, though I generally made those processes not part of the load balancing for the main app. | 19:02 |
gary_poster | that meant for flexible deployment | 19:02 |
gary_poster | if you discover you need more or less apps for the long-runnning stuff | 19:03 |
mgedmin | "flexible" is often the opposite of "easy" ;) | 19:03 |
gary_poster | too true | 19:03 |
mgedmin | having to edit my zdaemon.conf and allocate new tcp ports doesn't look like something to take on lightly | 19:04 |
mgedmin | for something that's a glorified debugging view rather than a core feature | 19:04 |
gary_poster | mm, that's if you want to have the monitor port feature, right? | 19:04 |
gary_poster | ...<shrug> sure. It cam in handy. We didn't see an easier way for similar functionality | 19:05 |
ignas | mgedmin, can you commit a zodb transaction early in the process? | 19:06 |
mgedmin | sure | 19:06 |
mgedmin | gary_poster, "if"? cool, I assumed it was mandatory | 19:06 |
ignas | mgedmin, if you want eye candy, you can probably spawn the actual job in an "iframe" | 19:06 |
gary_poster | mgedmin: heh, flexible, remember? ;-) | 19:06 |
* mgedmin books a spare afternoon to play with this | 19:06 | |
ignas | mgedmin, and commit "progress" into some variable in zodb | 19:07 |
ignas | mgedmin, and poll for it using javascript | 19:07 |
ignas | mgedmin, maybe you could do it using tools "available" to you | 19:07 |
mgedmin | ignas, idea | 19:07 |
*** drudi has quit IRC | 19:08 | |
mgedmin | but ISTR firefox gave up after a few minutes and terminated the http connection | 19:08 |
mgedmin | which I think aborted the view on the server side | 19:08 |
mgedmin | maybe not | 19:08 |
ignas | hmm, other way of doing it | 19:08 |
gary_poster | that's why he was suggesting the JS poll | 19:08 |
ignas | is "streaming" | 19:08 |
ignas | i think Zope can stream content directly | 19:08 |
ignas | so you can return an iterable/stream | 19:08 |
ignas | that tracks progress and performs the task | 19:09 |
ignas | while returning some html/javascript | 19:09 |
ignas | to show progress in a nice way | 19:09 |
ignas | I mean - people do "large file downloads" somehow in zope don't they? | 19:09 |
gary_poster | I think for mgedmin's use case a variation of your first approach would be easier | 19:09 |
gary_poster | scribble progress on some ZODB object | 19:10 |
gary_poster | have a simple view that returns value of progress | 19:10 |
gary_poster | have JS that polls that | 19:10 |
mgedmin | that is the easy part | 19:10 |
ignas | the hard part is how to make the iframe not get "disconnected" | 19:11 |
ignas | ? | 19:11 |
mgedmin | forking the original request into "return html with js" and "do background processing with occasional zodb commits" is the difficult bit | 19:11 |
mgedmin | imho | 19:11 |
gary_poster | sure | 19:11 |
ignas | mgedmin, forking? | 19:11 |
gary_poster | what I just described is what you can do with zc.async. | 19:11 |
ignas | mgedmin, why fork? | 19:11 |
mgedmin | yes | 19:11 |
gary_poster | The forking lets him return the original request back | 19:12 |
gary_poster | while he just works elsewhere | 19:12 |
mgedmin | maybe I should try "request.response.write(); request.response.close(); do_background_job_now_in_the_same_thread()" | 19:12 |
mgedmin | does request.response have write() and close()? | 19:12 |
*** pyqwer_ has quit IRC | 19:12 | |
ignas | my question is - why "return the original request back" | 19:13 |
ignas | a button that submits a form in an iframe | 19:13 |
ignas | that's how we do multiple file uploads for example | 19:13 |
* gary_poster forgets. He thinks that the publisher wants to get adapt the output to something or other and handle it itself | 19:13 | |
ignas | so the page you are in stays as it was, while long running thing | 19:13 |
ignas | is chugging along in some <iframe style="display:none" /> | 19:14 |
gary_poster | ignas, right, but when you are waiting for a response, Apache/Firefox/various other things let go after a while, giving up. | 19:14 |
gary_poster | he could make the iframe and ignore it I suppose, if the error message is not too obvious | 19:15 |
ignas | yeah, but if you would "print out a couple of bytes directy to the response" once in a while | 19:15 |
gary_poster | meh :-) | 19:15 |
ignas | as if you were slowly serving some large file | 19:15 |
gary_poster | maybe so | 19:15 |
* gary_poster would be going to zc.async, but then, he knows it. | 19:16 | |
ignas | well - i am proposing a solution I know how I would implement in my pylons application ;) | 19:16 |
gary_poster | heh, fair enough :-) | 19:17 |
ignas | my background is - allowing 500 mb file uploads/downloads without using lots of RAM | 19:18 |
gary_poster | hm, interesting. downloads don't seem so bad in Zope land, but uploads of that size might be interesting. | 19:20 |
gary_poster | (that is, as you said, there is some streaming spelling or other, involving file handles IIRC) | 19:20 |
ignas | duno, switched from Plone to pylons ;) | 19:21 |
ignas | but can recall that you can stream stuff for downloads | 19:21 |
ignas | did not fix uploads in our Plone version though | 19:21 |
*** tarek has quit IRC | 19:21 | |
*** tarek has joined #zope3-dev | 19:22 | |
*** goschtl has joined #zope3-dev | 19:23 | |
* mgedmin now imagines somebody accidentally switching from Plone to Pylons due to a spelling error | 19:29 | |
*** davisagli has joined #zope3-dev | 19:31 | |
*** davisagli has quit IRC | 19:31 | |
*** davisagli has joined #zope3-dev | 19:32 | |
gary_poster | lol | 19:35 |
*** sm_ has joined #zope3-dev | 19:41 | |
ignas | easy_install Pylone | 19:42 |
*** aaronv has joined #zope3-dev | 19:45 | |
*** sm has quit IRC | 19:49 | |
*** sm_ is now known as sm | 19:49 | |
*** alecm has joined #zope3-dev | 19:53 | |
*** goschtl has quit IRC | 20:00 | |
*** hath|away is now known as hathawsh | 20:06 | |
*** pcardune has joined #zope3-dev | 20:07 | |
*** jukart has quit IRC | 20:13 | |
*** ignas has quit IRC | 20:14 | |
*** pcardune has quit IRC | 20:15 | |
*** philiKON has quit IRC | 20:20 | |
*** goschtl has joined #zope3-dev | 20:31 | |
*** junkafarian has quit IRC | 20:40 | |
mgedmin | waaaaah | 20:49 |
mgedmin | friday LATE evening, I must sit here and debug why zc.buildout ignores unzip = true | 20:49 |
mgedmin | because the staging server won't start up | 20:49 |
mgedmin | because it insists on writing into /home/mgedmin/.python-eggs, because simplejson is a zipped egg | 20:50 |
mgedmin | I hate the world | 20:50 |
davisagli | mgedmin: set your PYTHON_EGG_CACHE environment variable to make it write somewhere else | 20:52 |
mgedmin | so it'll blow up next time I or the other sysadmin ssh's and does a sudo /path/to/buildout/bin/instance restart? | 20:53 |
davisagli | mgedmin: also, unzip = true only has an effect at the time an egg is fetched, so if you already have simplejson it won't help | 20:53 |
*** agroszer has quit IRC | 20:53 | |
mgedmin | rm eggs/simplejson*; bin/buildout; ls eggs/simplejson* -> doesn't unzip | 20:53 |
davisagli | :( | 20:53 |
*** goschtl has quit IRC | 20:54 | |
davisagli | I run zope via the script generated by plone.recipe.zope2instance, which lets me configure it to set env vars | 20:54 |
mgedmin | hmm | 20:55 |
davisagli | e.g. environment-vars = PYTHON_EGG_CACHE ${buildout:directory}/var/.python-eggs | 20:55 |
davisagli | (you still have to create that directory manually) | 20:55 |
mgedmin | creating a ~/.pydistutils.cfg with [easy_install] zip_ok = 0 works | 20:56 |
davisagli | huh, interesting | 20:57 |
mgedmin | sad, more likely | 21:00 |
mgedmin | looks like https://bugs.launchpad.net/zc.buildout/+bug/388321 | 21:00 |
*** mgedmin has quit IRC | 21:05 | |
*** runyaga has joined #zope3-dev | 21:12 | |
*** hathawsh is now known as hath|away | 21:14 | |
*** hath|away is now known as hathawsh | 21:16 | |
*** jpcw has quit IRC | 21:19 | |
*** pcardune has joined #zope3-dev | 21:22 | |
*** agroszer has joined #zope3-dev | 21:27 | |
*** kaeru has quit IRC | 21:34 | |
*** tisto has quit IRC | 21:35 | |
*** kaeru has joined #zope3-dev | 21:46 | |
*** hathawsh is now known as hath|away | 21:51 | |
*** hath|away is now known as hathawsh | 22:03 | |
*** yotaff has quit IRC | 22:17 | |
*** sm_ has joined #zope3-dev | 22:28 | |
*** agroszer has quit IRC | 22:29 | |
*** sm has quit IRC | 22:39 | |
*** sm_ is now known as sm | 22:39 | |
*** dunny has joined #zope3-dev | 23:15 | |
*** mcdonc has quit IRC | 23:29 | |
*** Theuni1 has quit IRC | 23:35 | |
*** tarek has quit IRC | 23:35 | |
*** aaronv has quit IRC | 23:45 | |
*** tarek has joined #zope3-dev | 23:48 | |
*** Theuni1 has joined #zope3-dev | 23:53 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!