[Zope-dev] Zope Tests: 4 OK, 2 Failed

2008-11-09 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list.
Period Sat Nov  8 12:00:00 2008 UTC to Sun Nov  9 12:00:00 2008 UTC.
There were 6 messages: 6 from Zope Tests.


Test failures
-

Subject: FAILED (failures=2) : Zope-trunk Python-2.4.5 : Linux
From: Zope Tests
Date: Sat Nov  8 20:36:49 EST 2008
URL: http://mail.zope.org/pipermail/zope-tests/2008-November/010452.html

Subject: FAILED (failures=2) : Zope-trunk Python-2.5.2 : Linux
From: Zope Tests
Date: Sat Nov  8 20:38:19 EST 2008
URL: http://mail.zope.org/pipermail/zope-tests/2008-November/010453.html


Tests passed OK
---

Subject: OK : Zope-2.8 Python-2.3.7 : Linux
From: Zope Tests
Date: Sat Nov  8 20:30:48 EST 2008
URL: http://mail.zope.org/pipermail/zope-tests/2008-November/010448.html

Subject: OK : Zope-2.9 Python-2.4.5 : Linux
From: Zope Tests
Date: Sat Nov  8 20:32:18 EST 2008
URL: http://mail.zope.org/pipermail/zope-tests/2008-November/010449.html

Subject: OK : Zope-2.10 Python-2.4.5 : Linux
From: Zope Tests
Date: Sat Nov  8 20:33:48 EST 2008
URL: http://mail.zope.org/pipermail/zope-tests/2008-November/010450.html

Subject: OK : Zope-2.11 Python-2.4.5 : Linux
From: Zope Tests
Date: Sat Nov  8 20:35:19 EST 2008
URL: http://mail.zope.org/pipermail/zope-tests/2008-November/010451.html

___
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-dev] catalog performance: query plan

2008-11-09 Thread Matt Hamilton
Lennart Regebro regebro at gmail.com writes:

 I would be interested in seeing a bunch of Gurus sit down at some
 sprint and trying to come up with a catalog engine that is incremental
 and uses query plans. There is no reason that would not be stupidly
 fast. :) We can then make a new catalog that uses this engine but has
 the same API as the old one, to ship with some future version of Zope,
 say 2.12.

There is the Plone Performance sprint we are hosting in Bristol, UK on the 11th
- 14th Dec.

http://plone.org/events/sprints/bristol-performance-sprint

Whilst it is billed as a Plone sprint, of course much of the speedups can be
done at the Zope level, so Zope-only developers are more than welcome :)

This is exactly the kind of thing that I like hacking on personally, so would
love to see it worked on at the sprint.

-Matt

-- 
Matt Hamilton   [EMAIL PROTECTED]
Netsight Internet Solutions, Ltd.   Understand. Develop. Deliver
http://www.netsight.co.uk +44 (0)117 9090901
Web Design | Zope/Plone Development  Consulting | Co-location | Hosting




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


[Zope-dev] problem with svn commit on svn.zope.org: read-only file-system???

2008-11-09 Thread Gary Poster
$ svn commit -m '[message omitted]'
Sendingsrc/zope/testbrowser/cookies.py
Sendingsrc/zope/testbrowser/cookies.txt
Transmitting file data ..svn: Commit failed (details follow):
svn: Can't create directory '/svn/repos/main/db/transactions/ 
92837-1.txn': Read-only file system

$ svn info
Path: .
URL: svn+ssh://svn.zope.org/repos/main/zope.testbrowser/branches/gary- 
cookie
Repository Root: svn+ssh://svn.zope.org/repos/main
Repository UUID: 62d5b8a3-27da-0310-9561-8e5933582275
Revision: 92753
Node Kind: directory
Schedule: normal
Last Changed Author: gary
Last Changed Rev: 92653
Last Changed Date: 2008-10-28 06:23:44 -0400 (Tue, 28 Oct 2008)


Is this fun unique to me, or something problematic on svn.zope.org?

Thanks,

Gary
___
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-dev] catalog performance: query plan

