Re: [Zope] [Zope-dev] Security announcement update

2011-06-28 Thread Norbert Marrale
This should be clarified too: You should, however, make sure that you are running either Zope 2.10.13 or Zope 2.11.8 and PluggableAuthService 1.5.5, 1.6.5 or 1.7.5 Why must PluggableAuthService (+ its dependencies) even be installed? -N On 6/28/2011 3:30 PM, Sascha Welter wrote: (Tue, Jun

[Zope] How to setStatus(301) for zException Redirect

2010-10-08 Thread Norbert Marrale
Using Zope 2.10.8 I'd like to let an access rule trigger a 301 'moved permanently' redirect. I created an external method to raise the exception, which almost does the trick except for the fact that it generates a 302 Moved Temporarily status code. from zExceptions import Redirect def

[Zope] Re: losing random session data

2007-03-19 Thread Norbert Marrale
Tres Seaver wrote: Note as well that using mutable Python primitives (dicts, lists) is tricky, as they don't notify *their* container (the persistent SessionDataObject) when they are mutatated. If you are using them, rather than some persistent variant, then you need to rebind them into the

[Zope] Re: losing random session data

2007-03-19 Thread Norbert Marrale
Maciej Wisniowski wrote: This seems to be hardcore ;) I mean that it should not be necessary to do such rewrite of all keys and values for dictionaries or lists taken from session. I never had to do something like that... Isn't it working without these assignments? Just:

[Zope] losing random session data

2007-03-18 Thread Norbert Marrale
In Zope 2.7.5-final, python 2.3.5, freebsd6 with Transient Object Container settings: Data timeout: 20 Timeout resolution: 20 Maximum subobjects: 1000 and a python script that does this: req = context.REQUEST prev_order=(req.SESSION.get('order')) if prev_order == None: order=[] else: order

[Zope] Re: Error Value: 'Set' object has no attribute 'count'

2007-02-25 Thread Norbert Marrale
kjcsb wrote: I am getting an error message when Zope is trying to evaluate the following: elif string.count(product_info['product']['options'],'lookup') == 1: Wild guess: Zwarehouse? Have you tried that mailing list? http://www.zwarehouse.org/wiki/MailList Traceback (innermost last):

[Zope] Problem generating Transfer-Encoding: chunked

2006-09-16 Thread Norbert Marrale
Hi All, I'm in the process of writing a python script that goes through a long list in batches and outputs its progress to HTML. (Zope 2.7.5 behind Apache) The result is not what I expected: instead of returning the results in small chunks, Zope (Apache, gremlins?) rewrites the output and

[Zope] Re: major problems placing authentication on an extranet site-security flaw?

2006-02-09 Thread Norbert Marrale
Chris Withers wrote: michael nt milne wrote: Over and out on this one from me You promise? ;-) Chris I think Tino made the key suggestion earlier on: log out of the ZMI, close your browser, restart it, clear the cache, clear any saved passwords, try to view the page in question and - if