[Zope-dev] Neoplanta Sprint coming up, Novi Sad, 21st - 29th November 2010

2010-11-10 Thread Florian Friesdorf
Hi,

the Neoplanta sprint in Novi Sad (Serbia) is coming up in less than two
weeks. So far we are 11 developers and are able to host 15-20.

If you are interested, have a look at the coactivate page:
http://www.coactivate.org/projects/neoplanta-sprint/project-home
and feel free to ask, e.g. about topics!

If we can assist you in booking a hostel/hotel or arranging transfer
from the airport (Belgrade) to Novi Sad, please let me know - we have
native speakers to ease the process.

hope to see you in Novi Sad!
florian

-- 
Florian Friesdorf 
  GPG FPR: 7A13 5EEE 1421 9FC2 108D  BAAF 38F8 99A3 0C45 F083
Jabber/XMPP: f...@chaoflow.net
IRC: chaoflow on freenode,ircnet,blafasel,OFTC


pgplYHu6X5ahy.pgp
Description: PGP 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] logrotation/logreopening in ZTK-based applications

2010-11-10 Thread Christian Theune
On 11/10/2010 03:21 PM, Adam GROSZER wrote:
> Hello Christian,
>
> Wednesday, November 10, 2010, 8:47:43 AM, you wrote:
>
> CT>  Hi,
>
> CT>  Zope 2 provides a command to ask it to re-open its log files thus
> CT>  supporting outside logrotation.
>
> CT>  We have a ZTK-based app and found that the server provides neither
> CT>  signal handling to rotate logs nor a zopectl command. Does anybody
> CT>  remember wether this was ever built?
>
> CT>  I see an old discussion on the Python list
> CT>  (http://mail.python.org/pipermail/python-dev/2006-January/059566.html)
> CT>  but no conclusion.
>
> CT>  If this isn't in yet, does anybody know what the right place would be?
> CT>  (I guess the packages providing the main loops and configuring the
> CT>  process would be the right ones.)
>
> I think ZTK should have a configurable log rotation built-in.
> Like:
>
>  path log.log
>  formatter zope.exceptions.log.Formatter
>  max-size 50MB
>  old-files 5
>

I'd like to keep this out of the server: rotation is a system 
administration task where I'd like to rely on the policies and tools 
provided by the system environment.

Christian

-- 
Christian Theune · c...@gocept.com
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 0 · fax +49 345 1229889 1
Zope and Plone consulting and development
___
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] logrotation/logreopening in ZTK-based applications

2010-11-10 Thread Christian Theune
On 11/10/2010 02:23 PM, Fred Drake wrote:
> On Wed, Nov 10, 2010 at 2:47 AM, Christian Theune  wrote:
>> We have a ZTK-based app and found that the server provides neither
>> signal handling to rotate logs nor a zopectl command. Does anybody
>> remember wether this was ever built?
>
> Christian,
>
> If you want size- or time-based rotation, that can be configured
> directly using ZConfig.
>
> There's a package called zc.signalhandler in the Zope Corporation
> repository that I'll be open-sourcing.  It'll let you include
> something like this in your zope.conf:
>
>  
>usr2  ZConfig.components.logger.loghandler.reopenFiles
>  
>
> That will let you re-open ZConfig-configured log files based on a
> signal.  (The "myapp" is a turdly bit caused by using the same schema
> bits as  sections in the zope.conf schema.)

That's what I'm looking for - would be great if you found the time to 
release it.

Christian

-- 
Christian Theune · c...@gocept.com
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 0 · fax +49 345 1229889 1
Zope and Plone consulting and development
___
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] logrotation/logreopening in ZTK-based applications

2010-11-10 Thread Adam GROSZER
Hello Christian,

Wednesday, November 10, 2010, 8:47:43 AM, you wrote:

CT> Hi,

CT> Zope 2 provides a command to ask it to re-open its log files thus 
CT> supporting outside logrotation.

