<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:www.nabble.com,2006:forum-28342</id>
	<title>Nabble - Grok</title>
	<updated>2008-10-15T16:02:20Z</updated>
	<link rel="self" type="application/atom+xml" href="http://www.nabble.com/Grok-f28342.xml" />
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Grok-f28342.html" />
	<subtitle type="html">&lt;a href=&quot;http://grok.zope.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Grok&lt;/a&gt; is a web application framework for &lt;a href=&quot;http://www.python.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Python&lt;/a&gt; developers. It is aimed at both beginners and very experienced web developers. Grok has an emphasis on agile development. Grok is easy and powerful.</subtitle>
	
<entry>
	<id>tag:www.nabble.com,2006:post-20004131</id>
	<title>Re: generic directoryresource in grokcore.view</title>
	<published>2008-10-15T16:02:20Z</published>
	<updated>2008-10-15T16:02:20Z</updated>
	<author>
		<name>Kevin Teague</name>
	</author>
	<content type="html">On Oct 10, 1:09 am, &amp;quot;Jan-Wijbrand Kolman&amp;quot; &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20004131&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;janwijbr...@...&lt;/a&gt;&amp;gt;
&lt;br&gt;wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; sometimes you expect the &amp;quot;static&amp;quot; thing to point to a particular
&lt;br&gt;&amp;gt; directory of resources where it cannot find it. This is not really to
&lt;br&gt;&amp;gt; do with skinning, but with, for example, having a layout macro defined
&lt;br&gt;&amp;gt; in one package being used by templates in another package. Where the
&lt;br&gt;&amp;gt; layout macro then finds its resources can be confusing.
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;Well, I just found myself faced with same problem (and started
&lt;br&gt;creating an icky workaround this morning until I realized that this
&lt;br&gt;thread was about the problem I was trying to solve ...). So I'll at
&lt;br&gt;least find this will be useful :)
&lt;br&gt;&lt;br&gt;Is there plans to make this available as part of the grok API, e.g.
&lt;br&gt;grok.DirectoryResource?
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Grok-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20004131&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Grok-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.zope.org/mailman/listinfo/grok-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.zope.org/mailman/listinfo/grok-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/generic-directoryresource-in-grokcore.view-tp19913754p20004131.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20000643</id>
	<title>Re: generic directoryresource in grokcore.view</title>
	<published>2008-10-15T12:34:42Z</published>
	<updated>2008-10-15T12:34:42Z</updated>
	<author>
		<name>Jan-Wijbrand Kolman-3</name>
	</author>
	<content type="html">Sylvain Viollon wrote:
&lt;br&gt;&amp;gt; I am fine with that as well. I will update five.grok so that still
&lt;br&gt;&amp;gt; work/provides the same features.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; Please tell me when you merged,
&lt;br&gt;&lt;br&gt;I just merged the jw-generic_directory_resource branch. I'm about to
&lt;br&gt;make a 1.2 release as well.
&lt;br&gt;&lt;br&gt;kind regards,
&lt;br&gt;jw
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Grok-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20000643&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Grok-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.zope.org/mailman/listinfo/grok-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.zope.org/mailman/listinfo/grok-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/generic-directoryresource-in-grokcore.view-tp19913754p20000643.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19999622</id>
	<title>Re: Grok runs on Python 2.6</title>
	<published>2008-10-15T11:37:38Z</published>
	<updated>2008-10-15T11:37:38Z</updated>
	<author>
		<name>Jan-Wijbrand Kolman-3</name>
	</author>
	<content type="html">Philipp von Weitershausen wrote:
&lt;br&gt;&amp;gt; Thanks to Sidnei's heroic efforts during the last few days of fixing 
&lt;br&gt;&amp;gt; various Zope packages and releasing them, too, Grok actually runs on 
&lt;br&gt;&amp;gt; Python 2.6 and all tests pass!
&lt;br&gt;&lt;br&gt;Yay Sidnei!!!
&lt;br&gt;&lt;br&gt;&lt;br&gt;regards,
&lt;br&gt;jw
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Grok-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19999622&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Grok-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.zope.org/mailman/listinfo/grok-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.zope.org/mailman/listinfo/grok-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Grok-runs-on-Python-2.6-tp19997024p19999622.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19997024</id>
	<title>Grok runs on Python 2.6</title>
	<published>2008-10-15T09:21:47Z</published>
	<updated>2008-10-15T09:21:47Z</updated>
	<author>
		<name>Philipp von Weitershausen</name>
	</author>
	<content type="html">Thanks to Sidnei's heroic efforts during the last few days of fixing 
&lt;br&gt;various Zope packages and releasing them, too, Grok actually runs on 
&lt;br&gt;Python 2.6 and all tests pass!
&lt;br&gt;&lt;br&gt;Yes, there are a few deprecation warnings here and there. And when I 
&lt;br&gt;compiled the ZODB egg under Python 2.6 it reported a syntax error in 
&lt;br&gt;some module (that seems to be unused in Grok, though). So you might not 
&lt;br&gt;want to do this in production just yet ;). But certainly it's good to 
&lt;br&gt;see that all tests pass and we have an actual list of things to work on.
&lt;br&gt;&lt;br&gt;Anybody who'd like to replicate the result and perhaps improve the 
&lt;br&gt;situation of the deprecation warnings and syntax errors just needs to 
&lt;br&gt;override the following versions in buildout.cfg:
&lt;br&gt;&lt;br&gt;[versions]
&lt;br&gt;mechanize = 0.1.9
&lt;br&gt;zope.app.appsetup = 3.8.0
&lt;br&gt;zope.app.component = 3.5.0
&lt;br&gt;zope.app.container = 3.6.1
&lt;br&gt;zope.app.form = 3.6.3
&lt;br&gt;zope.app.publisher = 3.5.1
&lt;br&gt;zope.app.testing = 3.5.6
&lt;br&gt;zope.testbrowser = 3.5.1
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Grok-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19997024&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Grok-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.zope.org/mailman/listinfo/grok-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.zope.org/mailman/listinfo/grok-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Grok-runs-on-Python-2.6-tp19997024p19997024.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19996866</id>
	<title>Re: Naming of grok.provides</title>
	<published>2008-10-15T09:14:33Z</published>
	<updated>2008-10-15T09:14:33Z</updated>
	<author>
		<name>Kevin Teague</name>
	</author>
	<content type="html">&lt;br&gt;On Oct 15, 2008, at 12:18 AM, Thomas Lotze wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Philipp von Weitershausen wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; But even with clearer documentation it's still somewhat confusing? &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Maybe
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; grok.registers is clearer?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Or grok.register_for(). Consider this example::
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; class FooBar(grok.GlobalUtility):
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; grok.implements(IBar, IFoo)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; grok.register_for(IFoo)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I like 'register_for' better as well. How to proceed on this now? &amp;nbsp;
&lt;br&gt;&amp;gt; Discuss,
&lt;br&gt;&amp;gt; write a proposal, just implement it, what about deprecation of the
&lt;br&gt;&amp;gt; provides directive? I'm willing to implement the new name if there's
&lt;br&gt;&amp;gt; general consent about it.
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;+1.
&lt;br&gt;&lt;br&gt;I like 'register_for', it's less confusing terminology.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Grok-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19996866&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Grok-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.zope.org/mailman/listinfo/grok-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.zope.org/mailman/listinfo/grok-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Naming-of-grok.provides-tp19952130p19996866.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19992317</id>
	<title>Re: Naming of grok.provides</title>
	<published>2008-10-15T05:17:55Z</published>
	<updated>2008-10-15T05:17:55Z</updated>
	<author>
		<name>Philipp von Weitershausen</name>
	</author>
	<content type="html">Thomas Lotze wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Philipp von Weitershausen wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; But even with clearer documentation it's still somewhat confusing? Maybe
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; grok.registers is clearer?
&lt;br&gt;&amp;gt;&amp;gt; Or grok.register_for(). Consider this example::
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;class FooBar(grok.GlobalUtility):
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;grok.implements(IBar, IFoo)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;grok.register_for(IFoo)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I like 'register_for' better as well. How to proceed on this now? Discuss,
&lt;br&gt;&amp;gt; write a proposal, just implement it, what about deprecation of the
&lt;br&gt;&amp;gt; provides directive? I'm willing to implement the new name if there's
&lt;br&gt;&amp;gt; general consent about it.
&lt;/div&gt;&lt;br&gt;If there's a general concensus, I suggest renaming grok.provides to 
&lt;br&gt;grok.register_for (this actually has to be done in grokcore.component, 
&lt;br&gt;Grok just imports it from there) while keeping it around under the old 
&lt;br&gt;name for one or two releases.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Grok-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19992317&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Grok-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.zope.org/mailman/listinfo/grok-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.zope.org/mailman/listinfo/grok-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Naming-of-grok.provides-tp19952130p19992317.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19989204</id>
	<title>five.grok and grokcore.viewlets</title>
	<published>2008-10-15T01:38:56Z</published>
	<updated>2008-10-15T01:38:56Z</updated>
	<author>
		<name>Sylvain Viollon</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;I started to work on viewlets in a branch five.grok for one of my
