Hi
The problem about CoreSessionTracking we describe before we can
repeat again now.
The step is:
( 1 ) User adds Burger to shopping cart
( 2 ) User adds coke to shopping cart and click link to add coke
again before request finished
( 3 ) The Burger is
I remember this problem, but I haven't been able to reproduce it. But
maybe it's because I'm not understanding the steps to reproduce it. The
sentence user adds coke to shopping cart and click link to add coke
again before request finished is hard to understand. Can you explain?
Are you using
Allright, let me try again. I wish I had a small piece of code to give
you so you can reproduce it, but right now you'd have to get our entire
CMF-based website.
The bug basically manifests itself in that there are two versions of the
variable we put in the session (a shopping cart dict). When
Has anyone seen anything like this?
I have the following script in a Specialist:
## Script (Python) deleteAllTracks
##bind container=container
##bind context=context
##bind namespace=
##bind script=script
##bind subpath=traverse_subpath
##parameters=
##title=
##
trackMaster=context.Tracks
For your information:
the implementation of the Extended DTML Sorting proposal
(http://dev.zope.org/Wikis/DevSite/Proposals/ExtendedDTMLSorting)
has gone into the trunk. The implementation introduces a
new module sequence to the _ namespace. For further
documentation check the online help
Hi!
It works.. partially. For some reason it looks like getPersistentItemIDs
does not always return a *complete* list. I need to run this method
several times to completely exhaust the Rack's storage. Thoughts? The
only way I ever create Track objects is via a different method that is
Hi,
Is it still fair game to use the data_record_normalized_score_ attibute of
ZCatalog Brain objects?
If so, is it accurate and meaningful?
Finally, is there any way I can do the Google-esque thing of showing the snippet
of the searched etxt with the words that were found highlighted?
It's obvious. This is just Zope's way of telling you not live on hamburgers
and coke.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
Bjorn Stabell
Sent: Thursday, May 24, 2001 12:33 AM
To: Chris McDonough; Howard Zhang
Cc: [EMAIL PROTECTED]
Subject:
Steve Spicklemire wrote:
Has anyone seen anything like this?
snip
It works.. partially. For some reason it looks like getPersistentItemIDs
does not always return a *complete* list. I need to run this method
several times to completely exhaust the Rack's storage.
Yes, I've seen this.
At 05:48 PM 5/23/01 +0200, Christian Scholz wrote:
Hi!
It works.. partially. For some reason it looks like getPersistentItemIDs
does not always return a *complete* list. I need to run this method
several times to completely exhaust the Rack's storage. Thoughts? The
only way I ever create
Well.. it turned out to be more subtle.
It goes back to the old problem that getPersistentItemIDs doesn't return
a real list, but rather a BTreeItems object. When you call manage_delete
on *one* item, it affects the BTreesItems object you are iterating over!
This works:
## Script (Python)
Steve Spicklemire wrote:
Well.. it turned out to be more subtle.
It goes back to the old problem that getPersistentItemIDs doesn't return
a real list, but rather a BTreeItems object. When you call manage_delete
on *one* item, it affects the BTreesItems object you are iterating over!
Hi Phil,
Yup.. I realized it when I could *list* all the ids, but not delete
them. ;-) I'm wondering if it might be better to change the
implementation of getPersistentItemIDs to return a plain list? This
would also help avoid permission errors that folks run in to when trying
to use it in
Hi,
We are setting up a cluster of ZEO clients on dual processor machines.
From some experiments and from searching through the mailing lists, it
appears that a single Zope process will not take full advantage of the
two processors.
The solution would appear to be to run two ZEO clients on
Hi Dyon,
ZEO on a dual processor machine runs fine for me.
I'm using redhat-linux for the server (ZEO and Clients
on same machine)
If you dont need strange things I would not recommend
Win2k as server platform.
Best regards
Tino Wildenhain
--On Mittwoch, 23. Mai 2001 11:35 -0700 Dyon Balding
How come no one is answering to my mail below. Is it too trivial or too complex or the people in the list is too busy ? Please respond if you have any clue/suggetion.
From: "jawad haider" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: [Zope-dev] Simple Question
Date: Wed, 23 May 2001
After reading your description I don't know yet what your real
problem or question is ?!
Andreas
From: jawad haider [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 23, 2001 6:51 PM
Subject: Re: [Zope-dev] Simple Question
How come no one is answering to my mail below. Is it too
Tino,
Thanks for your reply.
When you say it works fine on a dual processor machine, are you saying
that a single ZEO client fully utilises both processors? or that you
are running two ZEO clients successfully?
Unfortunately I'm currently stuck with Windows due to both political
reasons, and
On Wed, 23 May 2001, Chris Withers wrote:
Hi,
Is it still fair game to use the data_record_normalized_score_ attibute of
ZCatalog Brain objects?
Yes.
If so, is it accurate and meaningful?
Only for queries involving text indexes, and even then it's not very
meaningful. It takes the
If I understand your scenario, you are trying to run two instances of
Zope on a single machine, talking to a ZEO server?
That won't work :)
Neither Unix nor Windows knows what to do with two processes trying to
open the same port for listen. I'm surprised the second Zope instance
even starts.
They are listening on different ports, (80 and 81) in my test case.
And yes, there will be a load balancer in front of them (there will
be 15 dual processor servers) to make the cluster appear like one
machine.
-dyon
On Wed, May 23, 2001 at 12:38:25PM -0700, Randall F. Kern wrote:
If I
Hi:
Thanks for your response.
I wanted to make a search form in which search criteria and search result will appear on the same page e.g.search criteria on the top and when the submit button is pressed the list of search results should be displayed in the bottom of the page.
But when I try to
- Original Message -
From: jawad haider [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, May 23, 2001 7:44 PM
Subject: Re: [Zope-dev] Simple Question
/table
input type=submitvalue=Search Customer
/form
Here dtFindCustomer is a DTML method which in
At 12:33 PM 5/23/01 -0500, Steve Spicklemire wrote:
Hi Phil,
FYI.. this doesn't work in a PythonScript since indexing into a BTreeItems
is (apparently) not allowed by the Security Machinery. So... a simple
list is looking better and better! ;-)
Hmmm. Good point. I'll have to think about
Since a single Python process has a single global interpreter lock,
you'll never fully utilize a 2-processor machine. The lock is
released whenever a socket call (send, receive, listen, etc.) is made,
so that provides some opportunity for using two CPUs, but not much.
Jeremy
On Wed, 23 May 2001, jawad haider wrote:
I wanted to make a search form in which search criteria and search
result will appear on the same page e.g.search criteria on the top and
when the submit button is pressed the list of search results should be
displayed in the bottom of the page.
At 08:26 PM 5/23/2001 -0400, Jeremy Hylton wrote:
Since a single Python process has a single global interpreter lock,
you'll never fully utilize a 2-processor machine.
I may be merely demonstrating ignorance, but --
If you, say, launched two separate Zope processes, and one ZEO process, on
DB == David Brown [EMAIL PROTECTED] writes:
DB At 08:26 PM 5/23/2001 -0400, Jeremy Hylton wrote:
Since a single Python process has a single global interpreter
lock, you'll never fully utilize a 2-processor machine.
DB If you, say, launched two separate Zope processes, and one ZEO
Well that's what I'm trying to do, but as mentioned in my original
post, any Zope clients utilising ZEO started after the first one do
not respond. The ZEO storage server is running on a separate machine,
serving the 15 client machines.
-d
On Wed, May 23, 2001 at 05:51:57PM -0700, David Brown
On 24 May 2001 05:07:30 +1000, Dyon Balding wrote:
Tino,
Thanks for your reply.
When you say it works fine on a dual processor machine, are you saying
that a single ZEO client fully utilises both processors? or that you
are running two ZEO clients successfully?
I am running dozens of
On 23 May 2001 12:22:59 -0400, Phillip J. Eby wrote:
I should probably do this in ZPatterns too. I'm working on upgrading it
for 2.3.2 right now anyway.
A cheer sweeps across the crowd.
___
Zope-Dev maillist - [EMAIL PROTECTED]
On 23 May 2001 19:00:41 +0800, Howard Zhang wrote:
Hi
The problem about CoreSessionTracking we describe before we can
repeat again now.
The step is:
( 1 ) User adds Burger to shopping cart
( 2 ) User adds coke to shopping cart and click link to add coke
again
32 matches
Mail list logo