[Grok-dev] Re: does Grok install today?
Michael Haubenwallner
michael at d2m.at
Tue Apr 15 04:17:36 EDT 2008
Brandon Craig Rhodes schrieb:
> Has anyone heard of the error:
>
> AttributeError: 'module' object has no attribute 'determine_module_context'
>
> I built a project with grokproject today, checked its various pieces
> into Subversion, then - just to make sure I'd gotten everything - I
> checked it out elsewhere and tried to re-bootstrap-and-buildout it.
> And in response I got the following explosion to try to run "zopectl".
>
> Note that I removed the "buildout.cfg" path to the "~/buildout-eggs"
> directory so that I was assured of getting everything fresh.
>
> Thanks for any guidance!
>
>
> $ bin/zopectl fg
> /home/brandon/ksstax/parts/app/runzope -C /home/brandon/ksstax/parts/zopectl/zope.conf
...
> File "/home/brandon/ksstax/eggs/tmpfhYsaL/martian-0.9.3-py2.4.egg/martian/core.py", line 193, in grok_dotted_name
> File "/home/brandon/ksstax/eggs/tmpfhYsaL/martian-0.9.3-py2.4.egg/martian/core.py", line 196, in grok_package
> File "/home/brandon/ksstax/eggs/tmpfhYsaL/martian-0.9.3-py2.4.egg/martian/core.py", line 202, in grok_module
> File "/home/brandon/ksstax/eggs/tmpfhYsaL/martian-0.9.3-py2.4.egg/martian/core.py", line 65, in grok
> File "/home/brandon/ksstax/eggs/tmpLRBD9-/grok-0.11.1-py2.4.egg/grok/meta.py", line 61, in grok
> zope.configuration.xmlconfig.ZopeXMLConfigurationError: File "/home/brandon/ksstax/parts/app/site.zcml", line 4.0-4.28
> ZopeXMLConfigurationError: File "/home/brandon/ksstax/src/ksstax/configure.zcml", line 3.2-3.28
> ZopeXMLConfigurationError: File "/home/brandon/ksstax/eggs/grok-0.11.1-py2.4.egg/grok/configure.zcml", line 82.2-82.31
> AttributeError: 'module' object has no attribute 'determine_module_context'
>
Brandon, the grok 0.11.1 versions.cfg says martian = 0.9.2, looks like
you use a newer martian
martial.util.determine_module_context() was moved back to grok in 0.9.3
This could also be introduced by the KSS version you are using.
Hth,
Michael
--
http://www.zope.org/Members/d2m
http:/planetzope.org
More information about the Grok-dev
mailing list