[Zope-dev] Zope tests: 8 OK
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 2006 URL: http://mail.zope.org/pipermail/zope-tests/2006-February/004154.html Subject: OK : Zope-2_6-branch Python-2.3.5 : Linux From: Zope Unit Tests Date: Wed Feb 1 21:04:37 EST 2006 URL: http://mail.zope.org/pipermail/zope-tests/2006-February/004155.html Subject: OK : Zope-2_7-branch Python-2.3.5 : Linux From: Zope Unit Tests Date: Wed Feb 1 21:06:07 EST 2006 URL: http://mail.zope.org/pipermail/zope-tests/2006-February/004156.html Subject: OK : Zope-2_7-branch Python-2.4.2 : Linux From: Zope Unit Tests Date: Wed Feb 1 21:07:37 EST 2006 URL: http://mail.zope.org/pipermail/zope-tests/2006-February/004157.html Subject: OK : Zope-2_8-branch Python-2.3.5 : Linux From: Zope Unit Tests Date: Wed Feb 1 21:09:07 EST 2006 URL: http://mail.zope.org/pipermail/zope-tests/2006-February/004158.html Subject: OK : Zope-2_8-branch Python-2.4.2 : Linux From: Zope Unit Tests Date: Wed Feb 1 21:10:37 EST 2006 URL: http://mail.zope.org/pipermail/zope-tests/2006-February/004159.html Subject: OK : Zope-2_9-branch Python-2.4.2 : Linux From: Zope Unit Tests Date: Wed Feb 1 21:12:07 EST 2006 URL: http://mail.zope.org/pipermail/zope-tests/2006-February/004160.html Subject: OK : Zope-trunk Python-2.4.2 : Linux From: Zope Unit Tests Date: Wed Feb 1 21:13:38 EST 2006 URL: http://mail.zope.org/pipermail/zope-tests/2006-February/004161.html ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] CopySupport and cookies
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): # Return a path value for use in a cookie that refers # to the root of the Zope object space. return request['BASEPATH1'] or / is there a good reason why this can't just return / as the cookie path? Seb -- [] j a m k i t web solutions for charities seb bacon T: 020 7549 0520 F: 020 7490 1152 M: 07968 301 336 W: www.jamkit.com ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] CopySupport and cookies
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: def cookie_path(request): # Return a path value for use in a cookie that refers # to the root of the Zope object space. return request['BASEPATH1'] or / is there a good reason why this can't just return / as the cookie path? I do not see the problem. Can you explain it in a bit more detail? -- Dieter ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope] virtualhost/apache2 problem
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/(.*) http://127.0.0.1:/VirtualHostBase/http/www.mysite.com/zope:80/comune/VirtualHostRoot/_vh_zopesite/$1 [L,P] Steven Steven Hayles - Computer Systems Developer, [EMAIL PROTECTED] Learning Technology Section, Computer Centre, University of Leicester, University Rd, Leicester, LE1 7RH Fax (0/+44)116 2525027 WWW URL:http://www.le.ac.uk/home/sh23 On Thu, 2 Feb 2006, zenobito zenobito wrote: Hello, I'm trying to set up apache2 to serve two sites, a normal one on www.mysite.com and a zope one on www.mysite.com/zope (using rewrite rules). I already know how to put apache2 in front of zope, but in this situation something doesn't work: I read every howto's but when connecting to http://www.mysite.com/zope I get a 404 error from apache2: it seems like mysite.com comes first, so if there is no zope folder (actually it doesn't exist), it gets an error. I hope someone can help me. This is my apache2 configuration file. Bye, zenobito Apache2 conf: --- NameVirtualHost * VirtualHost * ServerAdmin [EMAIL PROTECTED] DocumentRoot /var/www/www-docs ServerName www.mysite.com Directory / Options FollowSymLinks AllowOverride None /Directory Directory /var/www/ Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all # This directive allows us to have apache2's default start page # in /apache2-default/, but still have / go to the right place # Commented out for Ubuntu #RedirectMatch ^/$ /apache2-default/ /Directory ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ Directory /usr/lib/cgi-bin AllowOverride None Options ExecCGI -MultiViews +SymLinksIfOwnerMatch Order allow,deny Allow from all /Directory ErrorLog /var/log/apache2/error.log # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn CustomLog /var/log/apache2/access.log combined ServerSignature On Alias /doc/ /usr/share/doc/ Directory /usr/share/doc/ Options Indexes MultiViews FollowSymLinks AllowOverride None Order deny,allow Deny from all Allow from 127.0.0.0/255.0.0.0 ::1/128 /Directory /VirtualHost VirtualHost * RewriteEngine On RewriteRule ^/(.*) http://127.0.0.1:/VirtualHostBase/http/www.mysite.com/zope:80/comune/VirtualHostRoot/_vh_zopesite/$1 [L,P]http://127.0.0.1:/VirtualHostBase/http/www.mysite.com/zope:80/comune/VirtualHostRoot/_vh_zopesite/$1[L,P] Directory / Options FollowSymLinks AllowOverride None /Directory /VirtualHost ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Ignore stopwords/characters in alphabetical results
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 FreeBSD6. Until I was hit with this request, the default ZCatalog and ZCTextIndexes have given good results. 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). Would this product make the difference I need? Thanks, Ken __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Ignore stopwords/characters in alphabetical results
--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 you have proper Five installation. -aj pgpVMKiIXBYup.pgp Description: PGP signature ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Serve PHP/Perl within Zope
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 using this method: http://www.zope.org/Members/Mamey/PHP I am little confused about how to serve the actual php content within the files. I added file with this: dtml-if REQUEST.has_key('phpScript') dtml-var ServePHPContent(REQUEST['phpScript']) /dtml-if Then I tried to begin the php content after this and saved it as file.php3. However, when I view zope doesn't render it. --Sharif ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] LocalFS
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 - http://www.simplistix.co.uk ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Javascript rendering problem?
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 about any errors, it just don't work. Trying looking in your Z2.log and see what requests are causing errors ;-) I've tried uploading the same directory to Apache and pages are working. So serve these files from Apache then! cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Javascript rendering problem?
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 - http://www.simplistix.co.uk ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Serve PHP/Perl within Zope
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 hours, except for the breaking news box (cached for 1 hour) and the poll which comes from a dedicated poll server.. I'd prefer the same language at the Squid level, granted, but if simplicity enables little loss in performance so be it. -- Martijn Pieters ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] main Zope 3 benefits
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 +, michael nt milne wrote: Is there a page anywhere which lists the main benefits of Zope 3?You can find the proposal for it starting from zope.org, Idon't know the actual URLs, but it's not hard to find by searching. According to the beginer I am, the benefit is that zope2 will disapear (as well as zope 1, for example...). That's a good reason to learn zope 3 as soon as possible :-)Not so much. Zope 3 is a complete rewrite of Zope, so it's been existing in parallel with Zope 2 for some time. TheZope 2 branch will probably take quite awhile to die out.And don't forget that it's still going to be around, even ifthey aren't actively developing it. I still have a site using Zope 2.5.1! The documentation is very slim, I agree, but why not help with your own little tutos? :-)It is indeed spotty.This cry if the documentation is too poor, write your own does get kind of old, though. Obviously if you understood itwell enough to write documentation, you wouldn't be tryingto find it!Still, Zope 3 is moving towards being better documented thanZope 2 was.This is mainly a matter of making it self-documenting.In practice this often works better,because the documentation stays up to date. A big problemwith earlier versions was documentation that was out ofsynch with the releases. The *big event* with Zope 3 is the redesign to an interface+ components architecture.This makes Zope 3 more like atool box than a framework which is generally regarded as a good thing.There is, of course, a framework calledZope 3 which is built from this tool box, but it's mucheasier to deconstruct Zope 3 and combine it with otherPython modules. This is a really big win from the standpoint of the PythonZope Product developer, who's looking to adapt a bunch ofpieces together to make a work web application. It's a lessobvious win if you just do through the web scripting. In the latter case, in fact, you're probably better off(right now) sticking with the Zope 2.x series, because theTTW interfaces for Zope 3 are still very rough (at leastthis is what the reports say -- I still haven't really tested it out).What I have done is to browse the Zope 3 source tree, and Ihave made use of the interface and schema modules. Verynice stuff!If the rest of Zope 3 measures up to that, then it's going to be a joy to work with.Cheers,Terry--Terry Hancock ([EMAIL PROTECTED])Anansi Spaceworks http://www.AnansiSpaceworks.com___Zope maillist-Zope@zope.orghttp://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding!**(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )-- Michael ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Ignore stopwords/characters in alphabetical results
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 FreeBSD6. Until I was hit with this request, the default ZCatalog and ZCTextIndexes have given good results. ZCTextIndex has a list of stop words that you could probably modify. This should get you pointed in the right direction: http://www.zope.org/Members/dedalu/ZCTextIndex_python hth Jonathan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: Zope development tutorial (Re: [Zope] Re: Product refreshing in Zope 2.9)
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 if I want to continue with zope. It looks like a cool application server, I have written an application (slowly) and I was hoping that I could see better examples of how to write a complete application. There is very little on sourceforge. I have read the zope bible cover to cover and I have read most of the zope book, but I admit that I haven't read the developer book. ( hate reading large amounts of text online). I guess that is my future. As for a specific question. Here goes: Could I please get a Zope application written by someone who has 2 years of Zope experience that uses several dtml or zpt pages, that 1. registers a user 2. collects data from a user and saves that data to the zodb 3. manages the accumulation of data in the zodb? If it was developed outside the zmi (I hope) can you also send me the associated test framework? Thanks! On 2/1/06, Dieter Maurer [EMAIL PROTECTED] wrote: Tim Nash wrote at 2006-1-31 11:48 -0800: ... I have completed my first zope product and I find that the change in mindset is the biggest challenge. Zope is cool but it is quite different from php or java or cgi. Have you read the Zope Developper Guide? It is something like a basic guide to product development in Zope 2. ... I have downloaded many of the products from zope.org but they really don't tie everything togather. Products are extensions that try to have very few dependancies. Therefore, they try not to tie other things together but use only services of Zope (which is always available). 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. I am looking for something that covers login in users, Look for the product PAS (PluggableAuthenticationService). building tables out of data stored in zodb, There is a product TinyTables (or similar) for (as the name tells you) tiny tables. Zope does not (yet) support large tables (it is not a relational database). But, you can use the ZCatalog to search your objects. Read the searching chapter in the Zope Book (Online, 2.7 edition). ... getters and setters for objects in the zodb, There is no difference in attribute access for persistent objects (those in the ZODB) and standard Python objects. Read the Python tutorial. collecting a variable in one page and passing it on to another page You have the standard HTML facility (e.g. query string and hidden variables; function in ZTUtils.Zope help you in using them) and you have sessions (explained in the Zope Book; read it!) where it modifies the data display, working with Sessions, etc. I guess what I'm looking for is a template for a real application, not for the individual pieces of functionality. I guess, you read the resources mentioned above (Zope Developper Guide and Zope Book, 2.7 edition, online) and then come back with concrete questions. Maybe, you then write the tutorial you are looking for now -- to the profit of future new Zope users... -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] raw trace log format
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 definition for the desc value associated with I. Can someone assist? -- ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Re: raw trace log format
-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 usually 0 or a small integer. Google could not help me find a definition for the desc value associated with I. Can someone assist? I'd suggest looking at '$SOFTWARE_HOME/utilities/requestprofiler.py', which is a tool for reporting against that log file. Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software Excellence by Designhttp://palladion.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFD4nWO+gerLs4ltQ4RAgdsAJwNaju4xcFLPfo2gBBfaJPjLAiW2QCeM9Cs /hfulGb5xV0UZIH04m24d2c= =8grz -END PGP SIGNATURE- ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Re: raw trace log format
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: 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 definition for the desc value associated with I. Can someone assist? I'd suggest looking at '$SOFTWARE_HOME/utilities/requestprofiler.py', which is a tool for reporting against that log file. Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software Excellence by Designhttp://palladion.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFD4nWO+gerLs4ltQ4RAgdsAJwNaju4xcFLPfo2gBBfaJPjLAiW2QCeM9Cs /hfulGb5xV0UZIH04m24d2c= =8grz -END PGP SIGNATURE- ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Re: raw trace log format
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 == I: self.t_recdinput = t self.isize = desc.strip() elif code == A: self.t_recdoutput = t self.httpcode, self.osize = desc.strip().split() elif code == 'E': self.t_end = t self.elapsed = int(self.t_end - self.start) B = beginning request handling I = finished receiving input from the client A = finished receiving output from Zope's publisher E = request handling ended - C On Feb 2, 2006, at 4:20 PM, Dennis Allison wrote: 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: 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 definition for the desc value associated with I. Can someone assist? I'd suggest looking at '$SOFTWARE_HOME/utilities/requestprofiler.py', which is a tool for reporting against that log file. Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software Excellence by Designhttp://palladion.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFD4nWO+gerLs4ltQ4RAgdsAJwNaju4xcFLPfo2gBBfaJPjLAiW2QCeM9Cs /hfulGb5xV0UZIH04m24d2c= =8grz -END PGP SIGNATURE- ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] LocalFS
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. I do not know whether this version works with Zope 2.9. Try it out. -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Ignore stopwords/characters in alphabetical results
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 change the result order. Unless you want relevancy ranking (which is not the case, depending on your description), ordering has nothing to do with the indexes (at least not the text indexes). Ordering can be done with sequence.sort (documented in the Zope Online help system) or with Python's sort method. In both cases, you can provide your own comparison function. The comparison faction to use the vocabulary to check for stopwords (words not known by the vocabulary are stopwords). -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] TextIndexNG2 problems
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 version of the compiler, but it isn't installed. The documentation says to install the win32 extensions, TextIndexNGExtensions-2.02.win32-py2.3.exe, so I did that. Still can't run the setup script. Any ideas? System: Zope 2.7.6-final, python 2.3.5, win32 Thanks. Barry Drake ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Multiple Zope Instance
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 Brings words and photos together (easily) with PhotoMail - it's free and works with Yahoo! Mail.___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] TextIndexNG2 problems
--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 with version 6 of Visual Studio, and extensions need to be built with the same version of the compiler, but it isn't installed. The documentation says to install the win32 extensions, TextIndexNGExtensions-2.02.win32-py2.3.exe, so I did that. Still can't run the setup script. If you can't get the binaries working, you need to compile them on your own (which requires a Microsoft compiler under Windows). -aj pgprUV106ukT8.pgp Description: PGP signature ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope-DB] external ZODB from Zope interface
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 of some sort?Thanks for your help.-g What are the most popular cars? Find out at Yahoo! Autos ___ Zope-DB mailing list Zope-DB@zope.org http://mail.zope.org/mailman/listinfo/zope-db
Re: [Zope-DB] external ZODB from Zope interface
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 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 of some sort? Thanks for your help. -g What are the most popular cars? Find out at Yahoo! Autos http://us.rd.yahoo.com/evt=38382/_ylc=X3oDMTEzNWFva2Y2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDMmF1dG9z/*http://autos.yahoo.com/newcars/popular/thisweek.html%20 ___ Zope-DB mailing list Zope-DB@zope.org http://mail.zope.org/mailman/listinfo/zope-db -- Seth Gottlieb Optaros, Inc. 60 Canal Street Boston, MA 02114 e: [EMAIL PROTECTED] v: 617.227.1855 ext. 107 f: 617.227.1755 m: 617.852.2956 b: http://contenthere.blogspot.com ___ Zope-DB mailing list Zope-DB@zope.org http://mail.zope.org/mailman/listinfo/zope-db
Re: [Zope-DB] external ZODB from Zope interface
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 DBs).Any other ideas about how to access 'external' ZODBs and make them part of the Zope project?Thanks.-gSeth Gottlieb [EMAIL PROTECTED] wrote: This is a good write up of how to do it.http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/RelationalDatabases.stx--Sethgyro 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 ZODBs.& gt; 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 of some sort? Thanks for your help. -g___Zope-DB mailing listZope-DB@zope.orghttp://mail.zope.org/mailman/listinfo/zope-db -- Seth GottliebOptaros, Inc.60 Canal StreetBoston, MA 02114e: [EMAIL PROTECTED]v: 617.227.1855 ext. 107f: 617.227.1755m: 617.852.2956 b: http://contenthere.blogspot.com Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews, & more on new and used cars.___ Zope-DB mailing list Zope-DB@zope.org http://mail.zope.org/mailman/listinfo/zope-db
Re: [Zope-DB] external ZODB from Zope interface
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 what is apparently possible for Gadfly, MySQL, PostgreSQL, and other DBs). Any other ideas about how to access 'external' ZODBs and make them part of the Zope project? Interesting question. I don't think is a common request. You might want to look at how to use standalone ZODB's in Python, although it sounds as if you're already competent with that. It may indeed be that you do need an ExternalMethod for what you want to do - shouldn't be much trouble, I would think. Why do you need several databases? Is it something to do with the size of your data? Other than that I'm sure the Timbot will notice the post! Charlie ___ Zope-DB mailing list Zope-DB@zope.org http://mail.zope.org/mailman/listinfo/zope-db
AW: [Zope-DB] external ZODB from Zope interface
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 $ZODB_CACHE_SIZE_MAIN pool-size $ZODB_POOLSIZE zeoclient server $ZEOSERVER_MAIN storage main name zeostorage cache-size 1 /zeoclient /zodb_db # # mounted ZEO client storages: # provided by local or remote ZEO server # zodb_db normen mount-point $MOUNTPOINT/Data/Normen:/Normen cache-size $ZODB_CACHE_SIZE_NORMEN pool-size $ZODB_POOLSIZE zeoclient server $ZEOSERVER_NORMEN storage normen cache-size 2 /zeoclient /zodb_db # and a couple of other storages follow here the variable MOUNTPOINT (defined ahead) specifies a ZODB Path under that the storage is mounted the content of the storage is then accessible through ZODB paths directly from the main storage note that it may be also possible to use local file storages (Data.fs from local folders) but as we have a not too small multiuser environment with several servers we have no experience with that so you may have to experiment on your own Peter Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von gyro funch Gesendet: Donnerstag, 2. Februar 2006 16:25 An: Seth Gottlieb Cc: zope-db@zope.org Betreff: Re: [Zope-DB] external ZODB from Zope interface 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 DBs). Any other ideas about how to access 'external' ZODBs and make them part of the Zope project? Thanks. -g ___ Zope-DB mailing list Zope-DB@zope.org http://mail.zope.org/mailman/listinfo/zope-db
Re: [Zope-DB] external ZODB from Zope interface
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 Products.ZODBMountPoint.MountedObject.MountedObject instances. Mounting is similar to mounting under *nix. -- Dieter ___ Zope-DB mailing list Zope-DB@zope.org http://mail.zope.org/mailman/listinfo/zope-db