[Zope] Epoz interface not showing in my web page...

2005-11-30 Thread Allen Huang
I have integrated Epoz module into my product director and reboot ZOPE.   At first it was alright at first, but I started getting call telling me that all the Epoz module shows is the "save change button". I had a look through my browser and it was alright, but it just display anything besides th

Re: [Zope] here/content

2005-11-30 Thread Dieter Maurer
John Poltorak wrote at 2005-11-30 01:32 +: >Can someone tell me how 'here/content' is translated in these lines? > > tal:content="structure python:stx(the_text)"> > >The structured text goes here. > > "here" (i.e. the object viewed via the template) is asked for "content" (calling "h

Re: [Zope] Re: Zope 2.8.4 strange behavior

2005-11-30 Thread Dieter Maurer
Florent Guillaume wrote at 2005-11-30 01:51 +0100: > ... sending keepalive messages to ZEO ... >Why not use the max-disconnect-poll option of the zeoclient section in >zope.conf ? Our solution is quite old. At that time, there was definitely no "max-disconnect-poll" yet. In addition, "max-disco

Re: [Zope] Creating a DTM Document in a variable folder.

2005-11-30 Thread Jonathan Cyr
You might want to use index_html rather than index.html in this example.  The dot means other things in Python, and index.html is a carryover from filesystem webservers.  My impression is that the acquisition mechanism doesn't like ids with a dot, in some circumstances. Not trying to nit-pick,

Re: [Zope] Re: Zope 2.8.4 strange behavior

2005-11-30 Thread Paul Winkler
On Wed, Nov 30, 2005 at 08:40:34PM +0100, Dieter Maurer wrote: > Florent Guillaume wrote at 2005-11-30 01:51 +0100: > > ... sending keepalive messages to ZEO ... > > >Why not use the max-disconnect-poll option of the zeoclient section in > >zope.conf ? > > Our solution is quite old. At that time

Re: [Zope] Creating a DTM Document in a variable folder.

2005-11-30 Thread J Cameron Cooper
Jonathan Cyr wrote: You might want to use index_html rather than index.html in this example. The dot means other things in Python, and index.html is a carryover from filesystem webservers. My impression is that the acquisition mechanism doesn't like ids with a dot, in some circumstances. No

[Zope] unicode problem

2005-11-30 Thread abraham . peter
Hi, I've created a folder a put some dtml-methods, External python scripts and a Formulator Forms. It had worked fine till I put the Form's xml page the following line: int_bev_feldolgoz int_bev_feldolgoz is dtml method and at the moment only shows the value of REQUEST Having seen the result of

Re: [Zope] unicode problem

2005-11-30 Thread Maurits van Rees
On Wed, Nov 30, 2005 at 02:12:07PM +0100, [EMAIL PROTECTED] wrote: > I've created a folder a put some dtml-methods, External python > scripts and a Formulator Forms. It had worked fine till I put the > Form's xml page the following line: > int_bev_feldolgoz > int_bev_feldolgoz is dtml method and

[Zope] PHPGateway Issues

2005-11-30 Thread Asad Habib
Hello. I am trying to use PHPGateway with Zope but I get the following error: '/usr/bin/php' may not be a PHP-CGI program. The result from the program is empty(0 byte). Also, sometimes I get the error 'File Not Found' that is thrown by the browser. Has anyone successfully used this product

Re: [Zope] Re: Zope 2.8.4 strange behavior

2005-11-30 Thread Tim Peters
[Dieter Maurer] > ... > I think, Tim wanted to implement such a keep alive mechanism > inside "ClientStorage" (to reliably detect disconnects) but > in ZODB 3.4 it seems not yet available. Right on all counts: I would like to add that, because it's currently possible for ZEO to run "forever" with

[Zope] Displaying pdf

2005-11-30 Thread Rick Smith
Perhaps someone can point me in the right direction. I am trying to display a pdf file (actually stored in LocalFS) from a python script. To do this my approach (probably there's a better way) is :- RESPONSE.setHeader('Content-Type','application/pdf') RESPONSE.redirect(path) My main problem is

Re: [Zope] Displaying pdf

2005-11-30 Thread Peter Bengtsson
Why the fancy RESPONSE stuff. What's wrong with just clicking on the pdf URL? Or like this from a python script called showPDF() pdffile = getattr(context, 'some.pdf') return pdffile On 12/1/05, Rick Smith <[EMAIL PROTECTED]> wrote: > Perhaps someone can point me in the right direction. > > I am

Re: [Zope] Displaying pdf

2005-11-30 Thread John Barham
On 12/1/05, Rick Smith <[EMAIL PROTECTED]> wrote: > Perhaps someone can point me in the right direction. > > I am trying to display a pdf file (actually stored in LocalFS) from a > python script. To do this my approach (probably there's a better way) is :- > > RESPONSE.setHeader('Content-Type','ap

Re: [Zope] Question about Stepper

2005-11-30 Thread Chris Withers
Jens Vagelpohl wrote: Pardon my stupidity but is Chris Withers' Stepper the right thing for me...? yes What he said ;-) The call to sendAllUnsent() I would prefer if it was done asyncronously in case it takes several seconds. I could accomplish this by having a cron job calling it every

Re: [Zope] DateTime mess

2005-11-30 Thread Chris Withers
A piece of code calls bobobase_modification_time() which currently returns a DateTime; after that the piece of code calls some DateTime-specific methods on the returned object. Now in Zope 2.12 we make bobobase_modification_time() return a datetime.datetime and subsequently the piece of code would

Re: [Zope] Epoz interface not showing in my web page...

2005-11-30 Thread Chris Withers
I'd suggest contact the epoz author directly, of finding an epoz mailing list... Chris Allen Huang wrote: I have integrated Epoz module into my product director and reboot ZOPE. At first it was alright at first, but I started getting call telling me that all the Epoz module shows is the