&lt;br&gt;projects. As soon as this work, I will be able to check what we can put
&lt;br&gt;in a grokcore.viewlet, and build that extension.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;I think it will be like for grokcore.form, with a
&lt;br&gt;ViewletManagerBase, and ViewletBase, which can be reused in
&lt;br&gt;grokcore.viewlet to build the real ViewletManager and Viewlet
&lt;br&gt;components, and reused in five.grok to build the Five version.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;If your interested or want to help, you are welcome.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;Best regards,
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;Sylvain Viollon.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Sylvain Viollon -- Infrae
&lt;br&gt;t +31 10 243 7051 -- &lt;a href=&quot;http://infrae.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://infrae.com&lt;/a&gt;&lt;br&gt;Hoevestraat 10 3033GC Rotterdam -- The Netherlands
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;Grok-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19989204&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Grok-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.zope.org/mailman/listinfo/grok-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.zope.org/mailman/listinfo/grok-dev&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://www.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (194 bytes) &lt;a href=&quot;http://www.nabble.com/attachment/19989204/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/five.grok-and-grokcore.viewlets-tp19989204p19989204.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19988941</id>
	<title>Re: generic directoryresource in grokcore.view</title>
	<published>2008-10-15T01:19:59Z</published>
	<updated>2008-10-15T01:19:59Z</updated>
	<author>
		<name>Sylvain Viollon</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;On Tue, 14 Oct 2008 09:39:24 +0200
&lt;br&gt;Philipp von Weitershausen &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19988941&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;philipp@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; Good work! I see nothing wrong with it. However, you've renamed 
&lt;br&gt;&amp;gt; grokcore.view.meta.static to grokcore.view.meta.directoryresource. 
&lt;br&gt;&amp;gt; That's fine, of course, but the authors of five.grok should be made 
&lt;br&gt;&amp;gt; aware that this happened because they might load this module 
&lt;br&gt;&amp;gt; individually (Sylvain split up grokcore.view.meta for this reason).
&lt;br&gt;&lt;br&gt;&amp;nbsp; I am fine with that as well. I will update five.grok so that still
&lt;br&gt;work/provides the same features.
&lt;br&gt;&lt;br&gt;&amp;nbsp; Please tell me when you merged,
&lt;br&gt;&lt;br&gt;&amp;nbsp; Sylvain,
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Sylvain Viollon -- Infrae
&lt;br&gt;t +31 10 243 7051 -- &lt;a href=&quot;http://infrae.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://infrae.com&lt;/a&gt;&lt;br&gt;Hoevestraat 10 3033GC Rotterdam -- The Netherlands
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;Grok-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19988941&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Grok-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.zope.org/mailman/listinfo/grok-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.zope.org/mailman/listinfo/grok-dev&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://www.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (194 bytes) &lt;a href=&quot;http://www.nabble.com/attachment/19988941/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/generic-directoryresource-in-grokcore.view-tp19913754p19988941.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19992052</id>
	<title>Re: Naming of grok.provides</title>
	<published>2008-10-15T00:18:15Z</published>
	<updated>2008-10-15T00:18:15Z</updated>
	<author>
		<name>Thomas Lotze</name>
	</author>
	<content type="html">Philipp von Weitershausen wrote:
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; But even with clearer documentation it's still somewhat confusing? Maybe
&lt;br&gt;&amp;gt;&amp;gt; grok.registers is clearer?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Or grok.register_for(). Consider this example::
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;class FooBar(grok.GlobalUtility):
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;grok.implements(IBar, IFoo)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;grok.register_for(IFoo)
&lt;br&gt;&lt;br&gt;I like 'register_for' better as well. How to proceed on this now? Discuss,
&lt;br&gt;write a proposal, just implement it, what about deprecation of the
&lt;br&gt;provides directive? I'm willing to implement the new name if there's
&lt;br&gt;general consent about it.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Thomas
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Grok-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19992052&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Grok-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.zope.org/mailman/listinfo/grok-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.zope.org/mailman/listinfo/grok-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Naming-of-grok.provides-tp19952130p19992052.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19973604</id>
	<title>Re: grokproject error</title>
	<published>2008-10-14T06:31:47Z</published>
	<updated>2008-10-14T06:31:47Z</updated>
	<author>
		<name>Sebastian Ware</name>
	</author>
	<content type="html">I am getting a strange error. Everything seems to be created (bin/ 
&lt;br&gt;buildout works as expected), but grokproject exits with an error:
&lt;br&gt;&lt;br&gt;sebastian-wares-dator:groksandbox jhsware$ bin/grokproject --svn- 
&lt;br&gt;repository=file:///Users/jhsware/svn_code_repository --user=seb --eggs- 
&lt;br&gt;dir=/Users/jhsware/groksandbox/eggs SprintReport
&lt;br&gt;&lt;br&gt;Committed revision 320.
&lt;br&gt;Checked out revision 320.
&lt;br&gt;Downloading info about versions...
&lt;br&gt;Downloading zc.buildout...
&lt;br&gt;Invoking zc.buildout...
&lt;br&gt;Develop: '/Users/jhsware/groksandbox/SprintReport/.'
&lt;br&gt;Installing eggbasket.
&lt;br&gt;Traceback (most recent call last):
&lt;br&gt;&amp;nbsp; &amp;nbsp;File &amp;quot;/Users/jhsware/groksandbox/bin/grokproject&amp;quot;, line 7, in ?
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;sys.exit(
&lt;br&gt;&amp;nbsp; &amp;nbsp;File &amp;quot;/Users/jhsware/groksandbox/lib/python2.4/site-packages/ 
&lt;br&gt;grokproject-0.9-py2.4.egg/grokproject/main.py&amp;quot;, line 49, in main
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;exit_code = runner.run(option_args + ['-t', 'grok', project]
&lt;br&gt;&amp;nbsp; &amp;nbsp;File &amp;quot;/Users/jhsware/groksandbox/lib/python2.4/site-packages/ 
&lt;br&gt;PasteScript-1.6.1.1-py2.4.egg/paste/script/command.py&amp;quot;, line 213, in run
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;result = self.command()
&lt;br&gt;&amp;nbsp; &amp;nbsp;File &amp;quot;/Users/jhsware/groksandbox/lib/python2.4/site-packages/ 
&lt;br&gt;PasteScript-1.6.1.1-py2.4.egg/paste/script/create_distro.py&amp;quot;, line &amp;nbsp;
&lt;br&gt;156, in command
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;self.add_svn_repository(vars, output_dir)
&lt;br&gt;&amp;nbsp; &amp;nbsp;File &amp;quot;/Users/jhsware/groksandbox/lib/python2.4/site-packages/ 
&lt;br&gt;PasteScript-1.6.1.1-py2.4.egg/paste/script/create_distro.py&amp;quot;, line &amp;nbsp;
&lt;br&gt;209, in add_svn_repository
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;egg_info_dir = pluginlib.egg_info_dir(output_dir, vars['project'])
&lt;br&gt;&amp;nbsp; &amp;nbsp;File &amp;quot;/Users/jhsware/groksandbox/lib/python2.4/site-packages/ 
&lt;br&gt;PasteScript-1.6.1.1-py2.4.egg/paste/script/pluginlib.py&amp;quot;, line 127, in &amp;nbsp;
&lt;br&gt;egg_info_dir
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;for dir_extension in ['.'] + os.listdir(base_dir):
&lt;br&gt;OSError: [Errno 2] No such file or directory: './SprintReport'
&lt;br&gt;&lt;br&gt;sebastian-wares-dator:groksandbox jhsware$ ls ./SprintReport/
&lt;br&gt;bin		bootstrap.py	buildout.cfg	develop-eggs	parts		setup.py	src		 
&lt;br&gt;versions.cfg
&lt;br&gt;&lt;br&gt;&lt;br&gt;Mvh Sebastian
&lt;br&gt;&lt;br&gt;11 okt 2008 kl. 04.41 skrev Reed O'Brien:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Oct 10, 2008, at 6:02 PM, Martijn Faassen wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Hey,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Setup script exited with error: Setup script exited with error: &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Setup
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; script exited with error: Setup script exited with error: Setup &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; script
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; exited with error: Setup script exited with error: Setup script &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; exited
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; with error: Setup script exited with error: Setup script exited with
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; error: Setup script exited with error:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; No idea what the cause is, but I just read this:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://blog.vrplumber.com/index.php?/archives/2204-Where-did-that-dependency-come-from.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://blog.vrplumber.com/index.php?/archives/2204-Where-did-that-dependency-come-from.html&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Which sounds like the same error. A clue, perhaps?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; We were seeing this at the plone conference in a buildout; at least &amp;nbsp;
&lt;br&gt;&amp;gt; three of us. It would stall while making a develop-egg then fail &amp;nbsp;
&lt;br&gt;&amp;gt; with the recursive error and : File name too long
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Someone suspected archetypes.schemaextender, I was suspicious of &amp;nbsp;
&lt;br&gt;&amp;gt; buildout.eggtractor injecting the egg names (in a loop) into &amp;nbsp;
&lt;br&gt;&amp;gt; buildout the eggs it found to develop.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Removing the &amp;lt;name-of-egg&amp;gt;.egg-info from the develop egg(s) seemed &amp;nbsp;
&lt;br&gt;&amp;gt; to fix it. Then something else failed, possibly unrelated. Then I &amp;nbsp;
&lt;br&gt;&amp;gt; didn't have another chance to look at it.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; At least two of the three people I am sure had the same error (and &amp;nbsp;
&lt;br&gt;&amp;gt; partial fix) were on OSX 10.5.x
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; That is all the details I have....
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ~ro_______________________________________________
&lt;br&gt;&amp;gt; Grok-dev mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19973604&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Grok-dev@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://mail.zope.org/mailman/listinfo/grok-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.zope.org/mailman/listinfo/grok-dev&lt;/a&gt;&lt;/div&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Grok-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19973604&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Grok-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.zope.org/mailman/listinfo/grok-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.zope.org/mailman/listinfo/grok-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/grokproject-error-tp19897766p19973604.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19969399</id>
	<title>Re: Naming of grok.provides</title>
	<published>2008-10-14T01:47:39Z</published>
	<updated>2008-10-14T01:47:39Z</updated>
	<author>
		<name>Sebastian Ware</name>
	</author>
	<content type="html">:) My confusion acctually has to do with the grok.provides() &amp;nbsp;
