IRC log of #zope for Wednesday, 2010-11-24

*** vipod has quit IRC00:07
*** bigkevmcd has quit IRC00:25
*** neo|4D_ has joined #zope00:32
*** TresEquis has quit IRC00:32
*** ccomb has joined #zope00:32
*** cpf_ has joined #zope00:32
*** neo|4D has quit IRC00:33
*** neo|4D_ is now known as neo|4D00:33
*** sashav has joined #zope00:36
*** neo|4D has quit IRC00:38
*** rbanffy has quit IRC00:54
*** cpf_ has quit IRC00:58
*** sashav has quit IRC01:03
planetzopebotAnother Film and a Catalog Reindexing Bug (ch-athens)
*** J1m has quit IRC01:05
*** RaceCondition has joined #zope01:12
*** dvschramm is now known as dvschramm|away01:21
*** mr_jolly has quit IRC01:43
*** davisagli is now known as davisagli|away01:47
*** davisagli|away is now known as davisagli01:51
*** redir has quit IRC01:55
*** tiwula has quit IRC02:01
*** daMaestro|isBack has joined #zope02:14
*** daMaestro has quit IRC02:15
*** daMaestro|isBack is now known as daMaestro02:15
*** gwik has quit IRC02:23
*** ccomb has quit IRC02:28
*** ccomb has joined #zope02:29
*** d2m has left #zope02:33
CIA-82ccomb * r118543 zopetoolkit/ (ztk-versions.cfg zopeapp-versions.cfg): updated all packages02:49
*** redir has joined #zope02:52
*** giampaolo has quit IRC02:53
*** alvaro_o has quit IRC03:02
*** daMaestro has quit IRC03:06
*** rogererens has quit IRC03:12
*** srichter has quit IRC03:20
*** nitrogenycs has left #zope03:24
*** ccomb has quit IRC03:41
*** davisagli is now known as davisagli|away03:52
*** menesis has quit IRC04:07
*** menesis has joined #zope04:18
*** davisagli|away is now known as davisagli04:21
*** davisagli is now known as davisagli|away04:29
*** menesis has quit IRC04:31
*** davisagli|away is now known as davisagli04:36
*** alga has quit IRC04:37
*** davisagli is now known as davisagli|away04:40
*** davisagli|away is now known as davisagli04:46
*** davisagli has left #zope04:48
*** cutgovspending has joined #zope05:08
cutgovspendingthose who fail to study zope are doomed to repeat it!!05:08
cutgovspendingzope stuff ignored and reinvented by other python people asif if zope has not been doing x for years05:09
cutgovspendinghigh hilarity05:09
kosheventually those other places will learn about security05:11
cutgovspendingwhat is link to that essay?05:20
cutgovspendingits comedy05:20
*** davisagli|away has joined #zope05:33
*** davisagli|away is now known as davisagli05:33
koshdon't know what you are talking about?05:40
cutgovspendingthe essay ive been quoting05:46
koshI haev read it at some point but have no idea where it is but I am sur eyou can put those phrases into google to find it05:48
*** fredvd|dinner has quit IRC05:53
*** davisagli is now known as davisagli|away06:12
*** sm has quit IRC06:15
*** dvschramm|away has quit IRC06:16
*** davisagli|away is now known as davisagli06:18
*** yvl has joined #zope06:19
*** dvschramm|away has joined #zope06:23
*** davisagli is now known as davisagli|away06:27
*** yvl has quit IRC06:34
*** cutgovspending has left #zope06:38
*** davisagli|away has quit IRC06:41
*** davisagli|away has joined #zope06:41
*** davisagli|away is now known as davisagli06:41
mcdoncwow, was that a driveby zope trolling?06:59
koshI think he liked zope07:01
koshbut he is weird so it was not very interesting07:01
*** benji has quit IRC07:09
mcdoncno, i think he might have been calling it a comedy routine07:12
mcdoncbut maybe not07:12
koshcould be also07:17
koshoverall it doesn't matter much07:17
mcdoncyeah.. better he disappear07:19
*** yvl has joined #zope07:20
*** spavan has joined #zope07:30
*** davisagli is now known as davisagli|away07:40
*** vipod has joined #zope07:44
*** dayne has quit IRC07:50
*** Vejeta has quit IRC07:58
*** Vejeta has joined #zope07:58
*** davisagli|away is now known as davisagli07:59
*** davisagli is now known as davisagli|away08:05
*** davisagli|away is now known as davisagli08:11
*** davisagli is now known as davisagli|away08:16
*** davisagli|away is now known as davisagli08:22
*** davisagli is now known as davisagli|away08:27
*** hever has joined #zope08:32
*** zagy has joined #zope08:33
*** fredvd has joined #zope08:37
*** fredvd has quit IRC08:38
*** vipod has quit IRC08:43
*** wosc has joined #zope08:44
*** lcpfnnvcy has joined #zope08:46
*** __mac__ has joined #zope08:52
*** spavan has quit IRC09:00
*** kleist has joined #zope09:10
*** digitalmortician has quit IRC09:11
*** spavan has joined #zope09:16
*** davisagli|away is now known as davisagli09:21
*** davisagli is now known as davisagli|away09:21
*** MrWu has joined #zope09:36
*** bigkevmcd has joined #zope09:45
CIA-82janjaapdriessen janjaapdriessen-resource-publisher * r118544 hurry.resource/src/hurry/resource/ ( Set injector config. Add len to neededinclusions class. Set neededinclusions for every request.09:50
*** vipod has joined #zope09:51
*** JaRoel|4D has joined #zope09:55
*** cpf_ has joined #zope09:58
*** j-w has joined #zope10:08
*** eperez has joined #zope10:09
*** digitalmortician has joined #zope10:10
*** d2m has joined #zope10:12
*** _MrTango_ has joined #zope10:17
*** neo|4D has joined #zope10:18
*** alexpilz has joined #zope10:27
*** planetzopebot has quit IRC10:33
*** planetzopebot has joined #zope10:34
*** tmassman has joined #zope10:44
CIA-82regebro regebro-python3 * r118545 zc.buildout/src/zc/buildout/ Small but significant differences for Python 3.10:47
*** cna has joined #zope11:02
*** cpf_ has quit IRC11:13
*** mr_jolly has joined #zope11:13
*** cpf_ has joined #zope11:18
*** j-w has quit IRC11:28
CIA-82janwijbrand janjaapdriessen-resource-publisher * r118546 hurry.resource/src/hurry/resource/ ( README.txt intermediate checkin, tests still fail11:32
CIA-82janwijbrand janjaapdriessen-wsgi * r118547 hurry.zoperesource/src/hurry/zoperesource/ ( intermediate checking, tests still fail11:32
*** hever has quit IRC11:34
*** hever has joined #zope11:36
*** tmassman has quit IRC11:45
*** sylvain has joined #zope11:51
*** mitchell`off is now known as mitchell`11:53
*** mr_jolly has quit IRC12:03
*** TomBlockley has joined #zope12:05
*** rogererens has joined #zope12:09
*** evilbungle has joined #zope12:12
*** mr_jolly has joined #zope12:19
*** ccomb has joined #zope12:20
*** regebro has joined #zope12:25
*** ccomb has quit IRC12:30
*** menesis has joined #zope12:35
*** alexpilz has quit IRC12:39
*** teix has joined #zope12:58
*** agroszer has joined #zope13:17
*** chaoflow has quit IRC13:25
*** chaoflow has joined #zope13:27
*** alexpilz has joined #zope13:31
*** ccomb has joined #zope13:39
*** neo|4D has quit IRC13:49
CIA-82janwijbrand janjaapdriessen-wsgi * r118548 hurry.zoperesource/src/hurry/zoperesource/ ( configure.zcml do not register resources for the libraries, ++resource++ URLs however still work by registering a traversable HurryResource component inestead.13:51
CIA-82janwijbrand janjaapdriessen-resource-publisher * r118549 hurry.resource/src/hurry/resource/ ( generated URLs do never end in a slash to make concating paths more uniform13:51
*** alga has joined #zope13:56
*** neo|4D has joined #zope13:57
*** cb_ has joined #zope14:03
*** cb_ is now known as alma14:03
*** RichardBarrell has joined #zope14:09
*** j-w has joined #zope14:15
*** kleist_ has joined #zope14:29
*** menesis has quit IRC14:29
*** kleist has quit IRC14:32
CIA-82janjaapdriessen janjaapdriessen-hurry.resource * r118550 grokproject/grokproject/template/etc/ (debug.ini.in_tmpl deploy.ini.in_tmpl): Re-order filters in order to have them in the same order as the pipeline. Don't set publisher prefix for hurry.resource. Add accesslogging in deploy configuration.14:33
*** thetet has joined #zope14:45
*** rbanffy has joined #zope15:03
CIA-82janwijbrand janjaapdriessen-resource-publisher * r118551 hurry.resource/src/hurry/resource/ (README.txt get some of the test pass again...15:03
CIA-82janjaapdriessen janjaapdriessen-hurry.resource * r118552 grokproject/grokproject/template/etc/debug.ini.in_tmpl: In development, run hurry.resource in devmode.15:03
CIA-82janjaapdriessen janjaapdriessen-hurry.resource * r118553 grokproject/grokproject/template/ (buildout.cfg_tmpl etc/zope.conf.in_tmpl): Move the devmode setting to buildout.cfg15:03
*** MrWu has quit IRC15:04
*** redir_ has joined #zope15:08
*** redir has quit IRC15:10
CIA-82regebro regebro-python3 * r118554 zc.buildout/src/zc/buildout/ (6 files): All except one (which installed Distribute 0.6.14, which has Python 3 bugs) now pass.15:18
CIA-82regebro regebro-python3 * r118555 zc.buildout/src/zc/buildout/ (4 files): dependencylinks.txt and upgrading_distribute.txt passes.15:18
*** menesis has joined #zope15:23
*** chaoflow has quit IRC15:25
CIA-82regebro regebro-python3 * r118556 zc.buildout/src/zc/buildout/ ( download.txt): download.txt passes15:34
*** chaoflow_ has joined #zope15:35
*** chaoflow_ has quit IRC15:35
*** chaoflow has joined #zope15:36
*** benji has joined #zope15:37
*** hariom has joined #zope15:50
hariomHi, I want to understand what happens when a python script says  ... request.RESPONSE.redirect('index.html')  a=10; b=30; c=a*b ...15:52
hariomDoes the control returns immediately after request.RESPONSE.redirect? when the code after that will get executed?15:52
mgedminwhat happens is that request.RESPONSE gets a few attributes set -- the HTTP status code and the Location header15:55
mgedminotherwise, code continues executing15:55
mgedminwait, this is zope 215:55
mgedminI don't know what happens in zope 215:55
betabugI think it's the same in zope 2 land15:56
betabugif you want to redirect immediately you do return REQUEST.RESPONSE.redirect(url)15:57
betabugpersonally I think it's not so clean style to do other stuff after the redirect() call15:57
*** MrWu has joined #zope15:58
hariombetabug, mgedmin: when will the code written after that gets executed? I have seen scripts where code is written after request.RESPONSE.redirect(url). And the url to which it is getting redirected, again accessing the same python script.15:58
mgedminthe code gets executed immediatelly15:59
mgedminand after that, zope returns the response (which says to redirect) to the browser15:59
mgedminand after that the browser performs a new request15:59
neo|4Dyou should not execute code after a redirect15:59
mgedminredirecting back to the same url you've just visited is nifty after form submission15:59
mgedminbecause if you just return a response, the user can't refresh the page without resubmitting the form16:00
betabughariom: do: return REQUEST.RESPONSE.redirect(url) # note the "return"16:00
betabugto make things clear16:00
mgedmin(unless the script is badly written and _relies_ on the side effects of the code being executed after the redirect() call)16:01
mgedmin(hopefully nobody would write a script like that)16:01
betabugin which case it needs fixing16:01
betabug"throwing away" is a valid interpretation of "fixing" IMHO16:02
* mgedmin fights temptation to suggest throwing away any zope2-based sites16:02
*** evilbungle has quit IRC16:02
betabugts ts ts16:02
hariommegedmin: so if there is any code after the "request.RESPONSE.redirect(url)", it will get executed before the actual "return" happens. Right!16:02
mgedminhariom, correct16:03
CIA-82regebro regebro-python3 * r118557 zc.buildout/ (5 files in 2 dirs): z3c.recipe.scripts tests pass16:03
CIA-82janjaapdriessen janjaapdriessen-wsgi * r118558 hurry.zoperesource/src/hurry/zoperesource/ ( Register a factory for every library.16:03
hariommgedmin: what does it actually do when we say request.RESPONSE.redirect(url)? Will it set the cookies (if any in the "url" page) etc? can I use those values set by request.RESPONSE.redirect(url) in the code below it?16:06
betabughariom: please, don't go there16:06
betabugit's not good practice16:07
hariombetabug: I also belive that but I just want to know if that what can be done. If it is possible then it means "redirect" asynchronously sending the "url" to the browser and continuing the remider of the code with new "request" variables. I am trying to debug a script I have with me.16:08
betabugno, it's not doing anything asynchronous16:08
hariombetabug: May be synchronously. So it will wait for the redirect to complete and execute the reminder of the code.16:10
betabugit just sets the request up to become a redirect16:10
hariomThen what does redirect do?16:10
betabugonce the processing of the request ends, it sends the redirect respone to the browser16:11
betabugjust look at the code that you write: request.RESPONSE.redirect() <- you're setting a "redirect" method on the RESPONSE object of your request16:11
*** J1m has joined #zope16:11
betabugwell, s/setting/calling/16:12
hariombetabug: It means that I can set the redirect multiple times in my script. One when the form is called, another when the form values are set. If(form values) redirect(url1)  Else redirect(url2)16:13
*** gwik has joined #zope16:13
betabugbut as I said, it's much clearer not to do that16:14
hariomprobably? why16:14
betabugjust do a "return request.RESPONSE.redirect(url)" at the end16:15
betabugnotice the "return"16:15
CIA-82regebro regebro-python3 * r118559 zc.buildout/src/zc/buildout/ (windows.txt virtualenv.txt buildout.txt The tests in and windows.txt run now, as well as most in virtualenv.txt.16:18
*** cna has left #zope16:20
*** __mac__ has quit IRC16:33
CIA-82janwijbrand janjaapdriessen-resource-publisher * r118560 hurry.resource/src/hurry/resource/ (README.txt continue on the tests, do not cache signature when computed in devmode.16:33
*** spavan has quit IRC16:34
*** dayne has joined #zope16:38
CIA-82janwijbrand janjaapdriessen-resource-publisher * r118561 hurry.resource/src/hurry/resource/ (README.txt hashing is optional, but "on" by default, more tests pass16:49
* mgedmin becomes interested in hurry.resource16:51
*** alga has quit IRC16:54
*** MrWu has quit IRC16:56
*** sunew has joined #zope16:56
*** hever has quit IRC16:56
*** wosc has quit IRC17:01
*** dvschramm|away is now known as dvschramm17:02
*** digitalmortician has quit IRC17:11
*** giampaolo has joined #zope17:11
*** benji has quit IRC17:21
*** Vejeta has quit IRC17:21
*** davisagli|away has quit IRC17:21
*** kiorky has quit IRC17:21
*** TheJester has quit IRC17:21
*** benji has joined #zope17:24
*** Vejeta has joined #zope17:24
*** davisagli|away has joined #zope17:24
*** kiorky has joined #zope17:24
*** TheJester has joined #zope17:24
*** dayne has quit IRC17:25
*** hever has joined #zope17:29
*** menesis has quit IRC17:31
*** menesis has joined #zope17:32
*** fredvd has joined #zope17:32
*** dayne has joined #zope17:34
*** hariom has left #zope17:40
*** vipod has quit IRC17:40
*** alexpilz has quit IRC17:43
*** j-w has quit IRC17:49
CIA-82janwijbrand janjaapdriessen-resource-publisher * r118562 hurry.resource/src/hurry/resource/ (README.txt fix more tests, make library lookup-by-name17:56
CIA-82janwijbrand janjaapdriessen-resource-publisher * r118563 hurry.resource/src/hurry/resource/ ( README.txt quick test for library lookup by name17:56
*** rogererens has quit IRC17:57
*** rogererens has joined #zope17:57
*** rogererens1 has joined #zope17:58
*** rogererens has quit IRC17:58
*** rogererens1 has quit IRC17:58
*** alexpilz has joined #zope18:01
*** _MrTango_ has quit IRC18:10
*** daMaestro has joined #zope18:12
*** zagy has quit IRC18:14
CIA-82regebro regebro-python3 * r118564 zc.buildout/ (3 files in 2 dirs): A couple of small fixes.18:22
*** menesis has quit IRC18:28
*** alexpilz has quit IRC18:32
*** alexpilz has joined #zope18:33
*** alexpilz has quit IRC18:33
CIA-82janwijbrand janjaapdriessen-resource-publisher * r118565 hurry.resource/src/hurry/resource/ (README.txt fix more tests18:39
*** ccomb has quit IRC18:47
*** tiwula has joined #zope18:50
*** gwik has quit IRC18:55
CIA-82janjaapdriessen janjaapdriessen-resource-publisher * r118566 hurry.resource/src/hurry/resource/ Configure rollup and bottom from paster.19:06
CIA-82regebro regebro-python3 * r118567 zope.hookable/src/zope/hookable/_zope_hookable.c: This definition of PyVarObject_HEAD_INIT is the one used in Python 2.6, and seems much more sane than the old one, that I got from 2to3c.19:06
CIA-82regebro regebro-python3 * r118568 zope.i18nmessageid/src/zope/i18nmessageid/_zope_i18nmessageid_message.c: Used a more sensible definition of PyVarObject_HEAD_INIT19:06
CIA-82regebro regebro-python3 * r118569 zope.proxy/src/zope/proxy/_zope_proxy_proxy.c: Used a more sensible definition of PyVarObject_HEAD_INIT19:06
*** menesis has joined #zope19:08
*** giampaolo has quit IRC19:09
*** evilbungle has joined #zope19:11
*** JaRoel|4D has quit IRC19:12
*** bigkevmcd has quit IRC19:14
CIA-82janwijbrand janjaapdriessen-wsgi * r118570 hurry.zoperesource/ (4 files in 3 dirs): minimal test fixes19:22
*** davisagli|away is now known as davisagli19:25
*** eperez has quit IRC19:29
*** fredvd has quit IRC19:30
*** sm has joined #zope19:36
*** gwik has joined #zope19:39
*** J1m has quit IRC19:40
CIA-82fdrake * r118571 zc.zope3recipes/ (3 files in 2 dirs): add support for script initialization code19:40
CIA-82fdrake * r118572 /zc.zope3recipes/tags/ (5 files in 3 dirs): tag release 0.13.019:40
*** alma has quit IRC19:46
*** evilbungle has quit IRC19:47
*** TomBlockley has quit IRC19:48
*** dayne has quit IRC19:49
*** menesis has quit IRC19:55
*** RichardBarrell has quit IRC19:57
*** sm has quit IRC20:06
*** mitchell` is now known as mitchell`off20:11
*** benji is now known as benji-lunch20:16
*** cpf_ has quit IRC20:16
*** kleist_ has quit IRC20:17
*** danielblackburn is now known as danielb_luchk20:36
*** zagy has joined #zope20:38
*** sylvain has quit IRC20:43
CIA-82ldr * r118573 Products.GenericSetup/ (3 files in 3 dirs): Toolset import: Support replacement of subclassed tools.20:50
*** nitrogenycs has joined #zope20:58
*** dayne has joined #zope21:00
*** jim_SFU has joined #zope21:00
*** dayne has quit IRC21:01
*** sunew has quit IRC21:04
*** kiorky has quit IRC21:04
*** kiorky has joined #zope21:05
*** agroszer has quit IRC21:05
CIA-82ldr * r118573 Products.GenericSetup/ (3 files in 3 dirs): Toolset import: Support replacement of subclassed tools.21:05
CIA-82ldr 1.4 * r118574 Products.GenericSetup/Products/GenericSetup/ ( tests/ CHANGES.txt): Backport [118573]21:05
*** jim_SFU has quit IRC21:10
*** benji-lunch is now known as benji21:11
*** thetet has quit IRC21:21
*** River_Rat has joined #zope21:22
*** River-Rat has quit IRC21:24
*** digitalmortician has joined #zope21:34
*** menesis has joined #zope21:37
*** teix has left #zope21:41
*** regebro has quit IRC21:47
*** danielb_luchk is now known as danielblackburn21:49
*** digitalmortician has quit IRC21:49
*** mcdonc has quit IRC21:58
*** gwik has quit IRC22:01
*** regebro has joined #zope22:03
*** alvaro_o has joined #zope22:13
*** sm has joined #zope22:15
*** daMaestro|isBack has joined #zope22:22
*** Gogo|tty has quit IRC22:23
*** daMaestro has quit IRC22:23
*** daMaestro|isBack is now known as daMaestro22:23
*** tiwula has quit IRC22:25
*** Gogo|tty has joined #zope22:29
*** gwik has joined #zope22:37
*** ccomb has joined #zope22:39
*** rogererens has joined #zope22:45
*** zagy has quit IRC22:53
*** sm has quit IRC22:58
*** sm has joined #zope22:58
*** dvschramm has quit IRC23:07
*** vipod has joined #zope23:10
*** Gogo|tty has quit IRC23:20
*** Gogo|tty has joined #zope23:21
*** JaRoel|4D has joined #zope23:30
*** rbanffy has quit IRC23:32
*** d2m has quit IRC23:40
*** hever has quit IRC23:48

Generated by 2.15.1 by Marius Gedminas - find it at!