I take your suggestion to find a Catalog-based solution. I have set the
subtransactions very low (100).
But I have got the following error:
Traceback (innermost last):
Module ZPublisher.Publish, line 119, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, li
get the next or previous id in such a
case?
--- On Mon, 11/2/09, Andreas Jung wrote:
From: Andreas Jung
Subject: Re: [Zope] Large BTreeFolder2 batching/pagination
To: "Ken Ara"
Cc: zope@zope.org
Date: Monday, November 2, 2009, 11:36 AM
Am 02.11.09 11:28, schrieb Ken Ara:
> I agr
etter than getBatchObjectListing?
Thanks
Ken
--- On Mon, 11/2/09, Andreas Jung wrote:
From: Andreas Jung
Subject: Re: [Zope] Large BTreeFolder2 batching/pagination
To: "Ken Ara"
Cc: zope@zope.org
Date: Monday, November 2, 2009, 6:23 AM
What kind of practical sense does it make to batch 400k object
We have some BTreeFolder2's containing hundreds of thousands of objects, even
one containing over 2 million instances of Folder. That is really no problem in
itself.
Under our setup, beyond 300-400,000 contained objects, the batching provided by
getBatchObjectListing becomes unusable. I've see
Hi,
In a Windows2003 Server environment, we have been unable to get ExternalFile to
read a mapped network drive that is otherwise visible from this machine.
We have given admin rights to the Zope service, "Zope instance at
C:\Zope\Instance\2.10.4" (uses "C:\Zope\2.10.4\Python\PythonService.exe").
Aaron,
The Path Handler product
(http://www.zope.org/Members/NIP/PathHandler) is your
friend.
Normally, you would create a path handler called
'games' and point it to your display_game method. To
obtain the result you describe, you could move your
display_game code into index_html and test for a
Hello,
Please allow me to ask this question again, because
there is still an unsolved mystery.
> --On 25. Mai 2007 01:26:32 -0700 Ken Ara
> <[EMAIL PROTECTED]> wrote:
>
> > We have a filesystem product with an edit method
> that
> > allows users to change some pro
t;[EMAIL PROTECTED]> wrote:
> +---[ Ken Ara ]--
> | Thanks for bringing this up! I have always wanted
> to
> | know: since the introduction of VHM I have never
> used
> | this 'VirtualHostBase' business. I have only ever
> used
> | the mappings t
bitten by this?
BTW, I always override the tags.
Ken
--- Andrew Milton <[EMAIL PROTECTED]> wrote:
> +---[ Ken Ara ]--
> | Virtual hosting for us is limited to two lines in
> the
> | default VHM mappings:
> |
> | mysite.org/mysite
> | *.my
Virtual hosting for us is limited to two lines in the
default VHM mappings:
mysite.org/mysite
*.mysite.org/mysite
This minimal arrangement has worked for several years,
although Pound and ZEO are new for us. No other
problems.
Ken
--- Andrew Milton <[EMAIL PROTECTED]> wrote:
> +---
We have a filesystem product with an edit method that
allows users to change some properties. At the end,
the user is redirected to the page from which they
came.
Our setup has Squid in front on port 80, with Pound on
port 81 load-balancing to 3 ZEO clients.
No matter how we define the redirect U
27; but no compendium
of gotchas for upgraders. By learning the use of
zopectl debug I now understand that I need to fix code
containing 'get_transaction'... And one important
project dependent on Localizer is still broken. We are
not out of the woods yet!
Ken
--- Dieter Maurer wrote:
This kind of thing wasn't working:
>>> del app.OrgDocumentLibrary['Documents']
Traceback (most recent call last):
File "", line 1, in ?
AttributeError: __delitem__
>>>
so I tried an experiment on an empty catalog:
>>> del app.OrgDocumentLibrary.Documents_catalog
No complaints from zopectl deb
Lawrence,
As I ponder Dieter's solution I quickly tried yours...
with the result as follows:
>>> del app.OrgDocumentLibrary['Documents']
Traceback (most recent call last):
File "", line 1, in ?
AttributeError: __delitem__
>>>
I'll get this eventually...
Thanks
Ken
--- Laurence Rowe wrote:
>
uld not
import class 'BTree' from module 'BTree'
Traceback (most recent call last):
File "", line 1, in ?
File
"/usr/local/zope/lib/python/Products/BTreeFolder2/BTreeFolder2.py",
line 347, in objectIds
spec = mti.keys() #all meta types
AttributeError: 'NoneT
attribute
'keys'
An error was encountered while publishing this
resource.
--- Dieter Maurer <[EMAIL PROTECTED]> wrote:
> Ken Ara wrote at 2007-5-3 08:56 -0700:
> >I have a couple of outstanding issues following an
> >otherwise successful upgrade from Zope 2.7.4 to
I have a couple of outstanding issues following an
otherwise successful upgrade from Zope 2.7.4 to
2.10.3-final.
One key application used the old DocumentLibrary
product
(http://www.zope.org/Members/Kaivo/DocumentLibrary). I
have since reimplemented most of the functionality and
migrated out the c
I have a new problem but it's related, so I'll keep
this thread alive.
To recap: possibly due to some network problems at my
hosting provider, my Zope would periodically stop
responding and I was unable to stop, restart or kill
it, or even restart the machine remotely. I am
operating within a Free
Thank you, Dieter, for your valuable insights and
information. I am forwarding this to my ISP.
--- Dieter Maurer <[EMAIL PROTECTED]> wrote:
> Ken Ara wrote at 2006-9-5 07:47 -0700:
> >...
> >Of immediate concern to me is whether I can do
> >anything to prevent this
SP
knew where to start. I can accept that, as Dieter
said, there are times when the only choice is to
switch off and on the box - which I can't do remotely
- but wonder if I could have done more...
--- Chris Withers <[EMAIL PROTECTED]> wrote:
> Ken Ara wrote:
> > One and a
o to diagnose the problem?
Thanks,
Ken
--- Dieter Maurer <[EMAIL PROTECTED]> wrote:
> Ken Ara wrote at 2006-9-2 23:43 -0700:
> > ...
> >I can't restart or stop Zope -
> >'/usr/local/www/Zope/zope01/bin/zopectl stop' just
> >produces '
You are right, Dieter. The ISP network admin had to
restart the machine. There seems to be no way to power
down and then power up the machine remotely.
Fortunately everything worked out. Thanks.
--- Dieter Maurer <[EMAIL PROTECTED]> wrote:
> Ken Ara wrote at 2006-9-2 23:43 -0700:
>
to kill...
--- Andreas Jung <[EMAIL PROTECTED]> wrote:
>
>
> --On 3. September 2006 01:18:55 -0700 Ken Ara
> <[EMAIL PROTECTED]> wrote:
>
> > Thanks Andreas,
> >
> > I am logged in as root user.
> > Here is the result of 'top':
>
tioned, I can't even reboot the machine, the
shutdown command can't kill this process either.
Ken
--- Andreas Jung <[EMAIL PROTECTED]> wrote:
>
>
> --On 2. September 2006 23:43:50 -0700 Ken Ara
> <[EMAIL PROTECTED]> wrote:
>
> > Hi all,
> >
> >
Hi all,
My Zope is stuck like never before. With my server on
another continent, 8 hours time difference, and on a
Sunday, I am pulling out my few remaining hairs...
Our box runs FreeBSD 5, Zope 2.78 (if I remember
correctly) and Squid.
The ISP has been preparing for a move and shifted some
mac
sattr(self, 'title'):
nt = re.sub('^A |^An |^The |\W', ' ',
self.title)
nt = join(split(nt))
return nt
I then added a norm_title index to my ZCatalog for
sorting. I'm a regex newbie so any improvements are
welcome!
Thanks,
Ken
Hi,
I have been asked to improve the order of search
results, so that stop words and certain characters at
the beginning of a title are ignored. "Final Report",
"The Final Report" and "[Final] Report" all need to
appear under the letter 'F'.
We are running Zope 2.7.8-final with python 2.3.5,
und
Simplest might be to point a Path Handler
(http://www.zope.org/Members/NIP/PathHandler) named
'generate' at your PDF generator script.
Also, a Script(Python) 'generate' containing:
return traverse_subpath
when called http://mysite.com/generate/foo/bar/baz
returns:
['foo', 'bar', 'baz']
This co
28 matches
Mail list logo