[Zope-dev] wiki.zope.org / download.zope.org down?

2010-10-11 Thread Jan-Wijbrand Kolman
Hi,

As it seems wiki.zope.org is down, as is download.zope.org. But probably 
this is already known..? Is there anything I can do to help getting the 
machine(s) back up?

regards, jw

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


[Zope-dev] zc.buildout/buildout.org down - disaster

2010-10-11 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi there,

buildout.org is currently down and any existing buildout
is trying to phone home to buildout.org (likely because
buildout.org is configured in the package metadata as 'url').

Even releasing zc.buildout 1.5.2 with 'url' set to
http://pypi.python.org/pypi/zc.buildout does not work as a workaround.

First: is it setuptools or buildout ignoring the new 'url'?

Second: how to fix this finally?

There is jarn.setuptoolsfixer claiming to resolve exactly
this issue but it does not seem to have any effect (at least
not in combination with buildout).

Andreas
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQGUBAEBAgAGBQJMss/ZAAoJEADcfz7u4AZjRD8Lv1RI0vwrvktm1Y5whFB2LcT+
gC4c6rbavXXxtVCCH9nEB9f0Fl3NNVAarO6mR8Td1hr8zCUVn/40d/jDpyqkliqo
AVGK8GI9ap4xjIRr6avT6zbKvKWJRS33veBrNUUmEF24If9U/YGCxJHEYI+mgmT/
3JU1E46ByRoqdHnSxd7iRBZdvGG3YGYgx5NRViTntur7/wWOW/iwtVwzZEUReoAL
90t9Yh377qdEY4CCkRTRNDqXtT4Bq1ENBBzwLXaDLU60cERue2+zb1K9GBZ9FGn+
qWNy3FMqm5DcNuQrd11B47jRTxQON+YGvbLezijCeDCn18agS2cFk9W9Ar8Hwp7i
41h2EvgG4i0R11nzC3xlURvfTHIsCVVNqpxH18TFTjSmZKt7kS322tGyJlZkBKKE
yyOhka2QDGbgCNpcwi9umvwiGond38xp3qRVz4mHOoShyoEo4gbubBluohOeTULw
rbQ+8Ld6I6iRRXc+QRhxo/fu/sLPMWA=
=lMwq
-END PGP SIGNATURE-
attachment: lists.vcf___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] buildout.org down/setuptools going mad

2010-10-11 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi there,

since buildout.org is down right now (at least since the weekend)
and since the stupid setuptools is trying blindly to contact
buildout.org (because of the 'url' metadata) I uploaded
zc.buildout==1.5.2 with a changed 'url' metadata (pointing to PyPI)
as a temporary workaround.

- -aj
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQGUBAEBAgAGBQJMsr+JAAoJEADcfz7u4AZjJmALv2ChrwrnTn5xjZgxWgtxQ31o
icCFe0mB5r4IjZxw74fiDgg4dwTMY//BNVw4G/uflj1e1AIGa8N+41T42wmygZIh
it0AWY/ljcdxugEaz04DTM6FuvQqdY8hx8AwxNf6u2cmL6I6JzrNQiI3VBLXDfd0
zz7Y9bVAo2e96wIr6Xt+ZFiR67GUjH4zq8nUD4iv6Q8gTQ+LKps3Zt6h8lr9XEPp
WQEn5LvmUCfpgsrPN4eKTnYU5qi5lLlOpg5YcTH6OZQk4VZA6cC667D5EISQZpWu
WgI9F6LlRW5xvj5vTQFqmMwK0AaSW7e61BoiC3vLYK76MKWrUQj86Qtav0OU3bao
wBrqzcB7/vOEllinlNDzhXT/OsA2knecjYKeKvQWcLZ9m1B8FpoQOACU/4zg3G0Q
TMLAuDKgUMbgmm0+J3el70VBqLyQE1J0g+2Ww3kyL+Py/6F44djsm4pvcjafAxLT
Jyfb5BzHkO6tn4NsRQpztAwMpU8Xt+Y=
=U7ho
-END PGP SIGNATURE-
attachment: lists.vcf___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] Zope Tests: 24 OK, 15 Failed, 2 Unknown

2010-10-11 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list.
Period Sun Oct 10 12:00:00 2010 UTC to Mon Oct 11 12:00:00 2010 UTC.
There were 41 messages: 6 from Zope Tests, 4 from buildbot at pov.lt, 20 from 
buildbot at winbot.zope.org, 11 from ccomb at free.fr.


Test failures
-

Subject: FAILED : winbot / ztk_dev py_254_win32
From: buildbot at winbot.zope.org
Date: Sun Oct 10 16:19:15 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-October/021373.html

Subject: FAILED : winbot / ztk_dev py_265_win32
From: buildbot at winbot.zope.org
Date: Sun Oct 10 16:28:27 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-October/021368.html

