[Grok-dev] megrok.resourcelibrary

Souheil CHELFOUH trollfot at gmail.com
Mon Apr 13 06:37:05 EDT 2009


I use it and it works great for me.
Did you include the zcmls in your project ?
Be sure the request is from the right type (resource library does
alter the request to make his work)

2009/4/13 Santiago Videla <santiago.videla at gmail.com>:
> Hi,
>
> I was using megrok.resourcelibrary without any problems, but I just created
> a new grokproject and it doesn't work. Actually, the resources are published
> (I'm able to open using the url) but when I do ::
>
> Resouce.need()
>
> nothing happen.
>
> And if I use::
>
>   <tal:block replace="resource_library:resource" />
>
> I get an error from the template::
>
> PTRuntimeError: ['Compilation failed', u'<class
> \'zope.tal.taldefs.TALError\'>: Unrecognized expression type
> "resource_library". in expression u\'resource_library:resource\', at line 3,
> column 4']
>
> I downloaded the sources from svn.zope.org and all tests pass running
> against grok-1.0a3
>
> there anyone using megrok.resourcelibrary ?? any idea of what could I be
> missing??
>
> Best Regards
>
> --
> Santiago Videla
> www.revolucionesweb.com.ar
> http://www.linkedin.com/in/svidela
>
> 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 at s tod at s somos.
>
> _______________________________________________
> Grok-dev mailing list
> Grok-dev at zope.org
> http://mail.zope.org/mailman/listinfo/grok-dev
>
>


More information about the Grok-dev mailing list