Re: [Zope] HTML to PDF.

2005-11-16 Thread Andreas Jung
--On 16. November 2005 13:38:03 -0800 Dennis Allison <[EMAIL PROTECTED]> wrote: We use htmldoc. It's a bit old and a bit grotty, but it does the job. For a recent project we are using csstoxslto to convert HTML to XSL-FO. Using an XSL-FO processor you can produce RTF, PDF etc. from a si

Re: [Zope] question about Zope capabilities

2005-11-16 Thread Terry Hancock
On Wed, 16 Nov 2005 16:49:47 -0800 Rich Robinson <[EMAIL PROTECTED]> wrote: > At this point, the site is great for managing content via > the database. However, as far as I can see pretty much > all the content needs to fit into templates, with the > result that there appears to be little room

[Zope] question about Zope capabilities

2005-11-16 Thread Rich Robinson
Hi, I'm brand new on this list and writing to get a bit of insight here. We had someone design a web site using Zope, and very pleased with it. That person is no longer with us and I'm not at all a savvy back-end person, let alone Zope-savvy. At this point, the site is great for managing co

Re: [Zope] conflicts, sessions, and programming best practices guidelines

2005-11-16 Thread Chris McDonough
Changing the architecture will likely get you the most bang but note also that there are a few knobs that you can turn on the transient object container UI that may limit the number of conflicts (in the temp_folder/session_data_container): - "Data object timeout value" -- the timeout value

Re: [Zope] conflicts, sessions, and programming best practices guidelines

2005-11-16 Thread Chris McDonough
On Nov 16, 2005, at 6:18 PM, Dennis Allison wrote: Chris, I am aware that using ZEO to back session database is likely to increase the opportunity for conflicts, but using a single session database seems to be reaquired if you want, as we do, to distribute out interactive application acr

Re: [Zope] conflicts, sessions, and programming best practices guidelines

2005-11-16 Thread Dennis Allison
Chris, I am aware that using ZEO to back session database is likely to increase the opportunity for conflicts, but using a single session database seems to be reaquired if you want, as we do, to distribute out interactive application acrosss a cluster of processors cleanly. Under our current ap

Re: [Zope] HTML to PDF.

2005-11-16 Thread Christoph Berendes
Some discussion on this general area last week (not so much experience - at least on my part - but options) http://mail.zope.org/pipermail/zope/2005-November/162812.html Does Anyone has this product in a production environment? It's easy to configure and stuff? We currently are worki

Re: [Zope] HTML to PDF.

2005-11-16 Thread Dennis Allison
We use htmldoc. It's a bit old and a bit grotty, but it does the job. On Wed, 16 Nov 2005, Fernando Lujan wrote: > Does Anyone has this product in a production environment? > > It's easy to configure and stuff? We currently are working with the > reportlab, but it's painful to change the doc

Re: [Zope] HTML to PDF.

2005-11-16 Thread Andy Altepeter
On Wednesday 16 November 2005 02:07 pm, Fernando Lujan wrote: > Does Anyone has this product in a production environment? > > 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

[Zope] HTML to PDF.

2005-11-16 Thread Fernando Lujan
Does Anyone has this product in a production environment? 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. Any other application or suggestion will be welcome.

Re: [Zope] ZopeTestCase.Functional and sessions?

2005-11-16 Thread Paul Winkler
One correction: On Wed, Nov 16, 2005 at 01:12:37PM -0500, Paul Winkler wrote: > but if I create a test derived from ZopeTestCase.Functional, when I > call self.publish() the thread that handles the publishing (it is > another thread, right?) has its own app.REQUEST which doesn't contain a > SESSI

[Zope] ZopeTestCase.Functional and sessions?

2005-11-16 Thread Paul Winkler
Hi, I've been using CMFTestCase and ZopeTestCase for integration tests and mostly finding it a pretty nice system to work with - I can finally test all the glue code in my skin scripts, which has always been a big blind spot in my tests. But one snag I've run into: ZopeTestCase.utils.setupCoreS

