[Zope-Annce] Zwiki 0.45 released

2005-09-02 Thread Simon Michael




Zwiki is a free wiki engine for Zope, for creating both standard Zope
and CMF/Plone wikis. You can find out all about it at http://zwiki.org . 

This month we have some http://joyfulsystems.blogspot.com/2005/09/bug-squashing.html
and the return of CMF metadata. Thanks to alecm, jbb, Tim Olsen and
Mark Ferrell in particular.

 Summary
 Robustness fixes, Plone 2.1 compatibility fixes, simplifications,
CMF metadata support.
 Upgrade notes
 You might want to delete the "outline" object using the ZMI,
allowing Zwiki to create a more ZMI-compliant one. Note this will lose
any manual re-ordering of subtopics you may have done.
 The default colour for "serious" issues is lighter. This will take
effect for each issue page as it is edited. To make all pages show the
correct colour right away, visit SomePage/upgradeAll in your browser.
 Changes
 Installing

  make the outline cache replaceable to avoid errors during
migration of plone 2.1rc3 sites (#1143, SM, alecm)
  make catalog lookup more robust when there is another object
named Catalog (#1132, SM, Tim Olsen)
  catch errors when importing page types and plugins at startup
(#809, #1148)
  make fit import error at startup less verbose (#1054)

 Configuring

  make the outline cache object fully ZMI-manageable (#1144)
  drop support for alternate catalog names via SITE_CATALOG property
  drop support for overriding the contents view with a SiteMap page
  don't update page creation times when moving/renaming/importing
in the ZMI

 Browsing
 Editing

  fix page creation/editing breakage in plone 2.1 due to explicit
acquisition (#1137, SM, alecm)
  enable CMF/Plone document metadata support (jbb)

 Page hierarchy
 Mail
 Issue tracking

  make the serious issue default colour lighter
  allow issues without numbers (with at least a "status" property)

 General - i18n

  remove unnecessary -en po files
  add missing headers for german po
  drop unnecessary -PT for pt po files
  fix space-separated i18n attributes to avoid deprecation warnings
on startup

 General - skins

  make hasSkinTemplate check filesystem templates, such as the
alternate subtopics template (#1113, Mark Ferrell, SM)
  drop the special style for ratings, for now

 General

  allow create to work without a request, for debugging
  merge moin_support.py with moin.py for easier handling
  don't bother noting pre-renders in the transaction log (#948)
  drop unused getSkinTemplateWithDefault method


Best,
-Simon


___
Zope-Announce maillist  -  Zope-Announce@zope.org
http://mail.zope.org/mailman/listinfo/zope-announce

  Zope-Announce for Announcements only - no discussions

(Related lists - 
 Users: http://mail.zope.org/mailman/listinfo/zope
 Developers: http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope-Annce] Issue Dealer 0.9.81 released

2005-09-02 Thread Morten W. Petersen
Issue Dealer (http://issuedealer.com) is a issue management tool
featuring a weblog publisher (client), weblog (server), WebDAV client,
WYSIWYG editing of HTML and Images and more.

Changes since the last announcement:

0.9.81:

  - Implemented asynchronous pings on the weblog

0.9.80:

  - Implemented XML import/export feature for issues and relations

0.9.79:

  - Relicensed the Issue Dealer to GPL license

If you're interested in trying a demo, sign up at the demo site
(http://demos.issue-dealer.net). To see the Issue Dealer Weblog Server
in action, have a look at The Blogologue (http://www.blogologue.com).
  :)

Nidelven IT (http://www.nidelven-it.no) and others use the product to
manage their knowledge and action items, it's a great tool to keep track
issues in different departments for example. Try it!
___
Zope-Announce maillist  -  Zope-Announce@zope.org
http://mail.zope.org/mailman/listinfo/zope-announce

  Zope-Announce for Announcements only - no discussions

(Related lists - 
 Users: http://mail.zope.org/mailman/listinfo/zope
 Developers: http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope-Checkins] SVN: Zope/trunk/lib/python/Shared/DC/ZRDB/ Collector #556: sqlvar now returns 'null' rather than 'None'.

2005-09-02 Thread Tres Seaver
Log message for revision 38276:
  Collector #556:  sqlvar now returns 'null' rather than 'None'.
  

Changed:
  U   Zope/trunk/lib/python/Shared/DC/ZRDB/sqlvar.py
  A   Zope/trunk/lib/python/Shared/DC/ZRDB/tests/test_sqlvar.py

-=-
Modified: Zope/trunk/lib/python/Shared/DC/ZRDB/sqlvar.py
===
--- Zope/trunk/lib/python/Shared/DC/ZRDB/sqlvar.py  2005-09-02 23:15:46 UTC 
(rev 38275)
+++ Zope/trunk/lib/python/Shared/DC/ZRDB/sqlvar.py  2005-09-02 23:20:49 UTC 
(rev 38276)
@@ -98,6 +98,9 @@
 raise
 raise ValueError, 'Missing input variable, em%s/em' % name
 
+if v is None:
+return 'null'
+
 if t=='int':
 try:
 if type(v) is StringType:

Added: Zope/trunk/lib/python/Shared/DC/ZRDB/tests/test_sqlvar.py
===
--- Zope/trunk/lib/python/Shared/DC/ZRDB/tests/test_sqlvar.py   2005-09-02 
23:15:46 UTC (rev 38275)
+++ Zope/trunk/lib/python/Shared/DC/ZRDB/tests/test_sqlvar.py   2005-09-02 
23:20:49 UTC (rev 38276)
@@ -0,0 +1,136 @@
+##
+#
+# Copyright (c) 2005 Zope Corporation and Contributors. All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.0 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED AS IS AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE
+#
+##
+import unittest
+
+from UserDict import UserDict
+
+def _sql_quote(v):
+return '%s' % v
+
+class FauxMultiDict(UserDict):
+
+def getitem(self, key, call):
+if key == 'sql_quote__':
+return _sql_quote
+
+v = self[key]
+if v is not None:
+if call and callable(v):
+v = v()
+return v
+
+class SQLVarTests(unittest.TestCase):
+
+def _getTargetClass(self):
+from Shared.DC.ZRDB.sqlvar import SQLVar
+return SQLVar
+
+def _makeOne(self, *args, **kw):
+return self._getTargetClass()(*args, **kw)
+
+def test_constructor_no_type(self):
+from DocumentTemplate.DT_Util import ParseError
+self.assertRaises(ParseError, self._makeOne, 'foo')
+
+def test_constructor_invalid_type(self):
+from DocumentTemplate.DT_Util import ParseError
+self.assertRaises(ParseError, self._makeOne, 'foo type=nonesuch')
+
+def test_constructor_valid_type(self):
+from DocumentTemplate.DT_Util import ParseError
+v = self._makeOne('foo type=string')
+self.assertEqual(v.__name__, 'foo')
+self.assertEqual(v.expr, 'foo')
+self.assertEqual(v.args['type'], 'string')
+
+def test_render_name_returns_value(self):
+v = self._makeOne('foo type=string')
+self.assertEqual(v.render(FauxMultiDict(foo='FOO')), 'FOO')
+
+def test_render_name_missing_required_raises_ValueError(self):
+v = self._makeOne('foo type=string')
+self.assertRaises(ValueError, v.render, FauxMultiDict())
+
+def test_render_name_missing_optional_returns_null(self):
+v = self._makeOne('foo type=string optional')
+self.assertEqual(v.render(FauxMultiDict()), 'null')
+
+def test_render_expr_returns_value(self):
+v = self._makeOne('expr=foo type=string')
+self.assertEqual(v.render(FauxMultiDict(foo='FOO')), 'FOO')
+
+def test_render_expr_missing_required_raises_NameError(self):
+v = self._makeOne('expr=foo type=string')
+self.assertRaises(NameError, v.render, FauxMultiDict())
+
+def test_render_expr_missing_optional_returns_null(self):
+v = self._makeOne('expr=foo type=string optional')
+self.assertEqual(v.render(FauxMultiDict()), 'null')
+
+def test_render_int_returns_int_without_quoting(self):
+v = self._makeOne('expr=foo type=int')
+self.assertEqual(v.render(FauxMultiDict(foo=42)), '42')
+
+def test_render_int_with_long_returns_value_without_L(self):
+v = self._makeOne('expr=foo type=int')
+self.assertEqual(v.render(FauxMultiDict(foo='42L')), '42')
+
+def test_render_int_required_invalid_raises_ValueError(self):
+v = self._makeOne('expr=foo type=int')
+self.assertRaises(ValueError, v.render, FauxMultiDict(foo=''))
+
+def test_render_int_optional_invalid_returns_null(self):
+v = self._makeOne('expr=foo type=int optional')
+self.assertEqual(v.render(FauxMultiDict(foo='')), 'null')
+
+def test_render_float_returns_float_without_quoting(self):
+v = self._makeOne('expr=foo type=float')
+

[Zope-Coders] Zope tests: 8 OK

2005-09-02 Thread Zope tests summarizer
Summary of messages to the zope-tests list.
Period Thu Sep  1 11:01:01 2005 UTC to Fri Sep  2 11:01:01 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: Thu Sep  1 22:22:31 EDT 2005
URL: http://mail.zope.org/pipermail/zope-tests/2005-September/002983.html

Subject: OK : Zope-2_6-branch Python-2.3.5 : Linux
From: Zope Unit Tests
Date: Thu Sep  1 22:24:01 EDT 2005
URL: http://mail.zope.org/pipermail/zope-tests/2005-September/002984.html

Subject: OK : Zope-2_7-branch Python-2.3.5 : Linux
From: Zope Unit Tests
Date: Thu Sep  1 22:25:31 EDT 2005
URL: http://mail.zope.org/pipermail/zope-tests/2005-September/002985.html

Subject: OK : Zope-2_7-branch Python-2.4.1 : Linux
From: Zope Unit Tests
Date: Thu Sep  1 22:27:01 EDT 2005
URL: http://mail.zope.org/pipermail/zope-tests/2005-September/002986.html

Subject: OK : Zope-2_8-branch Python-2.3.5 : Linux
From: Zope Unit Tests
Date: Thu Sep  1 22:28:31 EDT 2005
URL: http://mail.zope.org/pipermail/zope-tests/2005-September/002987.html

Subject: OK : Zope-2_8-branch Python-2.4.1 : Linux
From: Zope Unit Tests
Date: Thu Sep  1 22:30:01 EDT 2005
URL: http://mail.zope.org/pipermail/zope-tests/2005-September/002988.html

Subject: OK : Zope-trunk Python-2.3.5 : Linux
From: Zope Unit Tests
Date: Thu Sep  1 22:31:31 EDT 2005
URL: http://mail.zope.org/pipermail/zope-tests/2005-September/002989.html

Subject: OK : Zope-trunk Python-2.4.1 : Linux
From: Zope Unit Tests
Date: Thu Sep  1 22:33:01 EDT 2005
URL: http://mail.zope.org/pipermail/zope-tests/2005-September/002990.html

___
Zope-Coders mailing list
Zope-Coders@zope.org
http://mail.zope.org/mailman/listinfo/zope-coders


[Zope-dev] ZSQL bounty

2005-09-02 Thread Andrew Veitch

We've posted a bounty on the ZSQL patch I mentioned recently:

http://www.logicalware.org/bounties.html

I think we may do some more around Zope's SQL support.

A

--
Logicalware Ltd
Stuart House, Eskmills, Musselburgh, EH21 7PQ, UK
Tel: +44(0)131 273 5130 http://www.logicalware.com


___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope] Zope startup error: Archetypes: IndexError: list index out of range

2005-09-02 Thread Jens Vagelpohl


On 2 Sep 2005, at 02:38, Paul Sue wrote:
Why is it so hard to get Zope going under Solaris (is that why  
there were separate downloads

for Solaris until 2.7 ??)


Since this is an Archetypes question you might be better off asking  
on a Plone and/or Archetypes list.


Running Zope on Solaris has one major problem. It will be very slow.  
There is nothing you can do about that, except for using a different  
platform.


The separate download for Solaris was just a compiled binary, nothing  
special.


jens


___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Defining and creating a temporary storage for each user

2005-09-02 Thread Marco Bizzarri
On 9/2/05, Peter Bengtsson [EMAIL PROTECTED] wrote:
On 9/1/05, Marco Bizzarri [EMAIL PROTECTED] wrote: Hi Peter.No, it should work good for me also... there still is a point on how to
 create them for a custom product (I've a product and I would like to create the folder inside the product).Are you going to go for multiple temp folders or not?No, I don't know how to create them programmatically. Surely you can
figure it out from the source code.
Actually, it doesn't make that much difference to me. While using Zope
2.6.x we tried this, using a
TemporaryFolder.constructTemporaryFolder, but we had mixed results... I
will try it again.
Also, I would like to test that against ZopeTestCase environment.
Do you have some working code?None. Sorry.
Thanks for your input, in any case :)

Regards
Marco
-- Icube Srlhttp://www.icube.it/
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Defining and creating a temporary storage for each user

2005-09-02 Thread Chris Withers

Marco Bizzarri wrote:


Users should have their own storage, so that they can create/modify objects 
inside that, without influencing the general, shared database.


The ZODB mounting machinery isn't designed for this case and it would 
take a lot of work on your part to make it do what you need, although it 
should certainly be possible.


What about not influencing the general, shared database (can you tell us 
more about what that is?) means that you think you need seperate storages?


cheers,

Chris

PS: You shouldn't be using DBTab in this day and age, upgrade your Zope 
version and use zope.conf...


--
Simplistix - Content Management, Zope  Python Consulting
   - http://www.simplistix.co.uk

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Sending Fax through MailHost

2005-09-02 Thread Chris Withers

Chris Larsen wrote:

Lennart- the fax piece is something on my exchange server so as long as
the headers are correct it will interpret and route to the physical fax
server accordingly.  The problem is that I can't seem to discover
through googling what these headers look like.  Oh well, something for
the castelle faxpress people (after $250/hr for support ugg).  The smtp
sendable gateway is probably some plugin they have available and I'll
check it out.


I'd just get a packet sniffer such as ethereal up and running and see 
exactly what outlook sends to the exchange server, of course that may or 
may not be useful ;-)


Chris

--
Simplistix - Content Management, Zope  Python Consulting
   - http://www.simplistix.co.uk

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Zope startup error: Archetypes: IndexError: list index out of range

2005-09-02 Thread Chris Withers

Paul Sue wrote:

Hi,

OK, I rebuilt Zope because I think last time, I didn't have a clean directory.


Simple advise: don't use Solaris unless you really really have to. 
Especially not for an app server, but even running a storage server will 
cause you unnecessary pain...


Chris

--
Simplistix - Content Management, Zope  Python Consulting
   - http://www.simplistix.co.uk

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Zope scalabilty and problems

2005-09-02 Thread Chris Withers

Andrew Sawyers wrote:

Did Matt indicate if he was running multiple zeo app servers?  It might help
to be spreading the load.  1, writes a day is not outrageous


Yes, but he's using Plone, which implies not only all of the CMF 
reindexing overhead, but also all the AT and Plone layers on top. That 
could get even worse if he's gone to town with a workflow tool or is 
using any of the truly appalling Plone addons, such as CMFMember, 
CMFForum, etc...


cheers,

Chris

--
Simplistix - Content Management, Zope  Python Consulting
   - http://www.simplistix.co.uk

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Re: (1 conflicts since startup at 2005-08-04T14:45:39)

2005-09-02 Thread Chris Withers
It's when Zope's optimistic concurrency model encounters a conflict but 
where it managed to resolve it by retrying the request.


So, this is only a problem if you see LOTS of them, as it'll mean you're 
taking a big performance hit and you should think about what's causing 
the conflicts...


A google for Conflict Error Zope will give you LOTS of information ;-)

cheers,

Chris

Tom Hallam wrote:

I get it to.  Any ideas what it is?

Tom

Garito wrote:


Hi all!
We have:

Zope Version
(Zope 2.7.4-0, python 2.3.4, linux2)
Python Version
2.3.4 (#1, May 19 2005, 17:40:30) [GCC 3.3.5-20050130 (Gentoo 
3.3.5.20050130-r1, ssp-3.3.5.20050130-1, pie-8.7.7.

System Platform
linux2


and
Archetypes 1.3.2-final
CMF 1.4.7
Epoz 0.9.0

Our problem is we create some archetypes and in some parts of our 
structure if we try to create some object the computer cpu grows to 
100% and raises


2005-08-04T15:01:02 INFO(0) ZODB conflict error at 
/VirtualHostBase/the url to the object/createObject (1 conflicts 
since startup at 2005-08-04T14:45:39)


Has someone any idea to solve these issue?

On development time nothing of these occurs and when we go to 
production time these problem begins (for that these question is, for 
us, urgent)


Thank you very much



___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )



--
Simplistix - Content Management, Zope  Python Consulting
   - http://www.simplistix.co.uk

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Re: Zope scalabilty and problems

2005-09-02 Thread N.Davis

Chris Withers wrote:

Andrew Sawyers wrote:

Did Matt indicate if he was running multiple zeo app servers?  It 
might help

to be spreading the load.  1, writes a day is not outrageous



Yes, but he's using Plone, which implies not only all of the CMF 
reindexing overhead, but also all the AT and Plone layers on top. That 
could get even worse if he's gone to town with a workflow tool or is 
using any of the truly appalling Plone addons, such as CMFMember, 
CMFForum, etc...


cheers,

Chris



This sounds like the classic abstraction vs performance debate. In the 
late 80s some people criticised C++ and OOP versus C for the same reasons.


Might it not be better, rather than telling people not to use Plone + 
add-ons for this reason, to just push for across the board performance 
improvements, which means removing bottlenecks in Plone, Archetypes, 
specific Products, as well as the underlying Zope/CMF ? Also some of the 
products you are talking about may be somewhat immature and you know 
what they say, don't do premature optimisation, do logic first, 
performance tune later.


What you describe as appalling might perhaps be able to be performance 
tuned?


BTW CPSSkins is another performance hit. Would you care to list the 
worst culprits? ;-)


Regards
Nick


___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Adding a zope product

2005-09-02 Thread Paul Hendrick
Hi all,
i've just started with zope, and i'm trying to write a filesystem
product, so i can have a project in svn and work on it in the
filesystem.
I've followed the guide at zope.org for creating a minimal product, but
can't get this to show up in the list of products.

Can anyone see whats wrong?
Thanks for reading,
Paul

__init.py__
---
import minimal
def initialize(context):
init the product

contect.registerClass(minimal.minimal,constructor=(minimal.manage_addMinimal,))


minimal.py
--
from OFS import SimpleItem
class minimal(SimpleItem.SimpleItem):
minimal object
meta_type = 'minimal'
def __init__(self,id):
initialise new instance
self.id = id
def index_html(self):
used to view content of the object
return 'htmlbody Hello /body/html'
def manage_addMinimal(self, RESPONSE):
add minimal obj to folder
self._setObject('minimal_id', minimal('minimal_id'))
RESPONSE.redirect('index_html')



___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Defining and creating a temporary storage for each user

2005-09-02 Thread Marco Bizzarri
On 9/2/05, Chris Withers [EMAIL PROTECTED] wrote:
Marco Bizzarri wrote: Users should have their own storage, so that they can create/modify objects inside that, without influencing the general, shared database.The ZODB mounting machinery isn't designed for this case and it would
take a lot of work on your part to make it do what you need, although itshould certainly be possible.
Ok, I will not purse this for this moment.
What about not influencing the general, shared database (can you tell usmore about what that is?) means that you think you need seperate storages?

I will try to better explain myself on what we are actually doing. 

The context is PAFlow, which is a pure (no CMF/Plone) vertical application for (italian) public administration.

Inside this application, we are using an in house developed framework
where more or less each page shown to the user is connected to an
object (which we call controller) on the ZODB.

When one user requests a page, PAFlow creates a controller for it
(actually, creates also the page, but this is not important now),
storing there all the data meaningful for that page, so that later the
page can be built simply by invoking methods from the controller (I
hope this is clear, otherwise I will post some code example).

Of course, the creation/destruction of all these objects is a major performance problem, because they happen all on the ZODB.

Since these are temporary data, we would like to create them in a
temporay storage, either one for each user or one for all of them.

We could create them in the /temp_folder, but this could provide some
non trivial security issue (?), also because you can have more than one
PAFlow Site installed in a ZODB.

What are the data stored on the ZODB, apart from the controllers?
Workflow data for ongoing processes. All the domain data are stored on
a RDBMS.

I hope I explained myself.

Thanx for your inputs :) 
cheers,ChrisPS: You shouldn't be using DBTab in this day and age, upgrade your Zope
version and use zope.conf...
I did not explain myself: I'm not using dbtab, actually. I was
exploring the way in which I could achieve what I would like to do and,
exploring the code, I stumbled upon dbtab. We're working on 2.7.x, with
zope.conf
--Simplistix - Content Management, Zope  Python Consulting- 
http://www.simplistix.co.uk-- Icube Srlhttp://www.icube.it/
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Re: Adding a zope product

2005-09-02 Thread Max M

Paul Hendrick wrote:

Hi all,
i've just started with zope, and i'm trying to write a filesystem
product, so i can have a project in svn and work on it in the
filesystem.
I've followed the guide at zope.org for creating a minimal product, but
can't get this to show up in the list of products.



If you are starting from scratch learning Zope, and you don't want to 
use one of the frameworks, it would be far better to start on Zope 3


It's better coded, easier to understand, more futureproof and probably 
better documented.


--

hilsen/regards Max M, Denmark

http://www.mxm.dk/
IT's Mad Science

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Zope startup problem: AttributeError: 'module' object has no attribute 'loadSchema'

2005-09-02 Thread Peter Bengtsson
Interesting. ZConfig is a folder which contains a file __init__.py
that imports the loadSchema function.
This is a perfectly valid way of doing it but personally I never use
it because I think it's more confusing that import the files directly
instead of using the __init__ magic.
Perhaps you should file a bug report for python for the Solaris 8.

On 9/2/05, Paul Sue [EMAIL PROTECTED] wrote:
 Hi,
 
 Found a spare Solaris 8 server, so I thought I'd tried building Zope/Plone on 
 it.
 
 Built python 2.3.4, Zope 2.7.4 OK.  When I start up zope, I get:
 
 Traceback (most recent call last):
   File /space/users/zope/Zope274/lib/python/Zope/Startup/run.py, line 50, 
 in ?
 run()
   File /space/users/zope/Zope274/lib/python/Zope/Startup/run.py, line 18, 
 in run
 opts = _setconfig()
   File /space/users/zope/Zope274/lib/python/Zope/Startup/run.py, line 42, 
 in _setconfig
 opts.realize(doc=Sorry, no option docs yet.)
   File /space/users/zope/Zope274/lib/python/zdaemon/zdoptions.py, line 271, 
 in realize
 self.load_schema()
   File /space/users/zope/Zope274/lib/python/zdaemon/zdoptions.py, line 312, 
 in load_schema
 self.schema = ZConfig.loadSchema(self.schemafile)
 AttributeError: 'module' object has no attribute 'loadSchema'
 
 Any pointers would be greatly appreciated.
 
 Thanks,
 
 Paul
 ___
 Zope maillist  -  Zope@zope.org
 http://mail.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists -
  http://mail.zope.org/mailman/listinfo/zope-announce
  http://mail.zope.org/mailman/listinfo/zope-dev )
 


-- 
Peter Bengtsson, 
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Adding a zope product

2005-09-02 Thread bruno modulix
Paul Hendrick wrote:
 Hi all,
 i've just started with zope, and i'm trying to write a filesystem
 product, so i can have a project in svn and work on it in the
 filesystem.
 I've followed the guide at zope.org for creating a minimal product, but
 can't get this to show up in the list of products.

You have of course restarted your zope instance ?

 Can anyone see whats wrong?

 
 __init.py__

should be __init__.py

 ---
 import minimal
 def initialize(context):
 init the product
 
 contect.registerClass(minimal.minimal,constructor=(minimal.manage_addMinimal,))

This line should be indented. There's a typo also : s/contect/context/

Anyway, unless you have a compelling reason to stick with Zope 2.x, you
should consider starting with Zope 3.

-- 
Bruno Desthuilliers
Développeur
[EMAIL PROTECTED]
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Re: Zope scalabilty and problems

2005-09-02 Thread michael nt milne
Hi
I am setting up sites using Plone and am concerned to read some of the
comments on it. Is it really that bad performance wise? I'm using
CMFMember also-why is it 'apalling'?

On 9/2/05, N.Davis [EMAIL PROTECTED] wrote:
 Chris Withers wrote:
  Andrew Sawyers wrote:
  
  Did Matt indicate if he was running multiple zeo app servers?  It 
  might help
  to be spreading the load.  1, writes a day is not outrageous
  
  
  Yes, but he's using Plone, which implies not only all of the CMF 
  reindexing overhead, but also all the AT and Plone layers on top. That 
  could get even worse if he's gone to town with a workflow tool or is 
  using any of the truly appalling Plone addons, such as CMFMember, 
  CMFForum, etc...
  
  cheers,
  
  Chris
  
 
 This sounds like the classic abstraction vs performance debate. In the 
 late 80s some people criticised C++ and OOP versus C for the same reasons.
 
 Might it not be better, rather than telling people not to use Plone + 
 add-ons for this reason, to just push for across the board performance 
 improvements, which means removing bottlenecks in Plone, Archetypes, 
 specific Products, as well as the underlying Zope/CMF ? Also some of the 
 products you are talking about may be somewhat immature and you know 
 what they say, don't do premature optimisation, do logic first, 
 performance tune later.
 
 What you describe as appalling might perhaps be able to be performance 
 tuned?
 
 BTW CPSSkins is another performance hit. Would you care to list the 
 worst culprits? ;-)
 
 Regards
 Nick
 
 
 ___
 Zope maillist  -  Zope@zope.org
 http://mail.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists - 
  http://mail.zope.org/mailman/listinfo/zope-announce
  http://mail.zope.org/mailman/listinfo/zope-dev )

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Python editor in zope?

2005-09-02 Thread Sean Dunn








Im new to Zope, and am getting tired of using
textareas to edit my Python/[HD]TML code. My space-bar thumb is starting
to get an unnatural twitch, from hitting it multiple times at the beginning of every
line of code. J 



Ive installed TinyMCE and Epoz, and theyre
both great for documents.. But theyre both useless for writing code.
Instead of writing my own skin for TinyMCE (and reinventing the wheel), are
there any pure _javascript_/CSS code editors that can do search/replace, block
indents, and (this would be amazing) Python syntax highlighting?



Thanks,

Sean








___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Python editor in zope?

2005-09-02 Thread Paul Winkler
 ... there any pure
 JavaScript/CSS code editors that can do search/replace, block indents,
 and (this would be amazing) Python syntax highlighting?

I don't know about that, but have you tried using ExternalEditor?

-PW


___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Re: Adding a zope product

2005-09-02 Thread Max M

Peter Bengtsson wrote:

you registered the manage_addminimal function for creating the actual
object, but what about the ZMI form that lets call manage_addminimal?



It is not necessary in this case, as the function sets the id and adds 
the instance.



--

hilsen/regards Max M, Denmark

http://www.mxm.dk/
IT's Mad Science

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


RE: [Zope] Python editor in zope?

2005-09-02 Thread Sean Dunn
I've tried the ExternalEditor feature, and after a couple sessions I get
an error that says it can no longer find the process. This is from
Firefox. But even if that did work for me, I'd never use it since I'm
often working on different platforms in different locations, so it's not
guaranteed that I'll have a good external editor at any given point. 

And to reply to Ricardo's post that just came in, I like through-the-web
development.. It's really convenient. Having a web-based sandbox to work
in is actually one of the reasons I'm using Zope instead of some LAMPish
system. Sorry if I seemed like I was complaining about Zope -- I think
it's great. 

Thanks for your replies,
Sean

-Original Message-
From: Paul Winkler [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 02, 2005 9:36 AM
To: Sean Dunn
Cc: zope@zope.org
Subject: Re: [Zope] Python editor in zope?

 ... there any pure
 JavaScript/CSS code editors that can do search/replace, block indents,
 and (this would be amazing) Python syntax highlighting?

I don't know about that, but have you tried using ExternalEditor?

-PW



___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Zope scalabilty and problems

2005-09-02 Thread Sebastien Douche
On 9/1/05, Kennamore, Matthew G [NTK] [EMAIL PROTECTED] wrote:
 Zope version 2.7.3 (planning to goto 2.7.7 soon with ZODB 3.2.9)
 Pyhton is 2.3.4
 Apache 1.3
 
 We have 943 users as of this minute with a bout 1000 objects being created a 
 day (Lots of creates)

Interesting. Somebody have a couple of values for heavy load sites
(Zope only and with Plone) ?
- hit per hour  day
- visitor per hour  day
- Gb of the ZODB

Regards.

-- 
Sébastien Douche [EMAIL PROTECTED]
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Zope will not start after failed 2.8.1 upgrade

2005-09-02 Thread hpinson
Upgraded to Zope 2.8.1 on Fedora Core 2, compiled with Python 2.3.5 
(sitting alongside in the paralell to the system python).  Zope 
started, but with errors.  

Reverted back to my former stable Zope 2.7.7 and Python 2.3.3, but 
Zope will not start at all now.

Running the debugger reveals this. Any suggestions as to how to 
recover. I am at a total loss.

export EVENT_LOG_FILE
EVENT_LOG_FILE=
/var/zope-instance/bin/runzope
Traceback (most recent call last):
  File /var/zope277/lib/python/Zope/Startup/run.py, line 50, in ?
run()
  File /var/zope277/lib/python/Zope/Startup/run.py, line 19, in run
start_zope(opts.configroot)
  File /var/zope277/lib/python/Zope/Startup/__init__.py, line 52, 
in start_zope
starter.startZope()
  File /var/zope277/lib/python/Zope/Startup/__init__.py, line 231, 
in startZope
Zope.startup()
  File /var/zope277/lib/python/Zope/__init__.py, line 47, in 
startup
_startup()
  File /var/zope277/lib/python/Zope/App/startup.py, line 96, in 
startup
OFS.Application.initialize(application)
  File /var/zope277/lib/python/OFS/Application.py, line 278, in 
initialize
initializer.initialize()
  File /var/zope277/lib/python/OFS/Application.py, line 303, in 
initialize
self.install_inituser()
  File /var/zope277/lib/python/OFS/Application.py, line 484, in 
install_inituser
app.acl_users._createInitialUser()
  File /var/zope277/lib/python/AccessControl/User.py, line 1075, in 
_createInitialUser
if len(self.data) = 1:
  File /usr/lib/python2.3/UserDict.py, line 18, in __len__
def __len__(self): return len(self.data)
  File /var/zope277/lib/python/ZODB/Connection.py, line 600, in 
setstate
self._set_ghost_state(obj, p)
  File /var/zope277/lib/python/ZODB/Connection.py, line 638, in 
_set_ghost_state
unpickler.load()
ImportError: No module named mapping



-- 
Harlow Pinson
Indepth Learning
Email: [EMAIL PROTECTED]
Phone: 505 994-2135
Fax: 505 994-3603

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


RE: [Zope] Zope startup error: Archetypes: IndexError: list index out of range

2005-09-02 Thread Paul Sue
OK ... But surely, there must be some way to get Zope/Plone working on Solaris!

I think we have Windows Server 2003 box I can try :) 

-Original Message-
From: Chris Withers [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 02, 2005 12:17 AM
To: Paul Sue
Cc: zope@zope.org
Subject: Re: [Zope] Zope startup error: Archetypes: IndexError: list index out 
of range

Paul Sue wrote:
 Hi,
 
 OK, I rebuilt Zope because I think last time, I didn't have a clean directory.

Simple advise: don't use Solaris unless you really really have to. 
Especially not for an app server, but even running a storage server will cause 
you unnecessary pain...

Chris

--
Simplistix - Content Management, Zope  Python Consulting
- http://www.simplistix.co.uk

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Python editor in zope?

2005-09-02 Thread Peter Bengtsson
How about the best of two worlds? Filesystem based product (emacs, vi,
wing) sometimes and through-the-web editing with a textarea sometimes:
CheckoutableTemplates
http://www.issuetrackerproduct.com/Documentation#checkoutabletemplates

On 9/2/05, Sean Dunn [EMAIL PROTECTED] wrote:
 I've tried the ExternalEditor feature, and after a couple sessions I get
 an error that says it can no longer find the process. This is from
 Firefox. But even if that did work for me, I'd never use it since I'm
 often working on different platforms in different locations, so it's not
 guaranteed that I'll have a good external editor at any given point.
 
 And to reply to Ricardo's post that just came in, I like through-the-web
 development.. It's really convenient. Having a web-based sandbox to work
 in is actually one of the reasons I'm using Zope instead of some LAMPish
 system. Sorry if I seemed like I was complaining about Zope -- I think
 it's great.
 
 Thanks for your replies,
 Sean
 
 -Original Message-
 From: Paul Winkler [mailto:[EMAIL PROTECTED]
 Sent: Friday, September 02, 2005 9:36 AM
 To: Sean Dunn
 Cc: zope@zope.org
 Subject: Re: [Zope] Python editor in zope?
 
  ... there any pure
  JavaScript/CSS code editors that can do search/replace, block indents,
  and (this would be amazing) Python syntax highlighting?
 
 I don't know about that, but have you tried using ExternalEditor?
 
 -PW
 
 
 
 ___
 Zope maillist  -  Zope@zope.org
 http://mail.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists -
  http://mail.zope.org/mailman/listinfo/zope-announce
  http://mail.zope.org/mailman/listinfo/zope-dev )
 


-- 
Peter Bengtsson, 
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Re: Zope will not start after failed 2.8.1 upgrade

2005-09-02 Thread hpinson
Well, fortunatly I had last nights backup of the Data.fs.  Restoring 
that allowed Zope to be reverted to 2.7.7 and restart.

So here is my question.

Normally I have been able to upgrade Zope, and if the upgrade had 
problems, revert to a prior version by simple redirecting the startup 
and python to the earlier version. Zope 2.8.1 was different. The 
upgrade, at least on the surface, appeared to alter something in the 
Data.fs, which prevented reversion to 2.7.7.

I would be very interested in any insights into why this is.  Was I 
experience a Zope issue or a Python 2.3.5 issue?  The logs have not 
provided me an insight expect that the Mapping module was missing 
after the revert, which I don't think was an accurate assessment of 
the problem.


-- 
Harlow Pinson
Indepth Learning
Email: [EMAIL PROTECTED]
Phone: 505 994-2135
Fax: 505 994-3603

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Re: Zope will not start after failed 2.8.1 upgrade

2005-09-02 Thread Tim Peters
[EMAIL PROTECTED]
 Well, fortunatly I had last nights backup of the Data.fs.  Restoring
 that allowed Zope to be reverted to 2.7.7 and restart.

 So here is my question.

 Normally I have been able to upgrade Zope, and if the upgrade had
 problems, revert to a prior version by simple redirecting the startup
 and python to the earlier version. Zope 2.8.1 was different. The
 upgrade, at least on the surface, appeared to alter something in the
 Data.fs, which prevented reversion to 2.7.7.

 I would be very interested in any insights into why this is.  Was I
 experience a Zope issue or a Python 2.3.5 issue?  The logs have not
 provided me an insight expect that the Mapping module was missing
 after the revert, which I don't think was an accurate assessment of
 the problem.

I doubt anyone can guess with certainty unless they're able to do
exactly what you did.

My uncertain guess is that a ZODB change is most likely.  ZODB 3.4
(which Zope 2.8 uses) is radically different from ZODB 3.2 (which Zope
2.7 uses) in several ways.

A relatively minor way that may be relevant here is that the
PersistentMapping type moved, from
ZODB.PersistentMapping.PersistentMapping (3.2) to
persistent.mapping.PersistentMapping (3.4).  The database root object
is of this type.  3.4 can load an old (3.2) Data.fs because it slams
3.2's 'ZODB.PersistentMapping' into sys.modules as an alias for 3.4's
persistent.mapping, but if the root object is written out again, it
will reference the correct-for.3.4 class path
(persistent.mapping.PersistentMapping), and no pre-3.4 version of ZODB
will be able to load that again (unless you slam your own aliases into
sys.modules, going in the other direction).

If so (and I don't _know_ -- I'm guessing here), you're suffering a
consequence of that some classes moved.  Because some classes did
move, it's intended that you be able to move from 2.7 to 2.8, but it's
not intended that you can move back again.

In any case, it's always very dangerous to change things without
ensuring you have a Data.fs backup first.  I'm glad to hear you never
got burned before, but you should view that as luck more than as an
entitlement 0.5 wink.
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Defining and creating a temporary storage for each user

2005-09-02 Thread Marco Bizzarri
On 9/2/05, Peter Bengtsson [EMAIL PROTECTED] wrote:
The context is PAFlow, which is a pure (no CMF/Plone) vertical application for (italian) public administration.Inside this application, we are using an in house developed framework where
 more or less each page shown to the user is connected to an object (which we call controller) on the ZODB.When one user requests a page, PAFlow creates a controller for it (actually, creates also the page, but this is not important now), storing
 there all the data meaningful for that page, so that later the page can be built simply by invoking methods from the controller (I hope this is clear, otherwise I will post some code example).
All of this sounds quite cool but smells complicated.
Indeed it is ;) 

I don't see a need for multiple temp_folders. Just stick folders (foreach instance) and folders inside them (for each user).

Yes, if I only could add a new temp_folder inside my object without configuring it inside zope.conf..
Good luck

Thanx :)
--Peter Bengtsson,work www.fry-it.com
home www.peterbe.comhobby www.issuetrackerproduct.com-- Icube Srl
http://www.icube.it/
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Python editor in zope?

2005-09-02 Thread Dieter Maurer
Sean Dunn wrote at 2005-9-2 09:27 -0500:
I'm new to Zope, and am getting tired of using textarea's to edit my
Python/[HD]TML code. My space-bar thumb is starting to get an unnatural
twitch, from hitting it multiple times at the beginning of every line of
code. :-) 

Your options are almost uncountable :-)

  *  ExternalEditor

  *  use an editor of your choice which is able to edit
 via either FTP or WebDAV (e.g. [X]Emacs, vi, HomeSite,
 DreamWeaver, ColdFusion Studio, ...)

  *  mount your Zope via FTP/WebDAV into your local system
 and use the editor of your choice

  *  let Zope use file system objects (e.g. via Filesystem Directory View)


-- 
Dieter
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Zope startup error: Archetypes: IndexError: list index out of range

2005-09-02 Thread Dieter Maurer
Paul Sue wrote at 2005-9-1 18:38 -0700:
 ...
  File /usr/local/lib/python2.3/inspect.py, line 751, in getframeinfo
lines, lnum = findsource(frame)
  File /usr/local/lib/python2.3/inspect.py, line 435, in findsource
if pat.match(lines[lnum]): break
IndexError: list index out of range

This is a Python bug -- triggered when the filenames registered
in *.pyc files are neither absolute nor consist of a simple name only.

Remove all *.pyc files from you Zope tree and try again:

   find zopedir -name '*.pyc' | xargs rm


Why is it so hard to get Zope going under Solaris

The problems you are reporting have nothing to do with Solaris.

I do not like Solaris, but this time it is innocent.

-- 
Dieter
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Re: Zope scalabilty and problems

2005-09-02 Thread Dieter Maurer
michael nt milne wrote at 2005-9-2 09:13 -0400:
I am setting up sites using Plone and am concerned to read some of the
comments on it. Is it really that bad performance wise?

No, it is not.

It is just that the CMF is unable to fix a year long bug
which affects Windows only when Zope is run in debug mode:

  then each access to a filesystem directory view triggers
  a hierarchical file system scan.

  The result is a slowdown by several orders of magnitude.

The problem disappears when you either:

  *  do not run on Windows

  *  turn off debug mode

  *  fix the silly bug


Of course, a Plone site is not as fast as a static one.
But, I hope, you expect this...


-- 
Dieter
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )