[Zope-dev] Zope tests: 8 OK

2006-02-02 Thread Zope tests summarizer
Summary of messages to the zope-tests list. Period Wed Feb 1 12:01:01 2006 UTC to Thu Feb 2 12:01:01 2006 UTC. There were 8 messages: 8 from Zope Unit Tests. Tests passed OK --- Subject: OK : Zope-2_6-branch Python-2.1.3 : Linux From: Zope Unit Tests Date: Wed Feb 1 21:03:07 EST

[Zope-dev] CopySupport and cookies

2006-02-02 Thread Seb Bacon
Hi, Using inside-out virtual hosting (and other forms of URL munging) can make copy-and-paste break. For example, an object a.b.c addressed as http://foo.com/magic-string/a/b/c will not be copiable because CopySupport uses BASEPATH1 as the Cookie path: def cookie_path(request): #

Re: [Zope-dev] CopySupport and cookies

2006-02-02 Thread Dieter Maurer
Seb Bacon wrote at 2006-2-2 16:54 +: Using inside-out virtual hosting (and other forms of URL munging) can make copy-and-paste break. For example, an object a.b.c addressed as http://foo.com/magic-string/a/b/c will not be copiable because CopySupport uses BASEPATH1 as the Cookie path:

Re: [Zope] virtualhost/apache2 problem

2006-02-02 Thread S.Hayles
Hi Zenobito In your Apache config you have 2 virtual hosts both trying to catch everything. To have ZOPE appear at /zope within your normal site, you need a single virtual host, and embed the rewrite rule in it. Something like: RewriteRule ^/zope/(.*)

[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] Ignore stopwords/characters in alphabetical results

2006-02-02 Thread Andreas Jung
--On 2. Februar 2006 00:41:38 -0800 Ken Ara [EMAIL PROTECTED] wrote: I did try to install TextIndexNG3, according to the instructions in the readme but was unable to restart Zope (no message was left in event.log). As documented: TXNG 3 does not work with pre-Zope 2.8 installation unless

Re: [Zope] Serve PHP/Perl within Zope

2006-02-02 Thread Chris Withers
Anything along these lines is silly. Serve your other stuff from Apache, use rewrite rules to get the right stuff served... ...but hey, you could always use Squid and ESI if you want multiple languages to generate a single page ;-) cheers, Chris sharif islam wrote: Has anyone tried

Re: [Zope] LocalFS

2006-02-02 Thread Chris Withers
Rakotomandimby Mihamina wrote: Hi, In order to learn developping for Zope, I want to learn manipulate large files. That's not the best place to start... Try something simple like a blog, or a simple website... Chris -- Simplistix - Content Management, Zope Python Consulting -

Re: [Zope] Javascript rendering problem?

2006-02-02 Thread Chris Withers
Bruno Grampa wrote: them using IE. Now transfer the entire directory inside Zope; Bulk transfering a load of js-riddled M$ html is highly unlikely to work as expected... if you open the default.htm files the highlight of buttons and objects is not anymore working. IE doesn't complain

Re: [Zope] Javascript rendering problem?

2006-02-02 Thread Chris Withers
Gabriel Genellina wrote: default.htm is not a good name for a Zope object. The same for xxx.js or yyy.css. Maybe this is the cause of your problem. Huh?! Where did this come from?! These names a _just_ _fine_ for Zope :-) Chris -- Simplistix - Content Management, Zope Python Consulting

Re: [Zope] Serve PHP/Perl within Zope

2006-02-02 Thread Martijn Pieters
On 2/2/06, Chris Withers [EMAIL PROTECTED] wrote: ...but hey, you could always use Squid and ESI if you want multiple languages to generate a single page ;-) Which makes damned good sense if the component parts assembled by ESI were cached individually. So the whole homepage cached for 24

Re: [Zope] main Zope 3 benefits

2006-02-02 Thread michael nt milne
HiThanks alot for this.I've heard that there are benefits on the security side? That it is to be security audited etc.MichaelOn 2/2/06, Terry Hancock [EMAIL PROTECTED] wrote: On Thu, 02 Feb 2006 00:14:59 +0100Rakotomandimby Mihamina[EMAIL PROTECTED] wrote: On Wed, 2006-02-01 at 15:21 +,

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

2006-02-02 Thread Jonathan
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 development tutorial (Re: [Zope] Re: Product refreshing in Zope 2.9)

2006-02-02 Thread Tim Nash
The things that tie together are Zope itself and larger frameworks on top of it, such as e.g. the CMF or Plone/CPS/Silva. Do you mean that nobody actually writes an application without using CMF or Plone/CPS/Silva? If that is the case then that explains my slow rate of development. But I wonder

[Zope] raw trace log format

