[Grok-dev] megrok.resourcelibrary
Santiago Videla
santiago.videla at gmail.com
Mon Apr 13 12:00:11 EDT 2009
Hi
On Mon, Apr 13, 2009 at 7:37 AM, Souheil CHELFOUH <trollfot at gmail.com>wrote:
> I use it and it works great for me.
> Did you include the zcmls in your project ?
Indeed, it was my fault. I didn't include the zc.resourcelibrary in my
configure.zcml
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.
Now, I (wrong) supposed that megrok.resourcelibrary, include it's own
dependencies. That's why I only included, megrok.resourcelibrary in setup.py
there is any reason for megrok.resourcelibrary, to not include
zc.resourcelibrary ?
Best Regards
>
> 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
> >
> >
>
--
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/grok-dev/attachments/20090413/14058041/attachment.html
More information about the Grok-dev
mailing list