Thanks Ben,<br>Is it with regard to the Import error for Module?<br>I tried with both changing (to 0.3.2) and removing the second entry.<br>I still get the same error in both cases. <br>Probably I am missing something elementary?<br>
<br>--Milind<br><br><br><div class="gmail_quote">On Tue, Apr 14, 2009 at 9:44 PM, Behrang Dadsetan <span dir="ltr">&lt;<a href="mailto:bdadsetan@gmail.com">bdadsetan@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi!<br>
<br>
  This is a known bug that has been fixed on trunk. The next release<br>
of grokproject will fix this.<br>
<br>
  For now, as described by Uli and others in other emails, you will<br>
need to adjust your versions.cfg. There are currently two entries for<br>
grokui.admin. The proper version is 0.3.2. So either remove the second<br>
entry or change 0.3 into 0.3.2.<br>
<br>
Regards,<br>
Ben.<br>
<br>
2009/4/14 Milind Khadilkar &lt;<a href="mailto:zedobject@gmail.com">zedobject@gmail.com</a>&gt;:<br>
<div><div></div><div class="h5">&gt; Thanks, Roger,<br>
&gt;<br>
&gt; I did as you suggested, and yes, the server did start..... but before I<br>
&gt; could switch to the browser to test, it bombed! Here is the message (with<br>
&gt; one line added by me)<br>
&gt;<br>
&gt; E:\vgrok1\grok10a3&gt;bin\paster.exe serve parts\etc\deploy.ini<br>
&gt; 2009-04-14 20:02:38,750 WARNING [root] Developer mode is enabled: this is a<br>
&gt; secu<br>
&gt; rity risk and should NOT be enabled on production servers. Developer mode<br>
&gt; can be<br>
&gt;  turned off in etc/zope.conf<br>
&gt; (* Comment added by me: the following text appeared after around one minute:<br>
&gt; *)<br>
&gt; Traceback (most recent call last):<br>
&gt;   File &quot;E:\vgrok1\grok10a3\bin\paster-script.py&quot;, line 124, in ?<br>
&gt;     paste.script.command.run()<br>
&gt;   File<br>
&gt; &quot;C:\DOCUME~1\MK\BUILDO~1\eggs\pastescript-1.7.3-py2.4.egg\paste\script\command.py&quot;,<br>
&gt; line 84, in run<br>
&gt;     invoke(command, command_name, options, args[1:])<br>
&gt;   File<br>
&gt; &quot;C:\DOCUME~1\MK\BUILDO~1\eggs\pastescript-1.7.3-py2.4.egg\paste\script\command.py&quot;,<br>
&gt; line 123, in invoke<br>
&gt;     exit_code = runner.run(args)<br>
&gt;   File<br>
&gt; &quot;C:\DOCUME~1\MK\BUILDO~1\eggs\pastescript-1.7.3-py2.4.egg\paste\script\co<br>
&gt; mmand.py&quot;, line 218, in run<br>
&gt;     result = self.command()<br>
&gt;   File<br>
&gt; &quot;C:\DOCUME~1\MK\BUILDO~1\eggs\pastescript-1.7.3-py2.4.egg\paste\script\se<br>
&gt; rve.py&quot;, line 276, in command<br>
&gt;     relative_to=base, global_conf=vars)<br>
&gt;   File<br>
&gt; &quot;C:\DOCUME~1\MK\BUILDO~1\eggs\pastescript-1.7.3-py2.4.egg\paste\script\se<br>
&gt; rve.py&quot;, line 311, in loadapp<br>
&gt;     return loadapp(<br>
&gt;   File<br>
&gt; &quot;c:\docume~1\mk\buildo~1\eggs\pastedeploy-1.3.2-py2.4.egg\paste\deploy\lo<br>
&gt; adwsgi.py&quot;, line 204, in loadapp<br>
&gt;     return loadobj(APP, uri, name=name, **kw)<br>
&gt;   File<br>
&gt; &quot;c:\docume~1\mk\buildo~1\eggs\pastedeploy-1.3.2-py2.4.egg\paste\deploy\lo<br>
&gt; adwsgi.py&quot;, line 225, in loadobj<br>
&gt;     return context.create()<br>
&gt;   File<br>
&gt; &quot;c:\docume~1\mk\buildo~1\eggs\pastedeploy-1.3.2-py2.4.egg\paste\deploy\lo<br>
&gt; adwsgi.py&quot;, line 625, in create<br>
&gt;     return self.object_type.invoke(self)<br>
&gt;   File<br>
&gt; &quot;c:\docume~1\mk\buildo~1\eggs\pastedeploy-1.3.2-py2.4.egg\paste\deploy\lo<br>
&gt; adwsgi.py&quot;, line 188, in invoke<br>
&gt;     filtered = context.next_context.create()<br>
&gt;   File<br>
&gt; &quot;c:\docume~1\mk\buildo~1\eggs\pastedeploy-1.3.2-py2.4.egg\paste\deploy\lo<br>
&gt; adwsgi.py&quot;, line 625, in create<br>
&gt;     return self.object_type.invoke(self)<br>
&gt;   File<br>
&gt; &quot;c:\docume~1\mk\buildo~1\eggs\pastedeploy-1.3.2-py2.4.egg\paste\deploy\lo<br>
&gt; adwsgi.py&quot;, line 110, in invoke<br>
&gt;     return fix_call(context.object, context.global_conf,<br>
&gt; **context.local_conf)<br>
&gt;   File<br>
&gt; &quot;c:\docume~1\mk\buildo~1\eggs\pastedeploy-1.3.2-py2.4.egg\paste\deploy\ut<br>
&gt; il\fixtypeerror.py&quot;, line 57, in fix_call<br>
&gt;     val = callable(*args, **kw)<br>
&gt;   File<br>
&gt; &quot;c:\docume~1\mk\buildo~1\eggs\grokcore.startup-0.2-py2.4.egg\grokcore\sta<br>
&gt; rtup\startup.py&quot;, line 11, in application_factory<br>
&gt;     return zope.app.wsgi.getWSGIApplication(zope_conf)<br>
&gt;   File<br>
&gt; &quot;c:\docume~1\mk\buildo~1\eggs\zope.app.wsgi-3.4.1-py2.4.egg\zope\app\wsgi<br>
&gt; \__init__.py&quot;, line 134, in getWSGIApplication<br>
&gt;     db = config(configfile, schemafile, features)<br>
&gt;   File<br>
&gt; &quot;c:\docume~1\mk\buildo~1\eggs\zope.app.wsgi-3.4.1-py2.4.egg\zope\app\wsgi<br>
&gt; \__init__.py&quot;, line 124, in config<br>
&gt;     appsetup.config(options.site_definition, features=features)<br>
&gt;   File<br>
&gt; &quot;C:\DOCUME~1\MK\BUILDO~1\eggs\zope.app.appsetup-3.4.1-py2.4.egg\zope\app\<br>
&gt; appsetup\appsetup.py&quot;, line 111, in config<br>
&gt;     context = xmlconfig.file(file, context=context, execute=execute)<br>
&gt;   File<br>
&gt; &quot;c:\docume~1\mk\buildo~1\eggs\zope.configuration-3.4.0-py2.4.egg\zope\con<br>
&gt; figuration\xmlconfig.py&quot;, line 610, in file<br>
&gt;     include(context, name, package)<br>
&gt;   File<br>
&gt; &quot;c:\docume~1\mk\buildo~1\eggs\zope.configuration-3.4.0-py2.4.egg\zope\con<br>
&gt; figuration\xmlconfig.py&quot;, line 546, in include<br>
&gt;     processxmlfile(f, context)<br>
&gt;   File<br>
&gt; &quot;c:\docume~1\mk\buildo~1\eggs\zope.configuration-3.4.0-py2.4.egg\zope\con<br>
&gt; figuration\xmlconfig.py&quot;, line 378, in processxmlfile<br>
&gt;     parser.parse(src)<br>
&gt;   File &quot;C:\Python24\Lib\xml\sax\expatreader.py&quot;, line 107, in parse<br>
&gt;     xmlreader.IncrementalParser.parse(self, source)<br>
&gt;   File &quot;C:\Python24\Lib\xml\sax\xmlreader.py&quot;, line 123, in parse<br>
&gt;     self.feed(buffer)<br>
&gt;   File &quot;C:\Python24\Lib\xml\sax\expatreader.py&quot;, line 207, in feed<br>
&gt;     self._parser.Parse(data, isFinal)<br>
&gt;   File &quot;C:\Python24\Lib\xml\sax\expatreader.py&quot;, line 348, in end_element_ns<br>
&gt;     self._cont_handler.endElementNS(pair, None)<br>
&gt;   File<br>
&gt; &quot;c:\docume~1\mk\buildo~1\eggs\zope.configuration-3.4.0-py2.4.egg\zope\con<br>
&gt; figuration\xmlconfig.py&quot;, line 357, in endElementNS<br>
&gt;     self.context.end()<br>
&gt;   File<br>
&gt; &quot;c:\docume~1\mk\buildo~1\eggs\zope.configuration-3.4.0-py2.4.egg\zope\con<br>
&gt; figuration\config.py&quot;, line 542, in end<br>
&gt;     self.stack.pop().finish()<br>
&gt;   File<br>
&gt; &quot;c:\docume~1\mk\buildo~1\eggs\zope.configuration-3.4.0-py2.4.egg\zope\con<br>
&gt; figuration\config.py&quot;, line 690, in finish<br>
&gt;     actions = self.handler(context, **args)<br>
&gt;   File<br>
&gt; &quot;c:\docume~1\mk\buildo~1\eggs\zope.configuration-3.4.0-py2.4.egg\zope\con<br>
&gt; figuration\xmlconfig.py&quot;, line 546, in include<br>
&gt;     processxmlfile(f, context)<br>
&gt;   File<br>
&gt; &quot;c:\docume~1\mk\buildo~1\eggs\zope.configuration-3.4.0-py2.4.egg\zope\con<br>
&gt; figuration\xmlconfig.py&quot;, line 378, in processxmlfile<br>
&gt;     parser.parse(src)<br>
&gt;   File &quot;C:\Python24\Lib\xml\sax\expatreader.py&quot;, line 107, in parse<br>
&gt;     xmlreader.IncrementalParser.parse(self, source)<br>
&gt;   File &quot;C:\Python24\Lib\xml\sax\xmlreader.py&quot;, line 123, in parse<br>
&gt;     self.feed(buffer)<br>
&gt;   File &quot;C:\Python24\Lib\xml\sax\expatreader.py&quot;, line 207, in feed<br>
&gt;     self._parser.Parse(data, isFinal)<br>
&gt;   File &quot;C:\Python24\Lib\xml\sax\expatreader.py&quot;, line 348, in end_element_ns<br>
&gt;     self._cont_handler.endElementNS(pair, None)<br>
&gt;   File<br>
&gt; &quot;c:\docume~1\mk\buildo~1\eggs\zope.configuration-3.4.0-py2.4.egg\zope\con<br>
&gt; figuration\xmlconfig.py&quot;, line 357, in endElementNS<br>
&gt;     self.context.end()<br>
&gt;   File<br>
&gt; &quot;c:\docume~1\mk\buildo~1\eggs\zope.configuration-3.4.0-py2.4.egg\zope\con<br>
&gt; figuration\config.py&quot;, line 542, in end<br>
&gt;     self.stack.pop().finish()<br>
&gt;   File<br>
&gt; &quot;c:\docume~1\mk\buildo~1\eggs\zope.configuration-3.4.0-py2.4.egg\zope\con<br>
&gt; figuration\config.py&quot;, line 690, in finish<br>
&gt;     actions = self.handler(context, **args)<br>
&gt;   File<br>
&gt; &quot;c:\docume~1\mk\buildo~1\eggs\z3c.autoinclude-0.2.2-py2.4.egg\z3c\autoinc<br>
&gt; lude\zcml.py&quot;, line 42, in autoIncludeDirective<br>
&gt;     includeZCMLGroup(_context, dist, info, &#39;configure.zcml&#39;)<br>
&gt;   File<br>
&gt; &quot;c:\docume~1\mk\buildo~1\eggs\z3c.autoinclude-0.2.2-py2.4.egg\z3c\autoinc<br>
&gt; lude\zcml.py&quot;, line 30, in includeZCMLGroup<br>
&gt;     include(_context, zcmlgroup, includable_package)<br>
&gt;   File<br>
&gt; &quot;c:\docume~1\mk\buildo~1\eggs\zope.configuration-3.4.0-py2.4.egg\zope\con<br>
&gt; figuration\xmlconfig.py&quot;, line 546, in include<br>
&gt;     processxmlfile(f, context)<br>
&gt;   File<br>
&gt; &quot;c:\docume~1\mk\buildo~1\eggs\zope.configuration-3.4.0-py2.4.egg\zope\con<br>
&gt; figuration\xmlconfig.py&quot;, line 378, in processxmlfile<br>
&gt;     parser.parse(src)<br>
&gt;   File &quot;C:\Python24\Lib\xml\sax\expatreader.py&quot;, line 107, in parse<br>
&gt;     xmlreader.IncrementalParser.parse(self, source)<br>
&gt;   File &quot;C:\Python24\Lib\xml\sax\xmlreader.py&quot;, line 123, in parse<br>
&gt;     self.feed(buffer)<br>
&gt;   File &quot;C:\Python24\Lib\xml\sax\expatreader.py&quot;, line 207, in feed<br>
&gt;     self._parser.Parse(data, isFinal)<br>
&gt;   File &quot;C:\Python24\Lib\xml\sax\expatreader.py&quot;, line 348, in end_element_ns<br>
&gt;     self._cont_handler.endElementNS(pair, None)<br>
&gt;   File<br>
&gt; &quot;c:\docume~1\mk\buildo~1\eggs\zope.configuration-3.4.0-py2.4.egg\zope\con<br>
&gt; figuration\xmlconfig.py&quot;, line 357, in endElementNS<br>
&gt;     self.context.end()<br>
&gt;   File<br>
&gt; &quot;c:\docume~1\mk\buildo~1\eggs\zope.configuration-3.4.0-py2.4.egg\zope\con<br>
&gt; figuration\config.py&quot;, line 542, in end<br>
&gt;     self.stack.pop().finish()<br>
&gt;   File<br>
&gt; &quot;c:\docume~1\mk\buildo~1\eggs\zope.configuration-3.4.0-py2.4.egg\zope\con<br>
&gt; figuration\config.py&quot;, line 690, in finish<br>
&gt;     actions = self.handler(context, **args)<br>
&gt;   File<br>
&gt; &quot;c:\docume~1\mk\buildo~1\eggs\grokcore.component-1.6-py2.4.egg\grokcore\c<br>
&gt; omponent\zcml.py&quot;, line 48, in grokDirective<br>
&gt;     do_grok(package.__name__, _context)<br>
&gt;   File<br>
&gt; &quot;c:\docume~1\mk\buildo~1\eggs\grokcore.component-1.6-py2.4.egg\grokcore\c<br>
&gt; omponent\zcml.py&quot;, line 53, in do_grok<br>
&gt;     config=config<br>
&gt;   File<br>
&gt; &quot;c:\docume~1\mk\buildo~1\eggs\martian-0.11-py2.4.egg\martian\core.py&quot;, li<br>
&gt; ne 201, in grok_dotted_name<br>
&gt;     grok_package(module_info, grokker, **kw)<br>
&gt;   File<br>
&gt; &quot;c:\docume~1\mk\buildo~1\eggs\martian-0.11-py2.4.egg\martian\core.py&quot;, li<br>
&gt; ne 206, in grok_package<br>
&gt;     grok_package(sub_module_info, grokker, **kw)<br>
&gt;   File<br>
&gt; &quot;c:\docume~1\mk\buildo~1\eggs\martian-0.11-py2.4.egg\martian\core.py&quot;, li<br>
&gt; ne 204, in grok_package<br>
&gt;     grok_module(module_info, grokker, **kw)<br>
&gt;   File<br>
&gt; &quot;c:\docume~1\mk\buildo~1\eggs\martian-0.11-py2.4.egg\martian\core.py&quot;, li<br>
&gt; ne 209, in grok_module<br>
&gt;     grokker.grok(module_info.dotted_name, module_info.getModule(),<br>
&gt;   File<br>
&gt; &quot;c:\docume~1\mk\buildo~1\eggs\martian-0.11-py2.4.egg\martian\scan.py&quot;, li<br>
&gt; ne 118, in getModule<br>
&gt;     self._module = resolve(self.dotted_name)<br>
&gt;   File<br>
&gt; &quot;c:\docume~1\mk\buildo~1\eggs\martian-0.11-py2.4.egg\martian\scan.py&quot;, li<br>
&gt; ne 191, in resolve<br>
&gt;     __import__(used)<br>
&gt;   File<br>
&gt; &quot;c:\docume~1\mk\buildo~1\eggs\grokui.admin-0.3-py2.4.egg\grokui\admin\doc<br>
&gt; grok.py&quot;, line 39, in ?<br>
&gt;     from zope.app.apidoc.codemodule.module import Module<br>
&gt; zope.configuration.xmlconfig.ZopeXMLConfigurationError: File<br>
&gt; &quot;E:\vgrok1\grok10a3<br>
&gt; \etc\<a href="http://site.zcml.in" target="_blank">site.zcml.in</a>&quot;, line 4.2-4.32<br>
&gt;     ZopeXMLConfigurationError: File<br>
&gt; &quot;e:\vgrok1\grok10a3\src\grok10a3\configure.z<br>
&gt; cml&quot;, line 4.2-4.37<br>
&gt;     ZopeXMLConfigurationError: File<br>
&gt; &quot;c:\docume~1\mk\buildo~1\eggs\grokui.admin-0<br>
&gt; .3-py2.4.egg\grokui\admin\configure.zcml&quot;, line 5.2-5.27<br>
&gt;     ImportError: No module named apidoc.codemodule.module<br>
&gt;<br>
&gt; -------------------------------------------------------<br>
&gt; Any suggestions?<br>
&gt;<br>
&gt; Thanks<br>
&gt; Milind<br>
&gt;<br>
&gt; On Tue, Apr 14, 2009 at 4:11 PM, Roger Erens &lt;<a href="mailto:roger.erens@e-s-c.biz">roger.erens@e-s-c.biz</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; on 14-4-2009 2:44 Milind Khadilkar wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Hi,<br>
&gt;&gt;&gt; Thanks for your efforts. Despite your efforts, I have so far not been<br>
&gt;&gt;&gt; able to get grok10a3 working!<br>
&gt;&gt;&gt;<br>
&gt;&gt; ...<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; 2. After recreating the virtual environment with the --no-site-packages<br>
&gt;&gt;&gt; switch, I manage to create the project, but when I try to run the server, I<br>
&gt;&gt;&gt; get the following error:<br>
&gt;&gt;&gt; ----<br>
&gt;&gt;&gt; (vgrok1) E:\vgrok1\grok10a3&gt;bin\paster.exe serve parts\etc\debug.ini<br>
&gt;&gt;&gt; Traceback (most recent call last):<br>
&gt;&gt;<br>
&gt;&gt; ...<br>
&gt;&gt;<br>
&gt;&gt;&gt; IOError: [Errno 2] No such file or directory:<br>
&gt;&gt;&gt; &#39;E:\x0bgrok1\\grok10a3/parts/log/access.log&#39;<br>
&gt;&gt;&gt; ------<br>
&gt;&gt;<br>
&gt;&gt; Hi Milind,<br>
&gt;&gt;<br>
&gt;&gt; This issue bit me too. To continue<br>
&gt;&gt;<br>
&gt;&gt; edit in E:\vgrok1\grok10a3\parts\etc\deploy.ini (and/or debug.ini)<br>
&gt;&gt; the line in the section [handler_accesslog]<br>
&gt;&gt; that defines the &#39;args&#39; variable:<br>
&gt;&gt;<br>
&gt;&gt; substitute the backslashes by forward slashes<br>
&gt;&gt;<br>
&gt;&gt; After this, my Zope server was able to start up.<br>
&gt;&gt;<br>
&gt;&gt; HTH,<br>
&gt;&gt;<br>
&gt;&gt; Roger<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
</div></div><div><div></div><div class="h5">&gt; _______________________________________________<br>
&gt; Grok-dev mailing list<br>
&gt; <a href="mailto:Grok-dev@zope.org">Grok-dev@zope.org</a><br>
&gt; <a href="http://mail.zope.org/mailman/listinfo/grok-dev" target="_blank">http://mail.zope.org/mailman/listinfo/grok-dev</a><br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div><br>