Re: [Zope3-dev] Re: Security mechanism finds permissions for Built-in principals, but not custom principals.

2005-09-19 Thread Dominik Huber
Hi Alec Your derivative of principalfolder is a local authentication. Therefore it can be only invoked if a location can be computed and the pricipalfolder can be found starting from it. Content objects are regularly locatable but adapters not. To force locations to adapters you can derive

Re: [Zope3-dev] Publisher bug

2005-09-19 Thread Velko Ivanov
Roger Ineichen wrote: Exception Type UnicodeDecodeError Exception Value 'ascii' codec can't decode byte 0xc3 in position 891: ordinal not in range(128) ... body = ('%s\nbase href=%s /\n%s' % UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 891: ordinal not in range(128)

RE: [Zope3-dev] Publisher bug

2005-09-19 Thread Roger Ineichen
Hi Velko -Original Message- From: Velko Ivanov [mailto:[EMAIL PROTECTED] Sent: Monday, September 19, 2005 12:57 PM To: [EMAIL PROTECTED] Cc: zope3-dev@zope.org Subject: Re: [Zope3-dev] Publisher bug Roger Ineichen wrote: Exception Type UnicodeDecodeError Exception Value

[Zope3-dev] typo in zope/app/i18n/browser/synchronize.py

2005-09-19 Thread Jean-Marc Orliaguet
FYI, there is a typo in: Index: zope/app/i18n/browser/synchronize.py === --- zope/app/i18n/browser/synchronize.py(revision 38532) +++ zope/app/i18n/browser/synchronize.py(working copy) @@ -117,7 +117,7 @@ if

[Zope3-dev] i18n in ZPT half-broken?

2005-09-19 Thread Jean-Marc Orliaguet
Hi! I'm having trouble getting strings to be translated using tal:content=variable or tal:replace=variable p i18n:translate= i18n:domain=zopeEverybody/p yield (in French): pTous/p but: p i18n:translate= i18n:domain=zope tal:content=string:Everybody / gives: pEverybody/p which

Re: [Zope3-dev] TALES: ExpressionEngine vs Context

2005-09-19 Thread Fred Drake
On 9/19/05, Thomas Lotze [EMAIL PROTECTED] wrote: I fiddled a bit with TAL, METAL and TALES without page templates, using TALGenerator (from zope.tal.talgenerator) and TALInterpreter (from zope.tal.talinterpreter) directly. Something puzzles me about the engine related parameter the __init__

Re: [Zope3-dev] i18n in ZPT half-broken?

2005-09-19 Thread Stephan Richter
On Monday 19 September 2005 18:09, Fred Drake wrote: according to the documentation, i18n:translate= tal:content=... should translate the evaluated content. ... it works in Zope2, why is it different here? This is a bug.  What version of Zope 3 are you using?  It would be good if we

Re: [Zope3-dev] i18n in ZPT half-broken?

2005-09-19 Thread Fred Drake
On 9/19/05, Jean-Marc Orliaguet [EMAIL PROTECTED] wrote: I'm using the trunk (from 1 hour ago ..). I'm filing a bug .. That's consistent with Stephan diagnosis. Thanks for following up! -Fred -- Fred L. Drake, Jr.fdrake at gmail.com Zope Corporation

[Zope3-dev] Re: TALES: ExpressionEngine vs Context

2005-09-19 Thread Thomas Lotze
Fred Drake wrote: Do you have a use-case for strictinsert=True, or was this just an implementation wart you ran into? The latter. And it's easy to run into that wart, too: after all, it's the default behaviour. -- Thomas ___ Zope3-dev mailing

[Zope3-dev] IPluggableAuthenticationService in rc3?

2005-09-19 Thread Tom Hoffman
Hi all, Whilst trying out one of the examples in Philipp's book, I'm getting an error while trying to: 'from zope.app.pluggableauth.interfaces import IPluggableAuthenticationService' It doesn't appear to be there any more. My understanding is that, while deprecated, this should still work