Re: [Zope] Large BTreeFolder2 batching/pagination

2009-11-02 Thread Ken Ara
get the next or previous id in such a case? --- On Mon, 11/2/09, Andreas Jung li...@zopyx.com wrote: From: Andreas Jung li...@zopyx.com Subject: Re: [Zope] Large BTreeFolder2 batching/pagination To: Ken Ara feedrea...@yahoo.com Cc: zope@zope.org Date: Monday, November 2, 2009, 11:36 AM Am

[Zope] Large BTreeFolder2 batching/pagination

2009-11-01 Thread Ken Ara
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

[Zope] ExternalFile can't read mapped network drive

2007-08-14 Thread Ken Ara
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).

re: [Zope] catching shorter URLs

2007-07-08 Thread Ken Ara
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

Re: [Zope] Redirection problem

2007-05-28 Thread Ken Ara
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 properties. At the end, the user

Re: [Zope] Redirection problem

2007-05-25 Thread Ken Ara
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: +---[ Ken Ara

Re: [Zope] Redirection problem

2007-05-25 Thread Ken Ara
by this? BTW, I always override the baseref 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 | *.mysite.org/mysite | | This minimal

Re: [Zope] Redirection problem

2007-05-25 Thread Ken Ara
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 tab as mentioned below; no Apache or | other redirect

Re: [Zope] Upgrade woes: BTreeFolder -- BTreeFolder2

2007-05-10 Thread Ken Ara
' 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: Ken Ara wrote at 2007

[Zope] Re: Upgrade woes: BTreeFolder -- BTreeFolder2

2007-05-05 Thread Ken Ara
no attribute 'keys' Thanks -Ken --- Laurence Rowe wrote: Try deleting them with del from python (eg from zopectl debug) rather than through the ZMI. Laurence Ken Ara wrote: I have a couple of outstanding issues following an otherwise successful upgrade from Zope 2.7.4 to 2.10.3-final

Re: [Zope] Upgrade woes: BTreeFolder -- BTreeFolder2

2007-05-04 Thread Ken Ara
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 2.10.3-final. ... /usr/local/zope/client0/Products/BTreeFolder

[Zope] Upgrade woes: BTreeFolder -- BTreeFolder2

2007-05-03 Thread Ken Ara
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

Re: [Zope] Can't stop Zope, machine hanging

2006-09-13 Thread Ken Ara
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

Re: [Zope] Can't stop Zope, machine hanging

2006-09-06 Thread Ken Ara
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 happening again. From time to time

Re: [Zope] Can't stop Zope, machine hanging

2006-09-05 Thread Ken Ara
? 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 '' for a long time - should I wait? I was unable to kill one of the python2.3 processes

Re: [Zope] Can't stop Zope, machine hanging

2006-09-05 Thread Ken Ara
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 half days later, I am again unable to stop, restart

[Zope] Can't stop Zope, machine hanging

2006-09-03 Thread Ken Ara
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

Re: [Zope] Can't stop Zope, machine hanging

2006-09-03 Thread Ken Ara
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': top is *not* the right tool to check for processes. Use ps!!! I was able

Re: [Zope] Ignore stopwords/characters in alphabetical results

2006-02-07 Thread Ken Ara
('^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 --- Dieter Maurer [EMAIL PROTECTED] wrote: Ken Ara wrote at 2006-2-2 00:41

[Zope] Ignore stopwords/characters in alphabetical results

2006-02-02 Thread Ken Ara
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, under

re: [Zope] working with urls

2005-07-25 Thread Ken Ara
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