Re: [Zope] Pre-indexing filter and accented letters (mostly solved)

2005-06-16 Thread Yuri
ZCTextindex to search and catalog accented words as non accented. - Step 1 Add to Lexicon.py (around line 190) this code, which filters the things in the pipeline: --- class RemoveAccented: def filter_word(self, w): filter the non ascii letters to ascii # trasformo la

[Zope] Objects access

2005-06-16 Thread Hugo Ramos
Yellow ppl, Is there a way to know how many times an object has been accessed during current Zope's uptime? Something like the activity tab in /Control_Panel/Database/main but specific to each object in ZODB. Regards -- Hugo Ramos - [EMAIL PROTECTED]

Re: [Zope] Objects access

2005-06-16 Thread Tino Wildenhain
Am Donnerstag, den 16.06.2005, 11:24 +0100 schrieb Hugo Ramos: Yellow ppl, Is there a way to know how many times an object has been accessed during current Zope's uptime? Something like the activity tab in /Control_Panel/Database/main but specific to each object in ZODB. You can enable

Re: [Zope] Objects access

2005-06-16 Thread Hugo Ramos
Thanks Tino, Your answer really helped me. Basically I want to know what objects are accessed the most so that I can plan a cache strategy. This is also helpfull just to optimize the code in the objects that are used intensively. Also I can delete objects that are very old and not used anymore

[Zope] Problems in file upload

2005-06-16 Thread Nello Polesello
Good morning, anyone ever had problems with the standard template file_edit_form Add new element - File? With some files (pdf) I obtain Document contains no data with Firefox, while Explorer gives me a blank page. I discovered it does NOT depends on file size (I uploaded without any problems

[Zope] Re: [Zope-Annce] [ANN] Zope 2.8.0 released

2005-06-16 Thread Andreas Jung
...and last but not leastvery special thanks to the incredible Jeremy Hylton for his tremendous work on MVCC. I hope this was the last one I forgot to mention :-) -aj --On 15. Juni 2005 15:28:08 +0200 Andreas Jung [EMAIL PROTECTED] wrote: Unfortunately I forgot to mention the whole

[Zope] Python Scripts

2005-06-16 Thread Dennis Allison
We have been seeing a number of instances where python scripts fail due to an apparent syntax error but the syntax is correct and simply storing the method restores it to functionality. Anyone else seeing this? -- Dennis Allison * Computer Systems Laboratory * Gates 227 *

[Zope] 3rd Party Search Engine

2005-06-16 Thread Eric
Hi, I'm in the process of integrating a 3rd party search engine with Zope and have a question about being able to make this work. I'd like to use the spidering capability of this search engine for it to build it's own index. What should the most ideal approach be? 1) Should I write an object

Re: [Zope] Problems in file upload

