Hi all,
A solution has been found. woohoo. A not found error was produced with
direct URL traversal.
Steve Spicklemire sent this solution off list.
The process is split into two steps:
Do the query to 'load the object on traversal':
WITH QUERY searchBy_Name(name=self.id) COMPUTE name
Do
After comsidering the fedback I got from the previous
'Massive scalability thread, I decided to split my queries
into two areas: Rack scalability and ZCatalog scalability.
This email deals with the former.
It seems clear that indexing and searching are more of a
botleneck than storage/retreival.
After comsidering the feedback I got from the previous
'Massive scalability' thread, I decided to split my queries
into two areas: Rack scalability and ZCatalog scalability.
This email deals with the latter.
Partial match (wildcard) searches have already been
identified as a resource hog,
Hi Michael,
Michael Bernstein wrote:
It seems clear that indexing and searching are more of a
botleneck than storage/retreival. Nevertheless, so far I
have not heard of anyone trying to store more than 60,000
objects in a rack. I need to know if there is any reason to
suspect that storage
Michael Bernstein wrote:
Also, is there a way to disable wildcards in full text
searches?
Do not allow direct queries to search the catalog. Instead, make
searches go through an external method (or a PythonScript with Proxy
permissions) that uses string.replace to change '*' and '?' to ''.
Steve Alexander wrote:
Michael Bernstein wrote:
Also, is there a way to disable wildcards in full text
searches?
Do not allow direct queries to search the catalog. Instead, make
searches go through an external method (or a PythonScript with Proxy
permissions) that uses
Erik Enge wrote:
[Michael Bernstein]
| I need to know how far the ZCatalog will scale using this indexing
| and search strategy. Does anyone have anectodal or benchmark data to
| suggest if (and when) I will hit a 'wall' regarding the number of
| objects being indexed and searched?
Steve Alexander wrote:
Hi Michael,
Michael Bernstein wrote:
It seems clear that indexing and searching are more of a
botleneck than storage/retreival. Nevertheless, so far I
have not heard of anyone trying to store more than 60,000
objects in a rack. I need to know if there is
Michael Bernstein wrote:
There is some question in my mind if
accessing any attribute (such as the thumbnail version)
causes all attributes to be loaded into memory. If so,
displaying a list of images with thumbnails may result in
many large objects being loaded into memory.
Make sure
[Michael Bernstein]
| I need to know how far the ZCatalog will scale using this indexing
| and search strategy. Does anyone have anectodal or benchmark data to
| suggest if (and when) I will hit a 'wall' regarding the number of
| objects being indexed and searched?
I'm going to try to stuff 27
Steve Alexander wrote:
Michael Bernstein wrote:
There is some question in my mind if
accessing any attribute (such as the thumbnail version)
causes all attributes to be loaded into memory. If so,
displaying a list of images with thumbnails may result in
many large objects being
Michael Bernstein wrote:
Make sure that each large attribute is an instance of a class that
derives from Persistent.
Ok, I'll give that a try. Since Photo is a Python Product,
what will happen to current instances if I make this (and
only this) change?
I don't know. I can think of
Casey Duncan wrote:
[EMAIL PROTECTED] wrote:
I've ended up hacking a version of special_dtml / ClassicHTMLFile that
serves up CSS. Has anyone got a better way of doing it (that detects
changes in the file and serves it up with the correct Content-Type)?
Check out:
Michael Bernstein wrote:
Also, is there a way to disable wildcards in full text
searches?
Do not allow direct queries to search the catalog. Instead, make
searches go through an external method (or a PythonScript with Proxy
permissions) that uses string.replace to change '*' and '?' to
Chris Withers wrote:
Wouldn't using a normal vocabulary as opposed to a globbing vocabulary
prevent this as well?
That would stop globbing searches for everyone.
While I might want to stop users of a site making wildcard searches, I
still want to keep that facility for myself :-)
--
The dtml-in batching mechanisms are quite difficult to debug - the DTML
documentation I have has examples which break it and there's no indication
of why. It turns out the DT_In renderwb() code gobbles all exceptions from
the rendering of the previous and next blocks. I've hacked my code so that
[EMAIL PROTECTED] wrote:
The dtml-in batching mechanisms are quite difficult to debug - the DTML
documentation I have has examples which break it and there's no indication
of why. It turns out the DT_In renderwb() code gobbles all exceptions from
the rendering of the previous and next
[EMAIL PROTECTED] wrote:
The dtml-in batching mechanisms are quite difficult to debug - the DTML
documentation I have has examples which break it and there's no indication
of why. It turns out the DT_In renderwb() code gobbles all exceptions from
the rendering of the previous and next
At 07:12 PM 1/21/01 +, Steve Alexander wrote:
So, storing things in a Rack happens in a number of stages:
Your application interacts with the Rack
The Rack (perhaps) stores the object persistently in its BTree
The BTree is a collection of persistent ZODB objects
The ZODB objects
+---[ Lee ]--
| Hi,
|
| I'm using a python method to query my database as follows, where I need
| to use the result set to generate some HTML. I'm interested in result[0]
| and result[1] as listed below;
|
| * return result[0] gives me:
| [{'name': 'PRACTICALS', 'type':
Indra Gunawan wrote:
Hello,
could anyone tell me how to make connection string to MySQL in Linux?
I use Zope 2.3 and I've tried the
database@[host] username password
This should work. Your problem is probably somewhere else. Are you sure
that the database adapter, database etc. are all
Nicolas Pettiaux wrote:
I am looking for a workflow (WF) linked to a electronic document management
(EDM) system and a groupware email based (I have just happened to come
accross aethera from the Kompany) that would be free software and preferably
in Zope + Python. The WF+DEM system I am
Error Type: IndexError
Error Value: list index out of range
I am importing a text file via an external method. I did my
testing with a file that contained 18 records.
All went fine. Stepped up the testing to a file with 550 records.
The real thing will have over 30,000. Now it doesn't work. :-)
Tim Cook wrote:
Error Type: IndexError
Error Value: list index out of range
OOPS! forgot the control panel info:
Zope version: Zope 2.2.5b1 (binary release, python 1.5.2,
linux2-x86)
Python version: 1.5.2 (#10, Dec 6 1999, 12:16:27) [GCC 2.7.2.3]
System Platform: linux2
Process ID:
Hi!
How do I combine the PHP code with ZOPE ?
How to tell Apache to parse the PHP code ?
Where do I find info ?
Best regards,
Greg
--
BEZPLATNE konto e-mail o adresie [EMAIL PROTECTED] i NIELIMITOWANEJ pojemnosci
Tylko w POLAND.COM ! www.poland.com
Dear Mr Krosing,
Thank you VERY much for the information.
This application looks really neat, this is really going in the direction I
want, and has indeed a lot of the features I am looking for.
This IS the application I want to start with.
My estonian is really poor (not to say, I don't
Hello,
I am still struggling to find a way to solve the bug (even manualy)
relate to exporting a package in which a class inherits from a class
of another package.
Do you have any more details about the Import XML format ?
I want to see if I can edit manually this file in order to solve
the
Tim Cook wrote:
Tim Cook wrote:
Error Type: IndexError
Error Value: list index out of range
Well, DUH me. I forgot the last two lines of the text file (it's
a dump from a database sent to me from someone else). One only
had the number of rows and the other an EOF.
Sorry to waste your
I'm going to try to make a long story short... and the story isn't even
over... but I'm getting close. One of our clients is a 'multimedia'
company and we're working with a group there that consists mostly
of artists and designers who use tools like photoshop and
macromedia director. They came
Hi, I'm using freeBSD 4.2-RELEASE and just tried to install python-1.5.2 and
Zope. If you are trying to do the same and tun into the following error when
trying to start zope, then apply this patch to the configure script of python
and rebuild it.
ImportError: ./ExtensionClass.so: Undefined
Hi,
Can somebody provide me informational links of documents which present the
benefits and non-benefits of both DB? eg. When to use one and when not to
use one?
Thanks,
Tom.
___
Zope maillist - [EMAIL PROTECTED]
Green things,
Am I missing something, or should I just simply not be using ZSQL methods in
my ZClass? If I try to add one, I get an error about there not being a DB
connection object (which makes sense) and won't let me add the object.
I was planning on making the constructor find all
Hi, I'm using freeBSD 4.2-RELEASE and just tried to install python-1.5.2 and
Zope. If you are trying to do the same and tun into the following error when
trying to start zope, then apply this patch to the configure script of python
and rebuild it.
ImportError: ./ExtensionClass.so:
On Mon, 22 Jan 2001, Chris Watson wrote:
Hi, I'm using freeBSD 4.2-RELEASE and just tried to install python-1.5.2 and
Zope. If you are trying to do the same and tun into the following error when
trying to start zope, then apply this patch to the configure script of python
and rebuild
Sorry, to be more explicit :
I built python 1.5.2 and Zope 2.2.2 from source, although the most recent
stable release of Zope also gave the same error.
I did not use the ports distribution of python or zope, so I don't know if
the same default configure script is used by them too.
Is
On Mon, 22 Jan 2001, Chris Watson wrote:
Sorry, to be more explicit :
I built python 1.5.2 and Zope 2.2.2 from source, although the most recent
stable release of Zope also gave the same error.
I did not use the ports distribution of python or zope, so I don't know if
the same default
Hi,
This problem started with failure to access Control_Panel, which I
thought was due to a SiteAccess problem... but I now tracked it to a
problem with an instance of LoginManager.
I have the following setup:
Zope 2.3.0b2
ZPatterns 0.4.3b2
LoginManager 0.8.8b1
Zope/
test1
No reason except that I have an install script for python, zope, and modules
(including configuration) for both that I "know" form a stable environment on
our production servers, whether linux, or freeBSD. I should try the ports
distribution and run my unit tests to perhaps build a more
Is the source code to www.zope.org available somewhere?
It would certainly be an interesting example of how to build a large web
site with Zope.
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts
I remember that someone, somewhere, has a document with code snippets to do
authentication and registration of users through forms, much like how
www.zope.org does it. Does anyone know where this is?
Thanks
___
Zope maillist - [EMAIL PROTECTED]
On Sun, 21 Jan 2001, Gerald Gutierrez wrote:
Is the source code to www.zope.org available somewhere?
At the bottom of the page there's a link called "View Source" which will
give you the original DTML. You can tack 'view_source' onto the end of any
www.zope.org URL to see how it was built.
Hi there,
I'm creating variables in python but I am having trouble creating them
when they're *named* using other variables. Here's an example;
while (p!=0):
p+`p`= string.replace(component[control], ",", "")
# e.g. I want 'p1 = string.replace.blah...'
p=p-1
Also check out the About Zope.org link on the home page.
http://www.zope.org/About
There is a lot of good stuff there!
J
At 4:39 PM -0800 1/21/01, Gerald Gutierrez wrote:
Is the source code to www.zope.org available somewhere?
It would certainly be an interesting example of how to build a
A lot came up with you just put 'PHP' in the Zope.org search box.
Here are the best.
http://www.zope.org/Members/Mamey/PHP
http://www.zope.org/Members/Ioan/PHPObject
J
At 7:18 PM +0100 1/21/01, Greg Nowak wrote:
Hi!
How do I combine the PHP code with ZOPE ?
How to tell Apache to parse
I`m looking for a way to give a user the ability to add new data to an
XMLDocument through web forms, does anyone have experience of this or would
be able to point me in the direction of an example or howto?
I tried to do this before, and it never worked, so I'm probably not of all
that much
Hi Lee,
You could use a dictionary for this:
vars = {}
while (p!=0):
vars['p'+`p`] = string.replace(component[control], ",", "")
p=p-1
control=control+1
then 'vars' will contain keys (e.g., 'p1', 'p2' etc.. ) and corresponding values.
If that's totally not what
At the bottom of the page there's a link called "View Source" which will
give you the original DTML. You can tack 'view_source' onto the end of any
www.zope.org URL to see how it was built.
Hi Tim. Yes, I've looked at those sources, but unfortunately, they don't
provide some of the backend
Thanks, Steve. This'll do nicely ;-) BUT...
For some strange reason the following doesn't work in my Python *method*:
dict = {}
dict["Lee"] = 1
Error:
Error Type: Python Method Error
Error Value: Forbidden operation STORE_SUBSCR at line 3! -- ?
Which seems very strange.
Okay, I figured it out.
- Silly Lee
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
49 matches
Mail list logo