2006-02-02 Thread Dennis Allison
generally it's code id fromepoch desc The desc field is B request (e.g. 'GET /') I ??? A status_code bytes E The desc for E is normally empty. The desc for I is usually 0 or a small integer. Google could not help me find a

[Zope] Re: raw trace log format

2006-02-02 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dennis Allison wrote: generally it's code id fromepoch desc The desc field is B request (e.g. 'GET /') I ??? A status_code bytes E The desc for E is normally empty. The desc for I is

Re: [Zope] Re: raw trace log format

2006-02-02 Thread Dennis Allison
I gleened what I could from the requestrofiler code, but teh meaning of the desc field for I is not described in the comments. A quick check of the code did not help either. On Thu, 2 Feb 2006, Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dennis Allison wrote:

Re: [Zope] Re: raw trace log format

2006-02-02 Thread Chris McDonough
This little bit of code has some clues: def put(self, code, t, desc): if code not in ('A', 'B', 'I', 'E'): raise unknown request code %s % code if code == 'B': self.start = t self.method, self.url = desc.strip().split() elif code ==

Re: [Zope] LocalFS

2006-02-02 Thread Dieter Maurer
Rakotomandimby Mihamina wrote at 2006-2-1 23:22 +0100: ... But LocalFS seems to be an old product. Is there any replacement of it you would know? Being old does not mean being not good. I know that you need a relative new LocalFS version (something like LocalFS-Andreas) to work with Zope 2.8.

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

2006-02-02 Thread Dieter Maurer
Ken Ara wrote at 2006-2-2 00:41 -0800: 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'. Thus, you only want the

[Zope] TextIndexNG2 problems

2006-02-02 Thread Barry Drake
I have PloneLocalFolderNG installed, which works great. But, I can't run python setup.py install for TextIndexNG2. I get the following error: running install running build running build_ext error: Python was built with version 6 of Visual Studio, and extensions need to be built with the same

[Zope] Multiple Zope Instance

2006-02-02 Thread Infor Gates
Dear zopistI am using Zope 2.8.4 on windows. I have installed and created a zope instance-1 which run as a service in WindowXP. Later, I created a 2nd zope instance-2 by mkzopeinstance.How can I configure zope to run zope instance-2 as the default service instead of instance-1?Thanks alot.CY

Re: [Zope] TextIndexNG2 problems

2006-02-02 Thread Andreas Jung
--On 2. Februar 2006 19:10:49 -0800 Barry Drake [EMAIL PROTECTED] wrote: I have PloneLocalFolderNG installed, which works great. But, I can't run python setup.py install for TextIndexNG2. I get the following error: running install running build running build_ext error: Python was built

[Zope-DB] external ZODB from Zope interface

2006-02-02 Thread gyro funch
Hi,I am a Zope newbie with some Python experience. We have a large amount of scientific data that we are planning to load into several ZODBs.From the Zope interface, how can I access these 'external'databases? Are databases other than Data.fs accessible? Must this be done using an external method

Re: [Zope-DB] external ZODB from Zope interface

2006-02-02 Thread Seth Gottlieb
This is a good write up of how to do it. http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/RelationalDatabases.stx --Seth gyro funch wrote: Hi, I am a Zope newbie with some Python experience. We have a large amount of scientific data that we are planning to load into several

Re: [Zope-DB] external ZODB from Zope interface

2006-02-02 Thread gyro funch
Thanks for the very useful reference.However, I don't see anything in there about accessing a ZODB. I may have missed something, but I don't see a suitable ZODB adapter that I can add in the Zope interface (similar to what is apparently possible for Gadfly, MySQL, PostgreSQL, and other

Re: [Zope-DB] external ZODB from Zope interface

2006-02-02 Thread Charlie Clark
On Thu, 02 Feb 2006 16:25:09 +0100, gyro funch [EMAIL PROTECTED] wrote: Thanks for the very useful reference. However, I don't see anything in there about accessing a ZODB. I may have missed something, but I don't see a suitable ZODB adapter that I can add in the Zope interface (similar to

AW: [Zope-DB] external ZODB from Zope interface

2006-02-02 Thread Frey, Peter
Hi, depending on what your goals are, maybe the following approach we use at our site may help: it is possible to mount external ZODB storages from a ZEO server into the main storage here an excerpt from our Zope configuration: zodb_db main mount-point / cache-size

Re: [Zope-DB] external ZODB from Zope interface

2006-02-02 Thread Dieter Maurer
gyro funch wrote at 2006-2-2 04:34 -0800: I am a Zope newbie with some Python experience. We have a large amount of scientific data that we are planning to load into several ZODBs. From the Zope interface, how can I access these 'external' databases? To access additional storages, you use