[Zope-Checkins] SVN: Zope/trunk/ preparing 2.12.0a2

2009-04-17 Thread Andreas Jung
Log message for revision 99247:
  preparing 2.12.0a2
  

Changed:
  U   Zope/trunk/doc/CHANGES.rst
  U   Zope/trunk/inst/WinBuilders/mk/zope.mk
  U   Zope/trunk/inst/versions.py

-=-
Modified: Zope/trunk/doc/CHANGES.rst
===
--- Zope/trunk/doc/CHANGES.rst  2009-04-17 13:52:12 UTC (rev 99246)
+++ Zope/trunk/doc/CHANGES.rst  2009-04-17 14:16:32 UTC (rev 99247)
@@ -5,9 +5,10 @@
 Change information for previous versions of Zope can be found in the
 file HISTORY.txt.
 
-Trunk (unreleased)
---
 
+2.12.0a2 (2009-04-17)
+-
+
 Known issues
 
 

Modified: Zope/trunk/inst/WinBuilders/mk/zope.mk
===
--- Zope/trunk/inst/WinBuilders/mk/zope.mk  2009-04-17 13:52:12 UTC (rev 
99246)
+++ Zope/trunk/inst/WinBuilders/mk/zope.mk  2009-04-17 14:16:32 UTC (rev 
99247)
@@ -1,4 +1,4 @@
-ZOPEVERSION = 2.12.0-a1
+ZOPEVERSION = 2.12.0-a2
 ZOPEDIRNAME := Zope-$(ZOPEVERSION)
 
 ZOPE_REQUIRED_FILES=tmp/$(ZOPEDIRNAME).tgz

Modified: Zope/trunk/inst/versions.py
===
--- Zope/trunk/inst/versions.py 2009-04-17 13:52:12 UTC (rev 99246)
+++ Zope/trunk/inst/versions.py 2009-04-17 14:16:32 UTC (rev 99247)
@@ -4,4 +4,4 @@
 
 # always start prerelease branches with '0' to avoid upgrade
 # issues in RPMs
-VERSION_RELEASE_TAG = 'a1'
+VERSION_RELEASE_TAG = 'a2'

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


[Zope-Checkins] SVN: Zope/trunk/doc/INSTALL.rst added note on easy_install

2009-04-17 Thread Andreas Jung
Log message for revision 99248:
  added note on easy_install
  

Changed:
  U   Zope/trunk/doc/INSTALL.rst

-=-
Modified: Zope/trunk/doc/INSTALL.rst
===
--- Zope/trunk/doc/INSTALL.rst  2009-04-17 14:16:32 UTC (rev 99247)
+++ Zope/trunk/doc/INSTALL.rst  2009-04-17 14:19:06 UTC (rev 99248)
@@ -44,6 +44,9 @@
 Installing Zope using easy_install
 --
 
+.. note:: Installation using ``easy_install`` is not fully supported
+  right now
+
 Zope can be installed using ``easy_install`` either using a global
 easy_install installation or within a virtualized Python environment
 (using ``virtualenv``)::

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


[Zope-Checkins] SVN: Zope/tags/2.12.0a2/ 'creating tag svn+ssh://andreasj...@svn.zope.org/repos/main/Zope/tags/2.12.0a2 from svn+ssh://andreasj...@svn.zope.org/repos/main/Zope/trunk'

2009-04-17 Thread Andreas Jung
Log message for revision 99250:
  'creating tag 
svn+ssh://andreasj...@svn.zope.org/repos/main/Zope/tags/2.12.0a2 from 
svn+ssh://andreasj...@svn.zope.org/repos/main/Zope/trunk'

Changed:
  A   Zope/tags/2.12.0a2/

-=-
___
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins


Re: [Zope-dev] Defining Zope 3.

2009-04-17 Thread Martijn Faassen
Hey,

Martin Aspeli wrote:
[snip]
 I do realise that this derails Maritjn's focus slightly, but I don't 
 think we've lost the idea that there may be value in maintaining a 
 larger KGS.

The whole idea of whatever-Zope 3-is-designated-as just being a larger 
KGS strikes me as strange. Frankly it strikes me as indicative of 
what's wrong with this community. Grok isn't just a KGS; it's a project 
and there's documentation and a web presence. Zope 2 isn't just a KGS 
either.

If the perception of such a thing is that limited... oh well, I will 
stop worrying about it altogether. It's not going to be very popular.

I'll note again that the Zope Toolkit won't have documents on How to 
get started developing with the Zope Toolkit.

Regards,

Martijn

___
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] Defining Zope 3.

2009-04-17 Thread Martin Aspeli
Martijn Faassen wrote:
 Hey,
 
 Martin Aspeli wrote:
 [snip]
 I do realise that this derails Maritjn's focus slightly, but I don't 
 think we've lost the idea that there may be value in maintaining a 
 larger KGS.
 
 The whole idea of whatever-Zope 3-is-designated-as just being a larger 
 KGS strikes me as strange. Frankly it strikes me as indicative of 
 what's wrong with this community. Grok isn't just a KGS; it's a project 
 and there's documentation and a web presence. Zope 2 isn't just a KGS 
 either.

Sigh... this discussion is just really difficult. I don't really 
understand what the problem is here, or why it's indicative of what's 
wrong with this community, but then I'm pretty lost in concepts and 
names at this stage.

I think you're reading way too much into what I wrote though. I just 
meant thing using the Zope Toolkit but adding more stuff, e.g. an app 
server project or a shared management UI project.

 If the perception of such a thing is that limited... oh well, I will 
 stop worrying about it altogether. It's not going to be very popular.
 
 I'll note again that the Zope Toolkit won't have documents on How to 
 get started developing with the Zope Toolkit.

True, though I hope it'll have some kind of documentation on how other 
projects can approach it and re-use it, or it won't be very successful. ;)

I'll say again, though: Gary's version of the story (the Zope 3 
community has become focused on supporting other app servers and 
frameworks, and is renaming the software stack that serves that purpose 
to the Zope Toolkit reads pretty well to me). Better than the other 
stories I've seen here, because it doesn't really concern itself with 
specific packages or features or a delta of those against a hypothetical 
smaller toolkit. In other words, I have a pretty good idea of what it 
means just from reading that sentence, and I can draw some conclusions 
about what it may mean for my existing Zope3-based projects and what it 
may mean for other projects (Grok, Zope 2, bfg) that have used Zope 3 
components.

Martin

-- 
Author of `Professional Plone Development`, a book for developers who
want to work with Plone. See http://martinaspeli.net/plone-book

___
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] Zope 2.12 webdav source browser doesn't appear to work

2009-04-17 Thread Chris Withers
Hi All,

I tried to connect up to Zope 2.12 by the webdav source port today and 
got the following in the event log::

2009-04-17 09:13:48 ERROR Zope.SiteErrorLog 1239956028.70.143658354715 
http://192.168.1.12:1980/@@home
Traceback (innermost last):
   Module ZPublisher.Publish, line 119, in publish
   Module ZPublisher.mapply, line 77, in mapply
   Module ZPublisher.Publish, line 42, in call_object
   Module zope.app.pagetemplate.simpleviewclass, line 44, in __call__
   Module zope.app.pagetemplate.viewpagetemplatefile, line 83, in __call__
   Module Products.Five.browser.pagetemplatefile, line 53, in __call__
   Module zope.pagetemplate.pagetemplate, line 115, in pt_render
- Warning: Macro expansion failed
- Warning: class 'zope.location.interfaces.LocationError': 
(webdav.NullResource.NullResource object at 0x9f41a2c, 'macros')
   Module zope.tal.talinterpreter, line 271, in __call__
   Module zope.tal.talinterpreter, line 343, in interpret
   Module zope.tal.talinterpreter, line 867, in do_useMacro
   Module zope.tales.tales, line 696, in evaluate
- URL: {myproject}/browser/html/home.html
- Line 3, Column 0
- Expression: PathExpr 
standard:u'root/standard_template.pt/macros/main'
- Names:
   {'args': (),
'container': Application at ,
'context': Application at ,
'default': object object at 0xb7d5e548,
'here': Application at ,
'loop': {},
'nothing': None,
'options': {},
'repeat': Products.PageTemplates.Expressions.SafeMapping object 
at 0xa02720c,
'request': HTTPRequest, URL=http://192.168.1.12:1980/@@home,
'root': Application at ,
'template': 
Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 
0x9e8c2ec,
'traverse_subpath': [],
'user': SpecialUser 'Anonymous User',
'view': Products.Five.metaclass.SimpleViewClass from 
{myproject}/browser/html/home.html object at 0x96540cc,
'views': zope.app.pagetemplate.viewpagetemplatefile.ViewMapper 
object at 0x9ffdb4c}
   Module zope.tales.expressions, line 217, in __call__
   Module Products.PageTemplates.Expressions, line 123, in _eval
   Module zope.tales.expressions, line 124, in _eval
   Module Products.PageTemplates.Expressions, line 75, in 
boboAwareZopeTraverse
   Module zope.traversing.adapters, line 139, in traversePathElement
- __traceback_info__: (webdav.NullResource.NullResource object at 
0x9f417ac, 'macros')
   Module zope.traversing.adapters, line 53, in traverse
- __traceback_info__: (webdav.NullResource.NullResource object at 
0x9f417ac, 'macros', ['main'])
LocationError: (webdav.NullResource.NullResource object at 0x9f417ac, 
'macros')

I don't know what this means, does anyone here?

If it helps, I'm using WebDrive as the client, and it's own internal 
verbose logging gave:

04/17/09 09:13:55 7D8 [N:] Connecting to http://192.168.1.12:1980 ...
04/17/09 09:13:55 7D8 [N:] OPTIONS / HTTP/1.1
04/17/09 09:13:55 7D8 [N:] Host: 192.168.1.12:1980
04/17/09 09:13:55 7D8 [N:] User-Agent: WebDrive/6.07 NT DAV
04/17/09 09:13:55 7D8 [N:] Translate: f
04/17/09 09:13:55 7D8 [N:] Connection: close
04/17/09 09:14:06 7D8 [N:] HTTP/1.1 500 Internal Server Error
04/17/09 09:14:06 7D8 [N:] Server: Zope/(unreleased version, python 
2.5.1, linux2) ZServer/1.1
04/17/09 09:14:06 7D8 [N:] Date: Fri, 17 Apr 2009 08:13:59 GMT
04/17/09 09:14:06 7D8 [N:] Bobo-Exception-Line: 53
04/17/09 09:14:06 7D8 [N:] Content-Length: 3354
04/17/09 09:14:06 7D8 [N:] Bobo-Exception-Value: See the server error 
log for details
04/17/09 09:14:06 7D8 [N:] Content-Type: text/html; charset=utf-8
04/17/09 09:14:06 7D8 [N:] Bobo-Exception-Type: class 
'zope.location.interfaces.LocationError'
04/17/09 09:14:06 7D8 [N:] Connection: close
04/17/09 09:14:06 7D8 [N:] Bobo-Exception-File: adapters.py
04/17/09 09:14:06 7D8 [N:] 500 Internal Server Error
04/17/09 09:14:06 7D8 [N:] Can't connect to WebDAV server at 
http://192.168.1.12:1980, 500 Internal Server Error