&lt;br&gt;directive, which I find difficult to relate to the providedBy() method.
&lt;br&gt;&lt;br&gt;I don't understand why I use grok.provides for an adapter and &amp;nbsp;
&lt;br&gt;interface.implements on an object. Then I use providedBy to check if &amp;nbsp;
&lt;br&gt;the object belongs to a class that implements... in the docstring it &amp;nbsp;
&lt;br&gt;does say something like implementedBy(MyClass) and &amp;nbsp;
&lt;br&gt;providedBy(MyObject) so I think I get how I am supposed to use it (it &amp;nbsp;
&lt;br&gt;works anyway), but it is really related the grok.provides directive I &amp;nbsp;
&lt;br&gt;am struggeling.
&lt;br&gt;&lt;br&gt;Mvh Sebastian
&lt;br&gt;&lt;br&gt;14 okt 2008 kl. 09.58 skrev Philipp von Weitershausen:
&lt;br&gt;&lt;br&gt;&amp;gt; Sebastian Ware wrote:
&lt;br&gt;&amp;gt;&amp;gt; I find the difference between implements/provides confusing too. &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; And &amp;nbsp;it gets more complicated when trying to understand the &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; difference &amp;nbsp;between IMyInterface.providedBy(obj) and &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; IMyInterface.implementedBy(obj).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Well, this difference is one of the corner stones of zope.interface &amp;nbsp;
&lt;br&gt;&amp;gt; and not about to change :). I think the difference is pretty clear, &amp;nbsp;
&lt;br&gt;&amp;gt; it just needs to be documented well.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Grok-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19969399&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Grok-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.zope.org/mailman/listinfo/grok-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.zope.org/mailman/listinfo/grok-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Naming-of-grok.provides-tp19952130p19969399.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19968965</id>
	<title>Re: Naming of grok.provides</title>
	<published>2008-10-14T01:11:28Z</published>
	<updated>2008-10-14T01:11:28Z</updated>
	<author>
		<name>Lennart Regebro-2</name>
	</author>
	<content type="html">On Tue, Oct 14, 2008 at 10:02, Philipp von Weitershausen
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19968965&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;philipp@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; Kevin Teague wrote:
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;Explicitly specify with which interface a component will be
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;looked up. If a class declares that it implements several
&lt;br&gt;&amp;gt;&amp;gt; interaces,
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;:func:`grok.provides` can be used to disambiguate which interface
&lt;br&gt;&amp;gt;&amp;gt; will be
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;registered with the Zope Component Architecture.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; That's a pretty good definition. Thanks!
&lt;br&gt;&lt;br&gt;Yeah, that's how I understood it too. I got very confused now when it
&lt;br&gt;was claimed that the zope definition is that a class implements and an
&lt;br&gt;object provides. But I have the feeling that this is just plain wrong,
&lt;br&gt;as I just a couple of days ago set a provides(ISomething) on a class.
&lt;br&gt;:)
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Lennart Regebro: Zope and Plone consulting.
&lt;br&gt;&lt;a href=&quot;http://www.colliberty.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.colliberty.com/&lt;/a&gt;&lt;br&gt;+33 661 58 14 64
&lt;br&gt;_______________________________________________
&lt;br&gt;Grok-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19968965&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Grok-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.zope.org/mailman/listinfo/grok-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.zope.org/mailman/listinfo/grok-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Naming-of-grok.provides-tp19952130p19968965.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19968834</id>
	<title>Re: Naming of grok.provides</title>
	<published>2008-10-14T01:02:53Z</published>
	<updated>2008-10-14T01:02:53Z</updated>
	<author>
		<name>Philipp von Weitershausen</name>
	</author>
	<content type="html">Kevin Teague wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Oct 12, 2008, at 11:19 PM, Thomas Lotze wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; We recently noticed that the grok.provides directive is not well- 
&lt;br&gt;&amp;gt;&amp;gt; named:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; The documentation states that &amp;quot;if the local utility implements
&lt;br&gt;&amp;gt;&amp;gt; more than one interface or if the implemented interface cannot be
&lt;br&gt;&amp;gt;&amp;gt; determined, grok.provides() is required to disambiguate for what
&lt;br&gt;&amp;gt;&amp;gt; interface the local utility will be registered.&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; OTOH, in zope.interface terminology, the term &amp;quot;provides&amp;quot; has a clear
&lt;br&gt;&amp;gt;&amp;gt; meaning in contrast to &amp;quot;implements&amp;quot;: if a class, for instance,
&lt;br&gt;&amp;gt;&amp;gt; implements a certain interface, its instances are said to provide it.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; We feel that something should be done about this contradiction of
&lt;br&gt;&amp;gt;&amp;gt; terminologies as it confuses not only newcomers to Grok. Beyond a
&lt;br&gt;&amp;gt;&amp;gt; documentation improvement, what would be an acceptable fix given that
&lt;br&gt;&amp;gt;&amp;gt; this directive is rather close to Grok's core?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Yeah, the text in the Grok Reference docs is even more confusing (and &amp;nbsp;
&lt;br&gt;&amp;gt; wrong ... although I think I wrote that.). I've just updated that text &amp;nbsp;
&lt;br&gt;&amp;gt; to read:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; :func:`grok.provides` -- disambiguate which interface is registered
&lt;br&gt;&amp;gt; ===================================================
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; .. function:: grok.provides(interface)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;Explicitly specify with which interface a component will be
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;looked up. If a class declares that it implements several &amp;nbsp;
&lt;br&gt;&amp;gt; interaces,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;:func:`grok.provides` can be used to disambiguate which interface &amp;nbsp;
&lt;br&gt;&amp;gt; will be
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;registered with the Zope Component Architecture.
&lt;/div&gt;&lt;br&gt;That's a pretty good definition. Thanks!
&lt;br&gt;&lt;br&gt;&amp;gt; But even with clearer documentation it's still somewhat confusing? &amp;nbsp;
&lt;br&gt;&amp;gt; Maybe grok.registers is clearer? 
&lt;br&gt;&lt;br&gt;Or grok.register_for(). Consider this example::
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;class FooBar(grok.GlobalUtility):
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;grok.implements(IBar, IFoo)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;grok.register_for(IFoo)
&lt;br&gt;&lt;br&gt;&amp;gt; Since any class implements many &amp;nbsp;
&lt;br&gt;&amp;gt; interfaces that is used to create a component, that component is going &amp;nbsp;
&lt;br&gt;&amp;gt; to provide many interfaces - it's just used to state which interface &amp;nbsp;
&lt;br&gt;&amp;gt; is registered with the CA that it's interested in as providing for the &amp;nbsp;
&lt;br&gt;&amp;gt; CA among the many it provides.
&lt;br&gt;&lt;br&gt;Right. I think we chose the name grok.provides() initially because the 
&lt;br&gt;keyword parameter of the registrations functions in zope.component is 
&lt;br&gt;called &amp;quot;provides&amp;quot;. That's a poor excuse, of course.
&lt;br&gt;_______________________________________________
&lt;br&gt;Grok-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19968834&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Grok-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.zope.org/mailman/listinfo/grok-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.zope.org/mailman/listinfo/grok-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Naming-of-grok.provides-tp19952130p19968834.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19968754</id>
	<title>Re: Naming of grok.provides</title>
	<published>2008-10-14T00:58:16Z</published>
	<updated>2008-10-14T00:58:16Z</updated>
	<author>
		<name>Philipp von Weitershausen</name>
	</author>
	<content type="html">Sebastian Ware wrote:
&lt;br&gt;&amp;gt; I find the difference between implements/provides confusing too. And &amp;nbsp;
&lt;br&gt;&amp;gt; it gets more complicated when trying to understand the difference &amp;nbsp;
&lt;br&gt;&amp;gt; between IMyInterface.providedBy(obj) and &amp;nbsp;
&lt;br&gt;&amp;gt; IMyInterface.implementedBy(obj).
&lt;br&gt;&lt;br&gt;Well, this difference is one of the corner stones of zope.interface and 
&lt;br&gt;not about to change :). I think the difference is pretty clear, it just 
&lt;br&gt;needs to be documented well.
&lt;br&gt;_______________________________________________
&lt;br&gt;Grok-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19968754&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Grok-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.zope.org/mailman/listinfo/grok-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.zope.org/mailman/listinfo/grok-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Naming-of-grok.provides-tp19952130p19968754.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19968511</id>
	<title>Re: generic directoryresource in grokcore.view</title>
	<published>2008-10-14T00:39:24Z</published>
	<updated>2008-10-14T00:39:24Z</updated>
	<author>
		<name>Philipp von Weitershausen</name>
	</author>
	<content type="html">Jan-Wijbrand Kolman wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Jan-Wijbrand Kolman wrote:
&lt;br&gt;&amp;gt;&amp;gt; Grok views by default have access to a &amp;quot;static&amp;quot; directory for resources.
&lt;br&gt;&amp;gt;&amp;gt; They're a special kind of the more general DirectoryResource feature of
&lt;br&gt;&amp;gt;&amp;gt; Zope.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Since the resource &amp;quot;static&amp;quot; is always registered for the IDefaultBrowser
&lt;br&gt;&amp;gt;&amp;gt; layer and I wanted to be able to skin resources too (in some case
&lt;br&gt;&amp;gt;&amp;gt; leading to hard to debug error messages) I thought it would be nice to
&lt;br&gt;&amp;gt;&amp;gt; have the more generic DirectoryResource feature available in Grok too.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I'm working on implementing the more general 'DirectoryResource' on a
&lt;br&gt;&amp;gt;&amp;gt; branch of grokcore.view:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://svn.zope.org/grokcore.view/branches/jw-generic_directory_resource/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://svn.zope.org/grokcore.view/branches/jw-generic_directory_resource/&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I still need to add functional tests though, esp. concerning skinning.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Questions:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 1) Do people feel this is useful to intergrate in grokcore.view?
&lt;br&gt;&amp;gt;&amp;gt; 2) Could someone have a quick look at the implementation?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I have finished this feaure and I'm ready to merge. If there's any
&lt;br&gt;&amp;gt; interest in it of course.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; For your reviewing-convenience I pasted the diff between the trunk and
&lt;br&gt;&amp;gt; the branch here:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &lt;a href=&quot;http://jw.pastebin.com/f5a357f40&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jw.pastebin.com/f5a357f40&lt;/a&gt;&lt;/div&gt;&lt;br&gt;Good work! I see nothing wrong with it. However, you've renamed 
&lt;br&gt;grokcore.view.meta.static to grokcore.view.meta.directoryresource. 
&lt;br&gt;That's fine, of course, but the authors of five.grok should be made 
&lt;br&gt;aware that this happened because they might load this module 
&lt;br&gt;individually (Sylvain split up grokcore.view.meta for this reason).
&lt;br&gt;_______________________________________________
&lt;br&gt;Grok-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19968511&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Grok-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.zope.org/mailman/listinfo/grok-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.zope.org/mailman/listinfo/grok-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/generic-directoryresource-in-grokcore.view-tp19913754p19968511.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19967362</id>
	<title>Re: Naming of grok.provides</title>
	<published>2008-10-13T22:44:33Z</published>
	<updated>2008-10-13T22:44:33Z</updated>
	<author>
		<name>Kevin Teague</name>
	</author>
	<content type="html">&lt;br&gt;On Oct 12, 2008, at 11:19 PM, Thomas Lotze wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; We recently noticed that the grok.provides directive is not well- 
&lt;br&gt;&amp;gt; named:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The documentation states that &amp;quot;if the local utility implements
&lt;br&gt;&amp;gt; more than one interface or if the implemented interface cannot be
&lt;br&gt;&amp;gt; determined, grok.provides() is required to disambiguate for what
&lt;br&gt;&amp;gt; interface the local utility will be registered.&amp;quot;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; OTOH, in zope.interface terminology, the term &amp;quot;provides&amp;quot; has a clear
&lt;br&gt;&amp;gt; meaning in contrast to &amp;quot;implements&amp;quot;: if a class, for instance,
&lt;br&gt;&amp;gt; implements a certain interface, its instances are said to provide it.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; We feel that something should be done about this contradiction of
&lt;br&gt;&amp;gt; terminologies as it confuses not only newcomers to Grok. Beyond a
&lt;br&gt;&amp;gt; documentation improvement, what would be an acceptable fix given that
&lt;br&gt;&amp;gt; this directive is rather close to Grok's core?
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;Yeah, the text in the Grok Reference docs is even more confusing (and &amp;nbsp;
&lt;br&gt;wrong ... although I think I wrote that.). I've just updated that text &amp;nbsp;
&lt;br&gt;to read:
&lt;br&gt;&lt;br&gt;:func:`grok.provides` -- disambiguate which interface is registered
&lt;br&gt;===================================================
&lt;br&gt;&lt;br&gt;.. function:: grok.provides(interface)
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Explicitly specify with which interface a component will be
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;looked up. If a class declares that it implements several &amp;nbsp;
&lt;br&gt;interaces,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;:func:`grok.provides` can be used to disambiguate which interface &amp;nbsp;
&lt;br&gt;will be
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;registered with the Zope Component Architecture.
&lt;br&gt;&lt;br&gt;But even with clearer documentation it's still somewhat confusing? &amp;nbsp;
&lt;br&gt;Maybe grok.registers is clearer? Since any class implements many &amp;nbsp;
&lt;br&gt;interfaces that is used to create a component, that component is going &amp;nbsp;
&lt;br&gt;to provide many interfaces - it's just used to state which interface &amp;nbsp;
&lt;br&gt;is registered with the CA that it's interested in as providing for the &amp;nbsp;
&lt;br&gt;CA among the many it provides.
&lt;br&gt;&lt;br&gt;(I think that makes sense? not quite sure - I've been travelling all &amp;nbsp;
&lt;br&gt;day after the PloneConf and am quite tired.)
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Grok-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19967362&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Grok-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.zope.org/mailman/listinfo/grok-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.zope.org/mailman/listinfo/grok-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Naming-of-grok.provides-tp19952130p19967362.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19962078</id>
	<title>Re: generic directoryresource in grokcore.view</title>
	<published>2008-10-13T13:16:28Z</published>
	<updated>2008-10-13T13:16:28Z</updated>
	<author>
		<name>Jan-Wijbrand Kolman-3</name>
	</author>
	<content type="html">Jan-Wijbrand Kolman wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Grok views by default have access to a &amp;quot;static&amp;quot; directory for resources.
&lt;br&gt;&amp;gt; They're a special kind of the more general DirectoryResource feature of
&lt;br&gt;&amp;gt; Zope.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Since the resource &amp;quot;static&amp;quot; is always registered for the IDefaultBrowser
&lt;br&gt;&amp;gt; layer and I wanted to be able to skin resources too (in some case
&lt;br&gt;&amp;gt; leading to hard to debug error messages) I thought it would be nice to
&lt;br&gt;&amp;gt; have the more generic DirectoryResource feature available in Grok too.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I'm working on implementing the more general 'DirectoryResource' on a
&lt;br&gt;&amp;gt; branch of grokcore.view:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://svn.zope.org/grokcore.view/branches/jw-generic_directory_resource/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://svn.zope.org/grokcore.view/branches/jw-generic_directory_resource/&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I still need to add functional tests though, esp. concerning skinning.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Questions:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 1) Do people feel this is useful to intergrate in grokcore.view?
&lt;br&gt;&amp;gt; 2) Could someone have a quick look at the implementation?
&lt;/div&gt;&lt;br&gt;I have finished this feaure and I'm ready to merge. If there's any
&lt;br&gt;interest in it of course.
&lt;br&gt;&lt;br&gt;For your reviewing-convenience I pasted the diff between the trunk and
&lt;br&gt;the branch here:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://jw.pastebin.com/f5a357f40&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jw.pastebin.com/f5a357f40&lt;/a&gt;&lt;br&gt;&lt;br&gt;kind regards,
&lt;br&gt;jw
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Grok-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19962078&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Grok-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.zope.org/mailman/listinfo/grok-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.zope.org/mailman/listinfo/grok-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/generic-directoryresource-in-grokcore.view-tp19913754p19962078.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19955637</id>
	<title>Re: ZODB and storing, retrieving, deleting, use of ID</title>
	<published>2008-10-13T07:09:37Z</published>
	<updated>2008-10-13T07:09:37Z</updated>
	<author>
		<name>rmoskal</name>
	</author>
	<content type="html">You might try the python uuid module. &amp;nbsp;I tend to use uuids for RDBMS work, why not use them with the ZODB?
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;&lt;br&gt;Robert Moskal
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Laurence Rowe wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;John de la Garza wrote:
&lt;br&gt;&amp;gt; I'm making an app that has polls for voting... When I make a Poll &amp;nbsp;
&lt;br&gt;&amp;gt; object to I have to create an ID so I can find it again. &amp;nbsp;I'm comming &amp;nbsp;
&lt;br&gt;&amp;gt; froma RDBMS background and am wondering if there are any articles &amp;nbsp;
&lt;br&gt;&amp;gt; that would helpl me transistion. &amp;nbsp;For example should the ID be the &amp;nbsp;
&lt;br&gt;&amp;gt; last object id + 1? &amp;nbsp;I saw some sample code that kept the objects in &amp;nbsp;
&lt;br&gt;&amp;gt; a list then just got the length of the list, but if items are deleted &amp;nbsp;
&lt;br&gt;&amp;gt; then using the len as the ID could be trouble (not unique).... any &amp;nbsp;
&lt;br&gt;&amp;gt; feed back would be apprecitated. &amp;nbsp;I've read intro to ZODB (Jim &amp;nbsp;
&lt;br&gt;&amp;gt; Fulton) but it doesn't mention deleting
&lt;br&gt;&lt;br&gt;* Randomised keys have better efficiency when filling a B-Tree. You need 
&lt;br&gt;to check that the randomly generated key does not already exist.
&lt;br&gt;&lt;br&gt;* Store the length with a BTrees.Length.Length and increment/decrement 
&lt;br&gt;as you add/delete.
&lt;br&gt;&lt;br&gt;Laurence
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Grok-dev mailing list
&lt;br&gt;Grok-dev@zope.org
&lt;br&gt;&lt;a href=&quot;http://mail.zope.org/mailman/listinfo/grok-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.zope.org/mailman/listinfo/grok-dev&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/ZODB-and-storing%2C-retrieving%2C-deleting%2C-use-of-ID-tp19817305p19955637.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19954519</id>
	<title>Re: Naming of grok.provides</title>
	<published>2008-10-13T06:02:54Z</published>
	<updated>2008-10-13T06:02:54Z</updated>
	<author>
		<name>Sebastian Ware</name>
	</author>
	<content type="html">I find the difference between implements/provides confusing too. And &amp;nbsp;