Re: [Zope] Passing Parameters to External Methods

2005-11-16 Thread J Cameron Cooper
Paul Winkler wrote: On Wed, Nov 16, 2005 at 11:26:10AM -0600, J Cameron Cooper wrote: Asad Habib wrote: Hi Cameron. You are right but the self parameter is implicitly passed. It is implicitly passed, but must be explicitly defined:: def createHtmlToPdf(self, in_htmlFile, in_domain, in_pdfF

Re: [Zope] Passing Parameters to External Methods

2005-11-16 Thread Paul Winkler
On Wed, Nov 16, 2005 at 11:26:10AM -0600, J Cameron Cooper wrote: > Asad Habib wrote: > >Hi Cameron. You are right but the self parameter is implicitly passed. > > It is implicitly passed, but must be explicitly defined:: > > def createHtmlToPdf(self, in_htmlFile, in_domain, in_pdfFile): > r

[Zope] cookie crumbler and error messages

2005-11-16 Thread Paul Hendrick
Hi all, I'm using CookieCrumbler on a project which sits in / on one server, and /project in another. I'd like to secure a part of the site through *.metadata files so that users of a certain role can't access it. this is done and works well. however, when they try to access a part of the site whic

Re: [Zope] Passing Parameters to External Methods

2005-11-16 Thread J Cameron Cooper
Asad Habib wrote: Hi Cameron. You are right but the self parameter is implicitly passed. It is implicitly passed, but must be explicitly defined:: def createHtmlToPdf(self, in_htmlFile, in_domain, in_pdfFile): return html2pdf(in_htmlFile, in_domain, in_pdfFile) When you say:: context

Re: [Zope] Re: Installing Zope on Ubuntu Breezy

2005-11-16 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Weiers Coetser wrote: > >> You can create an 'access' file in the instance home (looks like >> '/var/lib/zope2.8/plone-site' in your case), with an "emergency user" ID >> and password; you can even leave the password in plain text while >> testing, e

Re: [Zope] Passing Parameters to External Methods

2005-11-16 Thread Asad Habib
Hi Cameron. You are right but the self parameter is implicitly passed. - Asad On Wed, 16 Nov 2005, J Cameron Cooper wrote: Asad Habib wrote: Hello. I am trying to use the Python version of the PHP script written by Jason Rust called 'HTML_ToPDF.php'. I have represented this script using an

Re: [Zope] Passing Parameters to External Methods

2005-11-16 Thread J Cameron Cooper
Asad Habib wrote: Hello. I am trying to use the Python version of the PHP script written by Jason Rust called 'HTML_ToPDF.php'. I have represented this script using an External Method since it uses functions, such as open, which cannot be used in Zope Python scripts for security reasons. The py

Re: [Zope] Passing Parameters to External Methods

2005-11-16 Thread Paul Winkler
On Wed, Nov 16, 2005 at 09:30:22AM -0500, Asad Habib wrote: > Can parameters > be passed to external methods? Certainly. > Whenever I try to pass parameters to > function 'createHtmlToPdf', Zope returns an error stating that no such > function exists. Can you provide us with the complete tr

[Zope] Re: Zope 2.8.4 compilation error

2005-11-16 Thread Gusti Gonzalez
David H escribió: > Gusti Gonzalez wrote: > >> Hi, >> >> I am having the following error when compiling Zope: >> --- >> "/usr/bin/python" "/infra/portal/Zope-2.8.4-final/setup.py" \ >>build >> --build-base="/infra/portal/Zope-

Re: [Zope] Render a string as tal

2005-11-16 Thread Alan Warren
Hi, I'm not sure I entirely understand the goal here either, but you may want to look into the path method. Here's what I recently had to use it for. I'm building a little photo album application for my sister, it supports nested albums. I had a page template called view I was using as a method

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

2005-11-16 Thread Andreas Jung
--On 16. November 2005 15:35:14 +0100 Martin Koekenberg <[EMAIL PROTECTED]> wrote: Hello, Is it possible to convert a DTML Document to a folder, Both with properties ? I use Zope 2.8.4. Converting a piece of textual content to a folder makes no sense. WHat are you trying to do??? -aj

[Zope] convert DTML Document to a folder.

2005-11-16 Thread Martin Koekenberg
Hello,   Is it possible to convert a DTML Document to a folder, Both with properties ? I use Zope 2.8.4.   Regards,   Martin Koekenberg ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML e

[Zope] Passing Parameters to External Methods

2005-11-16 Thread Asad Habib
Hello. I am trying to use the Python version of the PHP script written by Jason Rust called 'HTML_ToPDF.php'. I have represented this script using an External Method since it uses functions, such as open, which cannot be used in Zope Python scripts for security reasons. The python code for the

RE : [Zope] Installing Zope on Ubuntu Breezy

2005-11-16 Thread AZAIS Bruce
Try to do a file named "access" in your c:\zopesite with, in this file, the line (login and password): admin:toto Load, run zope and try again. -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Weiers Coetser Envoyé : mercredi 16 novembre 2005 12:50 À : zo

[Zope] Re: Installing Zope on Ubuntu Breezy

2005-11-16 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Weiers Coetser wrote: > Hi > > I wonder if anybody could tell me what I am doing wrong. I installed > zope 2.8, and plone 2.1 via synaptic. > I also installed plone-site via synaptic. (When I installed this I was > promted for a username and password)

[Zope] Installing Zope on Ubuntu Breezy

2005-11-16 Thread Weiers Coetser
Hi I wonder if anybody could tell me what I am doing wrong. I installed zope 2.8, and plone 2.1 via synaptic. I also installed plone-site via synaptic. (When I installed this I was promted for a username and password) Now when I access: http://localhost:8081, I get a quickstart screen. When

Re: [Zope] conflicts, sessions, and programming best practices guidelines

2005-11-16 Thread Stefan H. Holek
Try to partition your collision space. Do you mount a shared temp_folder? Don't! Do as Chris said and keep a temp_folder per ZEO client. Let the load balancer send people to the same ZEO client every time (according to the cookie). Note that there is no solution for bad coding practice other than

[Zope] Re: (no subject)

2005-11-16 Thread Alexander Limi
On Wed, 16 Nov 2005 01:13:24 -0800, AZAIS Bruce <[EMAIL PROTECTED]> wrote: AttributeError: plone_javascripts.js Have you visited portal_migrations in the ZMI and migrated the site to 2.1? Also, http://plone.org/contact#setup is the right place for migration and setup questions. -- _

Re: [Zope] (no subject)

2005-11-16 Thread Andreas Jung
--On 16. November 2005 10:13:24 +0100 AZAIS Bruce <[EMAIL PROTECTED]> wrote: AttributeError: plone_javascripts.js Please ask on the plone-users list for Plone related issues. -aj pgpUXSKlvJCHB.pgp Description: PGP signature ___ Zope maillist

[Zope] (no subject)

2005-11-16 Thread AZAIS Bruce
Title: Message Hi, excuse-me for my English but i'm french ;-) i've install zope 2.8.4 and Plone 2.1.1. i've do a copy of my data.fs and my products of my old Zope 's version zope 2.6.1, in the new version. the problem is that when i write http://localhost:8080/intranet to my URL, i've an er

Re: [Zope] Render a string as tal

2005-11-16 Thread Chris Withers
Mark Gibson wrote: However, what I'm looking for is being able to take a string such as 'The url' and be able to evaluate the TALES expression in the string to produced something like: 'http://mydomain.com/theUrl' Any chance there's a recipe for this? If you can explain to us why you think y

Re: [Zope] experience w/ filestorage mount points? maximum?

2005-11-16 Thread Chris Withers
Christoph Berendes wrote: Why so many, in separate files, you ask... 1. why not? (what's the cost/risk of multiple Data.fs files and mount points), hmmm? Because it's not a common use case, so you end up pushing limits and bumping into bugs that no-one else cares about ;-) 2. makes it easy