Hope someone can help!

Chris

-- 
Simplistix - Content Management, Zope  Python Consulting
- http://www.simplistix.co.uk
___
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] Defining Zope 3.

2009-04-17 Thread Martijn Faassen
Hey Martin,

Martin Aspeli wrote:
[snip]
 Sigh... this discussion is just really difficult. I don't really 
 understand what the problem is here, or why it's indicative of what's 
 wrong with this community, but then I'm pretty lost in concepts and 
 names at this stage.
 
 I think you're reading way too much into what I wrote though. I just 
 meant thing using the Zope Toolkit but adding more stuff, e.g. an app 
 server project or a shared management UI project.

The difference is I think was that I'm not talking about just code; a 
KGS is just a list of versions. I'm talking about code and documentation 
and a presentation of this code as a whole that people can learn about 
and play with.

The notion that it's just enough for Zope 3 to be pieces of code is part 
of what led me to Grok.

If the notion of Zope 3 can be limited to just a greater set of packages 
where compatibility is tested, it's not really much of a project to 
speak of. That's fine, we have other projects like Grok that do care, 
but I'll stop worrying about it.

 I'll say again, though: Gary's version of the story (the Zope 3 
 community has become focused on supporting other app servers and 
 frameworks, and is renaming the software stack that serves that purpose 
 to the Zope Toolkit reads pretty well to me). Better than the other 
 stories I've seen here, because it doesn't really concern itself with 
 specific packages or features or a delta of those against a hypothetical 
 smaller toolkit. In other words, I have a pretty good idea of what it 
 means just from reading that sentence, and I can draw some conclusions 
 about what it may mean for my existing Zope3-based projects and what it 
 may mean for other projects (Grok, Zope 2, bfg) that have used Zope 3 
 components.

Sure, it's a reasonable approach. I am just frustrated that the notion 
of a project that is something *more* than the Zope Toolkit seems to be 
so incredibly hard to explain in this context. That in itself speaks for 
Gary's proposal, as it's pretty easy to explain.

The alternative explanation is that people understand what I'm talking 
about just fine. After all I'm talking about a project like Grok (or 
Django or Pylons or TurboGears or Rails or BFG) but one that takes a 
more traditional approach to configuring things (ZCML). The project 
described in Philipp's book, for instance.

People may just all not care about it? People only seem to be interested 
in attracting new users to (bits of) this platform the context of Grok 
or BFG or Plone. I find it interesting and somewhat frustrating, but 
that's all history and I don't really need this project to exist anyway. 
I just thought that some people on this list do need such a project.

So I'm ready to just go with Gary's plan and present this as a renaming 
recognizing that Zope 3 has become something very different, as there 
really indeed doesn't seem to be anything else left.

Regards,

Martijn

___
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] People in the Zope 3 and ZMI teams

2009-04-17 Thread Lacko Roman
Hi

 From: zope-dev-boun...@zope.org [mailto:zope-dev-boun...@zope.org] On Behalf
 
 To be honest, zope3 (as it is today) is a nice platform for me and for my
 company to build web applications (and, in general, the ZCA is a nice
 platform for building not-only-web applications), and it would be a shame
 to loose it.

Agreed that ZCA has great pottencial to be used as not-only-web-framework
I have used ZCA+ZODB successfully in some desktop only projects

Roman

___
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] Defining Zope 3.

2009-04-17 Thread Lennart Regebro
Wow, long thread started just from an attempt to define the words we
were talking about. :)

On Fri, Apr 17, 2009 at 10:04, Martin Aspeli optilude+li...@gmail.com wrote:
 I'll say again, though: Gary's version of the story (the Zope 3
 community has become focused on supporting other app servers and
 frameworks, and is renaming the software stack that serves that purpose
 to the Zope Toolkit reads pretty well to me).

Yes. But the problem with it is that it isn't very true. The question
then becomes if it's true enough to be a help or a hindrance in
clearing up misconceptions. One problem with it is that it forces the
hand of the people who want to continue to support Zope 3 (in sense 1
2 and 3), since they then *must* rename Zope 3 to something else. And
if this happens, then we have the story that Zope 3 was renamed the
Zope Toolkit, while in fact it was renamed to something else.

A more truthful story is that Zope Toolkit is a base for writing
frameworks, and that one of those frameworks was Zope 3, now renamed
to something cool. But the support in this thread for the previous
story makes me wonder if we shouldn't push that, slightly more
incorrect story, anyway. People seem to understand it. It's in this
situation possible that it's better with a false story that people
understand than a correct story that just adds to the confusion.

-- 
Lennart Regebro: Python, Zope, Plone, Grok
http://regebro.wordpress.com/
+33 661 58 14 64
___
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] Zope Tests: 8 OK

2009-04-17 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list.
Period Thu Apr 16 12:00:00 2009 UTC to Fri Apr 17 12:00:00 2009 UTC.
There were 8 messages: 8 from Zope Tests.


Tests passed OK
---

Subject: OK : Zope-2.10 Python-2.4.6 : Linux
From: Zope Tests
Date: Thu Apr 16 20:48:10 EDT 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-April/011483.html

Subject: OK : Zope-2.11 Python-2.4.6 : Linux
From: Zope Tests
Date: Thu Apr 16 20:50:11 EDT 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-April/011484.html

Subject: OK : Zope-trunk Python-2.4.6 : Linux
From: Zope Tests
Date: Thu Apr 16 20:52:11 EDT 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-April/011485.html

Subject: OK : Zope-trunk Python-2.5.4 : Linux
From: Zope Tests
Date: Thu Apr 16 20:54:11 EDT 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-April/011486.html

Subject: OK : Zope-trunk Python-2.6.1 : Linux
From: Zope Tests
Date: Thu Apr 16 20:56:11 EDT 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-April/011487.html

Subject: OK : Zope-trunk-alltests Python-2.4.6 : Linux
From: Zope Tests
Date: Thu Apr 16 20:58:11 EDT 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-April/011488.html

Subject: OK : Zope-trunk-alltests Python-2.5.4 : Linux
From: Zope Tests
Date: Thu Apr 16 21:00:11 EDT 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-April/011489.html

Subject: OK : Zope-trunk-alltests Python-2.6.1 : Linux
From: Zope Tests
Date: Thu Apr 16 21:02:11 EDT 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-April/011490.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] People in the Zope 3 and ZMI teams

2009-04-17 Thread Fabio Tranchitella
Hello there,

* 2009-04-16 09:44, Martijn Faassen wrote:
 Just so we don't lose track of who are interested in maintaining Zope 3
 (and/or the ZMI). I've distilled the following list of people who are
 interested in helping maintain Zope 3. This might mean making sure
 existing apps work, maintaining or replacing the ZMI, and working on
 making sure installation works. We can work out these details over time.

I've just checked out that the domain zope3.org is not owned by the Zope
Corporation. Do you have any idea about it? Would it be possible to claim
it back?

I'm thinking about taking over maintenance of zope3 in the wider term (not
only maintaining the code, but also the community around it).

To be honest, zope3 (as it is today) is a nice platform for me and for my
company to build web applications (and, in general, the ZCA is a nice
platform for building not-only-web applications), and it would be a shame
to loose it.

To make explicit: I am not talking just about maintaining the ZMI, I'm
talking about making zope3 a *real* user-friendly web framework, as (for
example) grok is already right now.

Thanks.

-- 
Fabio Tranchitella http://www.kobold.it
Free Software Developer and Consultant http://www.tranchitella.it
_
1024D/7F961564, fpr 5465 6E69 E559 6466 BF3D 9F01 2BF8 EE2B 7F96 1564
___
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] Defining Zope 3.

2009-04-17 Thread Carsten Senger
Martijn Faassen schrieb:
 Hey,
 
 Martijn Faassen wrote:
 [snip]
 I put a mark in my calendar for October to reconsider the future of the 
 name Zope 3 then.
 
 Given the responses to this thread I'm starting to lean towards pushing 
 the message to the outside that Zope 3 has become Zope Toolkit, has a 
 different focus, basically just as Gary stated, and really push this 
 message internally (on zope-dev) as well.
 
 I'll think it over over the weekend (and discuss it with Christian 
 Theune, as we're near to each other in rl then).

Pushing this message inside the zope community is perfect. But I don't 
see a need to communicate to outsiders that Zope 3 has become the Zope 
Toolkit. This will be confusing to outsiders. They don't have to think 
about what Zope 3 is/was. As the discussions showed even participants of 
the zope developers mailing list have slightly different views on Zope3.

We can safely market the Zope Toolkit with it's features and 
qualities. At the same time we should push everything related to Zope 
2|3 (maybe a bit clearer as the Zope 2|3 Application Server) into the 
background. Insiders will find it. For outsiders we can add a warning 
that our focus is the Zope Toolkit, there are web frameworks out there 
that new developers can use, but the Zope 2/3 Application Servers are no 
longer recommended.

 If we want to do this right we need to come up with a good way to get 
 the message out. We've traditionally not been very good at this form of 
 communication, so hopefully this is also something we can do better in 
 the New Order. We might want to delay this external communication to 
 when we are in the alpha stage for the Zope Toolkit 1.0 release, however.

Communicate to outsiders what we have, not what it should have been, is 
a start. Zope Toolkit 1.0 sounds great. Whatever naming we choose, it 
will always have one precondition to succeed: a new zope.org that 
clearly communicates things with the right priority.

..Carsten

Btw: Somebody should change Zope Framework to Zope Toolkit on 
zope.org and remove the version number v3.5 from the Zope Toolkit 
documentation.

___
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] Defining Zope 3.

2009-04-17 Thread Carsten Senger
Rob Miller schrieb:
 Gary Poster wrote:
 This message seems like a reasonable start to me:  Zope 3 has become  
 focused on supporting frameworks and applications, rather than trying  
 to be one itself.  It is now called the Zope Toolkit.  Parts of it are  
 used by Zope 2, Plone, Grok, Repoze.bfg, and by many other different  
 applications and frameworks.
 
 indeed, this seems to me a very nice message.  short, pretty much accurate 
 w/o 
 delving too much into the mind-numbing details.  

I'm also in love with this simple message. I would make it even more 
simple when communicating outside the zope developers community: Don't 
use Zope 3 in any general description.

Most references from outsiders to Zope concepts I read the last month 
referred to Zope, not Zope 3. When we start to promote the Zope 
Toolkit to the rest of the world, we don't need to make people think 
about what Zope 3 is/was, even if it's less accurate.

Zope has become focused on supporting frameworks and applications, 
rather than trying to be one itself. These libraries are named the Zope 
Toolkit. Parts of it are used by the Zope 2 Application Server, Plone, 
Grok, Repoze.bfg, and by many other different applications and frameworks.

[...]

..Carsten


___
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] Defining Zope 3.

