[Grok-dev] does Grok install today?

Brandon Craig Rhodes brandon at rhodesmill.org
Tue Apr 15 01:09:58 EDT 2008


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
/home/brandon/ksstax/eggs/grok-0.11.1-py2.4.egg/grok/components.py:29: DeprecationWarning: Role is deprecated. It has moved to zope.securitypolicy.role  This reference will be removed somedays
  from zope.app.securitypolicy.role import Role
/home/brandon/ksstax/eggs/grok-0.11.1-py2.4.egg/grok/meta.py:26: DeprecationWarning: IRole is deprecated. It has moved to zope.securitypolicy.interfaces  This reference will be removed somedays
  from zope.app.securitypolicy.interfaces import IRole
/home/brandon/ksstax/eggs/grok-0.11.1-py2.4.egg/grok/meta.py:27: DeprecationWarning: rolePermissionManager is deprecated. It has moved to zope.securitypolicy.rolepermission  This reference will be removed somedays
  from zope.app.securitypolicy.rolepermission import rolePermissionManager
/home/brandon/ksstax/eggs/zope.configuration-3.4.0-py2.4.egg/zope/configuration/config.py:197: DeprecationWarning: ZopeSecurityPolicy is deprecated. It has moved to zope.securitypolicy.zopepolicy  This reference will be removed somedays
  obj = getattr(mod, oname)
Traceback (most recent call last):
  File "/home/brandon/ksstax/parts/app/runzope", line 114, in ?
    zope.app.twisted.main.main()
  File "/home/brandon/ksstax/eggs/tmpchMIMP/zope.app.twisted-3.4.1-py2.4.egg/zope/app/twisted/main.py", line 74, in main
  File "/home/brandon/ksstax/eggs/tmpchMIMP/zope.app.twisted-3.4.1-py2.4.egg/zope/app/twisted/main.py", line 145, in setup
  File "/home/brandon/ksstax/eggs/zope.app.appsetup-3.4.1-py2.4.egg/zope/app/appsetup/appsetup.py", line 111, in config
    context = xmlconfig.file(file, context=context, execute=execute)
  File "/home/brandon/ksstax/eggs/tmp7mUuoV/zope.configuration-3.4.0-py2.4.egg/zope/configuration/xmlconfig.py", line 610, in file
  File "/home/brandon/ksstax/eggs/tmp7mUuoV/zope.configuration-3.4.0-py2.4.egg/zope/configuration/xmlconfig.py", line 546, in include
  File "/home/brandon/ksstax/eggs/tmp7mUuoV/zope.configuration-3.4.0-py2.4.egg/zope/configuration/xmlconfig.py", line 378, in processxmlfile
  File "/usr/lib/python2.4/xml/sax/expatreader.py", line 107, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/usr/lib/python2.4/xml/sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/usr/lib/python2.4/xml/sax/expatreader.py", line 207, in feed
    self._parser.Parse(data, isFinal)
  File "/usr/lib/python2.4/xml/sax/expatreader.py", line 348, in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File "/home/brandon/ksstax/eggs/tmp7mUuoV/zope.configuration-3.4.0-py2.4.egg/zope/configuration/xmlconfig.py", line 357, in endElementNS
  File "/home/brandon/ksstax/eggs/tmp7mUuoV/zope.configuration-3.4.0-py2.4.egg/zope/configuration/config.py", line 542, in end
  File "/home/brandon/ksstax/eggs/tmp7mUuoV/zope.configuration-3.4.0-py2.4.egg/zope/configuration/config.py", line 690, in finish
  File "/home/brandon/ksstax/eggs/tmp7mUuoV/zope.configuration-3.4.0-py2.4.egg/zope/configuration/xmlconfig.py", line 546, in include
  File "/home/brandon/ksstax/eggs/tmp7mUuoV/zope.configuration-3.4.0-py2.4.egg/zope/configuration/xmlconfig.py", line 378, in processxmlfile
  File "/usr/lib/python2.4/xml/sax/expatreader.py", line 107, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/usr/lib/python2.4/xml/sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/usr/lib/python2.4/xml/sax/expatreader.py", line 207, in feed
    self._parser.Parse(data, isFinal)
  File "/usr/lib/python2.4/xml/sax/expatreader.py", line 348, in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File "/home/brandon/ksstax/eggs/tmp7mUuoV/zope.configuration-3.4.0-py2.4.egg/zope/configuration/xmlconfig.py", line 357, in endElementNS
  File "/home/brandon/ksstax/eggs/tmp7mUuoV/zope.configuration-3.4.0-py2.4.egg/zope/configuration/config.py", line 542, in end
  File "/home/brandon/ksstax/eggs/tmp7mUuoV/zope.configuration-3.4.0-py2.4.egg/zope/configuration/config.py", line 690, in finish
  File "/home/brandon/ksstax/eggs/tmp7mUuoV/zope.configuration-3.4.0-py2.4.egg/zope/configuration/xmlconfig.py", line 546, in include
  File "/home/brandon/ksstax/eggs/tmp7mUuoV/zope.configuration-3.4.0-py2.4.egg/zope/configuration/xmlconfig.py", line 378, in processxmlfile
  File "/usr/lib/python2.4/xml/sax/expatreader.py", line 107, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/usr/lib/python2.4/xml/sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/usr/lib/python2.4/xml/sax/expatreader.py", line 207, in feed
    self._parser.Parse(data, isFinal)
  File "/usr/lib/python2.4/xml/sax/expatreader.py", line 348, in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File "/home/brandon/ksstax/eggs/tmp7mUuoV/zope.configuration-3.4.0-py2.4.egg/zope/configuration/xmlconfig.py", line 357, in endElementNS
  File "/home/brandon/ksstax/eggs/tmp7mUuoV/zope.configuration-3.4.0-py2.4.egg/zope/configuration/config.py", line 542, in end
  File "/home/brandon/ksstax/eggs/tmp7mUuoV/zope.configuration-3.4.0-py2.4.egg/zope/configuration/config.py", line 690, in finish
  File "/home/brandon/ksstax/eggs/tmpLRBD9-/grok-0.11.1-py2.4.egg/grok/zcml.py", line 48, in grokDirective
  File "/home/brandon/ksstax/eggs/tmpLRBD9-/grok-0.11.1-py2.4.egg/grok/zcml.py", line 53, in do_grok
  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 Craig Rhodes   brandon at rhodesmill.org   http://rhodesmill.org/brandon


More information about the Grok-dev mailing list