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