2009-04-17 Thread Lennart Regebro
On Fri, Apr 17, 2009 at 14:47, Carsten Senger sen...@rehfisch.de wrote:
 Pushing this message inside the zope community is perfect. But I don't
 see a need to communicate to outsiders that Zope 3 has become the Zope
 Toolkit. This will be confusing to outsiders. They don't have to think
 about what Zope 3 is/was. As the discussions showed even participants of
 the zope developers mailing list have slightly different views on Zope3.

Now *I* am confused. I thought the idea was ti push it to outsiders.
Pushing it inside the Zope community would contradict what actually is
happening, and the community have the ability to understand what is
happening, so coming with a contra-factual story within the community
would be very confusing, I think.

 We can safely market the Zope Toolkit with it's features and
 qualities. At the same time we should push everything related to Zope
 2|3 (maybe a bit clearer as the Zope 2|3 Application Server) into the
 background. Insiders will find it. For outsiders we can add a warning
 that our focus is the Zope Toolkit, there are web frameworks out there
 that new developers can use, but the Zope 2/3 Application Servers are no
 longer recommended.

This makes sense.

-- 
Lennart Regebro: Python, Zope, Plone, Grok
http://regebro.wordpress.com/
+33 661 58 14 64
___
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] Defining Zope 3.

2009-04-17 Thread Carsten Senger
Lennart Regebro schrieb:
 On Fri, Apr 17, 2009 at 14:47, Carsten Senger sen...@rehfisch.de wrote:
 Pushing this message inside the zope community is perfect. But I don't
 see a need to communicate to outsiders that Zope 3 has become the Zope
 Toolkit. This will be confusing to outsiders. They don't have to think
 about what Zope 3 is/was. As the discussions showed even participants of
 the zope developers mailing list have slightly different views on Zope3.
 
 Now *I* am confused. I thought the idea was ti push it to outsiders.
 Pushing it inside the Zope community would contradict what actually is
 happening, and the community have the ability to understand what is
 happening, so coming with a contra-factual story within the community
 would be very confusing, I think.

It's my opinion that we should not communicate to outsiders that Zope 3 
has become the Zope Toolkit. I'm for simplifying it even more and tell 
that the focus of the Zope Community it the Zope Toolkit.

It would be complicated cause we still have Zope 3 the application 
server. We have to describe there why it still exists (to outsiders) and 
how to get it now for the people that need it in their existing 
applications. Or we have to tell the insiders that we now have 
ZopeAppServerKGSwhatever, something that they have known as Zope 3. But 
it's not Zope 3 anymore cause that's now the Zope Toolkit.

Communicating that we have to offer the Zope Toolkit with it's features 
is easier and less confusing to outsiders than mentioning Zope 3.

But I didn't want to start a new naming discussion :-(.

[...]

..Carsten

___
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] Zope 2.12 webdav source browser doesn't appear to work

2009-04-17 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Chris Withers wrote:
 Hi All,
 
 I tried to connect up to Zope 2.12 by the webdav source port today and 
 got the following in the event log::
 
 2009-04-17 09:13:48 ERROR Zope.SiteErrorLog 1239956028.70.143658354715 
 http://192.168.1.12:1980/@@home
 Traceback (innermost last):
Module ZPublisher.Publish, line 119, in publish
Module ZPublisher.mapply, line 77, in mapply
Module ZPublisher.Publish, line 42, in call_object
Module zope.app.pagetemplate.simpleviewclass, line 44, in __call__
Module zope.app.pagetemplate.viewpagetemplatefile, line 83, in __call__
Module Products.Five.browser.pagetemplatefile, line 53, in __call__
Module zope.pagetemplate.pagetemplate, line 115, in pt_render
 - Warning: Macro expansion failed
 - Warning: class 'zope.location.interfaces.LocationError': 
 (webdav.NullResource.NullResource object at 0x9f41a2c, 'macros')
Module zope.tal.talinterpreter, line 271, in __call__
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 867, in do_useMacro
Module zope.tales.tales, line 696, in evaluate
 - URL: {myproject}/browser/html/home.html
 - Line 3, Column 0
 - Expression: PathExpr 
 standard:u'root/standard_template.pt/macros/main'
 - Names:
{'args': (),
 'container': Application at ,
 'context': Application at ,
 'default': object object at 0xb7d5e548,
 'here': Application at ,
 'loop': {},
 'nothing': None,
 'options': {},
 'repeat': Products.PageTemplates.Expressions.SafeMapping object 
 at 0xa02720c,
 'request': HTTPRequest, URL=http://192.168.1.12:1980/@@home,
 'root': Application at ,
 'template': 
 Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 
 0x9e8c2ec,
 'traverse_subpath': [],
 'user': SpecialUser 'Anonymous User',
 'view': Products.Five.metaclass.SimpleViewClass from 
 {myproject}/browser/html/home.html object at 0x96540cc,
 'views': zope.app.pagetemplate.viewpagetemplatefile.ViewMapper 
 object at 0x9ffdb4c}
Module zope.tales.expressions, line 217, in __call__
Module Products.PageTemplates.Expressions, line 123, in _eval
Module zope.tales.expressions, line 124, in _eval
Module Products.PageTemplates.Expressions, line 75, in 
 boboAwareZopeTraverse
Module zope.traversing.adapters, line 139, in traversePathElement
 - __traceback_info__: (webdav.NullResource.NullResource object at 
 0x9f417ac, 'macros')
Module zope.traversing.adapters, line 53, in traverse
 - __traceback_info__: (webdav.NullResource.NullResource object at 
 0x9f417ac, 'macros', ['main'])
 LocationError: (webdav.NullResource.NullResource object at 0x9f417ac, 
 'macros')
 
 I don't know what this means, does anyone here?

It means that you have *part* of the WebDAV machinery wired up (hence
the NullResource objects) but not all of it (hence, you are trying to
render a ZPT which uses /path/to/template/macros/main).  Likely there is
a missing adapter registration or six in there.


Tres.
- --
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJ6Ivp+gerLs4ltQ4RAjoPAJwP67OxGBnmUJ1YBwhu08HrD2rG+ACgxI2K
rXhew89Jt6ch1ovIBkHr870=
=Enpx
-END PGP SIGNATURE-

___
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] Zope 2.12 webdav source browser doesn't appear to work

2009-04-17 Thread Chris Withers
Tres Seaver wrote:
 It means that you have *part* of the WebDAV machinery wired up (hence
 the NullResource objects) but not all of it (hence, you are trying to
 render a ZPT which uses /path/to/template/macros/main).  Likely there is
 a missing adapter registration or six in there.

I don't want no stinkin adapters here ;-)

I just want the good ol' fashioned Zope 2 webdav source port...

Why are *any* adapters I've wired up being used here?
(I haven't wired up anything for webdav, only normal views and the like 
I want used for http)

Chris

-- 
Simplistix - Content Management, Zope  Python Consulting
- http://www.simplistix.co.uk
___
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] [Zope 2.12.0a2]Acquisition+ExtensionClass failures with Python 2.6.2/Linux

2009-04-17 Thread Andreas Jung
Hi,

I am working on the 2.12.0a2 release. I get test failures on my Linux box
(OpenSuse 10.3/64 bit,
fresh Python 2.6.2 installation):

--
File
/home/ajung/.buildout/eggs/Acquisition-2.12.1-py2.6-linux-x86_64.egg/Acquisition/tests.py,
line 1732, in Acquisition.tests.test_proxying
Failed example:
list(i.c)
Exception raised:
Traceback (most recent call last):
  File
/home/ajung/.buildout/eggs/zope.testing-3.7.1-py2.6.egg/zope/testing/doctest.py,
line 1356, in __run
compileflags, 1) in test.globs
  File doctest Acquisition.tests.test_proxying[11], line 1, in
module
list(i.c)
MemoryError
--
File
/home/ajung/.buildout/eggs/Acquisition-2.12.1-py2.6-linux-x86_64.egg/Acquisition/tests.py,
line 1781, in Acquisition.tests.test_proxying
Failed example:
list(i.c)
Exception raised:
Traceback (most recent call last):
  File
/home/ajung/.buildout/eggs/zope.testing-3.7.1-py2.6.egg/zope/testing/doctest.py,
line 1356, in __run
compileflags, 1) in test.globs
  File doctest Acquisition.tests.test_proxying[23], line 1, in
module
list(i.c)
MemoryError

--
File
/home/ajung/.buildout/eggs/ExtensionClass-2.11.1-py2.6-linux-x86_64.egg/ExtensionClass/tests.py,
line 419, in ExtensionClass.tests.test_pickling_w_slots_w_empty_dict
Failed example:
pickle.loads(pickle.dumps(x, 0)) == x
Expected:
1
Got:
False
--
File
/home/ajung/.buildout/eggs/ExtensionClass-2.11.1-py2.6-linux-x86_64.egg/ExtensionClass/tests.py,
line 421, in ExtensionClass.tests.test_pickling_w_slots_w_empty_dict
Failed example:
pickle.loads(pickle.dumps(x, 1)) == x
Expected:
1
Got:
False
--
File
/home/ajung/.buildout/eggs/ExtensionClass-2.11.1-py2.6-linux-x86_64.egg/ExtensionClass/tests.py,
line 423, in ExtensionClass.tests.test_pickling_w_slots_w_empty_dict
Failed example:
pickle.loads(pickle.dumps(x, 2)) == x
Expected:
1
Got:
False

However I have no failures on MacOSX.

WTF?

Andreas
___
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] [Zope 2.12.0a2]Acquisition+ExtensionClass failures with Python 2.6.2/Linux

2009-04-17 Thread Andreas Jung
In addition, some of the Acquistion test fail when trying to test the
package alone:

aj...@blackmoon:/develop/repository/svn.zope.org/Acquisition/tags/2.11.1
bin/test  -vv
Running tests at level 1
Running zope.testing.testrunner.layer.UnitTests tests:
  Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
  Running:
 tests (Acquisition) (0.008 s)
 old_tests (Acquisition.tests) (0.003 s)


Failure in test old_tests (Acquisition.tests)
Failed doctest test for Acquisition.tests.old_tests
  File /home/develop/repository/
svn.zope.org/Acquisition/tags/2.11.1/src/Acquisition/tests.py, line 1204,
in old_tests

--
File /home/develop/repository/
svn.zope.org/Acquisition/tags/2.11.1/src/Acquisition/tests.py, line 1238,
in Acquisition.tests.old_tests
Failed example:
b.c.d == c
Expected:
1
Got:
False
--
File /home/develop/repository/
svn.zope.org/Acquisition/tags/2.11.1/src/Acquisition/tests.py, line 1242,
in Acquisition.tests.old_tests
Failed example:
b.c == c
Expected:
1
Got:
False

Can anyone reproduce this?

Andreas


