Bjorn Stabell wrote:
When accessing File objects that are not accessible to Anonymous (HTTP
and WebDAV View permissions not given), the Basic HTTP Auth window pops
up repeatedly even after the user has logged in using the cookie
crumbler method, and the user has permissions to view the file.
Michael Long wrote:
I have recently installed Zope 2.7.0-b2 on windows XP and am getting the
same error message as 2.7.0-b1 when starting zope. Is this truly an
error message or just informational?
2003-09-05T11:37:23 BLATHER(-100) ZODB Commiting subtransaction of size 5382
Traceback (most recent
Hi,
I have a problem with performance and memory consumption when trying to do some
statistics, using following code:
...
docs = container.portal_catalog(meta_type='Document', ...)
for doc in docs:
obj = doc.getObject()
value = obj.attr
...
With about 10.000 documents this Python
Nguyen Quan Son wrote:
Hi,
I have a problem with performance and memory consumption when trying to do some
statistics, using following code:
...
docs = container.portal_catalog(meta_type='Document', ...)
for doc in docs:
obj = doc.getObject()
value = obj.attr
...
With about 10.000
Accelerated HTTP Caching Manager doesn't work out-of-the-box as this
thread reported, but the thread had no conclusion:
http://mail.zope.org/pipermail/zope/2003-April/134800.html
http://mail.zope.org/pipermail/zope/2003-April/135059.html
http://mail.zope.org/pipermail/zope/2003-April/135101.html
Evan Simpson wrote:
I'm thinking seriously about writing a Product to provide collections of
Python functions defined by a single source text -- PythonLibraries.
This would *not* be the same as Zope 3's persistent modules, although it
would provide some of the same benefits.
Here's the
Nguyen Quan Son wrote:
Hi,
I have a problem with performance and memory consumption when trying to do some
statistics, using following code:
...
docs = container.portal_catalog(meta_type='Document', ...)
for doc in docs:
obj = doc.getObject()
value = obj.attr
...
With about 10.000
Well, sadly I didn't find the time to pursue the issue any further yet.
We're kneedeep in work to get the system up and running and caching isn't
top priority so far.
I don't even know if someone patched the AHCM yet, simply haven't looked.
But as someone suggested somewhere and you can see in
The message makes sense, what should they be replaced with?
[EMAIL PROTECTED] wrote:
==
Python Version:2.2.3 (#1, Jun 10 2003, 13:52:48)
[GCC 2.95.2 2220 (Debian GNU/Linux)]
Modules included:
Zope (HEAD)
Running unit tests
Max M wrote:
Nguyen Quan Son wrote:
Hi,
I have a problem with performance and memory consumption when trying
to do some statistics, using following code:
...
docs = container.portal_catalog(meta_type='Document', ...)
for doc in docs:
obj = doc.getObject()
value = obj.attr
Try adding objects to your Zope, if that works and they stick around
even after
you restart Zope, then this isn't so much of a problem.
However, it's nasty, and I suspect you find you may not be able to
store objects
to disk, so this does need fixing :-(
Please file on
I have found the offending code...he said sheepishly. In the __init__.py
file I had the following:
def initialize(context):
...
import traceback; traceback.print_exc()
instead of:
def initialize(context):
try:
...
except:
import traceback; traceback.print_exc()
- Original Message -
From: Evan Simpson [EMAIL PROTECTED]
Both of these solutions suffer from the two or more objects to
accomplish one task management problem. I usually combine the objects
in a dedicated Folder, which is still a bit awkward, and doesn't solve
everything. One
John Barratt wrote:
the problem (which seems likely) then you can ghostify the objects that
were ghosts to begin with, and it will save memory (unless all those
objects are already in cache).
This is rather interesting, but I don't quite follow what's happening.
If you can say a little more,
Evan Simpson wrote:
Seb Bacon wrote:
Could you provide a brief summary of why this is better than a
folder of python scripts? Perhaps a use case which illustrates the
problems of the current way of doing things?
It isn't *better* than a Folder of Scripts, it's *different* :-) I
have
Carsten wrote:
Well, sadly I didn't find the time to pursue the issue any
further yet. We're kneedeep in work to get the system up and
running and caching isn't top priority so far. I don't even
know if someone patched the AHCM yet, simply haven't looked.
But as someone suggested
Simon Michael wrote:
John Barratt wrote:
the problem (which seems likely) then you can ghostify the objects
that were ghosts to begin with, and it will save memory (unless all
those objects are already in cache).
This is rather interesting, but I don't quite follow what's happening.
If
I've added catalog metadata as Seb suggested and it works fine.
Thank you very much.
Nguyen Quan Son
Nguyen Quan Son wrote:
Hi,
I have a problem with performance and memory consumption when trying to do some
statistics, using following code:
...
docs =
I know, I was just trying to figure out how this was supposed to work.
Currently setting Last-Modified seems to be the only way to get
something cached in Apache; Expires alone is no good, and adding an
Etag
header doesn't seem to have any effect either. Maybe this should be
classified as an
John - your post and the links helped a lot. Thanks!
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
20 matches
Mail list logo