Re: [Zope] how to include a local html file

2006-04-07 Thread David H
Chris Purves wrote: Hello, How can I include an html file on my local filesystem into a DTML method? Chris, You have asked a two part question. a) how to access your local file system http://sourceforge.net/projects/localfs and b) how to access it in a DTML method Dont know cause I ha

[Zope] how to include a local html file

2006-04-07 Thread Chris Purves
Hello, How can I include an html file on my local filesystem into a DTML method? -- Good day, eh. Chris ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http:/

Re: [Zope] Problems Executing pdftk from within zope.

2006-04-07 Thread Jonathan
Have you tried running it as a spawned job from the shell? If something is pooched in the environment then the job should hang (then you know it is not a zope problem). Jonathan - Original Message - From: "Jerry Westrick" <[EMAIL PROTECTED]> To: Sent: Friday, April 07, 2006 6:42 PM

[Zope] Problems Executing pdftk from within zope.

2006-04-07 Thread Jerry Westrick
Hello Zopistas... I trying to modify pdf files from within zope. I use the following command: '/usr/bin/pdftk /t/in.pdf attach_files /t/a1.pdf /t/a2.pdf output /t/out.pdf' When I execute it as root it works... When executed from within zope, (this i've done via external command that executes o

Re: [Zope] TextIndexNG and ExtFile

2006-04-07 Thread Michael Vartanyan
I've got a site with a couple hundred ExtFile objects. I now need to index the content of the various files (word, pdf, excel, ppt). I see that ExtFile doesn't have a PrincipiaSearchSource method so I created one. It returns self.index_html(). When I go back into my catalog and reindex my Pri

[Zope] TextIndexNG and ExtFile

2006-04-07 Thread Palermo, Tom
All,   I've got a site with a couple hundred ExtFile objects. I now need to index the content of the various files (word, pdf, excel, ppt). I see that ExtFile doesn't have a PrincipiaSearchSource method so I created one. It returns self.index_html(). When I go back into my catalog and reinde

Re: [Zope] Zope crashes on request of certain page

2006-04-07 Thread Dieter Maurer
Sven Jacobs wrote at 2006-4-7 10:34 +0200: > ... >2006-03-27T12:18:57 PANIC(300) z2 Startup exception >Traceback (innermost last): > File /opt/zope/z2.py, line 495, in ? > (Object: ZLogger) > File , line 1, in ? > File /opt/zope/lib/python/Zope/__init__.py, line 37, in ? > File /opt/zop

Re: [Zope] filtering results

2006-04-07 Thread Dieter Maurer
gf wrote at 2006-4-6 12:06 -0600: >Hi, >I am a Zope newbie. I apologize if the terminology I use below is not >correct, but I hope that you get the gist of what I am about to ask. > >I would like to be able to 'filter' results before returning them to >the user. In other words, if a user requests

RE: [Zope] TextIndexNG question

2006-04-07 Thread Palermo, Tom
I figured it out. -Tom -Original Message- From: Andreas Jung [mailto:[EMAIL PROTECTED] Sent: Friday, April 07, 2006 1:33 PM To: Palermo, Tom; 'zope@zope.org' Subject: Re: [Zope] TextIndexNG question --On 7. April 2006 13:18:52 -0400 "Palermo, Tom" <[EMAIL PROTECTED]> wrote: > > Why

Re: [Zope] TextIndexNG question

2006-04-07 Thread Andreas Jung
--On 7. April 2006 13:18:52 -0400 "Palermo, Tom" <[EMAIL PROTECTED]> wrote: Why do none of the typical Microsoft converters show up in the above table? Because you did not read the TXNG documentation? The documentation states clearly that you must have the related converters installed (th

[Zope] TextIndexNG question

2006-04-07 Thread Palermo, Tom
All,   I've just installed TextIndexNG2. I created a TextIndexNG2 index called PrincipiaSearchSource in my Catalog. In the converters tab for this index, I see this: Mime-Types Description depends on application/pdf Adobe Acrobat PDF pdftotext   application/vnd.sun.xml.writer OpenOffice  

Re: [Zope] Zope crashes on request of certain page

2006-04-07 Thread Floyd May
Sven Jacobs wrote: Dear Zope list, I have a serious problem with Zope. Every time a certain page is requested by a web browser for the second or third time (first time always works) the whole Zope server crashes :-( The only thing special about this page are calls of external Python methods

Re: [Zope] single sign-on

2006-04-07 Thread Luca Olivetti
En/na Luca Olivetti ha escrit: At this point zope should see an additional header REMOTE_USER (with the consequent security risk: you should make sure that nobody can directly access zope otherwise they can fake this header and pose as any user) which is available in request.environ as HTTP_RE

Re: [Zope] Zope crashes on request of certain page

2006-04-07 Thread Jonathan
- Original Message - From: "Sven Jacobs" <[EMAIL PROTECTED]> I have a serious problem with Zope. Every time a certain page is requested by a web browser for the second or third time (first time always works) the whole Zope server crashes :-( The only thing special about this page are

Re: [Zope] single sign-on

2006-04-07 Thread Luca Olivetti
En/na Fernando Martins ha escrit: David H wrote: Robert, You can python + COM your way to a browser startup zope/plone login screen. I cannot see how you automate the authentication of a given browser instance that is then handed to your users. Hmm, that's not automation in this sense. The

Re: [Zope] Zope crashes on request of certain page

2006-04-07 Thread Andreas Jung
--On 7. April 2006 10:34:08 +0200 Sven Jacobs <[EMAIL PROTECTED]> wrote: The only thing special about this page are calls of external Python methods from a custom extension. These methods don't do any special magic. They just open a MySQL database (using the MySQLdb module version 0.9.1) and

[Zope] Zope crashes on request of certain page

2006-04-07 Thread Sven Jacobs
Dear Zope list, I have a serious problem with Zope. Every time a certain page is requested by a web browser for the second or third time (first time always works) the whole Zope server crashes :-( The only thing special about this page are calls of external Python methods from a custom exten