CT> We have a ZTK-based app and found that the server provides neither 
CT> signal handling to rotate logs nor a zopectl command. Does anybody 
CT> remember wether this was ever built?

CT> I see an old discussion on the Python list 
CT> (http://mail.python.org/pipermail/python-dev/2006-January/059566.html)
CT> but no conclusion.

CT> If this isn't in yet, does anybody know what the right place would be?
CT> (I guess the packages providing the main loops and configuring the 
CT> process would be the right ones.)

I think ZTK should have a configurable log rotation built-in.
Like:
  
path log.log
formatter zope.exceptions.log.Formatter
max-size 50MB
old-files 5
   


-- 
Best regards,
 Adam GROSZERmailto:agros...@gmail.com
--
Quote of the day:
Criticism, like rain, should be gentle enough to nourish a man's growth without 
destroying his roots. 
- Frank A. Clark 

___
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.interface memory optimization

2010-11-10 Thread Charlie Clark
Am 10.11.2010, 01:40 Uhr, schrieb Brian Sutherland  
:

>> > On the micro benchmarks, the only difference I see is a memory
>> > improvement which I think will not survive in practice because most
>>
>> ... ?
> Er, somehow my thoughts didn't make it into text:
> attributes are zope.schema fields (i.e. subclasses of Attribute).
> To really make that work, you'd have to add __slots__ to most of the
> classes in zope.schema as well.

It might be purely academic but if this does significantly reduce memory  
use then it might be worth pursuing. Slots are supposed to be beneficial  
when you've got lots of objects around. Zope schema fields are pretty  
static anyway so I don't see a great penalty in having to add slots to  
them, although obviously a migration of a larger project would probably be  
a pain.

Back to the micro-optimisation. At Jeff Rush's talk at PyCon this year he  
covered the penalties incurred by "." lookups so that might be something  
that could be investigated but might it also be possible to "memoize" the  
method calls? I keep forgetting when you can't do that.

Charlie
-- 
Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-600-3657
Mobile: +49-178-782-6226
___
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] logrotation/logreopening in ZTK-based applications

2010-11-10 Thread Fred Drake
On Wed, Nov 10, 2010 at 2:47 AM, Christian Theune  wrote:
> We have a ZTK-based app and found that the server provides neither
> signal handling to rotate logs nor a zopectl command. Does anybody
> remember wether this was ever built?

Christian,

If you want size- or time-based rotation, that can be configured
directly using ZConfig.

There's a package called zc.signalhandler in the Zope Corporation
repository that I'll be open-sourcing.  It'll let you include
something like this in your zope.conf:


  usr2  ZConfig.components.logger.loghandler.reopenFiles


That will let you re-open ZConfig-configured log files based on a
signal.  (The "myapp" is a turdly bit caused by using the same schema
bits as  sections in the zope.conf schema.)


  -Fred

--
Fred L. Drake, Jr.    
"A storm broke loose in my mind."  --Albert Einstein
___
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: 77 OK, 9 Failed

2010-11-10 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list.
Period Tue Nov  9 13:00:00 2010 UTC to Wed Nov 10 13:00:00 2010 UTC.
There were 86 messages: 6 from Zope Tests, 4 from buildbot at pov.lt, 19 from 
buildbot at winbot.zope.org, 14 from ccomb at free.fr, 43 from jdriessen at 
thehealthagency.com.


Test failures
-

Subject: FAILED : Zope Buildbot / zope2.13-py2.7 slave-ubuntu64
From: jdriessen at thehealthagency.com
Date: Tue Nov  9 12:15:10 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-November/023484.html

Subject: FAILED : Zope Buildbot / zope2.14-py2.7 slave-ubuntu64
From: jdriessen at thehealthagency.com
Date: Tue Nov  9 12:18:44 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-November/023486.html

Subject: FAILED : Zope Buildbot / zope2.13-py2.7 slave-ubuntu32
From: jdriessen at thehealthagency.com
Date: Tue Nov  9 12:34:25 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-November/023491.html

