[Grok-dev] megrok.menu outdated ??

Santiago Videla santiago.videla at gmail.com
Sat Dec 6 17:44:55 EST 2008


Hi there,

I was trying to use megrok.menu but it seems to be outdated.
First I changed:

from grok.meta import ViewGrokker, default_view_name
to
from grokcore.view.meta.views import ViewGrokker, default_view_name

And I solved the import error, but now I'm getting:

....
    module_info=module_info, **kw)
  File
"/home/sancho/revoluciones/repos/pymenthon-env/pymenthon-dev/buildout-eggs/martian-0.11-py2.5.egg/martian/core.py",
line 71, in grok
    grokked = g.grok(name, obj, **kw)
  File
"/home/sancho/revoluciones/repos/pymenthon-env/pymenthon-dev/buildout-eggs/grokcore.view-1.2.1-py2.5.egg/grokcore/view/meta/views.py",
line 46, in grok
    return super(ViewGrokker, self).grok(name, factory, module_info, **kw)
  File
"/home/sancho/revoluciones/repos/pymenthon-env/pymenthon-dev/buildout-eggs/martian-0.11-py2.5.egg/martian/components.py",
line 56, in grok
    return self.execute(class_, **kw)
zope.configuration.xmlconfig.ZopeXMLConfigurationError: File
"/home/sancho/revoluciones/repos/pymenthon-env/pymenthon-dev/parts/app/site.zcml",
line 4.0-4.34
    ZopeXMLConfigurationError: File
"/home/sancho/revoluciones/repos/pymenthon-env/pymenthon-dev/src/pymenthonERP/configure.zcml",
line 5.2-5.37
    ZopeXMLConfigurationError: File
"/home/sancho/revoluciones/repos/pymenthon-env/pymenthon-dev/buildout-eggs/grokui.admin-0.2-py2.5.egg/grokui/admin/configure.zcml",
line 5.2-5.27
    TypeError: execute() takes exactly 10 non-keyword arguments (6 given)


Any hint to continue will be appreciated...

-- 
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/20081206/58202d65/attachment.html 


More information about the Grok-dev mailing list