Re: [Zope] convert DTML Document to a folder.

2005-11-21 Thread Dario Lopez-Kästen
Martin Koekenberg wrote: yes, That was my idea. Is there a solution for that convert. Martin Koekenberg well, sort of, but there is no converting. Here's a suggestion, that may work for you assuming that I understand the problem properly: The DTML-document contains some sort of informa

RE: [Zope] dtml-sqlvar problem with large strings?

2005-11-21 Thread Andreas Jung
--On 22. November 2005 08:42:32 +1100 Joshua Burvill <[EMAIL PROTECTED]> wrote: statement. So I will "Consider using parameters..." as it says. Otherwise I can look at switching to mxODBC. I wonder if that would disallow such long statements as well? You could try it and report back :-) -

RE: [Zope] dtml-sqlvar problem with large strings?

2005-11-21 Thread Joshua Burvill
Hello All, I tried using zope 2.7.6 with kinterbasdbda 2.0 and I got the same error I think, but more informative :) ProgrammingError: (0, 'SQL statement of 2270651 bytes is too long (max 65535 allowed). Consider using parameters to shorten the SQL code, rather than passing large values as par

Re: [Zope] Check Interval

2005-11-21 Thread Bakhtiar A Hamid
On 11/19/05, Kozloski, Matthew E <[EMAIL PROTECTED]> wrote: I have a fairly large zope installation (thousands of users, ~130Gcombined zeo storages) and have been playing with the check interval.  Ihave a single Xeon 3.2 that runs the show (both ZEO and Zope).  I notice that when I set the check-in

[Zope] Re: DateTime mess

2005-11-21 Thread Florent Guillaume
Jürgen Herrmann wrote: recently i came up here with the intention to fix DateTime#strftime(). while trying this, i had to dig deeper and deeper into the implementation of DateTime and especially the timezone and daylight saving stuff. to be honest, it's completely hacked together :( DateTimeZone.

Re: [Zope] problem

2005-11-21 Thread José Henrique
Are you using CMF? If so, CMFDefault.utils has a function (isHTMLSafe) that strips tags like embed. José Henrique. 2005/11/21, David De Maeyer <[EMAIL PROTECTED]>: > Hi all, > > Got a weird problem with Zope... One of our user > reported the following issue (under Zope 2.6.0): > > One html page

Re: [Zope] problem

2005-11-21 Thread Tino Wildenhain
Am Montag, den 21.11.2005, 21:59 +0100 schrieb David De Maeyer: > Hi Jonathan, > > Just gave a tried, actually I had tried the same as > you suggested but it doesn't work. > > We have a site, say www.mysite.com, and we access the > CMS system via admin.mysite.com. One of the page > displays a rat

Re: [Zope] problem

2005-11-21 Thread David De Maeyer
Hi Jonathan, Just gave a tried, actually I had tried the same as you suggested but it doesn't work. We have a site, say www.mysite.com, and we access the CMS system via admin.mysite.com. One of the page displays a rather simple text and displays a video using the Windows Media Player plugin. We

[Zope] Hard-coded "Content-type:text/xml" as xmlrpc in Zope (2.8.1)

2005-11-21 Thread John Ziniti
Back in June 2004, I had the following problem: http://mail.zope.org/pipermail/zope/2004-June/151436.html http://mail.zope.org/pipermail/zope/2004-June/151492.html http://mail.zope.org/pipermail/zope/2004-June/151497.html http://mail.zope.org/pipermail/zope/2004-June/151498.html which came about

Re: [Zope] probably a simple answer..

2005-11-21 Thread Nikko Wolf
External methods can certainly use the built in Python "open" function. However, I'd shudder at the thought of creating an "Excel" file rather than a plain-text CSV (comma separated values) file, since the former is (I presume) closed-source and binary, whilst the latter is simple text, human rea

Re: [Zope] problem

2005-11-21 Thread Jonathan
- Original Message - From: "David De Maeyer" <[EMAIL PROTECTED]> To: Sent: Monday, November 21, 2005 11:07 AM Subject: [Zope] problem Hi all, Got a weird problem with Zope... One of our user reported the following issue (under Zope 2.6.0): One html page makes use of the tag to s

Re: [Zope] problem

2005-11-21 Thread Andreas Jung
--On 21. November 2005 17:07:43 +0100 David De Maeyer <[EMAIL PROTECTED]> wrote: Therefore a simple question: how do we get Zope to properly deal with this tag again? Is it is a configuration problem? I don't know of any code in Zope that deals with the EMBED. The HTML generated throug

[Zope] problem

2005-11-21 Thread David De Maeyer
Hi all, Got a weird problem with Zope... One of our user reported the following issue (under Zope 2.6.0): One html page makes use of the tag to show and play a MPEG video using the Windows Media Player. When we tried to edit that page for a minor text revision and saved that page, Zope did throw

Re: [Zope] DateTime mess

2005-11-21 Thread Andreas Jung
--On 21. November 2005 15:37:42 +0100 Jürgen Herrmann <[EMAIL PROTECTED]> wrote: btw. you mentioned mxDateTime - is it recommendable to make it a requirement for zope or should we better stick to python's datetime? Python's datetime module would be the way to go. In 2001/2002 mx.DateTime

Re: [Zope] cookie crumbler and error messages

2005-11-21 Thread paul hendrick
Hi, thanks for the reply. I did what you asked and the error log produced these messages: Unauthorized: You are not authorized to access this resource. Username and password are not correct. Unauthorized: You are not allowed to access 'sql_select' in this context the sql_select error is because my

Re: [Zope] DateTime mess

2005-11-21 Thread Lennart Regebro
On 11/21/05, Andreas Jung <[EMAIL PROTECTED]> wrote: > > --On 21. November 2005 15:14:50 +0100 Lennart Regebro <[EMAIL PROTECTED]> > wrote: > > Well, that would be cool. Just a question: How do you plan to keep and > > verify backwards compatibility? Any database, with any type of > > DateTime obje

Re: [Zope] DateTime mess

2005-11-21 Thread Jürgen Herrmann
[ Lennart Regebro wrote:] > On 11/21/05, Jürgen Herrmann <[EMAIL PROTECTED]> wrote: >> recently i came up here with the intention to fix DateTime#strftime(). >> while trying this, i had to dig deeper and deeper into the >> implementation >> of DateTime and especially the timezone and daylight savi

Re: [Zope] DateTime mess

2005-11-21 Thread Jürgen Herrmann
[ Andreas Jung wrote:] > > > --On 21. November 2005 15:14:50 +0100 Lennart Regebro <[EMAIL PROTECTED]> > wrote: >> Well, that would be cool. Just a question: How do you plan to keep and >> verify backwards compatibility? Any database, with any type of >> DateTime object, must work transparently. >

Re: [Zope] convert DTML Document to a folder.

2005-11-21 Thread Martin Koekenberg
yes,   That was my idea. Is there a solution for that convert.   Martin Koekenberg -Original Message-From: Jonathan Cyr <[EMAIL PROTECTED]>To: Martin Koekenberg <[EMAIL PROTECTED]>Cc: zope@zope.org Date: Fri, 18 Nov 2005 17:21:00 -0500Subject: Re: [Zope] convert DTML Document to a folde

Re: [Zope] DateTime mess

2005-11-21 Thread Andreas Jung
--On 21. November 2005 15:14:50 +0100 Lennart Regebro <[EMAIL PROTECTED]> wrote: Well, that would be cool. Just a question: How do you plan to keep and verify backwards compatibility? Any database, with any type of DateTime object, must work transparently. Perfect question. When we considere

Re: [Zope] DateTime mess

2005-11-21 Thread Lennart Regebro
On 11/21/05, Jürgen Herrmann <[EMAIL PROTECTED]> wrote: > recently i came up here with the intention to fix DateTime#strftime(). > while trying this, i had to dig deeper and deeper into the implementation > of DateTime and especially the timezone and daylight saving stuff. > to be honest, it's comp

Re: [Zope] HTML to PDF.

2005-11-21 Thread Chris Withers
A tool to do what, specifically? Chris Fernando Lujan wrote: Chris Withers wrote: Fernando Lujan wrote: It's easy to configure and stuff? We currently are working with the reportlab, but it's painful to change the document... :( I need a product which generates a PDF file on the fly.

Re: [Zope] Check Interval

2005-11-21 Thread Chris Withers
Its not a problem - I'm just curious as to why this is/may be. From reading docs/postings online, it seems to me that the higher the check interval is, the faster the site should be (up to a point -- law of diminishing returns sort of thing). It is completely opposite for me and inquiring minds

Re: [Zope] does anyone know of something like this

2005-11-21 Thread Chris Withers
Kate Legere wrote: I develop for a library and wanted to know if there was a zope product that might accomplish what we're looking for before we build it ourselves. We have a number of book club sets that are loaned out to patrons for a 6 week period. The way in which this differs from our regul

Re: [Zope] Render a string as tal

2005-11-21 Thread Chris Withers
Alan Warren wrote: On 11/18/05, Chris Withers <[EMAIL PROTECTED]> wrote: Alan Warren wrote: single image into a folder. So, I have a folder called view. When an image is viewed the URL looks like /some_album/some_pic.jpg/view/?display=large The code looks like this: ouch. Thanks

[Zope] DateTime mess

2005-11-21 Thread Jürgen Herrmann
hi all! recently i came up here with the intention to fix DateTime#strftime(). while trying this, i had to dig deeper and deeper into the implementation of DateTime and especially the timezone and daylight saving stuff. to be honest, it's completely hacked together :( DateTimeZone.py has one BIG d

[Zope] Re: ZopeTestCase.Functional and sessions?

2005-11-21 Thread Stefan H. Holek
Well, yes. As you have already discovered, publish() creates it's own REQUEST (also see ZPublisher.Test). All you have after a call to publish() is the response object. Note that you *can* check ZODB- based variables after publish(). However the REQUEST is not stored in the ZODB... Which b