On Fri, Apr 17, 2009 at 16:43, Andreas Jung li...@zopyx.com wrote:

 Hi,

 I am working on the 2.12.0a2 release. I get test failures on my Linux box
 (OpenSuse 10.3/64 bit,
 fresh Python 2.6.2 installation):

 --
 File
 /home/ajung/.buildout/eggs/Acquisition-2.12.1-py2.6-linux-x86_64.egg/Acquisition/tests.py,
 line 1732, in Acquisition.tests.test_proxying
 Failed example:
 list(i.c)
 Exception raised:
 Traceback (most recent call last):
   File
 /home/ajung/.buildout/eggs/zope.testing-3.7.1-py2.6.egg/zope/testing/doctest.py,
 line 1356, in __run
 compileflags, 1) in test.globs
   File doctest Acquisition.tests.test_proxying[11], line 1, in
 module
 list(i.c)
 MemoryError
 --
 File
 /home/ajung/.buildout/eggs/Acquisition-2.12.1-py2.6-linux-x86_64.egg/Acquisition/tests.py,
 line 1781, in Acquisition.tests.test_proxying
 Failed example:
 list(i.c)
 Exception raised:
 Traceback (most recent call last):
   File
 /home/ajung/.buildout/eggs/zope.testing-3.7.1-py2.6.egg/zope/testing/doctest.py,
 line 1356, in __run
 compileflags, 1) in test.globs
   File doctest Acquisition.tests.test_proxying[23], line 1, in
 module
 list(i.c)
 MemoryError

 --
 File
 /home/ajung/.buildout/eggs/ExtensionClass-2.11.1-py2.6-linux-x86_64.egg/ExtensionClass/tests.py,
 line 419, in ExtensionClass.tests.test_pickling_w_slots_w_empty_dict
 Failed example:
 pickle.loads(pickle.dumps(x, 0)) == x
 Expected:
 1
 Got:
 False
 --
 File
 /home/ajung/.buildout/eggs/ExtensionClass-2.11.1-py2.6-linux-x86_64.egg/ExtensionClass/tests.py,
 line 421, in ExtensionClass.tests.test_pickling_w_slots_w_empty_dict
 Failed example:
 pickle.loads(pickle.dumps(x, 1)) == x
 Expected:
 1
 Got:
 False
 --
 File
 /home/ajung/.buildout/eggs/ExtensionClass-2.11.1-py2.6-linux-x86_64.egg/ExtensionClass/tests.py,
 line 423, in ExtensionClass.tests.test_pickling_w_slots_w_empty_dict
 Failed example:
 pickle.loads(pickle.dumps(x, 2)) == x
 Expected:
 1
 Got:
 False

 However I have no failures on MacOSX.

 WTF?

 Andreas

___
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] Defining Zope 3.

2009-04-17 Thread Martijn Faassen
Hey,

Carsten Senger wrote:
[snip]
 Btw: Somebody should change Zope Framework to Zope Toolkit on 
 zope.org and remove the version number v3.5 from the Zope Toolkit 
 documentation.

Could you fix the Zope Toolkit documentation and change it to 1.0? It's 
in SVN.

It'd be very nice if you could also hunt down the people who do zope.org 
and rename it there. I didn't even know it was linked from there yet.

Regards,

Martijn

___
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] [Zope 2.12.0a2]Acquisition+ExtensionClass failures with Python 2.6.2/Linux

2009-04-17 Thread Chris Withers
Andreas Jung wrote:
 I am working on the 2.12.0a2 release. I get test failures on my Linux 
 box (OpenSuse 10.3/64 bit,
 fresh Python 2.6.2 installation):

64bit problem maybe?

Chris

-- 
Simplistix - Content Management, Zope  Python Consulting
- http://www.simplistix.co.uk
___
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] Defining Zope 3.

2009-04-17 Thread Martijn Faassen
Hey,

Lennart Regebro wrote:
 A more truthful story is that Zope Toolkit is a base for writing
 frameworks, and that one of those frameworks was Zope 3, now renamed
 to something cool. But the support in this thread for the previous
 story makes me wonder if we shouldn't push that, slightly more
 incorrect story, anyway. People seem to understand it. It's in this
 situation possible that it's better with a false story that people
 understand than a correct story that just adds to the confusion.

Yeah, I've been thinking the same. But I think it's even unclear what 
the correct story is given the lack of interest people have in the Zope 
3 project beyond what the toolkit offers.

I think Carsten says it well though, contrasting external and internal 
communication, and not just making the term Zope 3 disappear.

We should just retain the Zope 3 name to the outside world for the time 
being, but de-emphasize it in our communication. We push Zope Toolkit a 
lot more. If people want to get started using the toolkit, we point them 
to Grok, BFG and Plone.

Regards,

Martijn

___
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] Defining Zope 3.

2009-04-17 Thread Lennart Regebro
On Fri, Apr 17, 2009 at 16:51, Martijn Faassen faas...@startifact.com wrote:
 We should just retain the Zope 3 name to the outside world for the time
 being, but de-emphasize it in our communication. We push Zope Toolkit a
 lot more. If people want to get started using the toolkit, we point them
 to Grok, BFG and Plone.

I think this is a good plan.

-- 
Lennart Regebro: Python, Zope, Plone, Grok
http://regebro.wordpress.com/
+33 661 58 14 64
___
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] Defining Zope 3.

2009-04-17 Thread Jim Fulton

On Apr 17, 2009, at 11:49 AM, Martijn Faassen wrote:

 Simon Michael wrote:
 -1, Gary's is clearer.

 I think what is clear or not is very subjective. I think that at least
 is clear.


I think it is clear that you are disregarding many people's opinions.

Jim

--
Jim Fulton
Zope Corporation


___
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] Defining Zope 3.

2009-04-17 Thread Martijn Faassen
Jim Fulton wrote:
 On Apr 17, 2009, at 11:49 AM, Martijn Faassen wrote:
 
 Simon Michael wrote:
 -1, Gary's is clearer.
 I think what is clear or not is very subjective. I think that at least
 is clear.
 
 
 I think it is clear that you are disregarding many people's opinions.

censored by the PSU

Regards,

Martijn

___
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] Defining Zope 3.

2009-04-17 Thread Lennart Regebro
On Fri, Apr 17, 2009 at 17:07, Simon Michael si...@joyful.com wrote:
 -1, Gary's is clearer.

But still not accurate. I've yet hear anybody actually support the
point of view that we should (internally or externally) push a story
that is not really true. If this indeed is the opinion of the
majority, I for one would like to hear people say so explicitly, as it
is right now hard to know if you support Gary's story because it's
clear, even though it's an oversimplification, or if you support it
because you believe it to be accurate.

If we are going to oversimplify for claritys sake, I think it's
important that we are aware and honest about it.

-- 
Lennart Regebro: Python, Zope, Plone, Grok
http://regebro.wordpress.com/
+33 661 58 14 64
___
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] Defining Zope 3.

2009-04-17 Thread Lennart Regebro
On Fri, Apr 17, 2009 at 18:00, Jim Fulton j...@zope.com wrote:
 I think it is clear that you are disregarding many people's opinions.

What opinions have been disregarded, more exactly?

-- 
Lennart Regebro: Python, Zope, Plone, Grok
http://regebro.wordpress.com/
+33 661 58 14 64
___
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] Defining Zope 3.

2009-04-17 Thread Jim Fulton

On Apr 17, 2009, at 12:17 PM, Lennart Regebro wrote:

 On Fri, Apr 17, 2009 at 18:00, Jim Fulton j...@zope.com wrote:
 I think it is clear that you are disregarding many people's opinions.

 What opinions have been disregarded, more exactly?


Gary's, Mine, Tres', Simon's, Benji's and others I could find if I  
trolled through the thread, which I won't.

Continuing to talk about Zope 3 is harmful.  Saying that Zope 3 is a  
dead end is also harmful.  Saying that Zope 3 is being renamed to Zope  
Toolkit with some things left out and with some possible Zope 3  
project that may or may not support the bits left out is at best too  
confusing.  Simply saying that we're renaming Zope 3 to the Zope  
Toolkit is clean and simple.  The fact that the contents of the  
toolkit will change over time as parts are gradually deprecated or  
receive less care is a detail that doesn't have to be part of the main  
message.  At worst, the message Gary suggests is imprecise. It isn't  
inaccurate.  Of course, Gary made these points more eloquently than I  
just did.

Jim

--
Jim Fulton
Zope Corporation


___
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] Defining Zope 3.

2009-04-17 Thread Martijn Faassen
Jim Fulton wrote:
 On Apr 17, 2009, at 11:49 AM, Martijn Faassen wrote:
 
 Simon Michael wrote:
 -1, Gary's is clearer.
 I think what is clear or not is very subjective. I think that at least
 is clear.
 
 
 I think it is clear that you are disregarding many people's opinions.

Okay, I'll come back with a bit more rational response than my first one.

Could you also tell me how I'm disregarding people's opinions in this 
thread? Examples?

Or do you think stating my own opinions and concerns, while I'm clearly 
  (explicitly mentioned) thinking this topic through, is tantamount to 
disregarding other people's opinions?

Do you really think I'm in this discussion with people just to disregard 
their opinions?

I'm trying to consider the impact of changing a well-known well-used 
name that carries certain expectations (different ones for different 
people!) to something else that was set up explicitly to have different 
expectations, namely the Zope Toolkit.

The Zope Toolkit concept was explicitly designed to *separate* those 
expectations from the (vague but broad) expectations surrounding Zope 3. 
I spent quite a bit of time trying to work that out. Now we're a few 
weeks later. It is proposed instead we rename what we called Zope 3 to 
Zope Toolkit and tell everybody that the expectations changed. I've 
expressed clearly that's an interesting approach and also clearly that I 
have some concerns.

Excuse me while I try to wrestle with the implications and alternatives 
surrounding this. I do this because it all isn't very clear to *me*.

Regards,

Martijn

___
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] Defining Zope 3.

2009-04-17 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Martijn Faassen wrote:
 Jim Fulton wrote:
 On Apr 17, 2009, at 11:49 AM, Martijn Faassen wrote:

 Simon Michael wrote:
 -1, Gary's is clearer.
 I think what is clear or not is very subjective. I think that at least
 is clear.

 I think it is clear that you are disregarding many people's opinions.
 
 Okay, I'll come back with a bit more rational response than my first one.
 
 Could you also tell me how I'm disregarding people's opinions in this 
 thread? Examples?
 
 Or do you think stating my own opinions and concerns, while I'm clearly 
   (explicitly mentioned) thinking this topic through, is tantamount to 
 disregarding other people's opinions?
 
 Do you really think I'm in this discussion with people just to disregard 
 their opinions?
 
 I'm trying to consider the impact of changing a well-known well-used 
 name that carries certain expectations (different ones for different 
 people!) to something else that was set up explicitly to have different 
 expectations, namely the Zope Toolkit.
 
 The Zope Toolkit concept was explicitly designed to *separate* those 
 expectations from the (vague but broad) expectations surrounding Zope 3. 
 I spent quite a bit of time trying to work that out. Now we're a few 
 weeks later. It is proposed instead we rename what we called Zope 3 to 
 Zope Toolkit and tell everybody that the expectations changed. I've 
 expressed clearly that's an interesting approach and also clearly that I 
 have some concerns.

I am -1 on pushing a Zope3 is now the Zope Toolkit message:  I would
rather that we *not bring up Zope3 in public again*, while still
enabling those who have built apps atop the un-brand to maintain them.
If somebody asks, Hey, what happened to Zope3?, we can explain briefly
that the core of it is now ZTK, and that the other bits have a life of
their own, but *without the un-brand*.

