[Zope-dev] Hexadecimal-sequence of a jpeg-image from Python

2001-11-19 Thread Juan Javier Carrera Obrero
Hello, I am trying to generate a RTF (Rich Text Format) file with images from Python 2.1. Firstly with MS-Word 97, I have saved a file with RTF format which contained a jpeg-image. I haveedited this RTF file with a text editor, and I have seen as MS-Word converts the jpeg-image in a

[Zope-dev] Idea: User Product Folder

2001-11-19 Thread Casey Duncan
This is more of an idea than a proposal at this point, so I thought I would post it here for discussion. There is a fishbowl project for creating an automated Product installation system. Something like Debian and FreeBSD have. Now, one of the issues that has been raised is whether you could

Re: [Zope-dev] Another Signal 11 Question

2001-11-19 Thread Daniel Duclos
Em Quinta 15 Novembro 2001 13:34, Alex Kelly escreveu: I too have been having a lot of restarts with error code 11. After reading some other comments relating to this, I recompiled Python 2.1.1 with the --without-pymalloc option. I have not yet seen any problems from doing this, but my

[Zope-dev] How to render DTML that is not stored in the ZODB?

2001-11-19 Thread Dario Lopez-Kästen
Hello! I have a bunch of dtml in my Oracle DB, that I of course want to render. doing the dtml-var expr=_.getitem('column_name', 1) does not work. I essence Zope does not render strings in variables to DTML. Any suggestions? (It has to be DTML) *MANY* Thanks In Advance. /dario -

Re: [Zope-dev] How to render DTML that is not stored in the ZODB?

2001-11-19 Thread Casey Duncan
On Monday 19 November 2001 09:31 am, Dario Lopez-Kästen allegedly wrote: Hello! I have a bunch of dtml in my Oracle DB, that I of course want to render. doing the dtml-var expr=_.getitem('column_name', 1) does not work. I essence Zope does not render strings in variables to DTML. Any

Re: [Zope-dev] How to render DTML that is not stored in the ZODB?

2001-11-19 Thread Dario Lopez-Kästen
My suggestion would be to create a very thin wrapper class in Python for DTMLFile and use the advanced tab of the ZSQLMethod to make each row into a DTMLMethodish type thing. See: http://www.zope.org/Documentation/Guides/ZSQL-HTML/ZSQL.1.4.6.4.html Thanks, I'll look into that later on.

Re: [Zope-dev] How to render DTML that is not stored in the ZODB?

2001-11-19 Thread Robert Rottermann
Create a dtml-method programmatically and feed it your text with dtml vars embedded. Like so: def _dealWithDtml ( self, data ) : num_id = int(random.random() * 10) str_id = 'tmp' + str(num_id) self.manage_addProduct['OFSP'].manage_addDTMLMethod(id=str_id,

Re: [Zope-dev] Another Signal 11 Question

2001-11-19 Thread Alex Kelly
This problem still hasn't been resolved. I am using a source distribution of Zope. On our production machine, I only recompiled Python. Since the ZMI was reporting the new Python, I figured that was enough to fix the problem. I suppose I could alleviate one other possibility by

[Zope-dev] PathIndex query options

2001-11-19 Thread Jeffrey P Shell
I've looked hard at the two pages returned for PathIndex on Zope.org, and cannot make sense out of how to use 'level'. From the example, which is full of paths like '/aa/bb/cc' and '/cc/bb/cc' - all of the same size and using the same three letters -, I cannot tell if I can do a path query

Re: [Zope-dev] PathIndex query options

2001-11-19 Thread Andreas Jung
- Original Message - From: Jeffrey P Shell [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, November 19, 2001 21:36 Subject: [Zope-dev] PathIndex query options I've looked hard at the two pages returned for PathIndex on Zope.org, and cannot make sense out