2008-11-09 Thread Roché Compaan
On Mon, 2008-10-27 at 11:32 -0500, Alan Runyan wrote:
 I agree with Tres.  A lot more can be done with Indexes and Catalog
 without caching.
 
 The most exiciting development in Catalog optimizations comes out
 Jarn.  Helge Tesdal (iirc) did a buncha work  at a RDBMS company when
 he was in college.  He has a protoype of a query plan for ZCatalog.
 
 http://www.jarn.com/blog/catalog-query-plan
 
 I would like to ask Roche and others to look at the Query Plan.

We looked at query plan but it didn't help us in any way. Some catalog
indexes are performing very badly and most of our content is in a
published state which doesn't help the query plan much.

 Caching is a total PITA because invalidation machinery becomes
 overwhelming complex and unwieldly quickly in production.
 

I agree but this was the only thing that we could do to even go into
production.

Since I'm in full agreement that we need to fix indexes that are
problematic, I started doing some benchmarks on the large data set that
gave us so many headaches. It is probably not surprising that the more
complex indexes are performing badly. DateRangeIndex, KeywordIndex and
Plone's ExtendedPathIndex performed the worst. Below are some stats
showing timings around the apply_index call in Catalog.py that was
done while testing the application with real data:

Index Name   |Type |Avg Time |Calls/second
==
object_implements|KeywordIndex |0.2172234| 4.6
getEffective_or_creat|DateIndex|0.1941770|5.15
effectiveRange   |DateRangeIndex   |0.0086295|  115.88
allowedRolesAndUsers |KeywordIndex |0.0069754|  143.36
path |ExtendedPathIndex|0.0040614|  246.22
portal_type  |FieldIndex   |0.0025984|  384.84
SearchableText   |ZCTextIndex  |0.0007645| 1308.04
sourceUID|FieldIndex   |0.0004886| 2046.31
UID  |FieldIndex   |0.0003070|  3257.1
targetUID|FieldIndex   |0.0002287| 4372.12
exact_getUserId  |FieldIndex   |0.0001931| 5177.79
exact_getUserName|FieldIndex   |0.0001816| 5504.39
relationship |FieldIndex   |0.822| 12153.1
id   |FieldIndex   |0.822|12161.81
end  |DateIndex|0.623|16027.48
getGroups|FieldIndex   |0.278|35973.45
getArtistTitle   |FieldIndex   |0.259|38495.53
review_state |FieldIndex   |0.259|38582.22
Subject  |KeywordIndex |0.253|39413.57
getDaysOfTheWeek |KeywordIndex |0.247|40465.98
meta_type|FieldIndex   |0.199|50116.64
exact_getGroupId |FieldIndex   |0.162|61417.51
getVideoURL  |FieldIndex   |0.155| 64447.5
year |FieldIndex   |0.155|64460.43
Title|FieldIndex   |0.136|73381.01
getId|FieldIndex   |0.131|76056.97
Title|ZCTextIndex  |0.128|77809.46
startendrange|DateRangeIndex   |0.127|78485.82
expires  |DateIndex|0.126|79001.59
getObjPositionInParen|FieldIndex   |0.124| 80675.9
targetId |FieldIndex   |0.122|81418.68
effective|DateIndex|0.121| 82651.7
getProvince  |FieldIndex   |0.117|85198.54
month|FieldIndex   |0.116|85762.56
Description  |ZCTextIndex  |0.116|86241.39
Type |FieldIndex   |0.115|86345.17
getLast_login_time   |DateIndex|0.115|86698.98
Creator  |FieldIndex   |0.113|87840.03
getEmail |ZCTextIndex  |0.113|87849.05
cmf_uid  |FieldIndex   |0.113|88352.13
getDuration  |FieldIndex   |0.113|88454.29
SearchableText   |TextIndex|0.113|88466.69
sortable_title   |FieldIndex   |0.112|88698.49
getRating|FieldIndex   |0.112| 88747.5
getGenres|KeywordIndex |0.112|88796.55
object_provides  |KeywordIndex |0.112|88919.43
getEventType |KeywordIndex |0.112| 88953.9
in_reply_to  |FieldIndex   |0.112|89057.46
getReview_state  |FieldIndex   |0.112|89124.63
is_folderish |FieldIndex   |0.112|89240.51
getRawRelatedItems   |KeywordIndex |0.111|89568.91
getThumbSize |FieldIndex   |0.111|89653.89
getStudioCamURL  |FieldIndex   |0.111|89678.92
Date |DateIndex|0.111|89799.23
getHash  |FieldIndex   |0.111|90111.54
getNumberOfComments  |FieldIndex   |0.110|90141.88
start   

