IRC log of #zope3-dev for Tuesday, 2007-11-27

*** tarek has joined #zope3-dev00:04
*** dobee has quit IRC00:17
*** junkafarian has quit IRC00:17
*** Ariel_Calzada has quit IRC00:18
*** g_n_o_s_i_s has joined #zope3-dev00:23
*** tomus has quit IRC00:34
*** tomus has joined #zope3-dev00:35
*** gimni__ has quit IRC00:45
*** hazmat has quit IRC00:49
*** junkafarian has joined #zope3-dev00:50
*** regebro has left #zope3-dev00:51
*** jack-e has joined #zope3-dev00:53
*** srichter has quit IRC00:54
*** jack-e has quit IRC00:54
*** junkafarian has quit IRC00:55
*** alecm has quit IRC01:00
*** alecm has joined #zope3-dev01:00
*** mcdonc has joined #zope3-dev01:01
*** faassen has quit IRC01:06
*** malthe is now known as malthe|Zzz01:06
*** benji has quit IRC01:06
*** jodok has quit IRC01:12
*** norro has quit IRC01:15
*** greenman has quit IRC01:16
*** greenman has joined #zope3-dev01:17
*** tarek has quit IRC01:23
*** malthe|Zzz has quit IRC01:23
*** nathany has joined #zope3-dev01:28
*** RaFromBRC is now known as RaFromBRC|bbiab01:39
*** harobed has quit IRC01:42
*** hazmat has joined #zope3-dev01:42
*** rmarianski has quit IRC01:45
*** hazmat has quit IRC01:50
*** hazmat has joined #zope3-dev01:50
*** whitmo has joined #zope3-dev02:00
*** whitmo has quit IRC02:02
*** lucielejard has quit IRC02:02
*** hazmat has quit IRC02:07
*** RaFromBRC|bbiab has quit IRC02:16
*** whit has quit IRC02:17
*** quodt has quit IRC02:22
*** b52laptop has quit IRC02:23
*** timte has quit IRC02:26
*** RaFromBRC has joined #zope3-dev02:26
*** huajie has joined #zope3-dev02:27
*** tuxella_ has quit IRC02:28
*** tuxella_ has joined #zope3-dev02:29
*** natea|boston has joined #zope3-dev02:29
*** niemeyer has quit IRC02:31
*** natea_ has joined #zope3-dev02:52
*** J1m has quit IRC02:57
*** nathany has quit IRC02:59
*** pbugni has quit IRC03:00
*** natea|boston has quit IRC03:01
*** nathany has joined #zope3-dev03:04
*** ccomb has quit IRC03:10
*** mcdonc has joined #zope3-dev03:15
*** mcdonc has quit IRC03:17
*** mcdonc has joined #zope3-dev03:18
*** nathany has quit IRC03:19
*** mcdonc has quit IRC03:20
*** mcdonc has joined #zope3-dev03:20
*** mcdonc has quit IRC03:23
*** mcdonc has joined #zope3-dev03:26
*** mcdonc has quit IRC03:29
*** tuxella_ has quit IRC03:34
*** mcdonc has joined #zope3-dev03:38
*** mcdonc has quit IRC03:40
*** tuxella_ has joined #zope3-dev03:40
*** rmarianski has joined #zope3-dev03:40
*** rmarianski has quit IRC03:41
*** mcdonc has joined #zope3-dev03:42
*** rmarianski has joined #zope3-dev03:44
*** mcdonc_ has joined #zope3-dev03:45
*** g_n_o_s_i_s has quit IRC03:45
*** hazmat has joined #zope3-dev03:45
*** mcdonc has quit IRC03:47
*** mcdonc has joined #zope3-dev03:47
*** mcdonc_ has quit IRC03:49
*** mcdonc has quit IRC03:49
*** greenman has quit IRC03:53
*** hazmat has quit IRC03:55
*** hazmat has joined #zope3-dev04:00
*** zenwryly` has joined #zope3-dev04:04
*** zenwryly has quit IRC04:04
*** rmarianski_ has joined #zope3-dev04:07
*** stub has quit IRC04:08
*** stub has joined #zope3-dev04:09
*** mcdonc has joined #zope3-dev04:11
*** rmarianski_ has left #zope3-dev04:13
*** mcdonc has quit IRC04:14
*** zenwryly` has quit IRC04:15
*** acsr has quit IRC04:15
*** zenwryly` has joined #zope3-dev04:16
*** srichter has joined #zope3-dev04:26
*** rmarianski has quit IRC04:27
*** ChanServ sets mode: +o srichter04:28
*** acsr has joined #zope3-dev04:34
*** hazmat has quit IRC04:36
*** rcrafton has joined #zope3-dev04:43
*** philiKON_ has joined #zope3-dev04:44
*** hazmat has joined #zope3-dev04:45
*** rmarianski has joined #zope3-dev04:52
*** RaFromBRC has quit IRC04:52
*** rmarianski has quit IRC04:56
*** philiKON has quit IRC05:00
*** natea_ is now known as natea05:07
*** whit has joined #zope3-dev06:05
*** mcdonc has joined #zope3-dev06:13
*** mcdonc has quit IRC06:16
*** vod has joined #zope3-dev06:48
*** mcdonc has joined #zope3-dev07:29
*** baijum has joined #zope3-dev07:29
*** mcdonc_ has joined #zope3-dev07:31
*** mcdonc_ has quit IRC07:32
*** mcdonc has quit IRC07:33
*** alecm_ has joined #zope3-dev07:39
*** alecm has quit IRC07:39
*** hazmat has quit IRC08:23
*** jsadjohnson has left #zope3-dev08:24
*** jsadjohnson has joined #zope3-dev08:24
*** jsadjohnson has joined #zope3-dev08:25
*** reco has quit IRC08:28
*** hdima has joined #zope3-dev08:42
*** sorin has joined #zope3-dev08:54
*** sorin is now known as sorindregan08:54
*** timte has joined #zope3-dev08:57
*** huajie has quit IRC09:10
*** quodt has joined #zope3-dev09:12
*** jodok has joined #zope3-dev09:25
*** dobee has joined #zope3-dev09:25
*** schwendinger has joined #zope3-dev09:25
romanofskimoin :)09:29
*** zenwryly` is now known as zenwryly09:38
*** gimni__ has joined #zope3-dev09:42
*** gimni__ is now known as gimni09:42
*** gimni has quit IRC09:43
*** __mac__ has joined #zope3-dev09:44
*** afd_ has joined #zope3-dev09:47
*** pelle_ has joined #zope3-dev09:49
*** Jell-O-Fishi has quit IRC10:04
*** alecm_ has quit IRC10:11
*** zenwryly has quit IRC10:12
*** zenwryly has joined #zope3-dev10:12
*** yvl has joined #zope3-dev10:16
*** rcrafton has quit IRC10:20
*** b52laptop has joined #zope3-dev10:23
*** dobee has quit IRC10:25
*** harobed has joined #zope3-dev10:32
*** malthe has joined #zope3-dev10:39
*** tarek has joined #zope3-dev10:46
*** tarek has left #zope3-dev10:47
*** huajie has joined #zope3-dev10:51
*** markusleist has quit IRC10:53
*** pyqwer has joined #zope3-dev10:59
pyqwerHi, I have container with an index.html-page, which is correctly displayed. However, when calling the URL without index.html, there are permission problems. Any clues why?11:00
*** zenwryly` has joined #zope3-dev11:04
*** zenwryly has quit IRC11:06
*** reco has joined #zope3-dev11:07
*** kursor_ has joined #zope3-dev11:08
*** reco has quit IRC11:10
*** reco has joined #zope3-dev11:10
*** kursor has quit IRC11:15
*** malthe has quit IRC11:20
*** dobee has joined #zope3-dev11:21
*** jfroche_ has joined #zope3-dev11:21
*** MJ has joined #zope3-dev11:27
*** philiKON_ has quit IRC11:29
*** jsadjohnson has quit IRC11:29
*** ghendi has joined #zope3-dev11:31
*** quodt has quit IRC11:37
*** Jell-O-Fishi has joined #zope3-dev11:49
*** philiKON has joined #zope3-dev11:56
*** malthe has joined #zope3-dev12:13
*** schwendinger has quit IRC12:15
*** mkerrin has joined #zope3-dev12:17
*** schwendinger has joined #zope3-dev12:17
*** srichter has quit IRC12:33
*** ccomb has joined #zope3-dev12:35
*** mgedmin has joined #zope3-dev12:39
*** philiKON has quit IRC12:46
*** schwendinger has quit IRC12:52
*** ignas has joined #zope3-dev12:54
ignassorry, a typo12:54
ignashi ;)12:54
*** vod has quit IRC12:55
*** schwendinger has joined #zope3-dev13:00
*** philiKON has joined #zope3-dev13:00
*** pelle_ has quit IRC13:01
*** pelle_ has joined #zope3-dev13:03
*** philiKON_ has joined #zope3-dev13:10
*** philiKON has quit IRC13:11
*** dunny has quit IRC13:11
*** afd_ has quit IRC13:18
*** MJ is now known as MJ|lunch13:24
*** niemeyer has joined #zope3-dev13:28
*** malthe has quit IRC13:36
*** projekt01 has joined #zope3-dev13:43
*** hazmat has joined #zope3-dev13:47
*** afd_ has joined #zope3-dev13:56
*** salfield has joined #zope3-dev14:02
*** hazmat has quit IRC14:04
*** MJ|lunch is now known as MJ14:11
*** stub has quit IRC14:14
*** stub has joined #zope3-dev14:15
*** sorindregan has quit IRC14:20
*** sorindregan has joined #zope3-dev14:20
*** jsadjohnson has joined #zope3-dev14:22
*** srichter has joined #zope3-dev14:23
*** ChanServ sets mode: +o srichter14:32
*** bung_vijay_ has joined #zope3-dev14:37
*** bung_vijay_ is now known as bung_vijay14:38
*** jack-e has joined #zope3-dev14:38
*** bung_vijay has quit IRC14:41
*** srichter has quit IRC14:44
*** yvl has left #zope3-dev14:50
*** reco has quit IRC15:01
*** kursor_ has quit IRC15:05
*** kursor has joined #zope3-dev15:05
*** Jell-O-Fishi has quit IRC15:09
*** afd_ has quit IRC15:11
*** philiKON_ has quit IRC15:14
*** rcrafton has joined #zope3-dev15:15
*** ignas has quit IRC15:19
*** schwendinger has quit IRC15:21
*** bung_vijay has joined #zope3-dev15:22
*** benji has joined #zope3-dev15:25
*** malthe has joined #zope3-dev15:25
*** schwendinger has joined #zope3-dev15:26
*** hazmat has joined #zope3-dev15:28
*** ignas has joined #zope3-dev15:31
*** jack_e has joined #zope3-dev15:32
*** reco has joined #zope3-dev15:33
*** bung_vijay has quit IRC15:38
*** jack-e has quit IRC15:41
*** philiKON has joined #zope3-dev15:42
*** J1m has joined #zope3-dev15:47
*** philiKON has quit IRC15:51
harobedI don't understand why when I use pdb in zope3 (instance in zopeproject) I've always source module path like this :16:02
harobed> /home/stephane/myenv/build-eggs/tmpnw0f5Q/zope.publisher-3.5.0a1.dev_r78838-py2.4.egg/zope/publisher/
harobed(Pdb) l16:02
mgedminwheee, egg fun16:02
harobedwhy I've "tmpnw0f5Q" ?16:02
benjiharobed: setuptools hates you16:02
mgedminprobably because setuptools hates everyone16:02
benjidelete all your .pyc files and let them get rebuilt with correct paths16:03
*** srichter has joined #zope3-dev16:03
mgedminthe idea to hardcode the original location of the .py file in the .pyc was brain-dead, too16:03
benjimgedmin: yeah, the hate is omnidirectional16:03
harobedbenji: ok, I'll try it16:03
harobedbenji: are you some documentation (url) about this issue ?16:03
benjiyes, I am documentation about this issue ;)16:04
*** ChanServ sets mode: +o srichter16:04
benji(kidding asside, no I haven't seen it on the web anywhere)16:04
harobed;) have you ...16:04
* benji googles16:04
*** afd_ has joined #zope3-dev16:04
*** malthe has quit IRC16:09
srichterbenji: right, Jim told me he always removed all pyc files in his egg cache dir16:09
srichterhe said that building the PYC files at one palces and then moving it to another might be unnecessary16:10
srichterso it could be fixed within buildout16:10
benjiI /think/ there's a switch to compileall that would make setuptools behave correctly; haven't looked deeply into it though16:10
*** lucielejard has joined #zope3-dev16:12
pyqwerCan someone please enlighten me with Apache rewrites? I have the problem that I can access "http://mysite/" but no "http://mysite".16:13
*** quodt has joined #zope3-dev16:13
*** regebro has joined #zope3-dev16:16
mgedminah, those are fun16:17
mgedminpastebin them for us16:17
pyqwermgedmin: Sorry - do you address me or benji?16:18
mgedminpyqwer: you16:18
pyqwerRewriteRule ^/fym/(.*){SERVER_NAME}:80/fym/++/$1 [P,L]16:19
pyqwerThat's all I have.16:19
pyqwerIf I do it like "RewriteRule ^/fym(.*)", I can access http://myhost/fym but all relative links are wrong then.16:19
mgedminwell then, you're not rewriting ^/fym$16:22
mgedminI use RewriteRule ^/fym(/(.*))${SERVER_NAME}:80/fym/++$1 [P,L]16:22
mgedminI use RewriteRule ^/fym(/.*)?${SERVER_NAME}:80/fym/++$1 [P,L]16:23
*** quodt has quit IRC16:23
* pyqwer trying out...16:23
*** quodt has joined #zope3-dev16:24
pyqwermgedmin: Interesting, it works now.16:24
mgedminwell, it would, if I gave you the correct solution, wouldn't it now?16:25
pyqwermgedmin: Yes, it works, many thanks, but I don't really understand why the '/' is in the parantheses and why there is a "$" at the end.16:26
*** alga has joined #zope3-dev16:26
pyqwerAh, I ment, the '?'.16:26
mgedminparanoia, perhaps -- $ at the end ensures that URLs like /fymwhatever aren't rewritten16:26
mgedmin( and )? ensure that '/fym' is rewritten16:26
mgedminregexp magic16:27
*** jodok has quit IRC16:27
*** hazmat has quit IRC16:28
pyqwermgedmin: I see, well, thanks for that!16:28
*** huajie has quit IRC16:32
*** baijum has quit IRC16:32
*** philiKON has joined #zope3-dev16:33
harobedbenji: thanks for your links16:33
*** hazmat has joined #zope3-dev16:33
benjiglad to help16:34
harobedok, I see python 2.5 haven't this issue (about egg ziped)16:36
harobedbut, I see in my build-eggs, I haven't egg zipped16:37
harobedok, it's work16:42
harobedanother question :) I try to use pycallgraph in zope from zopeproject16:43
harobedI've insered pycallgraph.start_trace() in function  WSGIPublisherApplication.__call__ in
*** jack_e has quit IRC16:44
harobedbut when python call this line "request = publish(request, handle_errors=handle_errors)" it do nothing16:44
harobedprocess wait, wait....16:44
harobedI don't understand why I can't call this function with pycallgraph.start_trace context16:45
benjiwhen you say "it do nothing", do you mean it returns immediately, it returns after some time but produces no output, or it appears to hang?16:46
harobedit never return16:47
harobedwhen I test it with pdb, when I on request = publish(request, handle_errors=handle_errors) and I do next16:47
benjiI suspect the overhead of the trace function is making the function call take a long time, so long that it appears to hang16:47
*** whit has quit IRC16:47
harobedit never return16:47
harobedand cpu is on 100% usage16:48
benjiit will eventually return; might not be in our lifetimes, though ;)16:48
harobedI've wait ten minutes and more16:48
benjiright, it may take a very, very long time16:49
benjinot really; any time you instrument a system at the function call level, you're going to introduce some overhead; that overhead is killing you16:51
*** regebro is now known as regebro|food16:51
*** quodt has quit IRC16:54
*** quodt has joined #zope3-dev17:02
harobedbenji: I've also same issue when I do "step" in pdb17:08
*** MJ has quit IRC17:11
benjiwith the call graph code enabled, or disabled?17:11
*** bung_vijay has joined #zope3-dev17:12
*** bung_vijay has quit IRC17:13
*** bung_vijay_ has joined #zope3-dev17:13
*** bung_vijay_ is now known as bung_vijay17:14
harobedbenji: with graph code enabled17:16
benjisounds like the call graph code is incompatible with pdb (not surprising, as they likely use the same mechanism to do their work)17:17
*** pelle_ has quit IRC17:19
*** norro has joined #zope3-dev17:20
*** bung_vijay has quit IRC17:23
*** bung_vijay has joined #zope3-dev17:24
*** rmarianski has joined #zope3-dev17:24
*** kursor has quit IRC17:25
*** ghendi has quit IRC17:26
*** jack_e has joined #zope3-dev17:29
*** regebro|food is now known as regebro17:29
*** malthe has joined #zope3-dev17:40
*** sorindregan has quit IRC17:42
*** jack_e has quit IRC17:47
*** ghendi has joined #zope3-dev17:49
*** zenwryly` has quit IRC17:56
*** pyqwer has quit IRC17:58
*** MJ has joined #zope3-dev17:59
*** mweichert has joined #zope3-dev18:10
*** ghendi has quit IRC18:17
*** salfield has quit IRC18:27
*** ignas has quit IRC18:29
*** jack_e has joined #zope3-dev18:30
*** projekt01 has left #zope3-dev18:30
*** jodok has joined #zope3-dev18:34
nourisrichter: I'm registering a FieldValidator for my form that subclasses from SimpleFieldValidator, because I want to validate against the schema fields.  But apparently I'm missing something; I'm never getting as far as FieldWidgets.extract, so the validators are not looked up.  (I'm pretty much following the form.txt example.)18:42
*** jack_e has quit IRC18:44
ccombI have a working buildout env created with zopeproject/grokproject, and I'm just trying to add z3c.form to this buildout.  What are the simple steps to do that?18:50
ccomb1) add z3c.form to the buildout.cfg in the eggs18:50
*** fcorrea has joined #zope3-dev18:51
nouriccomb: That's it18:51
mgedminis it?18:52
ccomb2) run the buildout again to retrieve and install it18:52
nouriIt isn't?18:52
mgedminI thought it was adding z3c.form into of your package18:52
mgedminbut maybe both work?18:52
benjium, shouldn't you instaead add it to the required packages in your
philiKONif your code imports z3c.form, then it's a hard dependency of that package18:53
nouriHe asked to add it to his buildout, okay? :)18:53
* mgedmin means same thing, only benji said it better18:53
philiKONhence it belongs into install_requires18:53
philiKONin setup.py18:53
*** whit has joined #zope3-dev18:53
nouriWhile we're at this topic; can I add an egg without pulling in its dependencies, maybe with zc.recipe.egg:custom?18:54
mgedminwhy would you want to?18:55
nouriBecause I'm using Zope 218:55
philiKONright :)18:55
mgedminah, the fun problem: how do you mix old-style and new-style zope mixes18:55
* mgedmin is staying away from that one18:55
philiKONwell, you could "simulate" the zope.* eggs18:56
philiKONusing development eggs18:56
philiKONjust create the appropriate egg-info dirs18:56
nouriI think I want to equivalent of easy_install --no-deps or however that's spelled18:56
* philiKON didn't know that existed18:56
mgedminphiliKON: that sounds so trivial...18:57
* mgedmin has no idea how to create an egg-info dir and what's supposed to be inside18:57
philiKONwell... ;)18:57
mgedmindebian has virtual packages where you can say "yes, I have package foo version X.Y.Z installed, thank you very much"18:57
mgedmindoes setuptools?18:57
nouriIt doesn't, but I just had the same idea18:58
philiKONwell, you could do what i suggested, or you could create essentially empty eggs18:58
* mgedmin still thinks setuptools is reinventing Debian, badly18:58
philiKONand supply them in your own download location18:58
nourimgedmin: I agree18:58
philiKONa debian that works on all platforms mind you18:59
mgedmin"that works"?18:59
* mgedmin is not so sure18:59
*** jack_e has joined #zope3-dev18:59
*** dobee has left #zope3-dev18:59
*** dobee has joined #zope3-dev18:59
ccombthis seems similar to deb packages, it is not, you don't assemble several deb packages of different versions on the same system for different purposes19:00
ccombjust like buildout is at a different level than scons19:01
*** MJ has quit IRC19:02
*** harobed has quit IRC19:02
ccombAfter 1) and 2), I should then 3) add <include package="z3c.form" /> in zcml19:04
ccombthat's all?19:04
philiKONexcept that 1) was wrong19:04
philiKONit should be in's install_requires19:04
*** malthe has quit IRC19:05
ccombbut I get : ConfigurationError: ('Unknown directive', u'', u'widgetTemplate')19:06
ccombI'm probably ommtting some obvious thing, but I wonder what19:06
philiKONyou probably need to load z3c.form's meta.zcml as well19:07
ccombahhhhh, that's the 2nd time I do this error19:07
ccombthanks in advance I'm sure this is it19:07
ccombI will stick a big post-it on my panel19:08
*** dobee has quit IRC19:08
*** hazmat has quit IRC19:22
*** quodt has quit IRC19:28
*** alecm has joined #zope3-dev19:48
*** quodt has joined #zope3-dev19:50
*** schwendinger has quit IRC19:57
*** jodok has quit IRC19:59
*** jodok has joined #zope3-dev19:59
*** ktwilight has joined #zope3-dev19:59
*** nathany has joined #zope3-dev20:02
* ccomb should also add to his post-it to load the meta zcml BEFORE the other one...20:02
*** jack-e has joined #zope3-dev20:04
*** dobee has joined #zope3-dev20:05
*** jsadjohnson has quit IRC20:07
*** jfroche_ has quit IRC20:08
*** cursor has joined #zope3-dev20:10
*** zagy has quit IRC20:12
*** ktwilight_ has quit IRC20:13
*** RaFromBRC has joined #zope3-dev20:13
*** jack_e has quit IRC20:17
*** bung_vijay has quit IRC20:18
*** b52laptop has quit IRC20:24
*** b52laptop has joined #zope3-dev20:25
*** zagy has joined #zope3-dev20:45
*** markusleist has joined #zope3-dev20:46
*** dobee has quit IRC20:54
*** dobee has joined #zope3-dev20:55
*** malthe has joined #zope3-dev20:58
*** lucielejard has quit IRC21:04
*** lucielejard has joined #zope3-dev21:06
*** jsadjohnson has joined #zope3-dev21:09
*** MrTopf has joined #zope3-dev21:24
*** lucielejard has joined #zope3-dev21:28
*** zagy has quit IRC21:32
*** zagy has joined #zope3-dev21:34
*** dunny has joined #zope3-dev21:35
*** zagy has quit IRC21:35
*** dunny has quit IRC21:35
*** regebro has quit IRC21:43
*** regebro has joined #zope3-dev21:45
*** lucielejard has quit IRC21:46
*** reco has quit IRC21:47
*** mgedmin has quit IRC21:47
*** reco has joined #zope3-dev21:47
*** whit has quit IRC21:59
*** afd_ has quit IRC22:05
*** lucielejard has joined #zope3-dev22:07
*** rmarianski has quit IRC22:10
*** rmarianski_ has joined #zope3-dev22:16
*** jinty has joined #zope3-dev22:18
*** jodok has quit IRC22:22
*** jinty has quit IRC22:23
*** whit has joined #zope3-dev22:27
*** reco has quit IRC22:30
*** harobed has joined #zope3-dev22:31
*** cursor has quit IRC22:39
*** RaFromBRC is now known as RaFromBRC|lunch22:39
*** mkerrin has quit IRC22:58
*** schwendinger has joined #zope3-dev23:03
*** schwendinger has quit IRC23:04
*** dunny has joined #zope3-dev23:04
*** RaFromBRC|lunch is now known as RaFromBRC23:10
*** tuxella_ has quit IRC23:21
*** jsadjohnson has quit IRC23:23
*** rmarianski_ has quit IRC23:24
*** tuxella has joined #zope3-dev23:30
*** schwendinger has joined #zope3-dev23:37
*** thruflo has joined #zope3-dev23:39
*** MJ has joined #zope3-dev23:44
*** rmarianski has joined #zope3-dev23:47
*** alga has quit IRC23:48

Generated by 2.15.1 by Marius Gedminas - find it at!