2005-06-16 Thread Dieter Maurer
Nello Polesello wrote at 2005-6-16 14:54 +0200: ... With some files (pdf) I obtain Document contains no data with Firefox, while Explorer gives me a blank page. This means, your Zope died. Run Zope in a system (not Python!) debugger (it might be necessary to recompile Python and its extensions

Re: [Zope] Problem with namespace

2005-06-16 Thread Dieter Maurer
Ralph wrote at 2005-6-15 20:59 +0200: ... Method A in report1 is rendering B in util. B is rendering a ZSQL-object in sql and in the tag dtml-in is rendering C (python-method) in util, to render a table cell, but this isn't working, because E is unknown and I don't know why. Example:

Re: [Zope] zope 2.7: Unauthorized in this context

2005-06-16 Thread Dieter Maurer
John Hunter wrote at 2005-6-15 14:42 -0500: ... Dieter Thus, the primary problem is that mentor magically Dieter does not have a __roles__ attribute or (maybe) that it Dieter was never expected to be accessed via the Dieter FactoryDispatcher. My classes are all defined through

[Zope] IE v. Firefox for viewing Zope sites

2005-06-16 Thread John Poltorak
I've just put together a simple Zope website, but whilst it renders properly under Firefox, it looks dreadful using IE. Can anyone explain why? Could it be the CSS? -- John ___ Zope maillist - Zope@zope.org

Re: [Zope] IE v. Firefox for viewing Zope sites

2005-06-16 Thread Joe Bezier
Can you show us? It'd be easier to tell you the problem... It could be the CSS, or it could be the HTML, particularly the DTD - IE renders pages differently depending on the validity of your DTD - a good DTD gets your page rendered in compliant mode, a bad one (or none...) gets your page

Re: [Zope] IE v. Firefox for viewing Zope sites

2005-06-16 Thread Andreas Jung
--On 16. Juni 2005 19:15:58 +0100 John Poltorak [EMAIL PROTECTED] wrote: I've just put together a simple Zope website, but whilst it renders properly under Firefox, it looks dreadful using IE. Can anyone explain why? Could it be the CSS? It could be your IE? It could be your HTML? It

Re: [Zope] Python Scripts

2005-06-16 Thread J Cameron Cooper
We have been seeing a number of instances where python scripts fail due to an apparent syntax error but the syntax is correct and simply storing the method restores it to functionality. Anyone else seeing this? How do you mean fail? Often times, if you have an error, save, test, and then

Re: [Zope] IE v. Firefox for viewing Zope sites

2005-06-16 Thread Phillip Hutchings
On 17/06/05, John Poltorak [EMAIL PROTECTED] wrote: I've just put together a simple Zope website, but whilst it renders properly under Firefox, it looks dreadful using IE. Can anyone explain why? Could it be the CSS? It could be your CSS, but it's probably IE. I usually end up writing two

Re: [Zope] IE v. Firefox for viewing Zope sites

2005-06-16 Thread John Poltorak
On Thu, Jun 16, 2005 at 08:30:15PM +0200, Andreas Jung wrote: --On 16. Juni 2005 19:15:58 +0100 John Poltorak [EMAIL PROTECTED] wrote: I've just put together a simple Zope website, but whilst it renders properly under Firefox, it looks dreadful using IE. Can anyone explain why?

Re: [Zope] IE v. Firefox for viewing Zope sites

2005-06-16 Thread Tino Wildenhain
Am Donnerstag, den 16.06.2005, 22:33 +0100 schrieb John Poltorak: On Thu, Jun 16, 2005 at 08:30:15PM +0200, Andreas Jung wrote: --On 16. Juni 2005 19:15:58 +0100 John Poltorak [EMAIL PROTECTED] wrote: I've just put together a simple Zope website, but whilst it renders properly

[Zope] Newbie Questions - many-many relationships? Zope 2 or 3?

2005-06-16 Thread Jim Vine
Database Question Hello, I'm a newbie, so this is a newbie question! I am currently preparing to build a web application for property lettings, and I'm very interested in what Zope has to offer. The application will need to recognise a number of different objects, such as houses, prospective

[Zope] Re: Newbie Questions - many-many relationships? Zope 2 or 3?

2005-06-16 Thread Max M
Jim Vine wrote: Having a look through past threads on this mailing list I've noticed a few references to mxmRelations (http://www.zope.org/Members/maxm/products/mxmRelations) which seems to match up - have I got the right end of the stick? Before I jump in with this I'd appreciate any advice or

Re: [Zope] Newbie Questions - many-many relationships? Zope 2 or 3?

2005-06-16 Thread Lennart Regebro
On 6/17/05, Jim Vine [EMAIL PROTECTED] wrote: I'm very interested in the Object Oriented way of doing things; for example, I'm thinking about implementing houses as a folder-ish object, so it would be able to contain photos of the house in question. The biggest stumbling block I am facing is

Re: [Zope] Newbie Questions - many-many relationships? Zope 2 or 3?

2005-06-16 Thread Andreas Pakulat
On 16.Jun 2005 - 23:17:43, Jim Vine wrote: Specifically, I've been scratching my head for a while about how to handle a many-many relationship: a property owner may own more than one house; conversely, a house may have more than one co-owner - consequently it's not appropriate to have either

Re: [Zope] Python Scripts

2005-06-16 Thread Greg Fischer
Yeah, I do see that every once in a while. I have a very simple script, that looks perfect, but will always return syntax error. I copied the text, pasted into a text editor and checked all the indents and tabs, then recreated the script. Problem went away. What was interesting is that I didnt

Re: [Zope-Annce] [ANN] Zope 2.8.0 released

2005-06-16 Thread Andreas Jung
...and last but not leastvery special thanks to the incredible Jeremy Hylton for his tremendous work on MVCC. I hope this was the last one I forgot to mention :-) -aj --On 15. Juni 2005 15:28:08 +0200 Andreas Jung [EMAIL PROTECTED] wrote: Unfortunately I forgot to mention the whole

[Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/lib/python/Products/SiteErrorLog/SiteErrorLog.py - replaced MessageDialog by less annoying manage_tabs_message

2005-06-16 Thread Yvo Schubbe
Log message for revision 30812: - replaced MessageDialog by less annoying manage_tabs_message - some related cleanup Changed: UU Zope/branches/Zope-2_8-branch/lib/python/Products/SiteErrorLog/SiteErrorLog.py -=- Modified:

[Zope-Checkins] SVN: Zope/trunk/lib/python/Products/SiteErrorLog/SiteErrorLog.py - replaced MessageDialog by less annoying manage_tabs_message

2005-06-16 Thread Yvo Schubbe
Log message for revision 30813: - replaced MessageDialog by less annoying manage_tabs_message - some related cleanup Changed: UU Zope/trunk/lib/python/Products/SiteErrorLog/SiteErrorLog.py -=- Modified: Zope/trunk/lib/python/Products/SiteErrorLog/SiteErrorLog.py

[Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/lib/python/App/dtml/manage_page_style.css.dtml - removed width 100% for .system-msg

2005-06-16 Thread Yvo Schubbe
Log message for revision 30814: - removed width 100% for .system-msg width 100% did cause an horizontal scrollbar in firefox and ie. This change breaks the ns4 layout a bit, but I guess we can live with that. Changed: U

[Zope-Checkins] SVN: Zope/trunk/lib/python/tempstorage/ Allow tempstorage to participate in MVCC. Also fix minor bug where conflict cache could be poisoned by a transaction that failed after store was called.

2005-06-16 Thread Chris McDonough
Log message for revision 30822: Allow tempstorage to participate in MVCC. Also fix minor bug where conflict cache could be poisoned by a transaction that failed after store was called. Changed: U Zope/trunk/lib/python/tempstorage/TemporaryStorage.py U

[Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/lib/python/tempstorage/ Allow tempstorage to participate in MVCC. Also fix minor bug where conflict cache could be poisoned by a transaction that fa

2005-06-16 Thread Chris McDonough
Log message for revision 30823: Allow tempstorage to participate in MVCC. Also fix minor bug where conflict cache could be poisoned by a transaction that failed after store was called. Changed: U Zope/branches/Zope-2_8-branch/lib/python/tempstorage/TemporaryStorage.py U

[Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/doc/CHANGES.txt

2005-06-16 Thread Chris McDonough
Log message for revision 30824: Changed: U Zope/branches/Zope-2_8-branch/doc/CHANGES.txt -=- Modified: Zope/branches/Zope-2_8-branch/doc/CHANGES.txt === --- Zope/branches/Zope-2_8-branch/doc/CHANGES.txt 2005-06-16

[Zope-Coders] Zope tests: 8 OK

2005-06-16 Thread Zope tests summarizer
Summary of messages to the zope-tests list. Period Wed Jun 15 11:01:02 2005 UTC to Thu Jun 16 11:01:02 2005 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 Jun 15 23:24:31 EDT

Re: [Zope-dev] Verbose security for Zope 2.8 or 2.9

2005-06-16 Thread Florent Guillaume
Shane Hathaway [EMAIL PROTECTED] wrote: Florent Guillaume wrote: What is the dependency on the python implementation, is it just _embed_permission_in_roles ? Didn't you succeed in patching the C version too in some earlier versions of VerboseSecurity ? Currently, the C code makes no

[Zope-dev] BTree vs dictionary

2005-06-16 Thread Yair Benita
Now that I know how to use BTrees I grew fond of it and the features it offers. While the advantages of using BTrees are obvious when using it in a database context, I was wondering if it makes sense to use it instead of a dictionary routinely, just so I can take advantage of commands such as

Re: [Zope-dev] BTree vs dictionary

2005-06-16 Thread Andreas Jung
--On 16. Juni 2005 17:32:15 +0200 Yair Benita [EMAIL PROTECTED] wrote: Now that I know how to use BTrees I grew fond of it and the features it offers. While the advantages of using BTrees are obvious when using it in a database context, I was wondering if it makes sense to use it instead of

Re: [Zope-dev] BTree vs dictionary

2005-06-16 Thread Tim Peters
[Yair Benita] Now that I know how to use BTrees I grew fond of it and the features it offers. Yup, they're very cool. While the advantages of using BTrees are obvious when using it in a database context, I was wondering if it makes sense to use it instead of a dictionary routinely, just so

[Zope-dev] Nuxeo supports Zope Corp announces

2005-06-16 Thread Eric Barroca
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, Following the announces from Zope Corporation yesterday about their willingness to create a Zope Foundation (that would manage independently Zope 2 and Zope 3 projects) and to participate actively in the Z3ECM project, I would like to

[Zope-dev] Re: [Z3lab] Nuxeo supports Zope Corp announces

2005-06-16 Thread Jean-Marc Orliaguet
Eric Barroca wrote: Hello, Following the announces from Zope Corporation yesterday about their willingness to create a Zope Foundation (that would manage independently Zope 2 and Zope 3 projects) and to participate actively in the Z3ECM project, I would like to express briefly Nuxeo's