[Zope-dev] [EMAIL PROTECTED] linking to svn.zope.org

2008-11-09 Thread Andreas Jung

Hi there,

I have package with a dependency to zope.schema.  Setuptools tries to 
install zope.schema from svn.zope.org (which is currently down) instead 
of fetching the sdist/egg directly from PyPI.
[EMAIL PROTECTED]:/home/develop/repository/svn.haufe.de/svnep/HaufeComponents/haufe.hrs.configuration/trunk 
python2.4 setup.py test

running test
Checking .pth file support in .
/opt/python-2.4.4/bin/python2.4 -E -c pass
Searching for zope.configuration
Reading http://pypi.python.org/simple/zope.configuration/
Best match: zope.configuration 3.4.0
Downloading 
http://pypi.python.org/packages/source/z/zope.configuration/zope.configuration-3.4.0.tar.gz#md5=c0822830199d6bf4f1fdd0007e78a9dc

Processing zope.configuration-3.4.0.tar.gz
Running zope.configuration-3.4.0/setup.py -q bdist_egg --dist-dir 
/tmp/easy_install-sF3bKJ/zope.configuration-3.4.0/egg-dist-tmp-xinGS_


Installed 
/home/develop/repository/svn.haufe.de/svnep/HaufeComponents/haufe.hrs.configuration/trunk/zope.configuration-3.4.0-py2.4.egg

Searching for zope.component
Reading http://pypi.python.org/simple/zope.component/
Best match: zope.component 3.5.1
Downloading 
http://pypi.python.org/packages/source/z/zope.component/zope.component-3.5.1.tar.gz#md5=006c43ad77ed4982e49c07f6e65b68a2

Processing zope.component-3.5.1.tar.gz
Running zope.component-3.5.1/setup.py -q bdist_egg --dist-dir 
/tmp/easy_install-q05rQz/zope.component-3.5.1/egg-dist-tmp-rmLhTl


Installed 
/home/develop/repository/svn.haufe.de/svnep/HaufeComponents/haufe.hrs.configuration/trunk/zope.component-3.5.1-py2.4.egg

Searching for zope.interface
Reading http://pypi.python.org/simple/zope.interface/
Best match: zope.interface 3.5.0
Downloading 
http://pypi.python.org/packages/source/z/zope.interface/zope.interface-3.5.0.zip#md5=478d05add7cd7faf25a2fd880a739ddb

Processing zope.interface-3.5.0.zip
Running zope.interface-3.5.0/setup.py -q bdist_egg --dist-dir 
/tmp/easy_install-Pxwaxm/zope.interface-3.5.0/egg-dist-tmp-tkl-Zv


Installed 
/home/develop/repository/svn.haufe.de/svnep/HaufeComponents/haufe.hrs.configuration/trunk/zope.interface-3.5.0-py2.4-linux-x86_64.egg

Searching for zope.event
Reading http://pypi.python.org/simple/zope.event/
Best match: zope.event 3.4.0
Downloading 
http://pypi.python.org/packages/2.4/z/zope.event/zope.event-3.4.0-py2.4.egg#md5=79af17fa33ec85de3894802e9bb72277

Processing zope.event-3.4.0-py2.4.egg
creating 
/home/develop/repository/svn.haufe.de/svnep/HaufeComponents/haufe.hrs.configuration/trunk/zope.event-3.4.0-py2.4.egg
Extracting zope.event-3.4.0-py2.4.egg to 
/home/develop/repository/svn.haufe.de/svnep/HaufeComponents/haufe.hrs.configuration/trunk


Installed 
/home/develop/repository/svn.haufe.de/svnep/HaufeComponents/haufe.hrs.configuration/trunk/zope.event-3.4.0-py2.4.egg