&lt;br&gt;it gets more complicated when trying to understand the difference &amp;nbsp;
&lt;br&gt;between IMyInterface.providedBy(obj) and &amp;nbsp;
&lt;br&gt;IMyInterface.implementedBy(obj).
&lt;br&gt;&lt;br&gt;Mvh Sebastian
&lt;br&gt;&lt;br&gt;13 okt 2008 kl. 08.19 skrev Thomas Lotze:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; We recently noticed that the grok.provides directive is not well- 
&lt;br&gt;&amp;gt; named:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The documentation states that &amp;quot;if the local utility implements
&lt;br&gt;&amp;gt; more than one interface or if the implemented interface cannot be
&lt;br&gt;&amp;gt; determined, grok.provides() is required to disambiguate for what
&lt;br&gt;&amp;gt; interface the local utility will be registered.&amp;quot;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; OTOH, in zope.interface terminology, the term &amp;quot;provides&amp;quot; has a clear
&lt;br&gt;&amp;gt; meaning in contrast to &amp;quot;implements&amp;quot;: if a class, for instance,
&lt;br&gt;&amp;gt; implements a certain interface, its instances are said to provide it.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; We feel that something should be done about this contradiction of
&lt;br&gt;&amp;gt; terminologies as it confuses not only newcomers to Grok. Beyond a
&lt;br&gt;&amp;gt; documentation improvement, what would be an acceptable fix given that
&lt;br&gt;&amp;gt; this directive is rather close to Grok's core?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thomas
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; Thomas Lotze · &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19954519&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tl@...&lt;/a&gt;
&lt;br&gt;&amp;gt; gocept gmbh &amp; co. kg · forsterstraße 29 · 06112 halle (saale) · &amp;nbsp;
&lt;br&gt;&amp;gt; germany
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://gocept.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://gocept.com&lt;/a&gt;&amp;nbsp;· tel +49 345 1229889 0 · fax +49 345 1229889 1
&lt;br&gt;&amp;gt; Zope and Plone consulting and development
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Grok-dev mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19954519&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Grok-dev@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://mail.zope.org/mailman/listinfo/grok-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.zope.org/mailman/listinfo/grok-dev&lt;/a&gt;&lt;/div&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Grok-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19954519&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Grok-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.zope.org/mailman/listinfo/grok-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.zope.org/mailman/listinfo/grok-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Naming-of-grok.provides-tp19952130p19954519.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19952485</id>
	<title>Re: newbie question: Handling file uploads with zope.app.file</title>
	<published>2008-10-13T03:39:48Z</published>
	<updated>2008-10-13T03:39:48Z</updated>
	<author>
		<name>Sebastian Ware</name>
	</author>
	<content type="html">I would suggest that you take a look at some of the basic sample apps &amp;nbsp;
&lt;br&gt;found here:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://grok.zope.org/about/what-does-grok-code-look-like&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://grok.zope.org/about/what-does-grok-code-look-like&lt;/a&gt;&lt;br&gt;&lt;br&gt;I think you will find all your answers there.
&lt;br&gt;&lt;br&gt;Mvh Sebastian
&lt;br&gt;&lt;br&gt;13 okt 2008 kl. 08.42 skrev muli:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I have started 1 week ago so please apologize my stupid question. I &amp;nbsp;
&lt;br&gt;&amp;gt; worked
&lt;br&gt;&amp;gt; thru the tutorial and most parts of the Developer notes so that i &amp;nbsp;
&lt;br&gt;&amp;gt; think that
&lt;br&gt;&amp;gt; i understand general what happens in the HowTo but...
&lt;br&gt;&amp;gt; i have made a file called FileContainer.py and a app.py looking like &amp;nbsp;
&lt;br&gt;&amp;gt; this:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; class Test(grok.Application, grok.Container):
&lt;br&gt;&amp;gt; 	pass
&lt;br&gt;&amp;gt; 	
&lt;br&gt;&amp;gt; class Index(grok.View):
&lt;br&gt;&amp;gt; &amp;nbsp; pass
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; How can i display the Form in a Browser?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; AddForm is a special kind of View so i tried this:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; class Test(grok.Application, grok.Container):
&lt;br&gt;&amp;gt; 	pass
&lt;br&gt;&amp;gt; 	
&lt;br&gt;&amp;gt; class Upload(grok.AddForm):
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;grok.context(Test)......
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; But it didn't work!
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; so please help me.
&lt;br&gt;&amp;gt; muli
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; View this message in context: &lt;a href=&quot;http://www.nabble.com/newbie-question%3A-Handling-file-uploads-with-zope.app.file-tp19949577p19949577.html&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/newbie-question%3A-Handling-file-uploads-with-zope.app.file-tp19949577p19949577.html&lt;/a&gt;&lt;br&gt;&amp;gt; Sent from the Grok mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Grok-dev mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19952485&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Grok-dev@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://mail.zope.org/mailman/listinfo/grok-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.zope.org/mailman/listinfo/grok-dev&lt;/a&gt;&lt;/div&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Grok-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19952485&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Grok-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.zope.org/mailman/listinfo/grok-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.zope.org/mailman/listinfo/grok-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/newbie-question%3A-Handling-file-uploads-with-zope.app.file-tp19949577p19952485.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19949577</id>
	<title>newbie question: Handling file uploads with zope.app.file</title>
	<published>2008-10-12T23:42:26Z</published>
	<updated>2008-10-12T23:42:26Z</updated>
	<author>
		<name>muli</name>
	</author>
	<content type="html">I have started 1 week ago so please apologize my stupid question. I worked thru the tutorial and most parts of the Developer notes so that i think that i understand general what happens in the HowTo but...
&lt;br&gt;i have made a file called FileContainer.py and a app.py looking like this:
&lt;br&gt;&lt;br&gt;class Test(grok.Application, grok.Container):
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; pass
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;class Index(grok.View):
&lt;br&gt;&amp;nbsp; &amp;nbsp;pass 
&lt;br&gt;&lt;br&gt;How can i display the Form in a Browser?
&lt;br&gt;&lt;br&gt;AddForm is a special kind of View so i tried this:
&lt;br&gt;&lt;br&gt;class Test(grok.Application, grok.Container):
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; pass
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;class Upload(grok.AddForm):
&lt;br&gt;&amp;nbsp; &amp;nbsp; grok.context(Test)......
&lt;br&gt;&lt;br&gt;But it didn't work!
&lt;br&gt;&lt;br&gt;so please help me.
&lt;br&gt;muli</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/newbie-question%3A-Handling-file-uploads-with-zope.app.file-tp19949577p19949577.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19952130</id>
	<title>Naming of grok.provides</title>
	<published>2008-10-12T23:19:40Z</published>
	<updated>2008-10-12T23:19:40Z</updated>
	<author>
		<name>Thomas Lotze</name>
	</author>
	<content type="html">We recently noticed that the grok.provides directive is not well-named:
&lt;br&gt;&lt;br&gt;The documentation states that &amp;quot;if the local utility implements
&lt;br&gt;more than one interface or if the implemented interface cannot be
&lt;br&gt;determined, grok.provides() is required to disambiguate for what
&lt;br&gt;interface the local utility will be registered.&amp;quot;
&lt;br&gt;&lt;br&gt;OTOH, in zope.interface terminology, the term &amp;quot;provides&amp;quot; has a clear
&lt;br&gt;meaning in contrast to &amp;quot;implements&amp;quot;: if a class, for instance,
&lt;br&gt;implements a certain interface, its instances are said to provide it.
&lt;br&gt;&lt;br&gt;We feel that something should be done about this contradiction of
&lt;br&gt;terminologies as it confuses not only newcomers to Grok. Beyond a
&lt;br&gt;documentation improvement, what would be an acceptable fix given that
&lt;br&gt;this directive is rather close to Grok's core?
&lt;br&gt;&lt;br&gt;Thomas
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Thomas Lotze · &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19952130&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tl@...&lt;/a&gt;
&lt;br&gt;gocept gmbh &amp; co. kg · forsterstraße 29 · 06112 halle (saale) · germany
&lt;br&gt;&lt;a href=&quot;http://gocept.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://gocept.com&lt;/a&gt;&amp;nbsp;· tel +49 345 1229889 0 · fax +49 345 1229889 1
&lt;br&gt;Zope and Plone consulting and development
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;Grok-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19952130&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Grok-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.zope.org/mailman/listinfo/grok-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.zope.org/mailman/listinfo/grok-dev&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://www.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (196 bytes) &lt;a href=&quot;http://www.nabble.com/attachment/19952130/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Naming-of-grok.provides-tp19952130p19952130.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19947593</id>
	<title>Re: Moving a Zope3 app to Grok</title>
	<published>2008-10-12T18:03:21Z</published>
	<updated>2008-10-12T18:03:21Z</updated>
	<author>
		<name>Kevin Teague</name>
	</author>
	<content type="html">&lt;br&gt;&amp;gt; The server fails to start because it found that I am importing pyparsing