Subject: FAILED : winbot / ztk_dev py_265_win64
From: buildbot at winbot.zope.org
Date: Sun Oct 10 16:37:48 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-October/021357.html

Subject: FAILED : winbot / ztk_dev py_270_win32
From: buildbot at winbot.zope.org
Date: Sun Oct 10 16:46:45 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-October/021355.html

Subject: FAILED : winbot / ztk_dev py_270_win64
From: buildbot at winbot.zope.org
Date: Sun Oct 10 16:56:21 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-October/021362.html

Subject: FAILED : winbot / zc_buildout_dev py_244_win32
From: buildbot at winbot.zope.org
Date: Sun Oct 10 17:51:35 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-October/021371.html

Subject: FAILED : winbot / zc_buildout_dev py_254_win32
From: buildbot at winbot.zope.org
Date: Sun Oct 10 18:10:50 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-October/021380.html

Subject: FAILED : winbot / zc_buildout_dev py_265_win32
From: buildbot at winbot.zope.org
Date: Sun Oct 10 18:31:11 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-October/021359.html

Subject: FAILED : winbot / zc_buildout_dev py_265_win64
From: buildbot at winbot.zope.org
Date: Sun Oct 10 18:51:19 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-October/021356.html

Subject: FAILED : winbot / zc_buildout_dev py_270_win32
From: buildbot at winbot.zope.org
Date: Sun Oct 10 19:11:50 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-October/021381.html

Subject: FAILED : winbot / zc_buildout_dev py_270_win64
From: buildbot at winbot.zope.org
Date: Sun Oct 10 19:32:02 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-October/021374.html

Subject: FAILED : Bluebream / Python2.5.5 64bit linux
From: ccomb at free.fr
Date: Sun Oct 10 22:03:35 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-October/021384.html

Subject: FAILED : Bluebream / Python2.6.5 64bit linux
From: ccomb at free.fr
Date: Sun Oct 10 22:03:36 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-October/021360.html

Subject: FAILED : Bluebream / Python2.4.6 64bit linux
From: ccomb at free.fr
Date: Sun Oct 10 22:03:37 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-October/021367.html

Subject: FAILED : Zope 3.4 Known Good Set / py2.5-32bit-linux
From: buildbot at pov.lt
Date: Mon Oct 11 00:05:05 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-October/021372.html


Unknown
---

Subject: UNKNOWN : Zope-trunk Python-2.6.5 : Linux
From: Zope Tests
Date: Sun Oct 10 21:53:05 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-October/021344.html

Subject: UNKNOWN : Zope-trunk-alltests Python-2.6.5 : Linux
From: Zope Tests
Date: Sun Oct 10 21:55:05 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-October/021345.html


Tests passed OK
---

Subject: OK : winbot / ztk_10 py_244_win32
From: buildbot at winbot.zope.org
Date: Sun Oct 10 17:06:52 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-October/021382.html

Subject: OK : winbot / ztk_10 py_254_win32
From: buildbot at winbot.zope.org
Date: Sun Oct 10 17:15:39 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-October/021353.html

Subject: OK : winbot / ztk_10 py_265_win32
From: buildbot at winbot.zope.org
Date: Sun Oct 10 17:23:59 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-October/021364.html

Subject: OK : winbot / ztk_10 py_265_win64
From: buildbot at winbot.zope.org
Date: Sun Oct 10 17:32:37 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-October/021378.html

Subject: OK : ZTK 1.0 / Python2.4.6 Linux 64bit
From: ccomb at free.fr
Date: Sun Oct 10 19:44:40 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-October/021370.html

Subject: OK : ZTK 1.0 / Python2.6.5 Linux 64bit
From: ccomb at free.fr
Date: Sun Oct 10 19:45:06 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-October/021361.html

Subject: OK : ZTK 1.0 / Python2.5.5 Linux 64bit
From: ccomb at free.fr
Date: Sun Oct 10 19:45:15 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-October/021383.html

Subject: OK : winbot / ZODB_dev py_254_win32
From: buildbot at winbot.zope.org
Date: Sun Oct 10 20:29:38 EDT 2010
URL: 

[Zope-dev] Zope 2.12 20% slower than Zope 2.9?!

2010-10-11 Thread Chris Withers
Hi All,

Just finished upgrading a medium sized project from Zope 2.9 to 2.12.
One part of that does a batch of static copies of a Zope-served site.

I guess I was hoping for a bit of a speed up, so was slightly horrified 
to see the batch, which used to take 11hrs, now takes 13 hrs. This has 
been the same for 2 or 3 days since I did the upgrade so I don't think 
it's a freak occurrence.

