<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div>Hi Folks,<br><br>I've just started to try to experiment with Grok, but I think there seems to be an issue with the latest version of grok 11.1 dependency on some of the other modules. Here's my sequence of commands :<br><br>&lt;start&gt;<br><br>C:\TMP\grok&gt;\engines\Python24\Scripts\grokproject.exe foo<br>Enter module (Name of a demo Python module placed into the package) ['app.py']:<br><br>Enter user (Name of an initial administrator user): sa<br>Enter passwd (Password for the initial administrator user): password<br>Enter eggs_dir (Location where zc.buildout will look for and place packages) ['c:\\zen\\config/buildout-eggs']:<br>Creating directory .\foo<br>Invoking zc.buildout...<br><br>C:\TMP\grok&gt;cd \zen\config<br><br>C:\Zen\config&gt;cd
 buildout-eggs<br><br>C:\Zen\config\buildout-eggs&gt;ls<br>grok-0.11.1-py2.4.egg&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; zc.zodbrecipes-0.3.1-py2.4.egg<br>lovely.recipe-0.3.1b1-py2.4.egg&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; zdaemon-2.0.0-py2.4.egg<br>zc.buildout-1.0.0-py2.4.egg&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; zope.app.locales-3.4.0a1-py2.4.egg<br>zc.recipe.filestorage-1.0.0-py2.4.egg<br><br>C:\Zen\config\buildout-eggs&gt;cd ..<br><br>C:\Zen\config&gt;cd \TMP\grok\foo<br><br>C:\TMP\grok\foo&gt;ls<br>bin&nbsp; buildout.cfg&nbsp; develop-eggs&nbsp; parts&nbsp; setup.py&nbsp; src<br><br>C:\TMP\grok\foo&gt;bin\zopectl.exe fg<br>c:\zen\config\buildout-eggs\grok-0.11.1-py2.4.egg\grok\components.py:29: Depreca<br>tionWarning: Role is deprecated. It has moved to zope.securitypolicy.role&nbsp; This<br>reference will be removed somedays<br>&nbsp; from
 zope.app.securitypolicy.role import Role<br>c:\zen\config\buildout-eggs\grok-0.11.1-py2.4.egg\grok\meta.py:26: DeprecationWa<br>rning: IRole is deprecated. It has moved to zope.securitypolicy.interfaces&nbsp; This<br>&nbsp;reference will be removed somedays<br>&nbsp; from zope.app.securitypolicy.interfaces import IRole<br>c:\zen\config\buildout-eggs\grok-0.11.1-py2.4.egg\grok\meta.py:27: DeprecationWa<br>rning: rolePermissionManager is deprecated. It has moved to zope.securitypolicy.<br>rolepermission&nbsp; This reference will be removed somedays<br>&nbsp; from zope.app.securitypolicy.rolepermission import rolePermissionManager<br>C:\engines\Python24\lib\site-packages\zope.configuration-3.4.0-py2.4.egg\zope\co<br>nfiguration\config.py:197: DeprecationWarning: ZopeSecurityPolicy is deprecated.<br>&nbsp;It has moved to zope.securitypolicy.zopepolicy&nbsp; This reference will be removed<br>somedays<br>&nbsp; obj = getattr(mod, oname)<br>Traceback (most
 recent call last):<br>&nbsp; File "C:\TMP\grok\foo\parts\app\runzope-script.py", line 13, in ?<br>&nbsp;&nbsp;&nbsp; zope.app.twisted.main.main()<br>&nbsp; File "c:\engines\python24\lib\site-packages\zope.app.twisted-3.4.1-py2.4.egg\z<br>ope\app\twisted\main.py", line 74, in main<br>&nbsp;&nbsp;&nbsp; service = setup(load_options(args))<br>&nbsp; File "c:\engines\python24\lib\site-packages\zope.app.twisted-3.4.1-py2.4.egg\z<br>ope\app\twisted\main.py", line 145, in setup<br>&nbsp;&nbsp;&nbsp; zope.app.appsetup.config(options.site_definition, features=features)<br>&nbsp; File "c:\engines\python24\lib\site-packages\zope.app.appsetup-3.4.1-py2.4.egg\<br>zope\app\appsetup\appsetup.py", line 111, in config<br>&nbsp;&nbsp;&nbsp; context = xmlconfig.file(file, context=context, execute=execute)<br>&nbsp; File "c:\engines\python24\lib\site-packages\zope.configuration-3.4.0-py2.4.egg<br>\zope\configuration\xmlconfig.py", line 610, in file<br>&nbsp;&nbsp;&nbsp;
 include(context, name, package)<br>&nbsp; File "c:\engines\python24\lib\site-packages\zope.configuration-3.4.0-py2.4.egg<br>\zope\configuration\xmlconfig.py", line 546, in include<br>&nbsp;&nbsp;&nbsp; processxmlfile(f, context)<br>&nbsp; File "c:\engines\python24\lib\site-packages\zope.configuration-3.4.0-py2.4.egg<br>\zope\configuration\xmlconfig.py", line 378, in processxmlfile<br>&nbsp;&nbsp;&nbsp; parser.parse(src)<br>&nbsp; File "C:\Engines\Python24\lib\xml\sax\expatreader.py", line 107, in parse<br>&nbsp;&nbsp;&nbsp; xmlreader.IncrementalParser.parse(self, source)<br>&nbsp; File "C:\Engines\Python24\lib\xml\sax\xmlreader.py", line 123, in parse<br>&nbsp;&nbsp;&nbsp; self.feed(buffer)<br>&nbsp; File "C:\Engines\Python24\lib\xml\sax\expatreader.py", line 207, in feed<br>&nbsp;&nbsp;&nbsp; self._parser.Parse(data, isFinal)<br>&nbsp; File "C:\Engines\Python24\lib\xml\sax\expatreader.py", line 348, in end_elemen<br>t_ns<br>&nbsp;&nbsp;&nbsp;
 self._cont_handler.endElementNS(pair, None)<br>&nbsp; File "c:\engines\python24\lib\site-packages\zope.configuration-3.4.0-py2.4.egg<br>\zope\configuration\xmlconfig.py", line 357, in endElementNS<br>&nbsp;&nbsp;&nbsp; self.context.end()<br>&nbsp; File "c:\engines\python24\lib\site-packages\zope.configuration-3.4.0-py2.4.egg<br>\zope\configuration\config.py", line 542, in end<br>&nbsp;&nbsp;&nbsp; self.stack.pop().finish()<br>&nbsp; File "c:\engines\python24\lib\site-packages\zope.configuration-3.4.0-py2.4.egg<br>\zope\configuration\config.py", line 690, in finish<br>&nbsp;&nbsp;&nbsp; actions = self.handler(context, **args)<br>&nbsp; File "c:\engines\python24\lib\site-packages\zope.configuration-3.4.0-py2.4.egg<br>\zope\configuration\xmlconfig.py", line 546, in include<br>&nbsp;&nbsp;&nbsp; processxmlfile(f, context)<br>&nbsp; File "c:\engines\python24\lib\site-packages\zope.configuration-3.4.0-py2.4.egg<br>\zope\configuration\xmlconfig.py", line 378,
 in processxmlfile<br>&nbsp;&nbsp;&nbsp; parser.parse(src)<br>&nbsp; File "C:\Engines\Python24\lib\xml\sax\expatreader.py", line 107, in parse<br>&nbsp;&nbsp;&nbsp; xmlreader.IncrementalParser.parse(self, source)<br>&nbsp; File "C:\Engines\Python24\lib\xml\sax\xmlreader.py", line 123, in parse<br>&nbsp;&nbsp;&nbsp; self.feed(buffer)<br>&nbsp; File "C:\Engines\Python24\lib\xml\sax\expatreader.py", line 207, in feed<br>&nbsp;&nbsp;&nbsp; self._parser.Parse(data, isFinal)<br>&nbsp; File "C:\Engines\Python24\lib\xml\sax\expatreader.py", line 348, in end_elemen<br>t_ns<br>&nbsp;&nbsp;&nbsp; self._cont_handler.endElementNS(pair, None)<br>&nbsp; File "c:\engines\python24\lib\site-packages\zope.configuration-3.4.0-py2.4.egg<br>\zope\configuration\xmlconfig.py", line 357, in endElementNS<br>&nbsp;&nbsp;&nbsp; self.context.end()<br>&nbsp; File "c:\engines\python24\lib\site-packages\zope.configuration-3.4.0-py2.4.egg<br>\zope\configuration\config.py", line 542, in
 end<br>&nbsp;&nbsp;&nbsp; self.stack.pop().finish()<br>&nbsp; File "c:\engines\python24\lib\site-packages\zope.configuration-3.4.0-py2.4.egg<br>\zope\configuration\config.py", line 690, in finish<br>&nbsp;&nbsp;&nbsp; actions = self.handler(context, **args)<br>&nbsp; File "c:\engines\python24\lib\site-packages\zope.configuration-3.4.0-py2.4.egg<br>\zope\configuration\xmlconfig.py", line 546, in include<br>&nbsp;&nbsp;&nbsp; processxmlfile(f, context)<br>&nbsp; File "c:\engines\python24\lib\site-packages\zope.configuration-3.4.0-py2.4.egg<br>\zope\configuration\xmlconfig.py", line 378, in processxmlfile<br>&nbsp;&nbsp;&nbsp; parser.parse(src)<br>&nbsp; File "C:\Engines\Python24\lib\xml\sax\expatreader.py", line 107, in parse<br>&nbsp;&nbsp;&nbsp; xmlreader.IncrementalParser.parse(self, source)<br>&nbsp; File "C:\Engines\Python24\lib\xml\sax\xmlreader.py", line 123, in parse<br>&nbsp;&nbsp;&nbsp; self.feed(buffer)<br>&nbsp; File
 "C:\Engines\Python24\lib\xml\sax\expatreader.py", line 207, in feed<br>&nbsp;&nbsp;&nbsp; self._parser.Parse(data, isFinal)<br>&nbsp; File "C:\Engines\Python24\lib\xml\sax\expatreader.py", line 348, in end_elemen<br>t_ns<br>&nbsp;&nbsp;&nbsp; self._cont_handler.endElementNS(pair, None)<br>&nbsp; File "c:\engines\python24\lib\site-packages\zope.configuration-3.4.0-py2.4.egg<br>\zope\configuration\xmlconfig.py", line 357, in endElementNS<br>&nbsp;&nbsp;&nbsp; self.context.end()<br>&nbsp; File "c:\engines\python24\lib\site-packages\zope.configuration-3.4.0-py2.4.egg<br>\zope\configuration\config.py", line 542, in end<br>&nbsp;&nbsp;&nbsp; self.stack.pop().finish()<br>&nbsp; File "c:\engines\python24\lib\site-packages\zope.configuration-3.4.0-py2.4.egg<br>\zope\configuration\config.py", line 690, in finish<br>&nbsp;&nbsp;&nbsp; actions = self.handler(context, **args)<br>&nbsp; File
 "c:\zen\config\buildout-eggs\tmpvecujn\grok-0.11.1-py2.4.egg\grok\zcml.py<br>", line 48, in grokDirective<br>&nbsp; File "c:\zen\config\buildout-eggs\tmpvecujn\grok-0.11.1-py2.4.egg\grok\zcml.py<br>", line 53, in do_grok<br>&nbsp; File "c:\engines\python24\lib\site-packages\martian-0.9.3-py2.4.egg\martian\co<br>re.py", line 193, in grok_dotted_name<br>&nbsp;&nbsp;&nbsp; grok_package(module_info, grokker, **kw)<br>&nbsp; File "c:\engines\python24\lib\site-packages\martian-0.9.3-py2.4.egg\martian\co<br>re.py", line 196, in grok_package<br>&nbsp;&nbsp;&nbsp; grok_module(module_info, grokker, **kw)<br>&nbsp; File "c:\engines\python24\lib\site-packages\martian-0.9.3-py2.4.egg\martian\co<br>re.py", line 202, in grok_module<br>&nbsp;&nbsp;&nbsp; module_info=module_info, **kw)<br>&nbsp; File "c:\engines\python24\lib\site-packages\martian-0.9.3-py2.4.egg\martian\co<br>re.py", line 65, in grok<br>&nbsp;&nbsp;&nbsp; grokked = g.grok(name, obj, **kw)<br>&nbsp; File
 "c:\zen\config\buildout-eggs\tmpvecujn\grok-0.11.1-py2.4.egg\grok\meta.py<br>", line 61, in grok<br>zope.configuration.xmlconfig.ZopeXMLConfigurationError: File "C:\TMP\grok\foo\pa<br>rts\app\site.zcml", line 4.0-4.25<br>&nbsp;&nbsp;&nbsp; ZopeXMLConfigurationError: File "c:\tmp\grok\foo\src\foo\configure.zcml", li<br>ne 3.2-3.28<br>&nbsp;&nbsp;&nbsp; ZopeXMLConfigurationError: File "c:\zen\config\buildout-eggs\grok-0.11.1-py2<br>.4.egg\grok\configure.zcml", line 82.2-82.31<br>&nbsp;&nbsp;&nbsp; AttributeError: 'module' object has no attribute 'determine_module_context'<br>Zope3 started in forground:&nbsp; C:\TMP\grok\foo\parts\app\runzope -C C:\TMP\grok\fo<br>o\parts\zopectl\zope.conf<br><br>&lt;/end&gt;<br><br>Obviously, in grok 11.1 grok.util has no function 'determine_module_context', I checked out the svn version last night (grok-0.12dev-py2.4.egg) and lo and behold grok.util _does_&nbsp; have  the missing function. However, buildout is hardwired
 to the incorrect version and I'm kinda confused at this stage.... Either I find a way to reference grok 0.12 dev or the grok developers should probably make grok 11.1 reference the libraries which do not depend on the missing function given a easy_install -U grok command and/or grokproject &lt;projname&gt; command.<br><br>Incidentally, I think I do have the correct zope eggs as I can run a full version of z3 instance from the libs.<br><br>Cheers.<br><br>AK<br>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br></div></div><br>
      <hr size=1>Looking for last minute shopping deals? <a href="http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch/category.php?category=shopping"> 
Find them fast with Yahoo! Search.</a></body></html>