> [EMAIL PROTECTED] wrote:
> > I'm pretty sure this works.
>
> Ok, I get it now. I misread it the first time.
>
> > This returns the equivalent of running
> > self.objectIds(spec=self._mt_index.keys()) on the current
> > trunk/release code, which should be identical to
> self._tree.keys(), but
> > Hacking objectIds() as follows (diff against trunk pasted inline) -
> > gettting ids off of the meta type index for all used meta types -
> > seems to make things much quicker. Two questions:
>
> Are you sure this actually works? _mt_index.keys() is
> supposed to provide a list of all m
if isinstance(spec, StringType):
spec = [spec]
-mti = self._mt_index
set = None
for meta_type in spec:
ids = mti.get(meta_type, None)
Thanks,
Sean
+-----
Got this traceback (below) on Zope 2.7b3 using Debian Python 2.3.2 running
under Debian Sarge. Zope starts fine using bin/runzope, and even starts
fine with zopectl - it just displays this traceback. Thoughts?
[EMAIL PROTECTED]:~/z2/zope$ bin/zopectl start
Traceback (most recent call last):
Fi
There are many possibilities. I would try exUserFolder first (it might work
with just configuration (no code) for your use-case), and if you have needs
more specific, you can develop your own user-folder type (a bit harder, but
not much) using SimpleUserFolder (a generic "base class" for
rolling-y
Or SimpleUserFolder: create a user folder class in a Zope product that
subclasses both SimpleUserFolder and OFS.Folder. Then put ZSQL methods and
a few TTW python scripts in the folder contents of an instance of this class
to make it work. I've done something similar to this with relative success
If I remember correctly, though, there was still a lot in question about
legitimate use cases. The web-services cluster-safety use-case I sketched
out here (http://mail.zope.org/pipermail/zope3-dev/2002-October/003112.html)
is still (perhaps) a valid case, but ONLY in a very-carefully constructed
Are you mainly concerned about the http headers in the response, or the
response body? If it is just the headers, Squid's log_mime_hdrs feature
will log all HTTP headers from both the request and response for you for
each request. If nothing else, perhaps it's a start...
Sean
-Original Mess
Use ZEO and DBTab and a shared mounted object database that both Zope
instances have access to. Put any objects that need to be accessed by both
Zope servers in that common storage mounted at some folder-level in your
zope setup.
Sean
-Original Message-
From: Tena Sakai [mailto:[EMAIL PR
The buttons work; you are not clicking with enough pressure. Try again
until your wrist hurts. ;)
I agree, this looks nice. I also wonder about adding total memory usage for
each Zope ZEO client.
Also, this layout could be tweaked to have a more vertical look and likely
work in a PyQT app on th
I'm not sure I understand the reasons why this solves the consolidation
problem (i.e. I have 2 dozen ZEO clients and 2 ZSSs and want to manage them
remotely in a single interface). Please explain.
Sean
-Original Message-
From: Jamie Heilman [mailto:[EMAIL PROTECTED]]
Sent: Friday, Februa
I agree that this is a good idea. Doesn't PyQt require a commercial license
on Win32? The de-coupled backend is a good idea, and I would love to have
alternatives - I'm a bit slanted towards wxPython, myself. ;)
Heck, I would love to have an curses-based alternative to manage, monitor,
and provi
I hope you all don't mind, but I've moved this to Zope-dev. I would like to
propose that it be possible without modification (default behavior) in a
future version of Zope to import the time module and its methods safely into
TTW Python Scripts.
I haven't used this yet in TTW code (I've had to wo
Out of curiosity, Beyond coding XHTML-based ZPTs with tags in the ESI
namespace, what else is needed in Zope to make this work? Does Zope need to
set an HTTP header for downstream proxies to know that the content of the
page is supposed to be processed for ESI?
Sean
-Original Message-
Fr
This sounds like the most appropriate solution, as long as you are careful
to make sure that Squid or other forward cache is configured to cache files
that large, it isn't likely going to be by default.
Sean
-Original Message-
From: Casey Duncan [mailto:[EMAIL PROTECTED]]
Sent: Monday, De
I'm not familiar with ExternalFile, but likely plan to use it in the future.
I think a list of expressly permitted directory locations (including all
subdirectories) might be more secure. You can't go wrong with a default
directory for files (perhaps $INSTANCE_HOME/var/files or something?), but
ot
Hmm... My thought: on Win32, bind the TCP port to the loopback address.
Since Win32 in _most_ cases is not a multi-user system, this would have the
general effect of keeping this from being an issue (unless you ran terminal
services on your Win32 server). This obviously doesn't solve security
con
+1
IMHO, Zope releases should, in this scenario, be configured by default to
use a custom_zodb.py file with ClientStorage over a socket at startup,
making the default config of Zope one that uses ZEO. Also, start scripts
should be distributed with options to support both the following:
-
current = DocumentCoreImpl(currentId, title)
self._setObject(currentId, current)
self._CurrentVersion = current
def __getattr__(self, name):
return getattr(self._CurrentVersion, name)
+-----
Actually, I believe that NT Workstation ran dynamic web apps better than NT
server. This was because the tuning on NT server out of the box was really
geared toward file-server type applications. I assume the case is the same
with win2k. At that, I don't think is would be noticeable enough, exc
For what its worth, a long time ago, with an ancient version of Zope running
on the original W2k Professional on my home machine (minus any service
packs), Zope (running as a service) was magnitudes of order slower after
coming back from a system Hibernate; I no longer hibernate/power-manage
Win2k
I'm all for putting together a proposal to do this, soliciting comments, and
contributing to the effort. What would be the right venue for that?
On the other hand, AFAIK, the addition of a depth query feature to PathIndex
as it is wouldn't likely break existing indexes. And given that Andy's ne
In theory (and as a Debian user), I like the idea of support for as
distro-neutral of a linux distribution as possible; on the other hand,
supporting RedHat 7.2 is a must for Zope accessability to new developers
(since there are a lot of RedHat 7.2 systems out there). Is Python 2.1
under woody re
If the question is begged, why use the catalog: for folders with thousands
of objects, applications like CMF skins can be amazingly slow using
ObjectManager methods and CMF-wrapped equivalents; they also do not provide
sorting. For applications like this, both containment and flexible query
suppo
+1 on #2 - definitely useful.
Sean
-Original Message-
From: Jim Washington [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 08, 2002 5:26 AM
To: [EMAIL PROTECTED]
Subject: [Zope-dev] More Zope 2.6 requests
While we are asking, I have two things that I would consider valuable
additions
You know, the funny thing is that TF really accomplishes the goals of a
ZMI/UI-improvement hack (unclutter a view of a folder to VISUALLY separate
the software/content/presentation space) implemented, IMHO, in the wrong
place. I would think there is another way that a Folder UI could be
unclutter
Is this a suggestion that TF go into the core? One other (major) problem
with TF is that it breaks session tracking site-wide, or at least the
ability to have more than one session id manager per Zope instance in CST;
I'm not sure about sessions in Zope 2.5...
TF seems to have too much normalcy-
Perhaps synchronization over ZEO as well as XML-RPC? Thoughts?
Sean
-Original Message-
From: Andy McKay [mailto:[EMAIL PROTECTED]]
Sent: Sunday, March 03, 2002 5:04 PM
To: [EMAIL PROTECTED]
Subject: Re: [Zope-dev] Zope 2.6 planning - call for contributors!
> I'd like to see the ZSynce
Hmm... would this still work with Squid or Apache caching in front of Zope?
I assume that since each browser can accept different transfer-encodings,
this has to be done as close to the browser as possible, otherwise content
sent in one transfer encoding would be sent to every user if it was to
Acrobat uses something called byte-serving, which is a pain to support
sometimes on the server-side, because it essentially amounts to serving
parts of a file up to a given byte offset; when Acrobat acts as an HTTP
client, it requests the PDF file, and once it has enough of the top of the
doc to g
As it stands, though, I think you need to: use getPhysicalPath(), and
iterate overs the construction of a temporary path list object, using pop()
to remove a folder from the list until using restrictedTraverse() with a
conditional test of folder content finds a VHM or similar object that
indicates
TextIndexes (convenient). I'm sure inevitable improvements to ZCatalog
(there seems to be community interest in such) will help here.
- I wonder if "directory-storage" combined with ReiserFS might make for an
interesting fu
I'm going to suggest that this is off-topic for zope-dev, as this is a list
fostering cooperation among developers who do not mind sharing their 'beans'
and who do not hold the delusions of conspiracy theory. If you are not
willing to play by the ad-hoc cooperative social contract of this
develop
Uh, this is brand clarification... Sometimes people (well, people who don't
pay enough attention) don't get that company X is associated with product Y.
Look what happend to Borland when they changed their name to Inprise but
kept the old product names. For those folks who don't pay attention to
Personally, I am of the opinion that sending a Catalog raw queries is not
very useful for really powerful searching... hopefully this changes in the
future, but for now...
Since catalog doesn't have anything built-in that does this, other than
globbing vocabularies, you have to do this within you
what do you mean by fuzzy? Do you mean with wildcards, NL, or something
else?
-Original Message-
From: Dirk Datzert [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 06, 2001 1:03 PM
To: [EMAIL PROTECTED]
Subject: [Zope-dev] ZCatalog
Hi,
I'm looking for a howto or a hint for fuzzy s
I think this could be done well at the application level, above the Catalog
if done right, but one would have to have good synonym translation table
specific to their application.
I do this in an application using a TinyTable with translation information
for abbreviations (i.e. VW printed in a cl
Are you using any virtual hosting setup of any kind? If so, switching from
using a base class of CatalogAware.CatalogAware to
CatalogPathAware.CatalogAware might solve this problem...
Sean
-Original Message-
From: Jean Jordaan [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 03, 2001 1
a temporary instance of the superclass and
inside a method of the subclass - not entirely graceful, but it works.
Is there a more graceful way to get around this? (I'm using Zope
2.3.3/Python 1.5.2 at the moment).
Sean
=====
Sean Upton
Senior Programmer/Analyst
SignOnS
(Object: Traversable)
KeyError: (see above)
=====
Sean Upton
Senior Programmer/Analyst
SignOnSanDiego.com
The San Diego Union-Tribune
619.718.5241
[EMAIL PROTECTED]
=
___
Zope-Dev maillist - [EMAIL PROTECTED]
h
>>> {snip}
>>>
>>> trying-to-auto-generate-a-wsdl-from-my-product'ly yours
Hmm... in the interim, what about using ZPT (+ParsedXML, of course) and a
few python scripts to do this?
Sean
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/m
Personally, I think this really should be an integration issue instead of a
Zope issue: use a front-end proxy server (i.e. Squid) and set up ACLs to
prevent this...
Sean
-Original Message-
From: Oliver Bleutgen [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 24, 2001 9:10 AM
To: [EMAIL
On a high-traffic site, wouldn't the log get really big, really quickly with
tracebacks? It is also nice to have the tracebacks in the browser window
for debugging...
Why not just enable tracebacks to clients from trusted IP address ranges or
domains... Set this up as an option in Z2.py?
Anyw
Right now I only call index_object() after an edit, as I was assuming that
after adding things would be automatically taken care fo for me, but
obviously this is not the case. There are, indeed, default values in some
properties within the class __init__ method.
I think what is happening is that
on (where w/2 is within 2 words)
Also, lexis doesn't count stop-words in proximity
indexes.
Folio/Nextpage: "Sean Upton"@2
IMHO, the syntax is clean and very brief in the Lexis-Nexis case and should
suppliment a more generic
Sean ... Upton
style sea
Perhaps I was looking at old docs, as the docs had indicated that
filestorage uses 32-bit position pointers; I'm guessing that this has since
changed...
Sean
-Original Message-
From: R. David Murray [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 01, 2001 9:54 AM
To: [EMAIL PROTECTED]
Cc:
My impression is that FileStorage implements a 32-bit id-type-thingy
somewhere (look at ZODB docs, I think there is something about this
somewhere), which limits it (in addition to the Linux kernel ext2 fs limit),
to < 2GB. With 7.5 GB, I'd use a more advanced storage like the new - well,
not qui
My understanding is that part of the problem is that sorting a dataset based
upon regular expression (doesn't matter what algorithm you use) creates a
rather large tree of possibilities that is largely impractical to sort, at
least not without a lot of overhead.
My compromise for the searches t
48 matches
Mail list logo