Janko wrote:
> I think, this is one problem with the current code. There is
> no defined way to decide, when something is last modified.
> With CMF-based sites there is a clearly defined property for
> this. On the other hand all objects have at least a
> bobobase_modification_time, but this on
On Thu, 11 Sep 2003 09:59:22 +0800
"Bjorn Stabell" <[EMAIL PROTECTED]> wrote:
>
> Setting Last-Modified to the current time isn't always the right
> thing; some objects, .e.g., Files, Images, Documents, have last
> modification times, and using those would be better. Not sure if
> the accelerato
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 -
http://mail.zope.org/mailman/listinfo/zope-announ
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 Apac
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 = container.portal_catal
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 happen
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 so
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
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, or
- 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.
Seb Bacon wrote:
So AFAICT it's a convenience which allows you (a) to keep related
functions together; and (b) to store local variables in a convenient
place. It definitely sounds useful but also a lot of work for something
it's possible to manage without quite easily at the moment..?
Could yo
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()
M
> 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 http://coll
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.
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
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
htt
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 docu
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 README.t
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
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
> ...
>
> Wi
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 docu
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 scri
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
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.
Click
Toby Dickenson wrote:
On Friday 05 September 2003 14:21, Chris Withers wrote:
[pickle size = memory usage]
Yes, I hope its close enough for most purposes. It would be nice to have a way
for the object to override that in the cases where it is badly wrong.
Good call, that sounds like an excellent
25 matches
Mail list logo