*** mcdonc has quit IRC | 00:10 | |
*** runyaga_ has joined #zope | 00:13 | |
*** runyaga has quit IRC | 00:16 | |
*** evilbungle has quit IRC | 00:22 | |
*** TKtrundle has joined #zope | 00:29 | |
*** TKtiddle has quit IRC | 00:30 | |
TKtrundle | hi 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/CXLU66yu | 00:30 |
---|---|---|
*** benji has joined #zope | 00:37 | |
*** redir has joined #zope | 00:40 | |
*** Arfrever has quit IRC | 00:47 | |
*** mcdonc1 has quit IRC | 00:54 | |
TresEquis | TKtrundle: are you running inside a buildout? | 00:54 |
TresEquis | If so, you need to make sure the lxml egg is added to the "part" which sets up the Zope instance | 00:55 |
TKtrundle | TresEquis: Hey Im not running buildout is there an config file for zope to add python modules? | 01:04 |
*** aaronv has quit IRC | 01:04 | |
TresEquis | see the 'paths' section in your zope.conf | 01:08 |
TresEquis | and double check that your Zope instance is really using the same python where you verified that lxml was installed | 01:08 |
TresEquis | the default location for third-party libs in "old" zope was $INSTANCE_HOME/lib/python | 01:09 |
*** RaFromBRC has quit IRC | 01:12 | |
*** regebro has quit IRC | 01:14 | |
*** RaFromBRC has joined #zope | 01:15 | |
*** dunny has quit IRC | 01:19 | |
*** Arfrever has joined #zope | 01:25 | |
*** TresEquis has quit IRC | 01:25 | |
*** MrWu has joined #zope | 01:25 | |
*** alvaro has joined #zope | 01:26 | |
*** sidnei has quit IRC | 01:28 | |
*** MrWu has quit IRC | 01:37 | |
*** aaronv has joined #zope | 01:42 | |
*** jim_SFU has quit IRC | 01:54 | |
*** aaronv has quit IRC | 02:09 | |
*** mcdonc has joined #zope | 02:13 | |
*** sashav has joined #zope | 02:25 | |
*** mr_jolly has quit IRC | 02:28 | |
*** giampaolo has quit IRC | 02:35 | |
*** dayne has quit IRC | 02:43 | |
*** astoon has joined #zope | 02:43 | |
*** aaronv has joined #zope | 02:47 | |
*** TKtrundle has quit IRC | 02:57 | |
*** aaronv has quit IRC | 02:59 | |
*** sidnei has joined #zope | 03:37 | |
*** tiwula has quit IRC | 03:43 | |
*** davisagli has joined #zope | 03:59 | |
*** tiwula has joined #zope | 04:10 | |
*** baijum has joined #zope | 04:16 | |
*** TresEquis has joined #zope | 04:26 | |
*** davisagli has quit IRC | 04:28 | |
*** RaFromBRC has quit IRC | 04:41 | |
*** tiwula has quit IRC | 04:48 | |
*** dunny has joined #zope | 05:08 | |
*** astoon has quit IRC | 05:43 | |
*** hever has quit IRC | 05:51 | |
*** runyaga_ is now known as runyaga | 05:51 | |
*** runyaga has joined #zope | 05:51 | |
*** astoon has joined #zope | 05:56 | |
*** benji has quit IRC | 06:07 | |
*** benji has joined #zope | 06:10 | |
*** TresEquis has quit IRC | 06:12 | |
*** thetetet has joined #zope | 06:16 | |
*** TresEquis has joined #zope | 06:17 | |
*** thetet has quit IRC | 06:20 | |
*** RaFromBRC has joined #zope | 06:34 | |
*** allisterb has joined #zope | 06:35 | |
*** baijum has quit IRC | 06:43 | |
*** smita has quit IRC | 06:46 | |
*** baijum has joined #zope | 06:47 | |
*** tiwula has joined #zope | 06:47 | |
*** TresEquis has quit IRC | 06:55 | |
*** smita has joined #zope | 06:57 | |
*** davisagli has joined #zope | 06:59 | |
*** tiwula has quit IRC | 07:00 | |
*** vigith has joined #zope | 07:04 | |
*** astoon has quit IRC | 07:07 | |
*** davisagli has quit IRC | 07:14 | |
*** skt_ has joined #zope | 07:15 | |
*** baijum has quit IRC | 07:23 | |
*** digitalmortician has quit IRC | 07:45 | |
*** timte has joined #zope | 08:12 | |
*** baijum has joined #zope | 08:15 | |
*** digitalmortician has joined #zope | 08:18 | |
*** pingviin1 has joined #zope | 08:30 | |
*** kosh has quit IRC | 08:34 | |
*** kosh has joined #zope | 08:35 | |
*** mr_jolly has joined #zope | 09:04 | |
*** wosc has joined #zope | 09:05 | |
*** bigkevmcd has quit IRC | 09:18 | |
*** tarek_ has joined #zope | 09:31 | |
*** thetetet has quit IRC | 09:31 | |
*** bigkevmcd has joined #zope | 09:31 | |
*** astoon has joined #zope | 09:47 | |
*** phimic has joined #zope | 09:51 | |
*** pingviin1 has quit IRC | 09:57 | |
*** moo--- has quit IRC | 10:03 | |
*** moo--- has joined #zope | 10:04 | |
*** tarek_ has quit IRC | 10:04 | |
*** regebro has joined #zope | 10:07 | |
*** sashav has quit IRC | 10:08 | |
*** bigkevmcd has quit IRC | 10:13 | |
*** bigkevmcd has joined #zope | 10:14 | |
*** planetzopebot has quit IRC | 10:33 | |
*** shinygiftson has joined #zope | 10:33 | |
*** planetzopebot has joined #zope | 10:34 | |
*** sim_sim has joined #zope | 10:37 | |
*** ccomb has joined #zope | 10:45 | |
*** JaRoel|4D has quit IRC | 10:46 | |
*** sashav has joined #zope | 10:46 | |
*** zagy has quit IRC | 10:49 | |
*** zagy has joined #zope | 11:01 | |
*** gabi_ has joined #zope | 11:01 | |
*** gabi_ has quit IRC | 11:10 | |
*** giampaolo has joined #zope | 11:11 | |
*** TomBlockley has joined #zope | 11:11 | |
*** runyaga has quit IRC | 11:16 | |
*** huajie has joined #zope | 11:19 | |
*** sim_sim has quit IRC | 11:19 | |
*** astoon has quit IRC | 11:20 | |
*** menesis has joined #zope | 11:23 | |
*** eperez has joined #zope | 11:27 | |
*** smita has quit IRC | 11:32 | |
*** MJ has joined #zope | 11:33 | |
*** purserj has quit IRC | 11:34 | |
*** florentino has joined #zope | 11:34 | |
*** purserj has joined #zope | 11:34 | |
*** hever has joined #zope | 11:35 | |
*** mcdonc has quit IRC | 11:41 | |
*** mcdonc has joined #zope | 11:42 | |
*** mcdonc has quit IRC | 11:42 | |
*** agroszer has joined #zope | 11:54 | |
*** f10w has joined #zope | 11:54 | |
*** huajie has quit IRC | 11:59 | |
*** smita has joined #zope | 12:01 | |
*** blip2 has quit IRC | 12:04 | |
*** blip2 has joined #zope | 12:05 | |
*** smita has quit IRC | 12:16 | |
*** mcdonc has joined #zope | 12:21 | |
*** mcdonc has quit IRC | 12:28 | |
*** ccomb has quit IRC | 12:29 | |
*** ccomb has joined #zope | 12:29 | |
*** mcdonc has joined #zope | 12:32 | |
*** smita has joined #zope | 12:35 | |
*** teix has joined #zope | 12:44 | |
*** alvaro is now known as Guest82783 | 12:48 | |
*** ramonski has joined #zope | 12:50 | |
*** tarek_ has joined #zope | 12:57 | |
*** evilbungle has joined #zope | 12:57 | |
*** florentino has quit IRC | 13:00 | |
*** TresEquis has joined #zope | 13:23 | |
*** bigkevmcd has quit IRC | 13:25 | |
*** bigkevmcd has joined #zope | 13:31 | |
*** JaRoel|4D has joined #zope | 13:40 | |
*** TresEquis has quit IRC | 13:45 | |
*** vigith has quit IRC | 13:46 | |
*** TresEquis has joined #zope | 13:47 | |
*** teix has quit IRC | 13:48 | |
*** aaronv has joined #zope | 13:50 | |
*** matleh has joined #zope | 13:51 | |
*** teix has joined #zope | 13:52 | |
matleh | any buildout experts here? | 13:52 |
matleh | I 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 IRC | 14:00 | |
matleh | I specified the zope3.4 find-links page in my buildout, but I get newer versions anyway | 14:01 |
*** giampaolo has quit IRC | 14:03 | |
TresEquis | matleh: no | 14:04 |
TresEquis | they just get added to the set to be evaluated against any constraints | 14:04 |
TresEquis | if they are newer, usually, then they win | 14:04 |
TresEquis | what index are you using? | 14:04 |
TresEquis | PyPI? | 14:04 |
TresEquis | generally I would avoid find-links and use the KGS versions.cfg for buildout | 14:04 |
*** TKtiddle has joined #zope | 14:04 | |
matleh | Ah, OK | 14:05 |
*** thetet has joined #zope | 14:05 | |
matleh | why avoid find-links? | 14:05 |
matleh | I tried the KGS index, but this didn't seem to work | 14:05 |
matleh | when I specifiy [buildout]index=<KGS-index-url>, than only this index is queried an not PyPI, right? | 14:07 |
*** sashav has quit IRC | 14:10 | |
matleh | when 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 index | 14:10 |
matleh | am I still doing something wrong? | 14:11 |
matleh | Hmm, it works when I disable the shared egg-directory | 14:17 |
*** timte has quit IRC | 14:17 | |
*** benji has quit IRC | 14:17 | |
matleh | hmm, it did for my test, but doesn't for the real thing :( | 14:35 |
betabug | that's why I avoid testing stuff | 14:39 |
betabug | if you hadn't tested it, you would have known right away that it doesn't work | 14:39 |
*** emrojo has joined #zope | 14:40 | |
*** jan_s has joined #zope | 14:54 | |
matleh | betabug: are you talking with me? | 14:56 |
betabug | more like "kidding with you" :-) | 14:59 |
*** sim_sim has joined #zope | 15:05 | |
*** Kabz|4D has joined #zope | 15:10 | |
*** huajie has joined #zope | 15:12 | |
*** benji has joined #zope | 15:18 | |
*** TomBlockley has joined #zope | 15:19 | |
*** giampaolo has joined #zope | 15:22 | |
*** matleh has quit IRC | 15:31 | |
*** Kabz|4D has quit IRC | 15:33 | |
*** eperez has quit IRC | 15:33 | |
*** allisterb has quit IRC | 15:34 | |
*** hever has quit IRC | 15:44 | |
*** skt_ has quit IRC | 15:48 | |
*** allisterb has joined #zope | 15:48 | |
*** dayne has joined #zope | 15:57 | |
do3cc | shouldnt 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 |
TresEquis | do3cc: Zope3? | 16:00 |
TresEquis | If methods, they still need to have docstrings | 16:00 |
do3cc | no 2.12 | 16:00 |
TresEquis | in Zope2 | 16:01 |
do3cc | Im checking but I believe they have, thats not my code that fails | 16:01 |
do3cc | yes thats not it | 16:01 |
TresEquis | generally speaking, allowed_attributes grants templates the right to use them | 16:02 |
TresEquis | but addressing them via URL may require extra hoops | 16:02 |
do3cc | what 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 that | 16:02 |
do3cc | I believe that worked in 2.10 | 16:03 |
TresEquis | like declaring Z2-style permissions, initializing the class, ensuring a docstring, etc. | 16:03 |
do3cc | but I did not find a clear documentation of what allowed_attributes should actually allow | 16:03 |
TresEquis | it sounds like you might want to check out <browser:views>? | 16:04 |
do3cc | maybe, not sure yet | 16:05 |
*** dayne has quit IRC | 16:05 | |
do3cc | that 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 attribute | 16:06 |
*** baijum has quit IRC | 16:06 | |
do3cc | as 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 wrong | 16:06 |
TresEquis | from the Z3 perspective, if if doesn't have its own view registration, it isn't supposed to be URL-addressible | 16:07 |
do3cc | it has | 16:07 |
TresEquis | I mean the attribute | 16:08 |
TresEquis | (method, really) | 16:08 |
do3cc | ahh | 16:08 |
do3cc | so It might be that the package used a feature that was actually a bug | 16:08 |
*** thetet has quit IRC | 16:08 | |
TresEquis | it could be that some historical mix of Five allowed it, due to interactions with classic Boboisms | 16:08 |
TresEquis | I think I might just add more <browser:view> declarations (one per addressible method) | 16:09 |
TresEquis | you can spell the attribute name inside <browser:view>, I think | 16:09 |
do3cc | thats what happening | 16:09 |
TresEquis | not the allowed_attributes | 16:10 |
TresEquis | more like: <browser:view for="*" factory="my.module.MyView" attribute="method_name" /> | 16:10 |
TresEquis | incomplete -- needs name="something", etc. | 16:11 |
TresEquis | that will cause the new view to call your method, instead of __call__ | 16:11 |
*** mgedmin has joined #zope | 16:11 | |
*** hever has joined #zope | 16:12 | |
do3cc | the original author just added more actions to a view, the page is also __call__ ed | 16:12 |
do3cc | I think the author really used a loophole that got closed | 16:14 |
do3cc | but now I am even more confused of allowed_attributes | 16:18 |
do3cc | I can access all attributes of a view in tales expressions | 16:18 |
do3cc | what is allowed_attributes actually used for? | 16:18 |
TresEquis | In Z3, you can't use any view attributes which aren't listed there | 16:18 |
TresEquis | Z2 is likely operating more loosely | 16:19 |
do3cc | but methods I can | 16:19 |
TresEquis | because it doesn't use the Z3 spacesuits | 16:19 |
TresEquis | aka "security proxies" | 16:19 |
do3cc | I never had the need to access attributes of browser view classes in TALES, and methods I can call without such restriction | 16:21 |
*** wosc has quit IRC | 16:21 | |
*** matleh has joined #zope | 16:22 | |
*** jim_SFU has joined #zope | 16:24 | |
*** shinygiftson has quit IRC | 16:48 | |
*** dayne has joined #zope | 16:57 | |
*** digilord has joined #zope | 17:04 | |
*** RiverRat has quit IRC | 17:21 | |
*** tiwula has joined #zope | 17:22 | |
*** Kabz|4D has joined #zope | 17:33 | |
*** phimic has quit IRC | 17:33 | |
*** allisterb has quit IRC | 17:34 | |
*** allisterb has joined #zope | 17:47 | |
*** dunny has quit IRC | 17:48 | |
*** digitalmortician has quit IRC | 17:55 | |
*** Kabz|4D has quit IRC | 17:58 | |
*** tarek_ is now known as tarek | 17:58 | |
*** ramonski has left #zope | 18:09 | |
*** allisterb has quit IRC | 18:21 | |
*** allisterb has joined #zope | 18:34 | |
*** matleh has quit IRC | 18:38 | |
*** digilord has quit IRC | 18:41 | |
*** digilord has joined #zope | 18:42 | |
*** huajie has quit IRC | 18:50 | |
*** TKtiddle has quit IRC | 18:52 | |
*** zagy has quit IRC | 18:53 | |
*** ccomb has quit IRC | 18:53 | |
*** mgedmin has quit IRC | 18:54 | |
*** tiwula has quit IRC | 18:56 | |
*** LeoRochael has joined #zope | 18:58 | |
LeoRochael | I 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.3 | 18:59 |
LeoRochael | and then buildout cannot downgrade itself | 19:00 |
LeoRochael | despite being pinned to 1.4.3 on the Zope 2.12 versions list | 19:00 |
LeoRochael | what workarounds are people using? | 19:00 |
LeoRochael | I guess I'll just have to pass -v to boostrap.py | 19:07 |
*** tiwula has joined #zope | 19:08 | |
*** pyqwer has joined #zope | 19:15 | |
*** tarek has quit IRC | 19:21 | |
*** MJ has quit IRC | 19:31 | |
TresEquis | LeoRochael: see the distutils-sig this morning | 19:31 |
LeoRochael | TresEquis: thanks, Tres | 19:32 |
LeoRochael | looks like it's long past time I subscribed to that list, even if in digest mode | 19:32 |
*** TresEquis has quit IRC | 19:45 | |
*** pyqwer has quit IRC | 19:48 | |
*** davisagli has joined #zope | 19:55 | |
*** zagy has joined #zope | 20:10 | |
*** TresEquis has joined #zope | 20:20 | |
*** davisagli has quit IRC | 20:21 | |
*** davisagli has joined #zope | 20:23 | |
*** hever has quit IRC | 20:26 | |
*** aaronv has quit IRC | 20:35 | |
*** alvaro has joined #zope | 20:42 | |
*** emrojo has quit IRC | 20:51 | |
*** aaronv has joined #zope | 20:53 | |
*** cwarner has joined #zope | 21:17 | |
*** mr_jolly has quit IRC | 21:27 | |
*** RaFromBRC has quit IRC | 21:44 | |
*** mcdonc has quit IRC | 21:48 | |
*** allisterb has quit IRC | 21:52 | |
*** sim_sim has quit IRC | 21:54 | |
*** mcdonc has joined #zope | 21:54 | |
*** agroszer has quit IRC | 21:54 | |
*** allisterb has joined #zope | 22:08 | |
*** TomBlockley has quit IRC | 22:09 | |
*** evilbungle has quit IRC | 22:14 | |
*** tarek has joined #zope | 22:20 | |
*** hever has joined #zope | 22:20 | |
*** teix has quit IRC | 22:34 | |
*** sidnei has quit IRC | 22:35 | |
*** mcdonc has quit IRC | 22:40 | |
*** __gotcha has joined #zope | 22:41 | |
__gotcha | zc.buildout bootstrap.py does not work for me anymore... | 22:41 |
*** mcdonc has joined #zope | 22:41 | |
__gotcha | I think it is related with the release of buildout 1.5.0b1 | 22:41 |
__gotcha | Has someone else seen the problem ? | 22:41 |
__gotcha | or just a coincidence ? | 22:42 |
TresEquis | __gotcha: not a coincidence | 22:42 |
TresEquis | gary_poster is working on unscrewing it today | 22:43 |
__gotcha | any workaround in the meanwhile ? | 22:43 |
LeoRochael | __gotcha: quick workaround: python bootstrap.py -v 1.4.3 | 22:43 |
__gotcha | thnks | 22:43 |
LeoRochael | __gotcha: put you have to pin your zc.buildout version | 22:43 |
LeoRochael | __gotcha: otherwise buildout will try to update it | 22:44 |
__gotcha | LeoRochael: iow, it must be told twice ? | 22:44 |
LeoRochael | __gotcha: unfortunately, yes | 22:44 |
__gotcha | does work for me :-) | 22:44 |
__gotcha | thx | 22:44 |
__gotcha | I felt bad : I was about to release a new version of zope.schema | 22:45 |
__gotcha | than realized I had not run the tests in isolation ;-) | 22:45 |
*** fgs has quit IRC | 22:47 | |
*** dunny has joined #zope | 22:59 | |
*** touff has quit IRC | 23:03 | |
*** aaronv has quit IRC | 23:07 | |
*** RaFromBRC has joined #zope | 23:07 | |
*** JaRoel|4D has quit IRC | 23:14 | |
*** lisppaste6 has joined #zope | 23:18 | |
*** mcdonc has quit IRC | 23:23 | |
*** mcdonc has joined #zope | 23:26 | |
*** tarek has quit IRC | 23:40 | |
*** hever has quit IRC | 23:54 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!