To this end, I think we sholud remove all traces of the un-brand from
prominent places on our websites, try to stay on message as a
community, while re-focusing on the technical aspects of the transition
(rather than the branding / perception ones).


Tres.
- --
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJ6LKE+gerLs4ltQ4RAkfIAKC/s1iE3sE3+fag5Tvrat6X/uM9XACfTctf
EvnsuRnMvhmvoeh7JJ8L/fI=
=iKI4
-END PGP SIGNATURE-

___
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] Defining Zope 3.

2009-04-17 Thread Martijn Faassen
Jim Fulton wrote:
 On Apr 17, 2009, at 12:17 PM, Lennart Regebro wrote:
 
 On Fri, Apr 17, 2009 at 18:00, Jim Fulton j...@zope.com wrote:
 I think it is clear that you are disregarding many people's opinions.
 What opinions have been disregarded, more exactly?
 
 
 Gary's, Mine, Tres', Simon's, Benji's and others I could find if I  
 trolled through the thread, which I won't.

I'll troll through the thread myself and just quote myself.


Given the responses to this thread I'm starting to lean towards pushing
the message to the outside that Zope 3 has become Zope Toolkit, has a
different focus, basically just as Gary stated, and really push this
message internally (on zope-dev) as well.

I'll think it over over the weekend (and discuss it with Christian
Theune, as we're near to each other in rl then).



That's a good point.

A renaming operation does have the virtue of being simple to understand
for outsiders. If we assume that the Zope Toolkit has other focuses
internally that it should be all right to give up the name Zope 3
(except in the maintenance sense).



So I'm ready to just go with Gary's plan and present this as a renaming
recognizing that Zope 3 has become something very different, as there
really indeed doesn't seem to be anything else left.



I think Carsten says it well though, contrasting external and internal
communication, and not just making the term Zope 3 disappear.


[I'll note that Carsten has supported both the rename but also said in 
another message we shouldn't rename it to the outside world in this 
thread, similar to my latest proposal]

I was hoping that people like Fabio who expressed interest in Zope 3 as 
a community project (whatever its name) could get some time to organize 
themselves first.

So I proposed delaying this decision first (especially as it'll take us 
a while to get ready anyway).

I'm also just plain concerned with renaming a name referenced in many 
places (books and so on). This concern was expressed in earlier threads 
by various people when I proposed renaming Zope 3 to something else.

Finally I'm worried that saying Zope 3 was renamed to Zope Toolkit 
dilutes the concept separation, which was exactly what I was trying so 
hard to do. I'm still not very happy with the implications of that.

Why attack me when I'm trying to give it a bit more thought? It's really 
discouraging to do that.

Regards,

Martijn

___
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] Defining Zope 3.

2009-04-17 Thread Lennart Regebro
On Fri, Apr 17, 2009 at 18:25, Jim Fulton j...@zope.com wrote:
 Gary's, Mine, Tres', Simon's, Benji's and others I could find if I trolled
 through the thread, which I won't.

I can't see how these have been disregarded. Gary proposed that we say
that Zope 3 has been renamed to the Zope Toolkit. Martijn proposed
something else. I proposed a third thing. That me and Martijn doesn't
automatically agree with an opinion doesn't mean we disregard it.

 Continuing to talk about Zope 3 is harmful.  Saying that Zope 3 is a dead
 end is also harmful.  Saying that Zope 3 is being renamed to Zope Toolkit
 with some things left out and with some possible Zope 3 project that may or
 may not support the bits left out is at best too confusing.  Simply saying
 that we're renaming Zope 3 to the Zope Toolkit is clean and simple.

But it's inaccurate, and it forgets the fact that Zope 3 will be
maintained for at least the nearest future.

And it *is* inaccurate. Not imprecise, inaccurate. The Toolkit is not
a renaming of Zope 3. It's a subset of it. Yes, the statement Zope 3
is now called Zope Toolkit is clear. But what happens when people
discover that in fact, that the Zope Toolkit is NOT Zope 3, and in
fact Zope 3 is still being maintained by Stephan Richter? Is it still
clear then?

In my opinion it isn't. And I've pointed this out several times, and
nobody comes back with a response. Nobody is saying Yes, we should
say that Zope 3 is renamed to Zope Toolkit even though it's incorrect
because or It's going to be less confusing because

So, if I'm gonna act hurt, I'll claim that anybodys opinion here is
being disregarded, it's mine. ;-)
And I'll state it again, for clarities sake:

I think that Zope 3 should be renamed. I proposed Blue Bream (and
not to the Zope Toolkit, because Zope 3 is NOT the Zope Toolkit. It's
more than that). It removes the confusion between Zope 2 and Zope 3.
It removes the confusion between Zope 3 and the Zope Toolkit. This way
we do not have to continue to talk about Zope 3. This way we don't
have to say that Zope 3 is dead. This way we don't have to say that
Zope 3 is renamed Zope Toolkit with bits left out. And it is correct,
accurate and clear.

I have still to see any arguments against this. If there are any,
please put them forward.

-- 
Lennart Regebro: Python, Zope, Plone, Grok
http://regebro.wordpress.com/
+33 661 58 14 64
___
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] Zope 2.12 webdav source browser doesn't appear to work

2009-04-17 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Chris Withers wrote:
 Tres Seaver wrote:
 It means that you have *part* of the WebDAV machinery wired up (hence
 the NullResource objects) but not all of it (hence, you are trying to
 render a ZPT which uses /path/to/template/macros/main).  Likely there is
 a missing adapter registration or six in there.
 
 I don't want no stinkin adapters here ;-)
 
 I just want the good ol' fashioned Zope 2 webdav source port...
 
 Why are *any* adapters I've wired up being used here?
 (I haven't wired up anything for webdav, only normal views and the like 
 I want used for http)

I'm sorry if I seemed to imply a bug in your application:  I meant to
point out that the *publisher* was finding the wrong published object
(one apprpirate to an IBrowserRequest), while some bits (path traversal
within the template) were finding the WebDAV-y bits.

Where the bug lies (in Zope or in your app) is not apparent from the
information you originally posted.


Tres.
- --
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJ6LMy+gerLs4ltQ4RAhauAKDNzWOSjgyEe/Q6doGaTLF3i1iO3ACfW+VI
j1B7owIH3JX+NzPTKCYjiUk=
=Xn2G
-END PGP SIGNATURE-

___
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] People in the Zope 3 and ZMI teams

2009-04-17 Thread Martijn Faassen
Hey Fabio,

Thanks again for coming back on this, this is quite encouraging.

Fabio Tranchitella wrote:
 I've just checked out that the domain zope3.org is not owned by the Zope
 Corporation. Do you have any idea about it? Would it be possible to claim
 it back?

I don't know, unfortunately.

 I'm thinking about taking over maintenance of zope3 in the wider term (not
 only maintaining the code, but also the community around it).

I might've missed your statement on this before, but do you think you 
could work with a renamed Zope 3? The same technology but with a 
different name? We could easily create a 'foo.zope.org' for it just like 
we have 'grok.zope.org', or we could of course start with a new domain name.

I think a fresh take on Zope 3 would help focus the efforts as well, and 
perhaps dumping the conceptual baggage would help attract new users and 
developers. But this discussions is fraught with danger. :)

 To be honest, zope3 (as it is today) is a nice platform for me and for my
 company to build web applications (and, in general, the ZCA is a nice
 platform for building not-only-web applications), and it would be a shame
 to loose it.

The ZCA is well in hand and I hope it's going to do better than ever, 
managed as part of the Zope Toolkit project. I hope we'll eventually 
gain improved documentation describing it too, right there on zope.org.

  To make explicit: I am not talking just about maintaining the ZMI, I'm
  talking about making zope3 a *real* user-friendly web framework, as
  (for example) grok is already right now.

Very cool! So, what about the name? Open to a change?

Regards,

Martijn

___
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] Defining Zope 3.

2009-04-17 Thread Simon Michael
Lennart Regebro wrote:
 So, if I'm gonna act hurt, I'll claim that anybodys opinion here is
 being disregarded, it's mine. ;-)
 And I'll state it again, for clarities sake:
 
 I think that Zope 3 should be renamed. I proposed Blue Bream (and
...
 I have still to see any arguments against this. If there are any,

Um.. people will laugh at us ?

Just my little attempt to inject humour. Sorry Lennart. Blue Bream cracks me up 
every time I see it. Sorry, sorry. :)

This is also a test message to see why my last didn't show up.

___
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] z3c.javascript license question

2009-04-17 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Martijn Faassen wrote:
 Hi there,
 
 On svn.zope.org we have a library called z3c.javascript. Never got 
 released to pypi, but it did get released to download.zope.org/distribution
 
 It basically contains a pile of javascript libraries. These have very 
 non-ZPL licenses.
 
 I wonder whether anyone at zope corporation ever got permission for 
 checking these in?
 
 What shall we do with this stuff? I'm tempted to remove it wholesale, 
 except z3c.widget uses bits in it, and that in turn is used by 
 megrok.form, which is how all this came to light. z3c.widget is released 
 on pypi (though newer releases exist in download.zope.org/distribution 
 again).
 
 Wwe will probably be able to rewrite megrok.form to lose the z3c.widget 
 dependency easily enough, so I'm going to propose we do this on grok-dev.

I see no ZC-employee checkins at all in the svn log, which starts in May
2006.  This thread from October 2006 points out licensing issues:

 
http://news.gmane.org/find-root.php?group=gmane.comp.web.zope.zope3article=19324

+1 to removal, perhaps after some kind of svn export process.:  those
who maintain the package should host it elsewhere.  The tarballs should
be removed from download.zope.org, as well.



Tres.
- --
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJ6LZ0+gerLs4ltQ4RAiJoAKCbc/I+YoMw8nNA4NLI9+KmpeZGpQCeIaFr
ibTkkKoB4Molk2Yc4dwhcOA=
=rbPd
-END PGP SIGNATURE-

___
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] Defining Zope 3.

2009-04-17 Thread Lennart Regebro
On Fri, Apr 17, 2009 at 19:03, Simon Michael si...@joyful.com wrote:
 Um.. people will laugh at us ?

No, *with* us. Big difference. :)

-- 
Lennart Regebro: Python, Zope, Plone, Grok
http://regebro.wordpress.com/
+33 661 58 14 64
___
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] Defining Zope 3.

2009-04-17 Thread Rob Miller
Martijn Faassen wrote:
 Hey Martin,
 
 Martin Aspeli wrote:
 [snip]
 Sigh... this discussion is just really difficult. I don't really 
 understand what the problem is here, or why it's indicative of what's 
 wrong with this community, but then I'm pretty lost in concepts and 
 names at this stage.

 I think you're reading way too much into what I wrote though. I just 
 meant thing using the Zope Toolkit but adding more stuff, e.g. an app 
 server project or a shared management UI project.
 
 The difference is I think was that I'm not talking about just code; a 
 KGS is just a list of versions. I'm talking about code and documentation 
 and a presentation of this code as a whole that people can learn about 
 and play with.
 
 The notion that it's just enough for Zope 3 to be pieces of code is part 
 of what led me to Grok.
 
 If the notion of Zope 3 can be limited to just a greater set of packages 
 where compatibility is tested, it's not really much of a project to 
 speak of. That's fine, we have other projects like Grok that do care, 
 but I'll stop worrying about it.