The site is classic Zope 2: zodb-based python scripts and page templates 
building the UI from Product-based content objects.

Have others shared this experience?

cheers,

Chris

-- 
Simplistix - Content Management, Batch Processing  Python Consulting
 - http://www.simplistix.co.uk
___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Zope 2.12 20% slower than Zope 2.9?!

2010-10-11 Thread Hanno Schlichting
On Mon, Oct 11, 2010 at 2:16 PM, Chris Withers ch...@simplistix.co.uk wrote:
 Just finished upgrading a medium sized project from Zope 2.9 to 2.12.
 One part of that does a batch of static copies of a Zope-served site.

 I guess I was hoping for a bit of a speed up, so was slightly horrified
 to see the batch, which used to take 11hrs, now takes 13 hrs. This has
 been the same for 2 or 3 days since I did the upgrade so I don't think
 it's a freak occurrence.

Without actual profiling data it's hard to tell what time has
increased here. Most of the components in Zope have stayed the same.
Some of them like the ZODB have improved performance.

My only guess here is that you are calling a lot of page templates and
those have gotten slower. When we switched to Unicode based templates
in Zope 2.10, that move has of course cost some performance. Dealing
with Unicode instead of bytes is always slower.

If you want to improve rendering times and your analysis shows page
templates to be the problem, try Chameleon.

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


Re: [Zope-dev] Zope 2.12 20% slower than Zope 2.9?!

2010-10-11 Thread Chris Withers
On 11/10/2010 13:32, Hanno Schlichting wrote:
 My only guess here is that you are calling a lot of page templates and
 those have gotten slower. When we switched to Unicode based templates
 in Zope 2.10, that move has of course cost some performance. Dealing
 with Unicode instead of bytes is always slower.

 If you want to improve rendering times and your analysis shows page
 templates to be the problem, try Chameleon.

Yes, this is my guess too.

Are there any docs on how to get Chameleon to work with classic, 
ZODB-based page templates?

Chris

-- 
Simplistix - Content Management, Batch Processing  Python Consulting
 - http://www.simplistix.co.uk
___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Zope Tests: 24 OK, 15 Failed, 2 Unknown

2010-10-11 Thread Marius Gedminas
On Mon, Oct 11, 2010 at 01:58:29PM +0200, Zope Tests Summarizer wrote:
 Summary of messages to the zope-tests list.
 Period Sun Oct 10 12:00:00 2010 UTC to Mon Oct 11 12:00:00 2010 UTC.
 There were 41 messages: 6 from Zope Tests, 4 from buildbot at pov.lt,
 20 from buildbot at winbot.zope.org, 11 from ccomb at free.fr.
 
 Test failures
 -
 
 Subject: FAILED : Zope 3.4 Known Good Set / py2.5-32bit-linux
 From: buildbot at pov.lt
 Date: Mon Oct 11 00:05:05 EDT 2010
 URL: http://mail.zope.org/pipermail/zope-tests/2010-October/021372.html

This is a funny one.  Bootstrap/buildout was taking incredibly long, due
to multiple timeouts, and then a cron script shut down the slave, to
save power.

Marius Gedminas
-- 
http://pov.lt/ -- Zope 3/BlueBream consulting and development


signature.asc
Description: Digital signature
___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Zope 2.12 20% slower than Zope 2.9?!

2010-10-11 Thread David Glick
 On 10/11/10 5:39 AM, Chris Withers wrote:
 On 11/10/2010 13:32, Hanno Schlichting wrote:
 My only guess here is that you are calling a lot of page templates and
 those have gotten slower. When we switched to Unicode based templates
 in Zope 2.10, that move has of course cost some performance. Dealing
 with Unicode instead of bytes is always slower.

 If you want to improve rendering times and your analysis shows page
 templates to be the problem, try Chameleon.
 Yes, this is my guess too.

 Are there any docs on how to get Chameleon to work with classic, 
 ZODB-based page templates?
Just use cmf.pt: http://pypi.python.org/pypi/cmf.pt

--  
David Glick
 Web Developer
 davidgl...@groundwire.org
 206.286.1235x32

Groundwire: You Are Connected   
 http://groundwire.org  

We're celebrating 15 years! Come to our big party.
 http://groundwire.org/events/groundwires-15th-anniversary-party
___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Zope 2.12 20% slower than Zope 2.9?!

2010-10-11 Thread Alan Runyan
 Try with a smaller batch (whatever you are doing) and profile it.


I 100% agree with what ajung says.  post a profile of your batch run
that takes ~30 minutes.

I would suspect its probably something inside framework you are using
which is constantly querying ZCA.

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


Re: [Zope-dev] Zope 2.12 20% slower than Zope 2.9?!