Subject: FAILED : Zope Buildbot / zope2.14-py2.7 slave-ubuntu32
From: jdriessen at thehealthagency.com
Date: Tue Nov  9 12:38:03 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-November/023494.html

Subject: FAILED : Zope Buildbot / zopetoolkit-py2.7 slave-ubuntu64
From: jdriessen at thehealthagency.com
Date: Tue Nov  9 12:48:22 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-November/023498.html

Subject: FAILED : Zope Buildbot / zopetoolkit-py2.7 slave-ubuntu32
From: jdriessen at thehealthagency.com
Date: Tue Nov  9 13:10:46 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-November/023508.html

Subject: FAILED : winbot / ztk_10 py_244_win32
From: buildbot at winbot.zope.org
Date: Tue Nov  9 16:03:18 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-November/023523.html

Subject: FAILED : Zope Buildbot / zopetoolkit-1.0_win-py2.4 slave-win
From: jdriessen at thehealthagency.com
Date: Wed Nov 10 03:07:55 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-November/023560.html

Subject: FAILED : Zope Buildbot / zopetoolkit-1.0_win-py2.5 slave-win
From: jdriessen at thehealthagency.com
Date: Wed Nov 10 03:08:26 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-November/023561.html


Tests passed OK
---

Subject: OK : Zope Buildbot / zope2.12-py2.6 slave-ubuntu64
From: jdriessen at thehealthagency.com
Date: Tue Nov  9 12:11:34 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-November/023482.html

Subject: OK : Zope Buildbot / zope2.13-py2.6 slave-ubuntu64
From: jdriessen at thehealthagency.com
Date: Tue Nov  9 12:13:21 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-November/023483.html

Subject: OK : Zope Buildbot / zope2.14-py2.6 slave-ubuntu64
From: jdriessen at thehealthagency.com
Date: Tue Nov  9 12:16:57 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-November/023485.html

Subject: OK : Zope Buildbot / zopetoolkit-1.0-py2.4 slave-ubuntu64
From: jdriessen at thehealthagency.com
Date: Tue Nov  9 12:24:30 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-November/023487.html

Subject: OK : Zope Buildbot / zopetoolkit-1.0-py2.5 slave-ubuntu64
From: jdriessen at thehealthagency.com
Date: Tue Nov  9 12:30:28 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-November/023488.html

Subject: OK : Zope Buildbot / zope2.12-py2.6 slave-ubuntu32
From: jdriessen at thehealthagency.com
Date: Tue Nov  9 12:30:38 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-November/023489.html

Subject: OK : Zope Buildbot / zope2.13-py2.6 slave-ubuntu32
From: jdriessen at thehealthagency.com
Date: Tue Nov  9 12:32:36 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-November/023490.html

Subject: OK : Zope Buildbot / zopetoolkit-1.0-py2.6 slave-ubuntu64
From: jdriessen at thehealthagency.com
Date: Tue Nov  9 12:36:15 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-November/023492.html

Subject: OK : Zope Buildbot / zope2.14-py2.6 slave-ubuntu32
From: jdriessen at thehealthagency.com
Date: Tue Nov  9 12:36:18 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-November/023493.html

Subject: OK : Zope Buildbot / zopetoolkit-py2.5 slave-ubuntu64
From: jdriessen at thehealthagency.com
Date: Tue Nov  9 12:40:25 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-November/023495.html

Subject: OK : Zope Buildbot / zopetoolkit-1.0-py2.4 slave-ubuntu32
From: jdriessen at thehealthagency.com
Date: Tue Nov  9 12:44:14 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-November/023496.html

Subject: OK : Zope Buildbot / zopetoolkit-py2.6 slave-ubuntu64
From: jdriessen at thehealthagency.com
Date: Tue Nov  9 12:44:31 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-November/023497.html

Subject: OK : Zope Buildbot / zopetoolkit-1.0-py2.5 slave-ubuntu32
From: jdriessen at thehealthagency.com
Date: Tue Nov  9 12:50:56 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-November/023499.h