IRC log of #zope for Friday, 2010-04-30

*** mcdonc has quit IRC00:10
*** runyaga_ has joined #zope00:13
*** runyaga has quit IRC00:16
*** evilbungle has quit IRC00:22
*** TKtrundle has joined #zope00:29
*** TKtiddle has quit IRC00:30
TKtrundlehi can you look at this error im getting please.  I have lxml installed and can import it fine in the python interpreter. http://pastebin.com/CXLU66yu00:30
*** benji has joined #zope00:37
*** redir has joined #zope00:40
*** Arfrever has quit IRC00:47
*** mcdonc1 has quit IRC00:54
TresEquisTKtrundle: are  you running inside a buildout?00:54
TresEquisIf so, you need to make sure the lxml egg is added to the "part" which sets up the Zope instance00:55
TKtrundleTresEquis: Hey Im not running buildout is there an config file for zope to add python modules?01:04
*** aaronv has quit IRC01:04
TresEquissee the 'paths' section in your zope.conf01:08
TresEquisand double check that your Zope instance is really using the same python where you verified that lxml was installed01:08
TresEquisthe default location for third-party libs in "old" zope was $INSTANCE_HOME/lib/python01:09
*** RaFromBRC has quit IRC01:12
*** regebro has quit IRC01:14
*** RaFromBRC has joined #zope01:15
*** dunny has quit IRC01:19
*** Arfrever has joined #zope01:25
*** TresEquis has quit IRC01:25
*** MrWu has joined #zope01:25
*** alvaro has joined #zope01:26
*** sidnei has quit IRC01:28
*** MrWu has quit IRC01:37
*** aaronv has joined #zope01:42
*** jim_SFU has quit IRC01:54
*** aaronv has quit IRC02:09
*** mcdonc has joined #zope02:13
*** sashav has joined #zope02:25
*** mr_jolly has quit IRC02:28
*** giampaolo has quit IRC02:35
*** dayne has quit IRC02:43
*** astoon has joined #zope02:43
*** aaronv has joined #zope02:47
*** TKtrundle has quit IRC02:57
*** aaronv has quit IRC02:59
*** sidnei has joined #zope03:37
*** tiwula has quit IRC03:43
*** davisagli has joined #zope03:59
*** tiwula has joined #zope04:10
*** baijum has joined #zope04:16
*** TresEquis has joined #zope04:26
*** davisagli has quit IRC04:28
*** RaFromBRC has quit IRC04:41
*** tiwula has quit IRC04:48
*** dunny has joined #zope05:08
*** astoon has quit IRC05:43
*** hever has quit IRC05:51
*** runyaga_ is now known as runyaga05:51
*** runyaga has joined #zope05:51
*** astoon has joined #zope05:56
*** benji has quit IRC06:07
*** benji has joined #zope06:10
*** TresEquis has quit IRC06:12
*** thetetet has joined #zope06:16
*** TresEquis has joined #zope06:17
*** thetet has quit IRC06:20
*** RaFromBRC has joined #zope06:34
*** allisterb has joined #zope06:35
*** baijum has quit IRC06:43
*** smita has quit IRC06:46
*** baijum has joined #zope06:47
*** tiwula has joined #zope06:47
*** TresEquis has quit IRC06:55
*** smita has joined #zope06:57
*** davisagli has joined #zope06:59
*** tiwula has quit IRC07:00
*** vigith has joined #zope07:04
*** astoon has quit IRC07:07
*** davisagli has quit IRC07:14
*** skt_ has joined #zope07:15
*** baijum has quit IRC07:23
*** digitalmortician has quit IRC07:45
*** timte has joined #zope08:12
*** baijum has joined #zope08:15
*** digitalmortician has joined #zope08:18
*** pingviin1 has joined #zope08:30
*** kosh has quit IRC08:34
*** kosh has joined #zope08:35
*** mr_jolly has joined #zope09:04
*** wosc has joined #zope09:05
*** bigkevmcd has quit IRC09:18
*** tarek_ has joined #zope09:31
*** thetetet has quit IRC09:31
*** bigkevmcd has joined #zope09:31
*** astoon has joined #zope09:47
*** phimic has joined #zope09:51
*** pingviin1 has quit IRC09:57
*** moo--- has quit IRC10:03
*** moo--- has joined #zope10:04
*** tarek_ has quit IRC10:04
*** regebro has joined #zope10:07
*** sashav has quit IRC10:08
*** bigkevmcd has quit IRC10:13
*** bigkevmcd has joined #zope10:14
*** planetzopebot has quit IRC10:33
*** shinygiftson has joined #zope10:33
*** planetzopebot has joined #zope10:34
*** sim_sim has joined #zope10:37
*** ccomb has joined #zope10:45
*** JaRoel|4D has quit IRC10:46
*** sashav has joined #zope10:46
*** zagy has quit IRC10:49
*** zagy has joined #zope11:01
*** gabi_ has joined #zope11:01
*** gabi_ has quit IRC11:10
*** giampaolo has joined #zope11:11
*** TomBlockley has joined #zope11:11
*** runyaga has quit IRC11:16
*** huajie has joined #zope11:19
*** sim_sim has quit IRC11:19
*** astoon has quit IRC11:20
*** menesis has joined #zope11:23
*** eperez has joined #zope11:27
*** smita has quit IRC11:32
*** MJ has joined #zope11:33
*** purserj has quit IRC11:34
*** florentino has joined #zope11:34
*** purserj has joined #zope11:34
*** hever has joined #zope11:35
*** mcdonc has quit IRC11:41
*** mcdonc has joined #zope11:42
*** mcdonc has quit IRC11:42
*** agroszer has joined #zope11:54
*** f10w has joined #zope11:54
*** huajie has quit IRC11:59
*** smita has joined #zope12:01
*** blip2 has quit IRC12:04
*** blip2 has joined #zope12:05
*** smita has quit IRC12:16
*** mcdonc has joined #zope12:21
*** mcdonc has quit IRC12:28
*** ccomb has quit IRC12:29
*** ccomb has joined #zope12:29
*** mcdonc has joined #zope12:32
*** smita has joined #zope12:35
*** teix has joined #zope12:44
*** alvaro is now known as Guest8278312:48
*** ramonski has joined #zope12:50
*** tarek_ has joined #zope12:57
*** evilbungle has joined #zope12:57
*** florentino has quit IRC13:00
*** TresEquis has joined #zope13:23
*** bigkevmcd has quit IRC13:25
*** bigkevmcd has joined #zope13:31
*** JaRoel|4D has joined #zope13:40
*** TresEquis has quit IRC13:45
*** vigith has quit IRC13:46
*** TresEquis has joined #zope13:47
*** teix has quit IRC13:48
*** aaronv has joined #zope13:50
*** matleh has joined #zope13:51
*** teix has joined #zope13:52
matlehany buildout experts here?13:52
matlehI have a question: when I specify find-links, are the versions from there preferred over the ones from the index?13:53
*** TomBlockley has quit IRC14:00
matlehI specified the zope3.4 find-links page in my buildout, but I get newer versions anyway14:01
*** giampaolo has quit IRC14:03
TresEquismatleh: no14:04
TresEquisthey just get added to the set to be evaluated against any constraints14:04
TresEquisif they are newer, usually, then they win14:04
TresEquiswhat index are you using?14:04
TresEquisPyPI?14:04
TresEquisgenerally I would avoid find-links and use the KGS versions.cfg for buildout14:04
*** TKtiddle has joined #zope14:04
matlehAh, OK14:05
*** thetet has joined #zope14:05
matlehwhy avoid find-links?14:05
matlehI tried the KGS index, but this didn't seem to work14:05
matlehwhen I specifiy [buildout]index=<KGS-index-url>, than only this index is queried an not PyPI, right?14:07
*** sashav has quit IRC14:10
matlehwhen I use the zope3.4 KGS index, buildout complains, that it can't find zope.i18n==3.4.0, even though this version is linked in the KGS index14:10
matleham I still doing something wrong?14:11
matlehHmm, it works when I disable the shared egg-directory14:17
*** timte has quit IRC14:17
*** benji has quit IRC14:17
matlehhmm, it did for my test, but doesn't for the real thing :(14:35
betabugthat's why I avoid testing stuff14:39
betabugif you hadn't tested it, you would have known right away that it doesn't work14:39
*** emrojo has joined #zope14:40
*** jan_s has joined #zope14:54
matlehbetabug: are you talking with me?14:56
betabugmore like "kidding with you" :-)14:59
*** sim_sim has joined #zope15:05
*** Kabz|4D has joined #zope15:10
*** huajie has joined #zope15:12
*** benji has joined #zope15:18
*** TomBlockley has joined #zope15:19
*** giampaolo has joined #zope15:22
*** matleh has quit IRC15:31
*** Kabz|4D has quit IRC15:33
*** eperez has quit IRC15:33
*** allisterb has quit IRC15:34
*** hever has quit IRC15:44
*** skt_ has quit IRC15:48
*** allisterb has joined #zope15:48
*** dayne has joined #zope15:57
do3ccshouldnt I be able to call attributes of a browser view with an url if I define them in zcml in the allowed_attributes?15:58
TresEquisdo3cc: Zope3?16:00
TresEquisIf methods, they still need to have docstrings16:00
do3ccno 2.1216:00
TresEquisin Zope216:01
do3ccIm checking but I believe they have, thats not my code that fails16:01
do3ccyes thats not it16:01
TresEquisgenerally speaking, allowed_attributes grants templates the right to use them16:02
TresEquisbut addressing them via URL may require extra hoops16:02
do3ccwhat I saw from stepping through with the debugger, that Products.Five.metaconfigure.ViewMixinForTemplates nowadays implements a publishTraverse that does not check for attributes. 2.10 did not implement that16:02
do3ccI believe that worked in 2.1016:03
TresEquislike declaring Z2-style permissions, initializing the class, ensuring a docstring, etc.16:03
do3ccbut I did not find a clear documentation of what allowed_attributes should actually allow16:03
TresEquisit sounds like you might want to check out <browser:views>?16:04
do3ccmaybe, not sure yet16:05
*** dayne has quit IRC16:05
do3ccthat code does funny things. The view is not registered for the object, there is a custom adapter returning the view, on which the publisher tries to get the attribute16:06
*** baijum has quit IRC16:06
do3ccas I don't know that it is supposed to be possible to call that attribute with an url call, I don't actually know who is wrong16:06
TresEquisfrom the Z3 perspective, if if doesn't have its own view registration, it isn't supposed to be URL-addressible16:07
do3ccit has16:07
TresEquisI mean the attribute16:08
TresEquis(method, really)16:08
do3ccahh16:08
do3ccso It might be that the package used a feature that was actually a bug16:08
*** thetet has quit IRC16:08
TresEquisit could be that some historical mix of Five allowed it, due to interactions with classic Boboisms16:08
TresEquisI think I might just add more <browser:view> declarations (one per addressible method)16:09
TresEquisyou can spell the attribute name inside <browser:view>, I think16:09
do3ccthats what happening16:09
TresEquisnot the allowed_attributes16:10
TresEquismore like:  <browser:view for="*" factory="my.module.MyView" attribute="method_name" />16:10
TresEquisincomplete -- needs name="something", etc.16:11
TresEquisthat will cause the new view to call your method, instead of __call__16:11
*** mgedmin has joined #zope16:11
*** hever has joined #zope16:12
do3ccthe original author just added more actions to a view, the page is also __call__ ed16:12
do3ccI think the author really used a loophole that got closed16:14
do3ccbut now I am even more confused of allowed_attributes16:18
do3ccI can access all attributes of a view in tales expressions16:18
do3ccwhat is allowed_attributes actually used for?16:18
TresEquisIn Z3, you can't use any view attributes which aren't listed there16:18
TresEquisZ2 is likely operating more loosely16:19
do3ccbut methods I can16:19
TresEquisbecause it doesn't use the Z3 spacesuits16:19
TresEquisaka "security proxies"16:19
do3ccI never had the need to access attributes of browser view classes in TALES, and methods I can call without such restriction16:21
*** wosc has quit IRC16:21
*** matleh has joined #zope16:22
*** jim_SFU has joined #zope16:24
*** shinygiftson has quit IRC16:48
*** dayne has joined #zope16:57
*** digilord has joined #zope17:04
*** RiverRat has quit IRC17:21
*** tiwula has joined #zope17:22
*** Kabz|4D has joined #zope17:33
*** phimic has quit IRC17:33
*** allisterb has quit IRC17:34
*** allisterb has joined #zope17:47
*** dunny has quit IRC17:48
*** digitalmortician has quit IRC17:55
*** Kabz|4D has quit IRC17:58
*** tarek_ is now known as tarek17:58
*** ramonski has left #zope18:09
*** allisterb has quit IRC18:21
*** allisterb has joined #zope18:34
*** matleh has quit IRC18:38
*** digilord has quit IRC18:41
*** digilord has joined #zope18:42
*** huajie has quit IRC18:50
*** TKtiddle has quit IRC18:52
*** zagy has quit IRC18:53
*** ccomb has quit IRC18:53
*** mgedmin has quit IRC18:54
*** tiwula has quit IRC18:56
*** LeoRochael has joined #zope18:58
LeoRochaelI have buildouts with versions extending the Zope 2.12 version pins, that are breaking left and right because bootstrap picks up zc.buildout 1.5.0b1 instead of 1.4.318:59
LeoRochaeland then buildout cannot downgrade itself19:00
LeoRochaeldespite being pinned to 1.4.3 on the Zope 2.12 versions list19:00
LeoRochaelwhat workarounds are people using?19:00
LeoRochaelI guess I'll just have to pass -v to boostrap.py19:07
*** tiwula has joined #zope19:08
*** pyqwer has joined #zope19:15
*** tarek has quit IRC19:21
*** MJ has quit IRC19:31
TresEquisLeoRochael: see the distutils-sig this morning19:31
LeoRochaelTresEquis: thanks, Tres19:32
LeoRochaellooks like it's long past time I subscribed to that list, even if in digest mode19:32
*** TresEquis has quit IRC19:45
*** pyqwer has quit IRC19:48
*** davisagli has joined #zope19:55
*** zagy has joined #zope20:10
*** TresEquis has joined #zope20:20
*** davisagli has quit IRC20:21
*** davisagli has joined #zope20:23
*** hever has quit IRC20:26
*** aaronv has quit IRC20:35
*** alvaro has joined #zope20:42
*** emrojo has quit IRC20:51
*** aaronv has joined #zope20:53
*** cwarner has joined #zope21:17
*** mr_jolly has quit IRC21:27
*** RaFromBRC has quit IRC21:44
*** mcdonc has quit IRC21:48
*** allisterb has quit IRC21:52
*** sim_sim has quit IRC21:54
*** mcdonc has joined #zope21:54
*** agroszer has quit IRC21:54
*** allisterb has joined #zope22:08
*** TomBlockley has quit IRC22:09
*** evilbungle has quit IRC22:14
*** tarek has joined #zope22:20
*** hever has joined #zope22:20
*** teix has quit IRC22:34
*** sidnei has quit IRC22:35
*** mcdonc has quit IRC22:40
*** __gotcha has joined #zope22:41
__gotchazc.buildout bootstrap.py does not work for me anymore...22:41
*** mcdonc has joined #zope22:41
__gotchaI think it is related with the release of buildout 1.5.0b122:41
__gotchaHas someone else seen the problem ?22:41
__gotchaor just a coincidence ?22:42
TresEquis__gotcha: not a coincidence22:42
TresEquisgary_poster is working on unscrewing it today22:43
__gotchaany workaround in the meanwhile ?22:43
LeoRochael__gotcha: quick workaround: python bootstrap.py -v 1.4.322:43
__gotchathnks22:43
LeoRochael__gotcha: put you have to pin your zc.buildout version22:43
LeoRochael__gotcha: otherwise buildout will try to update it22:44
__gotchaLeoRochael: iow, it must be told twice ?22:44
LeoRochael__gotcha: unfortunately, yes22:44
__gotchadoes work for me :-)22:44
__gotchathx22:44
__gotchaI felt bad : I was about to release a new version of zope.schema22:45
__gotchathan realized I had not run the tests in isolation  ;-)22:45
*** fgs has quit IRC22:47
*** dunny has joined #zope22:59
*** touff has quit IRC23:03
*** aaronv has quit IRC23:07
*** RaFromBRC has joined #zope23:07
*** JaRoel|4D has quit IRC23:14
*** lisppaste6 has joined #zope23:18
*** mcdonc has quit IRC23:23
*** mcdonc has joined #zope23:26
*** tarek has quit IRC23:40
*** hever has quit IRC23:54

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