[Zope-Checkins] SVN: Zope/trunk/releases/Zope2. Name the root collection simply Zope so that the name of the tarball will

2005-11-16 Thread Philipp von Weitershausen
Log message for revision 40158: Name the root collection simply Zope so that the name of the tarball will be decent. This doesn't conflict with the collection representing the 'zope' package because the *root* collection and a dependency of it never have to coexist as sibling directories

[Zope-Checkins] SVN: Zope/branches/Zope-2_9-branch/releases/Zope2. Merge r40158 from the trunk:

2005-11-16 Thread Philipp von Weitershausen
Log message for revision 40159: Merge r40158 from the trunk: Name the root collection simply Zope so that the name of the tarball will be decent. This doesn't conflict with the collection representing the 'zope' package because the *root* collection and a dependency of it never

Re: [Zope-Checkins] SVN: Zope/trunk/releases/Zope2. Name the root collection simply Zope so that the name of the tarball will

2005-11-16 Thread Fred Drake
On 11/16/05, Philipp von Weitershausen [EMAIL PROTECTED] wrote: coexist as sibling directories somewhere; so no danger of problems due to case ignorant file systems. The technical term for this is case-senseless. -Fred -- Fred L. Drake, Jr.fdrake at gmail.com Society attacks early,

[Zope-Coders] Zope tests: 8 OK

2005-11-16 Thread Zope tests summarizer
Summary of messages to the zope-tests list. Period Tue Nov 15 12:01:02 2005 UTC to Wed Nov 16 12:01:02 2005 UTC. There were 8 messages: 8 from Zope Unit Tests. Tests passed OK --- Subject: OK : Zope-2_6-branch Python-2.1.3 : Linux From: Zope Unit Tests Date: Tue Nov 15 22:17:31 EST

Re: [Zope3-dev] Re: [Zope-dev] Re: branched Zope 2.9

2005-11-16 Thread Andreas Jung
--On 14. November 2005 14:25:17 -0500 Jim Fulton [EMAIL PROTECTED] wrote: On Tue, 2005-11-15 at 00:20 +0800, Philipp von Weitershausen wrote: Florent Guillaume wrote: BTW I'm for removing the 2.9 branch for now. You didn't, so I presume 2.9 branch stays? It's important to clear the status

Re: [Zope3-dev] Re: [Zope-dev] Re: branched Zope 2.9

2005-11-16 Thread Jim Fulton
On Wed, 2005-11-16 at 19:47 +0100, Andreas Jung wrote: --On 14. November 2005 14:25:17 -0500 Jim Fulton [EMAIL PROTECTED] wrote: On Tue, 2005-11-15 at 00:20 +0800, Philipp von Weitershausen wrote: Florent Guillaume wrote: BTW I'm for removing the 2.9 branch for now. You didn't, so

Re: [Zope3-dev] Re: [Zope-dev] Re: branched Zope 2.9

2005-11-16 Thread Andreas Jung
--On 16. November 2005 14:03:05 -0500 Jim Fulton [EMAIL PROTECTED] wrote: Does this mean that the existing 2.9 branch needs to be removed and that the trunk remains frozen? Didn't Florent delete the branch? Obviously he did not as I assumed. So in this case Philipp needs to commit his

Re: [Zope-dev] Re: branched Zope 2.9

2005-11-16 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andreas Jung wrote: --On 16. November 2005 14:03:05 -0500 Jim Fulton [EMAIL PROTECTED] wrote: Does this mean that the existing 2.9 branch needs to be removed and that the trunk remains frozen? Didn't Florent delete the branch? Obviously

Re: [Zope3-dev] Re: [Zope-dev] Re: branched Zope 2.9

2005-11-16 Thread Philipp von Weitershausen
Andreas Jung wrote: --On 16. November 2005 14:03:05 -0500 Jim Fulton [EMAIL PROTECTED] wrote: Does this mean that the existing 2.9 branch needs to be removed and that the trunk remains frozen? Didn't Florent delete the branch? Obviously he did not as I assumed. So in this case Philipp

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

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 'div tal:content=here/absolute_urlThe url/div' and be able to evaluate the TALES expression in the string to produced something like: 'divhttp://mydomain.com/theUrl/div' Any chance there's a recipe for

[Zope] (no subject)

2005-11-16 Thread AZAIS Bruce
Title: Message Hi, excuse-me for my English but i'm french ;-) i've installzope 2.8.4and Plone 2.1.1.i've do a copy of my data.fsand 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 error

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] 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] 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] 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

[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)

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 À :

[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

[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

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

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

[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

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

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

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] 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.g.: $

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::

[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

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): return

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,

[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:

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 SESSION

[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] 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 on

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

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

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

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

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

[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

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 for

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

[Zope-DB] DCOracle2 for Python2.4

2005-11-16 Thread Matthew Cahn
I have an application which uses DCOracle2. I wonder if anyone has built dco2.pyd for Python 2.4. The 2.3 version built by Mikey at Zope has been working great. Matthew ___ Zope-DB mailing list Zope-DB@zope.org