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 didn

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 eit

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 faci

[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

[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

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 ren

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

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 writin

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 the

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 cou

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 ren

[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 http://mail.zope.org/mailman/listinfo/

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

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 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] 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 extens

[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 in

[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 * Sta

[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 F

[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 prob

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 but

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 enabl

[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] 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