sure, i understand what you're saying here.  it'd be great if some set of 
folks who are using the full Z3 app server platform decided to step up, create 
a website, refine the branding, and just generally breathe life into the 
project.  but, until someone does, we have a weird muddled situation where 
nobody except the people who are regulars on this mailing list has any idea 
what is going on with this Zope thing.

me, personally, i don't use the Z3 app server platform, so i'm not going to be 
one of the people who steps up to take charge of it's public face.  and, 
frankly, i don't really care one way or the other whether or not anybody else 
does it.  but you DO seem to care, martijn; you'd like to see that platform 
get the love, attention, and branding that it deserves.  that's great.

but i suggest you'd have more success in that effort if you said things like:

Hey, all you people out there using the Zope 3 app server thingy... you 
realize you have a branding problem, right?  Now is a perfect time to revisit 
your platform.  Maybe some folks should get together, come up with a catchy 
name (Rob Miller already suggested 'Zapp'... ;-) , and build a website with 
some documentation... whaddaya say?

instead of:

The whole idea of whatever-Zope 3-is-designated-as just being a 'larger
KGS' strikes me as strange. Frankly it strikes me as indicative of
what's wrong with this community.

of course, there are no guarantees that you're going to get any takers no 
matter HOW you approach this.  but that's life, IMO... if nobody steps up to 
do what needs to be done, well, there you are.

-r

___
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] Defining Zope 3.

2009-04-17 Thread Martijn Faassen
Hey Rob,

Rob Miller wrote:
[snip]
 sure, i understand what you're saying here.  it'd be great if some set of 
 folks who are using the full Z3 app server platform decided to step up, 
 create 
 a website, refine the branding, and just generally breathe life into the 
 project.  but, until someone does, we have a weird muddled situation where 
 nobody except the people who are regulars on this mailing list has any idea 
 what is going on with this Zope thing.
 
 me, personally, i don't use the Z3 app server platform, so i'm not going to 
 be 
 one of the people who steps up to take charge of it's public face.  and, 
 frankly, i don't really care one way or the other whether or not anybody else 
 does it.  but you DO seem to care, martijn; you'd like to see that platform 
 get the love, attention, and branding that it deserves.  that's great.
 
 but i suggest you'd have more success in that effort if you said things like:
 
 Hey, all you people out there using the Zope 3 app server thingy... you 
 realize you have a branding problem, right?  Now is a perfect time to revisit 
 your platform.  Maybe some folks should get together, come up with a catchy 
 name (Rob Miller already suggested 'Zapp'... ;-) , and build a website with 
 some documentation... whaddaya say?
 
 instead of:
 
 The whole idea of whatever-Zope 3-is-designated-as just being a 'larger
 KGS' strikes me as strange. Frankly it strikes me as indicative of
 what's wrong with this community.

You're right of course, I apologize for going that way. I have little 
excuse for that.

Of course you will see previous thread where I tried to talk about Zope 
3 and who wanted to maintain it where I tried the erlier bit - I mean, 
I've been trying to get that very discussion started. It just seems many 
of the regular users of Zope 3 are pretty uninterested in that topic 
(see my Zope 3 team post for an overview), though there were some people 
who are, and I should focus on them.

Regards,

Martijn

___
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] Zope 2.12 webdav source browser doesn't appear to work

2009-04-17 Thread Chris Withers
Tres Seaver wrote:
 Why are *any* adapters I've wired up being used here?
 (I haven't wired up anything for webdav, only normal views and the like 
 I want used for http)
 
 I'm sorry if I seemed to imply a bug in your application:  I meant to
 point out that the *publisher* was finding the wrong published object
 (one apprpirate to an IBrowserRequest), while some bits (path traversal
 within the template) were finding the WebDAV-y bits.
 
 Where the bug lies (in Zope or in your app) is not apparent from the
 information you originally posted.

Given that I haven't done *anything* to configure anything for webdav 
(other than specify a source port in zope.conf), I think it's a 
reasonable expectation that what used to happen should keep on happening 
in the same way. As to why that isn't the case, I'm afraid I have no idea.

Any ideas on debugging would mean I might be able to help get this bug 
fixed...

Chris

-- 
Simplistix - Content Management, Zope  Python Consulting
- http://www.simplistix.co.uk
___
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] How can I force the language for a particular template rendering?

2009-04-17 Thread Chris Withers
Hi All,

What I want to do is best shown in pseudocode:

something.setLanguage('fr')
text = my_page_template()
something.restoreLanguage()

...the reason I want to do this is that the results of that template 
will not be in the language negotiated for the current user, as the 
result is then emailed to someone who may not be speaking the same 
language as them.

I can't find a way to specify a target_language that overrides the 
negotiated language into the ZPT rendering process. Is there such a way?

Suggestions welcomed!

Chris

-- 
Simplistix - Content Management, Zope  Python Consulting
- http://www.simplistix.co.uk
___
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] Defining Zope 3.

2009-04-17 Thread Andrew Sawyers
+1 with Tres' position.

On Fri, Apr 17, 2009 at 9:47 AM, Tres Seaver tsea...@palladion.com wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Martijn Faassen wrote:
  Jim Fulton wrote:
  On Apr 17, 2009, at 11:49 AM, Martijn Faassen wrote:
 
  Simon Michael wrote:
  -1, Gary's is clearer.
  I think what is clear or not is very subjective. I think that at least
  is clear.
 
  I think it is clear that you are disregarding many people's opinions.
 
  Okay, I'll come back with a bit more rational response than my first one.
 
  Could you also tell me how I'm disregarding people's opinions in this
  thread? Examples?
 
  Or do you think stating my own opinions and concerns, while I'm clearly
(explicitly mentioned) thinking this topic through, is tantamount to
  disregarding other people's opinions?
 
  Do you really think I'm in this discussion with people just to disregard
  their opinions?
 
  I'm trying to consider the impact of changing a well-known well-used
  name that carries certain expectations (different ones for different
  people!) to something else that was set up explicitly to have different
  expectations, namely the Zope Toolkit.
 
  The Zope Toolkit concept was explicitly designed to *separate* those
  expectations from the (vague but broad) expectations surrounding Zope 3.
  I spent quite a bit of time trying to work that out. Now we're a few
  weeks later. It is proposed instead we rename what we called Zope 3 to
  Zope Toolkit and tell everybody that the expectations changed. I've
  expressed clearly that's an interesting approach and also clearly that I
  have some concerns.

 I am -1 on pushing a Zope3 is now the Zope Toolkit message:  I would
 rather that we *not bring up Zope3 in public again*, while still
 enabling those who have built apps atop the un-brand to maintain them.
 If somebody asks, Hey, what happened to Zope3?, we can explain briefly
 that the core of it is now ZTK, and that the other bits have a life of
 their own, but *without the un-brand*.

 To this end, I think we sholud remove all traces of the un-brand from
 prominent places on our websites, try to stay on message as a
 community, while re-focusing on the technical aspects of the transition
 (rather than the branding / perception ones).


 Tres.
 - --
 ===
 Tres Seaver  +1 540-429-0999  tsea...@palladion.com
 Palladion Software   Excellence by Designhttp://palladion.com
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.6 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

 iD8DBQFJ6LKE+gerLs4ltQ4RAkfIAKC/s1iE3sE3+fag5Tvrat6X/uM9XACfTctf
 EvnsuRnMvhmvoeh7JJ8L/fI=
 =iKI4
 -END PGP SIGNATURE-

 ___
 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 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] z3c.javascript license question

2009-04-17 Thread Roger Ineichen
Hi Tres

 Betreff: Re: [Zope-dev] z3c.javascript license question
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Martijn Faassen wrote:
  Hi there,
  
  On svn.zope.org we have a library called z3c.javascript. Never got 
  released to pypi, but it did get released to 
  download.zope.org/distribution
  
  It basically contains a pile of javascript libraries. These 
 have very 
  non-ZPL licenses.
  
  I wonder whether anyone at zope corporation ever got permission for 
  checking these in?
  
  What shall we do with this stuff? I'm tempted to remove it 
 wholesale, 
  except z3c.widget uses bits in it, and that in turn is used by 
  megrok.form, which is how all this came to light. z3c.widget is 
  released on pypi (though newer releases exist in 
  download.zope.org/distribution again).
  
  Wwe will probably be able to rewrite megrok.form to lose the 
  z3c.widget dependency easily enough, so I'm going to 
 propose we do this on grok-dev.
 
 I see no ZC-employee checkins at all in the svn log, which 
 starts in May 2006.  This thread from October 2006 points out 
 licensing issues:
 
  
 http://news.gmane.org/find-root.php?group=gmane.comp.web.zope.
zope3article=19324
 
 +1 to removal, perhaps after some kind of svn export process.:  those
 who maintain the package should host it elsewhere.  The 
 tarballs should be removed from download.zope.org, as well.

I remember that I added a correct license header some years ago
for z3c.javascript.

This code was at least some years ago used by the lovely
systems guys. Not sure this days.

Regards
Roger Ineichen

___
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] How can I force the language for a particular template rendering?

2009-04-17 Thread Ethan Jucovy
How about just monkeypatching the active negotiator?

{{{
negotiator = getUtility(zope.i18n.interfaces.INegotiator)
orig = negotiator.getLanguage
negotiator.getLanguage = lambda foo, bar: 'fr'
text = my_page_template()
negotiator.getLanguage = orig
}}}

Haven't tested it, but in my (limited) understanding of the I18N system
something like that ought to work..

egj

On Fri, Apr 17, 2009 at 3:14 PM, Chris Withers ch...@simplistix.co.ukwrote:

 Hi All,

 What I want to do is best shown in pseudocode:

 something.setLanguage('fr')
 text = my_page_template()
 something.restoreLanguage()

 ...the reason I want to do this is that the results of that template
 will not be in the language negotiated for the current user, as the
 result is then emailed to someone who may not be speaking the same
 language as them.

 I can't find a way to specify a target_language that overrides the
 negotiated language into the ZPT rendering process. Is there such a way?

 Suggestions welcomed!

 Chris
___
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] How can I force the language for a particular template rendering?

2009-04-17 Thread Hanno Schlichting
Ethan Jucovy wrote:
 How about just monkeypatching the active negotiator?
 
 {{{
 negotiator = getUtility(zope.i18n.interfaces.INegotiator)
 orig = negotiator.getLanguage
 negotiator.getLanguage = lambda foo, bar: 'fr'
 text = my_page_template()
 negotiator.getLanguage = orig
 }}}
 
 Haven't tested it, but in my (limited) understanding of the I18N system
 something like that ought to work..

As the default negotiator is based on the request, it might be possible
to forge a different request object for the template.

Or attach a marker interface to the request and register a different
IUserPreferredLanguages adapter for it. A more specialized version
should take precedence over the normal adapter based on the HTTP header.

Hanno