Searching for zope.schema
Reading http://pypi.python.org/simple/zope.schema/
Reading http://svn.zope.org/zope.schema

The simple index for zope.schema declarse this dependency to svn.zope.org:

http://pypi.python.org/simple/zope.schema

Can we please fix this?

Andreas







--
ZOPYX Ltd.  Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany
Web: www.zopyx.com - Email: [EMAIL PROTECTED] - Phone +49 - 7071 - 793376
Registergericht: Amtsgericht Stuttgart, Handelsregister A 381535
Geschäftsführer/Gesellschafter: ZOPYX Limited, Birmingham, UK

E-Publishing, Python, Zope  Plone development, Consulting

begin:vcard
fn:Andreas Jung
n:Jung;Andreas
org:ZOPYX Ltd.  Co. KG
adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany
email;internet:[EMAIL PROTECTED]
title:CEO
tel;work:+49-7071-793376
tel;fax:+49-7071-7936840
tel;home:+49-7071-793257
x-mozilla-html:FALSE
url:www.zopyx.com
version:2.1
end:vcard

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


[ZWeb] svn server broken

2008-11-09 Thread Michael Haubenwallner
A 'svn up' at svn.zope.org returns an error atm:

  svn: Can't find a temporary directory: Error string not specified yet


Thanks for looking into this issue.
Michael

-- 
http://blog.d2m.at
http://planetzope.org

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


Re: [ZWeb] svn server broken

2008-11-09 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On Nov 9, 2008, at 13:05 , Michael Haubenwallner wrote:

 A 'svn up' at svn.zope.org returns an error atm:

  svn: Can't find a temporary directory: Error string not specified yet

I have poked around a little bit and it appears there's a hard drive  
issue on the box. I have alerted the Zope Corp SAs and Jim, there's  
nothing I can do from here.

jens



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkkW1eAACgkQRAx5nvEhZLIZyQCcCHYZgA248TtlNaQCETkK0iDh
zusAoJCqQL4EFZ+DbdhrScYY9mtowG/k
=OOnl
-END PGP SIGNATURE-
___
Zope-web maillist  -  Zope-web@zope.org
http://mail.zope.org/mailman/listinfo/zope-web


Re: [ZWeb] svn server broken

2008-11-09 Thread Christian Theune
On Sun, 2008-11-09 at 13:21 +0100, Jens Vagelpohl wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 
 On Nov 9, 2008, at 13:05 , Michael Haubenwallner wrote:
 
  A 'svn up' at svn.zope.org returns an error atm:
 
   svn: Can't find a temporary directory: Error string not specified yet
 
 I have poked around a little bit and it appears there's a hard drive  
 issue on the box. I have alerted the Zope Corp SAs and Jim, there's  
 nothing I can do from here.

Ah. That's why the KGS updates are lagging.

-- 
Christian Theune · [EMAIL PROTECTED]
gocept gmbh  co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 7 · fax +49 345 1229889 1
Zope and Plone consulting and development


signature.asc
Description: This is a digitally signed message part
___
Zope-web maillist  -  Zope-web@zope.org
http://mail.zope.org/mailman/listinfo/zope-web


Re: [ZWeb] svn server broken

2008-11-09 Thread Martijn Faassen
Hi there,

Before noticing svn.zope.org was down, I noticed that buildouts seem
to be failing/hanging somewhere in httplib. I now suspect this is
possibly because various setup.py's have a 'url' entry that references
svn.zope.org and setuptools might go off and try to read it, resulting
in a hang of the buildout process.

If it's possible to make http://svn.zope.org do a clear sorry, i'm
not here instead of the current behavior where the browser is
spinning when you try to access it, that might help. If this is too
distracting currently, please ignore this message - I'm not even sure
whether this fixes my issues.

Regards,

Martijn
___
Zope-web maillist  -  Zope-web@zope.org
http://mail.zope.org/mailman/listinfo/zope-web


Re: [ZWeb] svn server broken