&lt;br&gt;&amp;gt; in one of my files.  Now of course pyparsing is in my default eggs
&lt;br&gt;&amp;gt; directory.  
&lt;br&gt;&amp;gt; ~snip~
&lt;br&gt;&amp;gt;     ImportError: No module named pyparsing
&lt;br&gt;&lt;br&gt;It doesn't look like pyparsing is getting picked up in your list of
&lt;br&gt;eggs? This project is listed in your eggs config in your [app] section
&lt;br&gt;or within the install_requires field of your setup.py file? And you've
&lt;br&gt;re-run ./bin/buildout after editing this? You should see pyparsing
&lt;br&gt;listed in parts/app/runzope once it's being properly picked up ...
&lt;br&gt;&lt;br&gt;After for automagically merging them, I'm not aware of anyway to do
&lt;br&gt;this other than manual reviewing the buildout.cfg and copying the
&lt;br&gt;approriate bits over.
&lt;br&gt;_______________________________________________
&lt;br&gt;Grok-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19947593&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Grok-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.zope.org/mailman/listinfo/grok-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.zope.org/mailman/listinfo/grok-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Moving-a-Zope3-app-to-Grok-tp19944973p19947593.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19929161</id>
	<title>Re: ZODB and storing, retrieving, deleting, use of ID</title>
	<published>2008-10-10T20:15:19Z</published>
	<updated>2008-10-10T20:15:19Z</updated>
	<author>
		<name>Kevin Teague</name>
	</author>
	<content type="html">When doing autogeneration of primary keys in a relational database,
&lt;br&gt;there is usually a separate Sequence object which tracks the value of
&lt;br&gt;the next id to use, when a new record is inserted the Sequence object
&lt;br&gt;is updated by one. It's possible to implement this directly in Grok,
&lt;br&gt;but Laurences suggestions of randomised keys for efficiency may be
&lt;br&gt;preferable.
&lt;br&gt;&lt;br&gt;Note that there is a subtle difference between a database id and a key
&lt;br&gt;name (available as the __name__ attribute on a Grok model object) when
&lt;br&gt;storing data in the ZODB using Grok. A database id is a unique
&lt;br&gt;identifier that is user-friendly for inclusion in SQL statements. A
&lt;br&gt;name is used a unique identifier that is user-friendly for inclusion
&lt;br&gt;in a URL.
&lt;br&gt;&lt;br&gt;When composing a URL in Grok, names are not allowed to start with the
&lt;br&gt;+ or @ characters, not contain the / character (you can store objects
&lt;br&gt;in the ZODB with key names that don't obey these rules, but then when
&lt;br&gt;you want to publish that key name using the normal Grok behaviour you
&lt;br&gt;will have to do some form of messy &amp;quot;fuggling&amp;quot; to get it to work).
&lt;br&gt;Names are often made more human-readable, although what &amp;quot;more human-
&lt;br&gt;readable&amp;quot; is may depend on the type of app you are writing, but in a
&lt;br&gt;CMS, a URL such as:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://example.com/using-name-choosers.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://example.com/using-name-choosers.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;Is more human-readable than:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://example.com/4876598465876497.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://example.com/4876598465876497.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;I just put a note about using the INameChooser interface in this
&lt;br&gt;recent article:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://grok.zope.org/documentation/how-to/uploading-file/view&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://grok.zope.org/documentation/how-to/uploading-file/view&lt;/a&gt;&lt;br&gt;&lt;br&gt;However, a full discussion on implementing INameChoosers to implement
&lt;br&gt;your desired naming policies (randomized, length based, human-readable-
&lt;br&gt;style.html, etc.) and potentially some packages which have useful
&lt;br&gt;NameChoosers) doesn't exist, but would be good to have ...
&lt;br&gt;_______________________________________________
&lt;br&gt;Grok-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19929161&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Grok-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.zope.org/mailman/listinfo/grok-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.zope.org/mailman/listinfo/grok-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/ZODB-and-storing%2C-retrieving%2C-deleting%2C-use-of-ID-tp19817305p19929161.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19928848</id>
	<title>Re: grokproject error</title>
	<published>2008-10-10T19:41:45Z</published>
	<updated>2008-10-10T19:41:45Z</updated>
	<author>
		<name>Reed O'Brien</name>
	</author>
	<content type="html">On Oct 10, 2008, at 6:02 PM, Martijn Faassen wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hey,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Setup script exited with error: Setup script exited with error: Setup
&lt;br&gt;&amp;gt;&amp;gt; script exited with error: Setup script exited with error: Setup &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; script
&lt;br&gt;&amp;gt;&amp;gt; exited with error: Setup script exited with error: Setup script &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; exited
&lt;br&gt;&amp;gt;&amp;gt; with error: Setup script exited with error: Setup script exited with
&lt;br&gt;&amp;gt;&amp;gt; error: Setup script exited with error:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; No idea what the cause is, but I just read this:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://blog.vrplumber.com/index.php?/archives/2204-Where-did-that-dependency-come-from.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://blog.vrplumber.com/index.php?/archives/2204-Where-did-that-dependency-come-from.html&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Which sounds like the same error. A clue, perhaps?
&lt;/div&gt;&lt;/div&gt;We were seeing this at the plone conference in a buildout; at least &amp;nbsp;
&lt;br&gt;three of us. It would stall while making a develop-egg then fail with &amp;nbsp;
&lt;br&gt;the recursive error and : File name too long
&lt;br&gt;&lt;br&gt;Someone suspected archetypes.schemaextender, I was suspicious of &amp;nbsp;
&lt;br&gt;buildout.eggtractor injecting the egg names (in a loop) into buildout &amp;nbsp;
&lt;br&gt;the eggs it found to develop.
&lt;br&gt;&lt;br&gt;Removing the &amp;lt;name-of-egg&amp;gt;.egg-info from the develop egg(s) seemed to &amp;nbsp;
&lt;br&gt;fix it. Then something else failed, possibly unrelated. Then I didn't &amp;nbsp;
&lt;br&gt;have another chance to look at it.
&lt;br&gt;&lt;br&gt;At least two of the three people I am sure had the same error (and &amp;nbsp;
&lt;br&gt;partial fix) were on OSX 10.5.x
&lt;br&gt;&lt;br&gt;That is all the details I have....
&lt;br&gt;&lt;br&gt;~ro&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;Grok-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19928848&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Grok-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.zope.org/mailman/listinfo/grok-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.zope.org/mailman/listinfo/grok-dev&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://www.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;smime.p7s&lt;/strong&gt; (3K) &lt;a href=&quot;http://www.nabble.com/attachment/19928848/0/smime.p7s&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/grokproject-error-tp19897766p19928848.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19928833</id>
	<title>Re: Grok documentation review request</title>
	<published>2008-10-10T19:38:53Z</published>
	<updated>2008-10-10T19:38:53Z</updated>
	<author>
		<name>Kevin Teague</name>
	</author>
	<content type="html">Hello, I've added you to the Documentation group, so you should be
&lt;br&gt;able to publish and edit published docs now by yourself.
&lt;br&gt;&lt;br&gt;However, I also made some edits to improve the text ...
&lt;br&gt;&lt;br&gt;... and I also updated the section on filenaming to mention that you
&lt;br&gt;can't expose filenames with URLs that start with + or @ or contain /
&lt;br&gt;in Grok by changing the example to use the default INameChooser
&lt;br&gt;implementation. However, I haven't tested these changes, so please
&lt;br&gt;feel free to correct them if you spot a typo or mistake!
&lt;br&gt;&lt;br&gt;It might also be nice to give an example of how to provide a Grok View
&lt;br&gt;to override the default view supplied by the zope.app.file package.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;&lt;br&gt;- Kevin
&lt;br&gt;_______________________________________________
&lt;br&gt;Grok-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19928833&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Grok-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.zope.org/mailman/listinfo/grok-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.zope.org/mailman/listinfo/grok-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Grok-documentation-review-request-tp19926862p19928833.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19926862</id>
	<title>Grok documentation review request</title>
	<published>2008-10-10T15:03:47Z</published>
	<updated>2008-10-10T15:03:47Z</updated>
	<author>
		<name>TAHARA Yusei</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;I wrote a small how-to in grok website.
&lt;br&gt;If someone in the document team have time, please review it.
&lt;br&gt;&lt;br&gt;Best regards,
&lt;br&gt;-- 
&lt;br&gt;Yusei TAHARA &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19926862&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;yusei@...&lt;/a&gt;&amp;gt;
&lt;br&gt;_______________________________________________
&lt;br&gt;Grok-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19926862&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Grok-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.zope.org/mailman/listinfo/grok-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.zope.org/mailman/listinfo/grok-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Grok-documentation-review-request-tp19926862p19926862.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19926836</id>
	<title>Re: grokproject error</title>
	<published>2008-10-10T15:02:14Z</published>
	<updated>2008-10-10T15:02:14Z</updated>
	<author>
		<name>Martijn Faassen-2</name>
	</author>
	<content type="html">Hey,