___
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] z3c.javascript license question

2009-04-17 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Roger Ineichen wrote:
 Hi Tres
 
 Betreff: Re: [Zope-dev] z3c.javascript license question

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Martijn Faassen wrote:
 Hi there,

 On svn.zope.org we have a library called z3c.javascript. Never got 
 released to pypi, but it did get released to 
 download.zope.org/distribution

 It basically contains a pile of javascript libraries. These 
 have very 
 non-ZPL licenses.

 I wonder whether anyone at zope corporation ever got permission for 
 checking these in?

 What shall we do with this stuff? I'm tempted to remove it 
 wholesale, 
 except z3c.widget uses bits in it, and that in turn is used by 
 megrok.form, which is how all this came to light. z3c.widget is 
 released on pypi (though newer releases exist in 
 download.zope.org/distribution again).

 Wwe will probably be able to rewrite megrok.form to lose the 
 z3c.widget dependency easily enough, so I'm going to 
 propose we do this on grok-dev.

 I see no ZC-employee checkins at all in the svn log, which 
 starts in May 2006.  This thread from October 2006 points out 
 licensing issues:

  
 http://news.gmane.org/find-root.php?group=gmane.comp.web.zope.
 zope3article=19324
 +1 to removal, perhaps after some kind of svn export process.:  those
 who maintain the package should host it elsewhere.  The 
 tarballs should be removed from download.zope.org, as well.
 
 I remember that I added a correct license header some years ago
 for z3c.javascript.

There are several checkins which mention adding licenses for the
varioius JS libraries:  the problem is that non-ZC contributors are
never supposed to check in any code which they don't own, and which they
can therefore license under the ZPL.  The purpose of this restriction
was to ensure that folks using software from the repository could be
confident that they didn't need to audit licenses, because effectively
everything would be ZPL:  the few exceptions were supposed to have been
verified as being compatible with (and equally or more permissive than)
the ZPL.

I think I recall that Jim ripped out an integration package for the Ext
Javascript framework precisely because the licensing for Ext was
initially questionable, and later became outright unacceptable.

Now that the copyrights are transferred to the Zope Foundation,
essentially *nobody* can check in non-ZPL code, without a special
exemption from the ZF board or its delegate (nobody is yet appointed to
handle this).


Tres.
- --
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJ6Nz6+gerLs4ltQ4RAppjAJ0ZIOWw00XtGFQiVxFumUOWr7vGvQCeKSGi
Bx+MmnmOY0D11UUMxgAsnbY=
=xdSO
-END PGP SIGNATURE-

___
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] How can I force the language for a particular template rendering?

2009-04-17 Thread Ethan Jucovy
Actually -- for a more proper solution -- I believe
zope.i18n.interfaces.IUserPreferredLanguages is expected to adapt a request
(rather than being a contextless utility) so I bet you could register a
custom IUserPreferredLanguages whose getPreferredLanguages returns ['fr'] on
an IForceLanguage interface, and mark the current request with
IForceLanguage before rendering the template.

egj

On Fri, Apr 17, 2009 at 3:35 PM, Ethan Jucovy ethan.juc...@gmail.comwrote:

 How about just monkeypatching the active negotiator?

 {{{
 negotiator = getUtility(zope.i18n.interfaces.INegotiator)
 orig = negotiator.getLanguage
 negotiator.getLanguage = lambda foo, bar: 'fr'
 text = my_page_template()
 negotiator.getLanguage = orig
 }}}

 Haven't tested it, but in my (limited) understanding of the I18N system
 something like that ought to work..

 egj


 On Fri, Apr 17, 2009 at 3:14 PM, Chris Withers ch...@simplistix.co.ukwrote:

 Hi All,

 What I want to do is best shown in pseudocode:

 something.setLanguage('fr')
 text = my_page_template()
 something.restoreLanguage()

 ...the reason I want to do this is that the results of that template
 will not be in the language negotiated for the current user, as the
 result is then emailed to someone who may not be speaking the same
 language as them.

 I can't find a way to specify a target_language that overrides the
 negotiated language into the ZPT rendering process. Is there such a way?

 Suggestions welcomed!

 Chris



___
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] How can I force the language for a particular template rendering?

2009-04-17 Thread Ethan Jucovy
Actually -- for a more proper solution -- I believe
zope.i18n.interfaces.IUserPreferredLanguages is expected to adapt a request
(rather than being a contextless utility) so I bet you could register a
custom IUserPreferredLanguages whose getPreferredLanguages returns ['fr'] on
an IForceLanguage interface, and mark the current request with
IForceLanguage before rendering the template.

egj

On Fri, Apr 17, 2009 at 3:35 PM, Ethan Jucovy ethan.juc...@gmail.comwrote:

 How about just monkeypatching the active negotiator?

 {{{
 negotiator = getUtility(zope.i18n.interfaces.INegotiator)
 orig = negotiator.getLanguage
 negotiator.getLanguage = lambda foo, bar: 'fr'
 text = my_page_template()
 negotiator.getLanguage = orig
 }}}

 Haven't tested it, but in my (limited) understanding of the I18N system
 something like that ought to work..

 egj


 On Fri, Apr 17, 2009 at 3:14 PM, Chris Withers ch...@simplistix.co.ukwrote:

 Hi All,

 What I want to do is best shown in pseudocode:

 something.setLanguage('fr')
 text = my_page_template()
 something.restoreLanguage()

 ...the reason I want to do this is that the results of that template
 will not be in the language negotiated for the current user, as the
 result is then emailed to someone who may not be speaking the same
 language as them.

 I can't find a way to specify a target_language that overrides the
 negotiated language into the ZPT rendering process. Is there such a way?

 Suggestions welcomed!

 Chris



___
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] z3c.javascript license question

2009-04-17 Thread Benji York
On Fri, Apr 17, 2009 at 3:48 PM, Tres Seaver tsea...@palladion.com wrote:

 I think I recall that Jim ripped out an integration package for the Ext
 Javascript framework precisely because the licensing for Ext was
 initially questionable, and later became outright unacceptable.

Yep, you recall correctly.
-- 
Benji York
Senior Software Engineer
Zope Corporation
___
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] z3c.javascript license question

2009-04-17 Thread Behrang Dadsetan
Hi!


2009/4/18 Tres Seaver tsea...@palladion.com:
[super snip]
 Now that the copyrights are transferred to the Zope Foundation,
 essentially *nobody* can check in non-ZPL code, without a special
 exemption from the ZF board or its delegate (nobody is yet appointed to
 handle this).

I am looking towards becoming a SVN contributor so this question
interests me a lot.

You mentioned the copyrights were transfered to ZF which is what I
recall reading a while ago.
But when I last checked
http://www.zope.org/DevHome/CVS/Contributor.pdf [1] it said that
contributors transfer their copyright to ZC. Is it a question of the
form being obsolete?

Regards,
Ben.
[1] Note I just checked and it returns a 404 right now...
___
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] z3c.javascript license question

2009-04-17 Thread Baiju M
On Fri, Apr 17, 2009 at 2:48 PM, Tres Seaver tsea...@palladion.com wrote:
[snip
 Now that the copyrights are transferred to the Zope Foundation,
 essentially *nobody* can check in non-ZPL code, without a special
 exemption from the ZF board or its delegate (nobody is yet appointed to
 handle this).

BTW, there is an exemption for this area:
 http://svn.zope.org/repos/main/non-zpl-doc-resources/
(It was created when I asked for adding some resource file for buildout.org)

From the readme file:

  Non-ZPL documentation resources can be checked into this directory if you
  have received explicit permission from the Zope Foundation to do so. The
  workflow currently is simply to mail Martijn Faassen (faas...@startifact.com)
  with a description of what you want to do.

  In order to use these documentation resources in your own sphinx project,
  create a subdirectory here and an svn:external to that subdirectory from
  the sphinx project in question.


--
Baiju M
___
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] force the language for a particular template: solution

2009-04-17 Thread Chris Withers
Hanno Schlichting wrote:
 Or attach a marker interface to the request and register a different
 IUserPreferredLanguages adapter for it.

This won't quite work as I still need to get the language I'm forcing 
from somewhere.

However, I realised I already had a custom IUserPreferredLanguages 
adapter on this project (to get the language from the user object, not 
the browser) so I added a bit of code in there. The simplest version of 
this would be:

from zope.publisher.browser import BrowserLanguages

class Languages(BrowserLanguages):

 def getPreferredLanguages(self):
 force = getattr(self.request,'_force_language',None)
 if force:
 return [force]
return super(Languages, self).getPreferredLanguages()

Then this zcml:

   adapter
  for=zope.publisher.interfaces.http.IHTTPRequest
  provides=zope.i18n.interfaces.IUserPreferredLanguages
  factory=.languages.Languages
 /

...and then you can do the following in a view:

 def __call__(self):
 def1 = self.template(self)
 self.request._force_language = 'de'
 de = self.template(self)
 del self.request._force_language
 def2 = self.template(self)
 return def1+de+def2

Hope someone else finds this useful some day :-)

Chris

-- 
Simplistix - Content Management, Zope  Python Consulting
- http://www.simplistix.co.uk
___
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] z3c.javascript license question

2009-04-17 Thread Chris Withers
Behrang Dadsetan wrote:
 You mentioned the copyrights were transfered to ZF which is what I
 recall reading a while ago.
 But when I last checked
 http://www.zope.org/DevHome/CVS/Contributor.pdf 

I do wish the whole of DevHome would just die :-(
(I believe this is supposed to be happening right now.. Jens? Andreas?)

You really meant to be reading:

http://docs.zope.org/developer/becoming-a-contributor.html

;-)

Chris

-- 
Simplistix - Content Management, Zope  Python Consulting
- http://www.simplistix.co.uk
___
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] zpt nesting/inheritence in views

2009-04-17 Thread Chris Withers
Hey All,

Thought I'd share this and see if anyone had any better ideas...

So, I have a set of views that subclass each other, nothing out of the 
ordinary there. However, I also want the zpts used by the views to 
subclass each other, such that a subclassing view can use its parent's 
macro(s) and provide the same to be used further downstream.

This is the only solution I can think of:

from Products.Five.browser import BrowserView
from Products.Five.browser.pagetemplatefile import ViewPageTemplateFile

class Base1(BrowserView):
 template = ViewPageTemplateFile('html/template1.html')

class Base2(Base1):
 template = ViewPageTemplateFile('html/template2.html')
 parent = Base1

class Base3(Base2):
 template = ViewPageTemplateFile('html/template3.html')
 parent = Base2

class Concrete(Base3):
 def __call__(self):
 return self.template(self)

template1.html:

metal:x define-macro=main
   pTemplate1/p
   metal:x define-slot=slot/
/metal:x

template2.html:

tal:x define=parent nocall:view
metal:x define-macro=main
  tal:define=parent nocall:parent/parent
metal:x use-macro=parent/template/macros/main
   metal:x fill-slot=slot
   pTemplate2/p
   metal:x define-slot=slot/
   /metal:x
/metal:x
/metal:x
/tal:x

template3.html:

tal:x define=parent nocall:view
tal:x define=parent nocall:parent/parent
metal:x use-macro=parent/template/macros/main
   metal:x fill-slot=slot
   pTemplate3/p
   /metal:x
/metal:x
/tal:x
/tal:x

Can anyone think of a nicer way that doesn't involve the 'parent' 
attribute on the view classes and has (preferably much) nicer code in 
the zpts?

cheers,

Chris

-- 
Simplistix - Content Management, Zope  Python Consulting
- http://www.simplistix.co.uk
___
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] cache for python calls

2009-04-17 Thread iarly selbir | ski0s
I'm doing a hard task, trying to improve maximum of possible performance to
Zope/Plone server, I already installed CacheFu that improved so much
performance, I saw on a blog about cache for Python calls but wasn't
explained about your configuration or installation. there are any related
product for zope to do it or something like that?

The main question is improve a better performance to this server.

Any tip/solution is welcome.

Thanks in advance.


Regards,

- -
iarly selbir | ski0s

:wq!
___
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] cache for python calls

2009-04-17 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Before starting with any kind of performance optimization:
figure out your bottlenecks first by profiling your code:
ZopeProfiler is your friend.

- -aj
On 17.04.2009 15:10 Uhr, iarly selbir | ski0s wrote:
 I'm doing a hard task, trying to improve maximum of possible performance
 to Zope/Plone server, I already installed CacheFu that improved so much
 performance, I saw on a blog about cache for Python calls but wasn't
 explained about your configuration or installation. there are any
 related product for zope to do it or something like that?
 
 The main question is improve a better performance to this server.
 
 Any tip/solution is welcome.
 
 Thanks in advance.
 
 
 Regards,
 
 - -
 iarly selbir | ski0s
 
 :wq!
 
 
 
 
 ___
 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 )


- -- 
ZOPYX Ltd.  Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany
Web: www.zopyx.com - Email: i...@zopyx.com - 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 PGP SIGNATURE-
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAknogKoACgkQCJIWIbr9KYxycgCg2WmTMZwhYQjx5Gc9ulAys8Lb
ILYAnAgyB5Oyq5ed77blQY3rpHBa/tUC
=1wfI
-END PGP SIGNATURE-
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:i...@zopyx.com
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 )


Re: [Zope] cache for python calls

2009-04-17 Thread iarly selbir | ski0s
This code isn't my, the server is hosting sites of many govern
departments, so my task isn't develop the code but is keep all system
working fine without down times.

I'm not allowed to change the code, so I'm looking for all other reachable
performance features.

Regards,

- -
iarly selbir | ski0s

:wq!


On Fri, Apr 17, 2009 at 10:14 AM, Andreas Jung li...@zopyx.com wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1


 Before starting with any kind of performance optimization:
 figure out your bottlenecks first by profiling your code:
 ZopeProfiler is your friend.

 - -aj
 On 17.04.2009 15:10 Uhr, iarly selbir | ski0s wrote:
  I'm doing a hard task, trying to improve maximum of possible performance
  to Zope/Plone server, I already installed CacheFu that improved so much
  performance, I saw on a blog about cache for Python calls but wasn't
  explained about your configuration or installation. there are any
  related product for zope to do it or something like that?
 
  The main question is improve a better performance to this server.
 
  Any tip/solution is welcome.
 
  Thanks in advance.
 
 
  Regards,
 
  - -
  iarly selbir | ski0s
 
  :wq!
 
 
  
 
  ___
  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 )


 - --
 ZOPYX Ltd.  Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany
 Web: www.zopyx.com - Email: i...@zopyx.com - 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 PGP SIGNATURE-
 Version: GnuPG v1.4.9 (Darwin)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

 iEYEARECAAYFAknogKoACgkQCJIWIbr9KYxycgCg2WmTMZwhYQjx5Gc9ulAys8Lb
 ILYAnAgyB5Oyq5ed77blQY3rpHBa/tUC
 =1wfI
 -END PGP SIGNATURE-

___
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] cache for python calls

2009-04-17 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Various knobs affect Zope performance...depending on each individual
site and their programming and needs..serious further hints require
a closer analysis.

- -aj

On 17.04.2009 15:27 Uhr, iarly selbir | ski0s wrote:
 This code isn't my, the server is hosting sites of many govern
 departments, so my task isn't develop the code but is keep all system
 working fine without down times.
 
 I'm not allowed to change the code, so I'm looking for all other
 reachable performance features.
 
 Regards,
 
 - -
 iarly selbir | ski0s
 
 :wq!
 
 
 On Fri, Apr 17, 2009 at 10:14 AM, Andreas Jung li...@zopyx.com
 mailto:li...@zopyx.com wrote:
 
 
 Before starting with any kind of performance optimization:
 figure out your bottlenecks first by profiling your code:
 ZopeProfiler is your friend.
 
 -aj
 On 17.04.2009 15:10 Uhr, iarly selbir | ski0s wrote:
 I'm doing a hard task, trying to improve maximum of possible
 performance
 to Zope/Plone server, I already installed CacheFu that improved so
 much
 performance, I saw on a blog about cache for Python calls but wasn't
 explained about your configuration or installation. there are any
 related product for zope to do it or something like that?
 
 The main question is improve a better performance to this server.
 
 Any tip/solution is welcome.
 
 Thanks in advance.
 
 
 Regards,
 
 - -
 iarly selbir | ski0s
 
 :wq!
 
 
 
 
 
 ___
 Zope maillist  -  Zope@zope.org mailto: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 )


- -- 
ZOPYX Ltd.  Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany
Web: www.zopyx.com - Email: i...@zopyx.com - 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 PGP SIGNATURE-
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAknohNQACgkQCJIWIbr9KYwQVACgsrIG4QXzt+f7Eg8LBBnz7zMO
KyYAn2kQA+9OowFe7C6r08fJ8zk3xuqb
=qVaQ
-END PGP SIGNATURE-
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:i...@zopyx.com
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 )


Re: [Zope] cache for python calls

2009-04-17 Thread iarly selbir | ski0s
No problem guy all test that I doing is on test environment xD, errors are
acceptable, all problems solution are stored in my personal knowledge base
heh

Btw I'm reading about memoize installation I don't saw anything related to
code changes

Look:

plone.memoize Installation
===

 * Create a file called ``plone.memoize-configure.zcml`` in the
   ``/path/to/instance/etc/package-includes`` directory.  The file
   should only contain this::

   include package=plone.memoize /


Regards,

- -
iarly selbir | ski0s

:wq!


On Fri, Apr 17, 2009 at 10:50 AM, Andreas Jung li...@zopyx.com wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Your questions and writings indicate that you have zero background in
 Zope. Consider getting a consultant. Performance optimizing requires
 some solid background.

 - -aj

 On 17.04.2009 15:49 Uhr, iarly selbir | ski0s wrote:
  I don't read yet, just read a topic that spoke about and saved your
  link, because it I asked if you did know
 
  Regards,
 
  - -
  iarly selbir | ski0s
 
  :wq!
 
 
  On Fri, Apr 17, 2009 at 10:40 AM, Andreas Jung li...@zopyx.com
  mailto:li...@zopyx.com wrote:
 
  Do you know what you are talking about?
  plone.memoize requires changes to the software and you said you
  can't change the code?!
 
  -aj
 
  On 17.04.2009 15:38 Uhr, iarly selbir | ski0s wrote:
  Do you know the memoize?
 
  http://pypi.python.org/pypi/plone.memoize
 
 
  Regards,
 
  - -
  iarly selbir | ski0s
 
  :wq!
 
 
  On Fri, Apr 17, 2009 at 10:32 AM, Andreas Jung li...@zopyx.com
  mailto:li...@zopyx.com
  mailto:li...@zopyx.com mailto:li...@zopyx.com wrote:
 
  Various knobs affect Zope performance...depending on each individual
  site and their programming and needs..serious further hints require
  a closer analysis.
 
  -aj
 
  On 17.04.2009 15:27 Uhr, iarly selbir | ski0s wrote:
  This code isn't my, the server is hosting sites of many govern
  departments, so my task isn't develop the code but is keep all system
  working fine without down times.
 
  I'm not allowed to change the code, so I'm looking for all other
  reachable performance features.
 
  Regards,
 
  - -
  iarly selbir | ski0s
 
  :wq!
 
 
  On Fri, Apr 17, 2009 at 10:14 AM, Andreas Jung li...@zopyx.com
  mailto:li...@zopyx.com
  mailto:li...@zopyx.com mailto:li...@zopyx.com
  mailto:li...@zopyx.com mailto:li...@zopyx.com
  mailto:li...@zopyx.com mailto:li...@zopyx.com wrote:
 
 
  Before starting with any kind of performance optimization:
  figure out your bottlenecks first by profiling your code:
  ZopeProfiler is your friend.
 
  -aj
  On 17.04.2009 15:10 Uhr, iarly selbir | ski0s wrote:
  I'm doing a hard task, trying to improve maximum of possible
  performance
  to Zope/Plone server, I already installed CacheFu that improved so
  much
  performance, I saw on a blog about cache for Python calls but wasn't
  explained about your configuration or installation. there are any
  related product for zope to do it or something like that?
 
  The main question is improve a better performance to this server.
 
  Any tip/solution is welcome.
 
  Thanks in advance.
 
 
  Regards,
 
  - -
  iarly selbir | ski0s
 
  :wq!
 
 
 
 
 
  
 
  ___
  Zope maillist  -  Zope@zope.org mailto:Zope@zope.org
  mailto:Zope@zope.org mailto:Zope@zope.org
  mailto:Zope@zope.org mailto:Zope@zope.org mailto:Zope@zope.org
  mailto: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 mailto:Zope@zope.org
  mailto:Zope@zope.org mailto: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 )
 
 
 

 - --
 ZOPYX Ltd.  Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany
 Web: www.zopyx.com - Email: i...@zopyx.com - 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 PGP SIGNATURE-
 Version: GnuPG v1.4.9 (Darwin)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

 iEYEARECAAYFAknoiScACgkQCJIWIbr9KYwqngCgr/iEpjRRnBkRP9SaLR/IEjzZ
 9hgAn1+21YBHYUNgYpW3RFPCUE3Oqr3j
 =JDL/
 -END PGP SIGNATURE-

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

Re: [Zope] cache for python calls

2009-04-17 Thread Carsten Senger
iarly selbir | ski0s schrieb:
 I'm doing a hard task, trying to improve maximum of possible performance 
 to Zope/Plone server, I already installed CacheFu that improved so much 
 performance, I saw on a blog about cache for Python calls but wasn't 
 explained about your configuration or installation. there are any 
 related product for zope to do it or something like that?

There are some packages that cache the results of python functions 
calls. In Plone, plone.memoize is used often. There are others like 
bda.cache and gocept.cache. For these caches to work you have to 
decorate the functions you want to call.

 The main question is improve a better performance to this server.
 
 Any tip/solution is welcome.

Like Andreas said find out where your bottlenecks are before you change 
things.

You can take a look at the Zope configuration. To small zodb connection 
caches decrease performance due to unnecessary unpickeling of objects, 
to big settings or to many threads can make the operating system swap.

..Carsten

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