2008-11-09 Thread David Lawson
Sorry, svn.zope.org experienced a hardware failure earlier in the day  
which we believed we had remediated, but which has re-surfaced as  
something more serious.  We're working on getting it resolved and  
should have it back up soon, hopefully before noon EST.

--Dave
On Nov 10, 2008, at 2:36 AM, Martijn Faassen wrote:

 Hi there,

 Before noticing svn.zope.org was down, I noticed that buildouts seem
 to be failing/hanging somewhere in httplib. I now suspect this is
 possibly because various setup.py's have a 'url' entry that references
 svn.zope.org and setuptools might go off and try to read it, resulting
 in a hang of the buildout process.

 If it's possible to make http://svn.zope.org do a clear sorry, i'm
 not here instead of the current behavior where the browser is
 spinning when you try to access it, that might help. If this is too
 distracting currently, please ignore this message - I'm not even sure
 whether this fixes my issues.

 Regards,

 Martijn
 ___
 Zope-web maillist  -  Zope-web@zope.org
 http://mail.zope.org/mailman/listinfo/zope-web

Systems Administrator
Zope Corp.
540-361-1722
[EMAIL PROTECTED]



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


Re: [Zope] Was Problem using nested dtml-in with zsql

2008-11-09 Thread Garry Saddington
On Saturday 08 November 2008 21:59, Tim Nash wrote:
 +1
 Well spoken. It is painful to see all the cheers for django templates when
 dtml has been around longer and is just as good, maybe better.
Just had a look. They do the same as dtml but with less functionality. Amusing 
that something that is dead in one system is the best thing since sliced 
bread in another!
I too appreciate all the work that goes into maintaining Zope, thanks Andreas, 
long may you continue your contributions.
Regards
Garry
___
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] Was Problem using nested dtml-in with zsql

2008-11-09 Thread Andreas Jung

On 09.11.2008 12:17 Uhr, Garry Saddington wrote:

On Saturday 08 November 2008 21:59, Tim Nash wrote:

+1
Well spoken. It is painful to see all the cheers for django templates when
dtml has been around longer and is just as good, maybe better.

Just had a look. They do the same as dtml but with less functionality. Amusing
that something that is dead in one system is the best thing since sliced
bread in another!
I too appreciate all the work that goes into maintaining Zope, thanks Andreas,
long may you continue your contributions.


Guys, please calm down :-) Nobody told you that we are going to take 
DTML away. The point is pretty easy: if you are new to Zope then there 
is very little reason to get in touch with DTML (other than for ZSQL 
methods). ZPT is recommendation for generating markup for years. It is 
well maintained and documented and adopted. We should not throw newbies 
into the  DTML hell - if you use it for legacy reasons or whatever 
reason, fine. The official message for newbies is likely: use ZPT.


Andreas
begin:vcard
fn:Andreas Jung
n:Jung;Andreas
org:ZOPYX Ltd.  Co. KG
adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany
email;internet:[EMAIL PROTECTED]
title:CEO
tel;work:+49-7071-793376
tel;fax:+49-7071-7936840
tel;home:+49-7071-793257
x-mozilla-html:FALSE
url:www.zopyx.com
version:2.1
end:vcard

___
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] MailingLogger 3.2.2 Released!

2008-11-09 Thread Chris Withers
I'm pleased to announce a new release of
Mailinglogger that finally correctly supports easy_install and so works 
fine with zc.buildout-based projects.

In fact, MailingLogger has *become* a zc.buildout-based project for its 
development...

Anyway, Mailinglogger provides two handlers for the standard python 
logging framework that enable log entries to be emailed either as the 
entries are logged or as a summary at the end of the running process.

The handlers have the following features:

- customisable and dynamic subject lines for emails sent

- emails sent with an X-Mailer header for easy filtering

- flood protection to ensure the number of emails sent is not excessive

- support for SMTP servers that require authentication

- fully documented and tested

In addition, extra support is provided for configuring the handlers when
using ZConfig, Zope 2 or Zope 3.

Installation is as easy as:

easy_install mailinglogger

For more information, please see:
http://www.simplistix.co.uk/software/python/mailinglogger
or
http://pypi.python.org/pypi/mailinglogger

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 )