Hi<br><br><div class="gmail_quote">On Mon, Apr 13, 2009 at 7:37 AM, Souheil CHELFOUH <span dir="ltr">&lt;<a href="mailto:trollfot@gmail.com">trollfot@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I use it and it works great for me.<br>
Did you include the zcmls in your project ?</blockquote><div><br>Indeed, it was my fault. I didn&#39;t include the zc.resourcelibrary in my configure.zcml<br><br>The thing is that last time I have been using it, I included, zc.resourcelibrary and megrok.resourcelibrary, in the setup.py, so the directive includeDependencies was doing all the work.<br>
<br>Now, I (wrong) supposed that megrok.resourcelibrary, include it&#39;s own dependencies. That&#39;s why I only included, megrok.resourcelibrary in setup.py<br><br>there is any reason for megrok.resourcelibrary, to not include zc.resourcelibrary ?<br>
<br>Best Regards<br><br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Be sure the request is from the right type (resource library does<br>
alter the request to make his work)<br>
<br>
2009/4/13 Santiago Videla &lt;<a href="mailto:santiago.videla@gmail.com">santiago.videla@gmail.com</a>&gt;:<br>
<div><div></div><div class="h5">&gt; Hi,<br>
&gt;<br>
&gt; I was using megrok.resourcelibrary without any problems, but I just created<br>
&gt; a new grokproject and it doesn&#39;t work. Actually, the resources are published<br>
&gt; (I&#39;m able to open using the url) but when I do ::<br>
&gt;<br>
&gt; Resouce.need()<br>
&gt;<br>
&gt; nothing happen.<br>
&gt;<br>
&gt; And if I use::<br>
&gt;<br>
&gt;   &lt;tal:block replace=&quot;resource_library:resource&quot; /&gt;<br>
&gt;<br>
&gt; I get an error from the template::<br>
&gt;<br>
&gt; PTRuntimeError: [&#39;Compilation failed&#39;, u&#39;&lt;class<br>
&gt; \&#39;zope.tal.taldefs.TALError\&#39;&gt;: Unrecognized expression type<br>
&gt; &quot;resource_library&quot;. in expression u\&#39;resource_library:resource\&#39;, at line 3,<br>
&gt; column 4&#39;]<br>
&gt;<br>
&gt; I downloaded the sources from <a href="http://svn.zope.org" target="_blank">svn.zope.org</a> and all tests pass running<br>
&gt; against grok-1.0a3<br>
&gt;<br>
&gt; there anyone using megrok.resourcelibrary ?? any idea of what could I be<br>
&gt; missing??<br>
&gt;<br>
&gt; Best Regards<br>
&gt;<br>
&gt; --<br>
&gt; Santiago Videla<br>
&gt; <a href="http://www.revolucionesweb.com.ar" target="_blank">www.revolucionesweb.com.ar</a><br>
&gt; <a href="http://www.linkedin.com/in/svidela" target="_blank">http://www.linkedin.com/in/svidela</a><br>
&gt;<br>
&gt; Sigue la mata dando de que hablar siempre abajo y a la izquierda donde el<br>
&gt; pensamiento que se hace corazón resplandece con la palabra sencilla y<br>
&gt; humilde que l@s tod@s somos.<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; Grok-dev mailing list<br>
&gt; <a href="mailto:Grok-dev@zope.org">Grok-dev@zope.org</a><br>
&gt; <a href="http://mail.zope.org/mailman/listinfo/grok-dev" target="_blank">http://mail.zope.org/mailman/listinfo/grok-dev</a><br>
&gt;<br>
&gt;<br>
</blockquote></div><br><br clear="all"><br>-- <br>Santiago Videla<br><a href="http://www.revolucionesweb.com.ar">www.revolucionesweb.com.ar</a><br><a href="http://www.linkedin.com/in/svidela">http://www.linkedin.com/in/svidela</a><br>
<br>Sigue la mata dando de que hablar siempre abajo y a la izquierda donde el pensamiento que se hace corazón resplandece con la palabra sencilla y humilde que l@s tod@s somos.<br>