Hi<br><br><div class="gmail_quote">On Mon, Apr 13, 2009 at 7:37 AM, Souheil CHELFOUH <span dir="ltr"><<a href="mailto:trollfot@gmail.com">trollfot@gmail.com</a>></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'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's own dependencies. That'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 <<a href="mailto:santiago.videla@gmail.com">santiago.videla@gmail.com</a>>:<br>
<div><div></div><div class="h5">> Hi,<br>
><br>
> I was using megrok.resourcelibrary without any problems, but I just created<br>
> a new grokproject and it doesn't work. Actually, the resources are published<br>
> (I'm able to open using the url) but when I do ::<br>
><br>
> Resouce.need()<br>
><br>
> nothing happen.<br>
><br>
> And if I use::<br>
><br>
> <tal:block replace="resource_library:resource" /><br>
><br>
> I get an error from the template::<br>
><br>
> PTRuntimeError: ['Compilation failed', u'<class<br>
> \'zope.tal.taldefs.TALError\'>: Unrecognized expression type<br>
> "resource_library". in expression u\'resource_library:resource\', at line 3,<br>
> column 4']<br>
><br>
> I downloaded the sources from <a href="http://svn.zope.org" target="_blank">svn.zope.org</a> and all tests pass running<br>
> against grok-1.0a3<br>
><br>
> there anyone using megrok.resourcelibrary ?? any idea of what could I be<br>
> missing??<br>
><br>
> Best Regards<br>
><br>
> --<br>
> Santiago Videla<br>
> <a href="http://www.revolucionesweb.com.ar" target="_blank">www.revolucionesweb.com.ar</a><br>
> <a href="http://www.linkedin.com/in/svidela" target="_blank">http://www.linkedin.com/in/svidela</a><br>
><br>
> Sigue la mata dando de que hablar siempre abajo y a la izquierda donde el<br>
> pensamiento que se hace corazón resplandece con la palabra sencilla y<br>
> humilde que l@s tod@s somos.<br>
><br>
</div></div>> _______________________________________________<br>
> Grok-dev mailing list<br>
> <a href="mailto:Grok-dev@zope.org">Grok-dev@zope.org</a><br>
> <a href="http://mail.zope.org/mailman/listinfo/grok-dev" target="_blank">http://mail.zope.org/mailman/listinfo/grok-dev</a><br>
><br>
><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>