&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;gt; Setup script exited with error: Setup script exited with error: Setup
&lt;br&gt;&amp;nbsp;&amp;gt; script exited with error: Setup script exited with error: Setup script
&lt;br&gt;&amp;nbsp;&amp;gt; exited with error: Setup script exited with error: Setup script exited
&lt;br&gt;&amp;nbsp;&amp;gt; with error: Setup script exited with error: Setup script exited with
&lt;br&gt;&amp;nbsp;&amp;gt; error: Setup script exited with error:
&lt;br&gt;&lt;br&gt;No idea what the cause is, but I just read this:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://blog.vrplumber.com/index.php?/archives/2204-Where-did-that-dependency-come-from.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://blog.vrplumber.com/index.php?/archives/2204-Where-did-that-dependency-come-from.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;Which sounds like the same error. A clue, perhaps?
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;&lt;br&gt;Martijn
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Grok-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19926836&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Grok-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.zope.org/mailman/listinfo/grok-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.zope.org/mailman/listinfo/grok-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/grokproject-error-tp19897766p19926836.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19944973</id>
	<title>Moving a Zope3 app to Grok</title>
	<published>2008-10-10T13:34:42Z</published>
	<updated>2008-10-10T13:34:42Z</updated>
	<author>
		<name>Tim Cook-4</name>
	</author>
	<content type="html">Hi All,
&lt;br&gt;&lt;br&gt;I am moving a Zope3 an application development platform to Grok in order
&lt;br&gt;to provide an easier path for new developers to get started. &amp;nbsp;This
&lt;br&gt;application is in the very early stages of development so I do not
&lt;br&gt;envision this being a big deal. &amp;nbsp;Most of my code isn't even hooked up to
&lt;br&gt;the Zope3 machinery yet.
&lt;br&gt;&lt;br&gt;The original project was started using zopeproject. &amp;nbsp;But of course over
&lt;br&gt;time I have added several dependencies in my buildout.cfg &amp;nbsp;
&lt;br&gt;&lt;br&gt;I installed Grok and started the server and all was great.
&lt;br&gt;&lt;br&gt;I then did a clean svn export of the code and copied into a subdirectory
&lt;br&gt;of the &amp;lt;project&amp;gt;/src/&amp;lt;project&amp;gt; directory. &amp;nbsp;I didn't overwrite any of the
&lt;br&gt;Grok config files. &amp;nbsp;Actually there are a couple of subdirs but that
&lt;br&gt;doesn't matter.
&lt;br&gt;&lt;br&gt;When I try to start the Zope server now i see that Martian is doing some
&lt;br&gt;introspecting in the code it found. &amp;nbsp;This is actually a good thing &amp;nbsp;I
&lt;br&gt;suppose. :-)
&lt;br&gt;&lt;br&gt;The server fails to start because it found that I am importing pyparsing
&lt;br&gt;in one of my files. &amp;nbsp;Now of course pyparsing is in my default eggs
&lt;br&gt;directory. &amp;nbsp;
&lt;br&gt;Traceback is:
&lt;br&gt;&lt;br&gt;&amp;nbsp; File
&lt;br&gt;&amp;quot;/home/tim/.buildout/eggs/martian-0.11-py2.5.egg/martian/scan.py&amp;quot;, line
&lt;br&gt;191, in resolve
&lt;br&gt;&amp;nbsp; &amp;nbsp; __import__(used)
&lt;br&gt;&amp;nbsp; File &amp;quot;/home/tim/grok/oship/src/oship/atbldr/adl_1_4.py&amp;quot;, line 16, in
&lt;br&gt;&amp;lt;module&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; from pyparsing import *
&lt;br&gt;zope.configuration.xmlconfig.ZopeXMLConfigurationError: File
&lt;br&gt;&amp;quot;/home/tim/grok/oship/parts/app/site.zcml&amp;quot;, line 4.0-4.27
&lt;br&gt;&amp;nbsp; &amp;nbsp; ZopeXMLConfigurationError: File
&lt;br&gt;&amp;quot;/home/tim/grok/oship/src/oship/configure.zcml&amp;quot;, line 6.2-6.27
&lt;br&gt;&amp;nbsp; &amp;nbsp; ImportError: No module named pyparsing
&lt;br&gt;&lt;br&gt;*******************************************************************
&lt;br&gt;&lt;br&gt;My real question is; is there an &amp;quot;automagic&amp;quot; way to do this merge?
&lt;br&gt;Maybe some kind of analysis script I do not know about yet? &amp;nbsp;Or is this
&lt;br&gt;just going to be a tedious hand editing process for the buildout.cfg and
&lt;br&gt;ZCML files?
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Tim &amp;nbsp;
&lt;br&gt;&amp;nbsp; 
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Timothy Cook, MSc
&lt;br&gt;Health Informatics Research &amp; Development Services
&lt;br&gt;LinkedIn Profile:&lt;a href=&quot;http://www.linkedin.com/in/timothywaynecook&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.linkedin.com/in/timothywaynecook&lt;/a&gt;&amp;nbsp;
&lt;br&gt;Skype ID == timothy.cook 
&lt;br&gt;**************************************************************
&lt;br&gt;*You may get my Public GPG key from &amp;nbsp;popular keyservers or &amp;nbsp; *
&lt;br&gt;*from this link &lt;a href=&quot;http://timothywayne.cook.googlepages.com/home*&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://timothywayne.cook.googlepages.com/home*&lt;/a&gt;&lt;br&gt;**************************************************************
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;Grok-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19944973&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Grok-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.zope.org/mailman/listinfo/grok-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.zope.org/mailman/listinfo/grok-dev&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://www.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (196 bytes) &lt;a href=&quot;http://www.nabble.com/attachment/19944973/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Moving-a-Zope3-app-to-Grok-tp19944973p19944973.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19913820</id>
	<title>Re: generic directoryresource in grokcore.view</title>
	<published>2008-10-10T01:09:46Z</published>
	<updated>2008-10-10T01:09:46Z</updated>
	<author>
		<name>Jan-Wijbrand Kolman-3</name>
	</author>
	<content type="html">On Fri, Oct 10, 2008 at 10:03 AM, Jan-Wijbrand Kolman
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19913820&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;janwijbrand@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;snip
&lt;br&gt;&amp;gt; (..) (in some case leading to hard to debug error messages) (..)
&lt;br&gt;&lt;br&gt;Uhm, this remark is not exactly correct - what I meant is that
&lt;br&gt;sometimes you expect the &amp;quot;static&amp;quot; thing to point to a particular
&lt;br&gt;directory of resources where it cannot find it. This is not really to
&lt;br&gt;do with skinning, but with, for example, having a layout macro defined
&lt;br&gt;in one package being used by templates in another package. Where the
&lt;br&gt;layout macro then finds its resources can be confusing.
&lt;br&gt;&lt;br&gt;regards,
&lt;br&gt;jw
&lt;br&gt;_______________________________________________
&lt;br&gt;Grok-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19913820&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Grok-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.zope.org/mailman/listinfo/grok-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.zope.org/mailman/listinfo/grok-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/generic-directoryresource-in-grokcore.view-tp19913754p19913820.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19913754</id>
	<title>generic directoryresource in grokcore.view</title>
	<published>2008-10-10T01:03:51Z</published>
	<updated>2008-10-10T01:03:51Z</updated>
	<author>
		<name>Jan-Wijbrand Kolman-3</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;&lt;br&gt;Grok views by default have access to a &amp;quot;static&amp;quot; directory for resources.
&lt;br&gt;They're a special kind of the more general DirectoryResource feature of
&lt;br&gt;Zope.
&lt;br&gt;&lt;br&gt;Since the resource &amp;quot;static&amp;quot; is always registered for the IDefaultBrowser
&lt;br&gt;layer and I wanted to be able to skin resources too (in some case
&lt;br&gt;leading to hard to debug error messages) I thought it would be nice to
&lt;br&gt;have the more generic DirectoryResource feature available in Grok too.
&lt;br&gt;&lt;br&gt;I'm working on implementing the more general 'DirectoryResource' on a
&lt;br&gt;branch of grokcore.view:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://svn.zope.org/grokcore.view/branches/jw-generic_directory_resource/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://svn.zope.org/grokcore.view/branches/jw-generic_directory_resource/&lt;/a&gt;&lt;br&gt;&lt;br&gt;I still need to add functional tests though, esp. concerning skinning.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Questions:
&lt;br&gt;&lt;br&gt;1) Do people feel this is useful to intergrate in grokcore.view?
&lt;br&gt;2) Could someone have a quick look at the implementation?
&lt;br&gt;&lt;br&gt;&lt;br&gt;kind regards,
&lt;br&gt;jw
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Grok-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19913754&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Grok-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.zope.org/mailman/listinfo/grok-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.zope.org/mailman/listinfo/grok-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/generic-directoryresource-in-grokcore.view-tp19913754p19913754.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19901636</id>
	<title>Re: grokproject error</title>
	<published>2008-10-09T08:44:26Z</published>
	<updated>2008-10-09T08:44:26Z</updated>
	<author>
		<name>Jan Ulrich Hasecke-3</name>
	</author>
	<content type="html">With a new virtualenv I now got this error:
&lt;br&gt;&lt;br&gt;Setup script exited with error: Setup script exited with error: Setup &amp;nbsp;
&lt;br&gt;script exited with error: Setup script exited with error: Setup &amp;nbsp;
&lt;br&gt;script exited with error: Setup script exited with error: Setup &amp;nbsp;
&lt;br&gt;script exited with error: Setup script exited with error: Setup &amp;nbsp;
&lt;br&gt;script exited with error: Setup script exited with error: Setup &amp;nbsp;
&lt;br&gt;script exited with error: Setup script exited with error: Setup &amp;nbsp;
&lt;br&gt;script exited with error: Setup script exited with error: Setup &amp;nbsp;
&lt;br&gt;script exited with error: Setup script exited with error: Setup &amp;nbsp;
&lt;br&gt;script exited with error: Setup script exited with error: Setup &amp;nbsp;
&lt;br&gt;script exited with error: Setup script exited with error: Setup &amp;nbsp;
&lt;br&gt;script exited with error: Setup script exited with error: Setup &amp;nbsp;
&lt;br&gt;script exited with error: /tmp/easy_install-06iNh-/PasteDeploy-1.3.2/ 
&lt;br&gt;temp/easy_install-SIRxj5/Paste-1.7.1/temp/easy_install-tqaOUZ/ 
&lt;br&gt;PasteDeploy-1.3.2/temp/easy_install-fwWmV_/Paste-1.7.1/temp/ 
&lt;br&gt;easy_install-hRiedb/PasteDeploy-1.3.2/temp/easy_install-vptgQQ/ 
&lt;br&gt;Paste-1.7.1/temp/easy_install-Pd17pD/PasteDeploy-1.3.2/temp/ 
&lt;br&gt;easy_install-PaGlk3/Paste-1.7.1/temp/easy_install-gqkBfv/ 
&lt;br&gt;PasteDeploy-1.3.2/temp/easy_install-EsPAve/Paste-1.7.1/temp/ 
&lt;br&gt;easy_install-6EAaJ6/PasteDeploy-1.3.2/temp/easy_install-_GvVe5/ 
&lt;br&gt;Paste-1.7.1/temp/easy_install-NDSz7a/PasteDeploy-1.3.2/temp/ 
&lt;br&gt;easy_install-LvWgo4/Paste-1.7.1/temp/easy_install-kOU1pw/ 
&lt;br&gt;PasteDeploy-1.3.2/temp/easy_install-rJ9STs/Paste-1.7.1/temp/ 
&lt;br&gt;easy_install-2SfUEc/PasteDeploy-1.3.2/temp/easy_install-UPhWS3/ 
&lt;br&gt;Paste-1.7.1/temp/easy_install-Acofjj/PasteDeploy-1.3.2/temp/ 
&lt;br&gt;easy_install-nZFZm8/Paste-1.7.1/temp/easy_install-WTrFSd/ 
&lt;br&gt;PasteDeploy-1.3.2/temp/easy_install-FRvdma/Paste-1.7.1/temp/ 
&lt;br&gt;easy_install-t7kf2j/PasteDeploy-1.3.2/temp/easy_install-NLDDNW/ 
&lt;br&gt;Paste-1.7.1/tests/urlparser_data/find_file/dir with spaces/test &amp;nbsp;
&lt;br&gt;4.html: File name too long
&lt;br&gt;&lt;br&gt;This is on Mac OS X.
&lt;br&gt;&lt;br&gt;juh
&lt;br&gt;-- 
&lt;br&gt;Business: &lt;a href=&quot;http://hasecke.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hasecke.com&lt;/a&gt;&amp;nbsp;--- Private: &lt;a href=&quot;http://hasecke.eu&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hasecke.eu&lt;/a&gt;&amp;nbsp;--- Blog: &amp;nbsp;
&lt;br&gt;&lt;a href=&quot;http://www.sudelbuch.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.sudelbuch.de&lt;/a&gt;&amp;nbsp;--- History: www.generationenprojekt.de --- &amp;nbsp;
&lt;br&gt;Europe: www.wikitution.org
&lt;br&gt;&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;Grok-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19901636&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Grok-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.zope.org/mailman/listinfo/grok-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.zope.org/mailman/listinfo/grok-dev&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://www.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;smime.p7s&lt;/strong&gt; (3K) &lt;a href=&quot;http://www.nabble.com/attachment/19901636/0/smime.p7s&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/grokproject-error-tp19897766p19901636.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19900018</id>
	<title>Re: grokproject error</title>
	<published>2008-10-09T07:21:59Z</published>
	<updated>2008-10-09T07:21:59Z</updated>
	<author>
		<name>wichert</name>
	</author>
	<content type="html">Previously Philipp von Weitershausen wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; El 9 Oct 2008, a las 15:49 , Jan Ulrich Hasecke escribió:
&lt;br&gt;&amp;gt; &amp;gt; Am 09.10.2008 um 14:33 schrieb Philipp von Weitershausen:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; No module named schemaless
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; This is an old acquaintance.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Yes. You probably still have an older version of ZConfig sitting in &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; your Python's site-packages. Try creating the virtualenv with
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp;virtualenv.py --no-site-packages
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I did this, but maybe it is due to the fact that in this virtualenv &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;gt; I already created a Plone installation.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Quite possibly.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Not too familiar with virtualenv, the question for me is. Must I &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;gt; have one virtualenv for only each zope instance?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; You don't *have to*, but it doesn't hurt, either. Creating virtualenvs &amp;nbsp;
&lt;br&gt;&amp;gt; is cheap. In this case, it would definitely have been a good idea due &amp;nbsp;
&lt;br&gt;&amp;gt; to the suspected influence of that Plone installation.
&lt;/div&gt;&lt;br&gt;I don't see how a Plone installation can inject a ZConfig in the
&lt;br&gt;environment for grok though. Plone's ZConfig is contained inside the
&lt;br&gt;Zope2 instance which grok won't see.
&lt;br&gt;&lt;br&gt;Wichert.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Wichert Akkerman &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19900018&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;wichert@...&lt;/a&gt;&amp;gt; &amp;nbsp; &amp;nbsp;It is simple to make things.
&lt;br&gt;&lt;a href=&quot;http://www.wiggy.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.wiggy.net/&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;It is hard to make things simple.
&lt;br&gt;_______________________________________________
&lt;br&gt;Grok-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19900018&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Grok-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.zope.org/mailman/listinfo/grok-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.zope.org/mailman/listinfo/grok-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/grokproject-error-tp19897766p19900018.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19899504</id>
	<title>Re: grokproject error</title>
	<published>2008-10-09T06:55:21Z</published>
	<updated>2008-10-09T06:55:21Z</updated>
	<author>
		<name>Philipp von Weitershausen</name>
	</author>
	<content type="html">El 9 Oct 2008, a las 15:49 , Jan Ulrich Hasecke escribió:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Am 09.10.2008 um 14:33 schrieb Philipp von Weitershausen:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; No module named schemaless
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; This is an old acquaintance.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Yes. You probably still have an older version of ZConfig sitting in &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; your Python's site-packages. Try creating the virtualenv with
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;virtualenv.py --no-site-packages
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I did this, but maybe it is due to the fact that in this virtualenv &amp;nbsp;
&lt;br&gt;&amp;gt; I already created a Plone installation.
&lt;/div&gt;&lt;br&gt;Quite possibly.
&lt;br&gt;&lt;br&gt;&amp;gt; Not too familiar with virtualenv, the question for me is. Must I &amp;nbsp;
&lt;br&gt;&amp;gt; have one virtualenv for only each zope instance?
&lt;br&gt;&lt;br&gt;You don't *have to*, but it doesn't hurt, either. Creating virtualenvs &amp;nbsp;
&lt;br&gt;is cheap. In this case, it would definitely have been a good idea due &amp;nbsp;
&lt;br&gt;to the suspected influence of that Plone installation.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Grok-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19899504&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Grok-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.zope.org/mailman/listinfo/grok-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.zope.org/mailman/listinfo/grok-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/grokproject-error-tp19897766p19899504.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19898241</id>
	<title>Re: grokproject error</title>
	<published>2008-10-09T05:42:42Z</published>
	<updated>2008-10-09T05:42:42Z</updated>
	<author>
		<name>Reed O'Brien</name>
	</author>
	<content type="html">&lt;br&gt;On Oct 9, 2008, at 8:23 AM, Jan Ulrich Hasecke wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; While installing a new grokproject with 0.14 in a virtualenv I got &amp;nbsp;
&lt;br&gt;&amp;gt; this error:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; While:
&lt;br&gt;&amp;gt; &amp;nbsp;Installing.
&lt;br&gt;&amp;gt; &amp;nbsp;Getting section app.
&lt;br&gt;&amp;gt; &amp;nbsp;Initializing section app.
&lt;br&gt;&amp;gt; &amp;nbsp;Loading zc.buildout recipe entry zc.zope3recipes&amp;gt;=0.5.3:application.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; An internal error occured due to a bug in either zc.buildout or in a
&lt;br&gt;&amp;gt; recipe being used:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ImportError:
&lt;br&gt;&amp;gt; No module named schemaless
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; This is an old acquaintance.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; juh
&lt;/div&gt;&lt;/div&gt;IIRC this happens when you have an oldr version of Zope3 on your path.
&lt;br&gt;&lt;br&gt;Did you use the &amp;nbsp;--no-site-packages flag when creating the virtualenv
&lt;br&gt;&lt;br&gt;~ro&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;Grok-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19898241&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Grok-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.zope.org/mailman/listinfo/grok-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.zope.org/mailman/listinfo/grok-dev&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://www.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;smime.p7s&lt;/strong&gt; (3K) &lt;a href=&quot;http://www.nabble.com/attachment/19898241/0/smime.p7s&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/grokproject-error-tp19897766p19898241.html" />
</entry>

</feed>