2010-10-11 Thread Chris Withers
On 11/10/2010 16:53, David Glick wrote:
 Are there any docs on how to get Chameleon to work with classic,
 ZODB-based page templates?
 Just use cmf.pt: http://pypi.python.org/pypi/cmf.pt

Ah, okay, well, I'm not using anything CMF, so I opted for just five.pt.

Unfortunately, this hits a unicode problem. The unicode problem I solved 
with an IUnicodeEncodingConflictResolver using the normal page template 
engine:

class Resolver:

 implements(IUnicodeEncodingConflictResolver)

 def resolve(self, context, text, expression):
 return unicode(text,'latin-1')

chameleon doesn't appear to use this, so I get:

   File five.pt-1.3.3-py2.6.egg/five/pt/patches.py, line 90, in 
call_template_and_wrap
 return template(self, *args, **kw)
   File z3c.pt-1.2.1-py2.6.egg/z3c/pt/pagetemplate.py, line 145, in 
__call__
 return bound_pt(*args, **kwargs)
   File z3c.pt-1.2.1-py2.6.egg/z3c/pt/pagetemplate.py, line 262, in 
__call__
 return self.im_func(**kw)
   File z3c.pt-1.2.1-py2.6.egg/z3c/pt/pagetemplate.py, line 136, in render
 return self.render(**context)
   File Chameleon-1.2.13-py2.6.egg/chameleon/zpt/template.py, line 17, 
in render
 return super(PageTemplate, self).render(*args, **kwargs)
   File Chameleon-1.2.13-py2.6.egg/chameleon/core/template.py, line 
221, in render
 return self.cook_and_render(kwargs, utils.emptydict, None, True)
   File Chameleon-1.2.13-py2.6.egg/chameleon/core/template.py, line 
205, in cook_and_render
 return func(econtext, rcontext)
- __traceback_info__: (BaseTemplate ,)
   File string, line 79, in render
UnicodeDecodeError: 'utf8' codec can't decode byte 0xa3 in position 0: 
unexpected code byte

What's the chameleon or z3c.pt way of dealing with this*?

Chris

*'this' is stacks of ZODB-based page templates whose source may well be 
latin-1 encoded but, moreover, which are operating on a bunch of content 
that's *definitely* latin-1 encoded...
-- 
Simplistix - Content Management, Batch Processing  Python Consulting
- http://www.simplistix.co.uk
___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Zope 2.12 20% slower than Zope 2.9?!

2010-10-11 Thread Hanno Schlichting
On Mon, Oct 11, 2010 at 10:54 PM, Chris Withers ch...@simplistix.co.uk wrote:
 What's the chameleon or z3c.pt way of dealing with this*?

 *'this' is stacks of ZODB-based page templates whose source may well be
 latin-1 encoded but, moreover, which are operating on a bunch of content
 that's *definitely* latin-1 encoded...

Eeh, damn, haven't heard of latin-1 users in a decade. With latin-1
you probably won't be able to use Chameleon. It handles both Unicode
and utf-8 encoded strings fine on its own. But that support is done
deep down in the inner workings and not configurable.

Your best bet now is to ignore Chameleon and put the convert to
proper Unicode item up higher on the todo list.

Hanno

P.S. Of course it's all code, so you could subclass the right parts of
the machinery and make this stuff configurable. For anyone who's not
Malthe that will just be quite a bit of a pain and time consuming.
___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] PAS CookieAuthHelper and insufficient privileges

2010-10-11 Thread Laurence Rowe
I'm currently implementing single sign on across Plone sites but have
run into a bit of an issue with the CookieAuthHelper.

Unauthorized accesses are redirected to its login_path attribute even
when a user is already logged in. Plone works around this with a
require_login script that traverses to insufficient_privileges (rather
than login_form) when the user is not anonymous.
http://dev.plone.org/plone/browser/Plone/trunk/Products/CMFPlone/skins/plone_login/require_login.py

I'd like to avoid having two redirects (one to require_login and then
one to the remote login page).

One option (as suggested in require_login.py) would be to have
CookieAuthHelper traverse rather than redirect to the login_path so
that sites could override the behaviour, though they would then
presumably need to duplicate the functionality currently in
CookieAuthHelper.unauthorized (which I must admit to only barely
understanding...)
http://zope3.pov.lt/trac/browser/Products.PluggableAuthService/trunk/Products/PluggableAuthService/plugins/CookieAuthHelper.py

Instead, it would seem to make sense to move this functionality login
/ insufficient privileges functionality into the CookieAuthHelp
itself. I could add an insufficient_privs_path and redirect there
instead of login_path when a user is already authorized.

Yet another option would be to let logged in unauthorized to percolate
up and implement that page with an error view.

Any opinions? I'm leaning towards adding an insufficient_privs_path as
it seems simplest and least invasive. (When not set it would just use
login_path as normal).

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