Hi Roger,<br>My responses inline in (* *) below:<br>Thanks.<br>
Milind <br><br><br><div class="gmail_quote">On Tue, Apr 14, 2009 at 1:22 PM, Roger Erens <span dir="ltr">&lt;<a href="mailto:roger.erens@e-s-c.biz">roger.erens@e-s-c.biz</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 Milind,<br>
<br>
could you please report the results when you try:<br>
<br>
 I) look at the contents of E:\vgrok1\grok10a3\parts\etc\deploy.ini and/or E:\vgrok1\grok10a3\parts\etc\debug.ini: are there hard coded paths in it where \vgrok1 is replaced by \x0bgrok1 ?<br>
(* No. This problem which was there in 1.0a2 has vanished.*)</blockquote><div> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
II) you use the C:\ drive for installation instead of the E:\ drive<br>
(* The behaviour is identical. I repeated on C: all the combinations that I had tried on E:. On 1.02a the behaviour was different on C: and E:*)</blockquote><div> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
III) when you create a virtual environment with the --no-site-packages option, I would expect an error about a missing win32api module or some such. What happens when you invoke python after having activated your virtual environment in step 7) and try to import win32api?<br>

(*I do not get any error if I install grokproject with the --no-site-packages option, except that the server bombs after starting up. However, if I install grokproject without the switch, I get the error Import Error: No module named schemaless. Thre has been no explicit error related to win32api since 1.0a3 *)<br>
</blockquote><div> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
IV) after activating your virtual environment in step 7), issue the command:<br>
echo %PATH%<br>
You ought to find something like E:\vgrok\\Scripts in the output from that command, meaning that easy_install and grokproject will be found without prefixing them with \Scripts. If %PATH% does not contain that directory _and_ you forgot to prefix the commands with \Scripts, you may have used the system&#39;s easy_install and grokproject commands; you then have a lot of cleaning up to do before retrying another installation procedure!</blockquote>
<div>(* My mistake: in one of the trials I had not activated the virtual environment. In any case, I have always been using Scripts\ explicitly. Incidentally, after activating, the Path environment also contains C:\python24. Is it alright?*)<br>
(** Note:   Apart from Script not being available in path, I have not found any difference in behaviour whether I explicitly activate the virtual environment or not **)<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
Curious for the results of your experiments...</blockquote><div>(* Thanks to your curiosity, I got egged on into hands on experimentation. Even though I have been following Zope and Python for over a decade, it is after a long time I am doing a setup!. Thanks.)<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Roger</blockquote><div>-----------------------------------------<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div>
<div class="h5"><br>
<br>
<br>
on 14-4-2009 2:44 Milind Khadilkar wrote:<br>
</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">
Hi,<br>
Thanks for your efforts. Despite your efforts, I have so far not been able to get grok10a3 working!<br>
<br>
1. I believe --no-site-packages needs to be provided when using virtualenv. If I don&#39;t, I get the following error when using grokproject:<br>
--------<br>
vgrok) E:\vgrok&gt;Scripts\grokproject.exe grok10a3<br>
Enter user (Name of an initial administrator user): mk<br>
Enter passwd (Password for the initial administrator user):<br>
Downloading info about versions...<br>
Creating directory .\grok10a3<br>
Invoking zc.buildout...<br>
Develop: &#39;E:\\vgrok\\grok10a3\\.&#39;<br>
Installing eggbasket.<br>
While:<br>
  Installing.<br>
  Getting section zpasswd.<br>
  Initializing section zpasswd.<br>
  Loading zc.buildout recipe entry z3c.recipe.dev:script.<br>
<br>
An internal error occured due to a bug in either zc.buildout or in a<br>
recipe being used:<br>
Traceback (most recent call last):<br>
  File &quot;c:\python24\lib\site-packages\zc.buildout-1.2.1-py2.4.egg\zc\buildout\bu<br>
ildout.py&quot;, line 1509, in main<br>
    getattr(buildout, command)(args)<br>
  File &quot;c:\python24\lib\site-packages\zc.buildout-1.2.1-py2.4.egg\zc\buildout\bu<br>
ildout.py&quot;, line 357, in install<br>
    [self[part][&#39;recipe&#39;] for part in install_parts]<br>
  File &quot;c:\python24\lib\site-packages\zc.buildout-1.2.1-py2.4.egg\zc\buildout\bu<br>
ildout.py&quot;, line 888, in __getitem__<br>
    options._initialize()<br>
  File &quot;c:\python24\lib\site-packages\zc.buildout-1.2.1-py2.4.egg\zc\buildout\bu<br>
ildout.py&quot;, line 969, in _initialize<br>
    recipe_class = _install_and_load(reqs, &#39;zc.buildout&#39;, entry, buildout)<br>
  File &quot;c:\python24\lib\site-packages\zc.buildout-1.2.1-py2.4.egg\zc\buildout\bu<br>
ildout.py&quot;, line 932, in _install_and_load<br>
    return pkg_resources.load_entry_point(<br>
  File &quot;e:\vgrok\lib\site-packages\setuptools-0.6c9-py2.4.egg\pkg_resources.py&quot;,<br>
 line 277, in load_entry_point<br>
    return get_distribution(dist).load_entry_point(group, name)<br>
  File &quot;e:\vgrok\lib\site-packages\setuptools-0.6c9-py2.4.egg\pkg_resources.py&quot;,<br>
 line 2180, in load_entry_point<br>
    return ep.load()<br>
  File &quot;e:\vgrok\lib\site-packages\setuptools-0.6c9-py2.4.egg\pkg_resources.py&quot;,<br>
 line 1913, in load<br>
    entry = __import__(self.module_name, globals(),globals(), [&#39;__name__&#39;])<br>
  File &quot;c:\docume~1\mk\buildo~1\eggs\z3c.recipe.dev-0.5.4-py2.4.egg\z3c\recipe\d<br>
ev\script.py&quot;, line 23, in ?<br>
    import ZConfig.schemaless<br>
ImportError: No module named schemaless<br>
<br>
<br>
<br>
2. After recreating the virtual environment with the --no-site-packages switch, I manage to create the project, but when I try to run the server, I get the following error:<br>
----<br>
(vgrok1) E:\vgrok1\grok10a3&gt;bin\paster.exe serve parts\etc\debug.ini<br>
Traceback (most recent call last):<br>
  File &quot;E:\vgrok1\grok10a3\bin\paster-script.py&quot;, line 124, in ?<br>
    paste.script.command.run()<br>
  File &quot;C:\DOCUME~1\MK\BUILDO~1\eggs\pastescript-1.7.3-py2.4.egg\paste\script\co<br>
mmand.py&quot;, line 84, in run<br>
    invoke(command, command_name, options, args[1:])<br>
  File &quot;C:\DOCUME~1\MK\BUILDO~1\eggs\pastescript-1.7.3-py2.4.egg\paste\script\co<br>
mmand.py&quot;, line 123, in invoke<br>
    exit_code = runner.run(args)<br>
  File &quot;C:\DOCUME~1\MK\BUILDO~1\eggs\pastescript-1.7.3-py2.4.egg\paste\script\co<br>
mmand.py&quot;, line 218, in run<br>
    result = self.command()<br>
  File &quot;C:\DOCUME~1\MK\BUILDO~1\eggs\pastescript-1.7.3-py2.4.egg\paste\script\se<br>
rve.py&quot;, line 271, in command<br>
    self.logging_file_config(log_fn)<br>
  File &quot;C:\DOCUME~1\MK\BUILDO~1\eggs\pastescript-1.7.3-py2.4.egg\paste\script\co<br>
mmand.py&quot;, line 757, in logging_file_config<br>
    fileConfig(config_file)<br>
  File &quot;C:\DOCUME~1\MK\BUILDO~1\eggs\pastescript-1.7.3-py2.4.egg\paste\script\ut<br>
il\logging_config.py&quot;, line 85, in fileConfig<br>
    handlers = _install_handlers(cp, formatters)<br>
  File &quot;C:\DOCUME~1\MK\BUILDO~1\eggs\pastescript-1.7.3-py2.4.egg\paste\script\ut<br>
il\logging_config.py&quot;, line 158, in _install_handlers<br>
    h = apply(klass, args)<br>
  File &quot;C:\Python24\lib\logging\__init__.py&quot;, line 757, in __init__<br>
    stream = open(filename, mode)<br>
IOError: [Errno 2] No such file or directory: &#39;E:\x0bgrok1\\grok10a3/parts/log/access.log&#39;<br>
------<br>
3. Minor corrections: In steps 8 (easy_install grokproject) and 9 (grokproject &lt;project_name&gt;, the directory Scripts\ needs to be specified (unless by consensus it is understood!)<br>
<br>
Thanks again.<br>
Milind Khadilkar<br>
<br></div></div><div class="im">
On Tue, Apr 14, 2009 at 3:54 AM, Roger Erens &lt;<a href="mailto:roger.erens@e-s-c.biz" target="_blank">roger.erens@e-s-c.biz</a> &lt;mailto:<a href="mailto:roger.erens@e-s-c.biz" target="_blank">roger.erens@e-s-c.biz</a>&gt;&gt; wrote:<br>

<br>
    on 13-4-2009 16:58 Uli Fouquet wrote:<br>
     &gt; Hi there,<br>
     &gt;<br>
    ...<br>
<br>
     &gt;<br>
     &gt; Good idea and many thanks for the port! You also added a large<br>
    list of<br>
     &gt; TBD (to be discussed) topics, which might be of great value for<br>
    our todo<br>
     &gt; list.<br>
     &gt;<br>
     &gt; I&#39;d propose that we move this TBDs back to the wiki if you agree.<br>
    This<br>
     &gt; way we could use the wiki as an easy to edit proto type for the<br>
    install<br></div>
     &gt; howto while the text on <a href="http://grok.zope.org" target="_blank">grok.zope.org</a> &lt;<a href="http://grok.zope.org" target="_blank">http://grok.zope.org</a>&gt;<div class="im"><br>
    represents our &#39;current state of<br>
     &gt; art&#39; for installing Grok on Win platforms.<br>
     &gt;<br>
     &gt; Everytime a topic is &#39;finished&#39; on the wiki, we then could port the<br>
     &gt; results back to the &#39;final&#39; version on <a href="http://grok.zope.org" target="_blank">grok.zope.org</a><br></div>
    &lt;<a href="http://grok.zope.org" target="_blank">http://grok.zope.org</a>&gt;. So the wiki howto<div class="im"><br>
     &gt; would be our &#39;trunk&#39; or development version (including comments,<br>
     &gt; proposals, TBDs, etc.) from which we generate &#39;releases&#39; on<br></div>
     &gt; <a href="http://grok.zope.org" target="_blank">grok.zope.org</a> &lt;<a href="http://grok.zope.org" target="_blank">http://grok.zope.org</a>&gt;.<div><div></div><div class="h5"><br>
     &gt;<br>
<br>
    I cleaned up the HowTo and moved the procedure with the TBDs to the<br>
    Wiki.<br>
<br>
    ...<br>
     &gt;&gt;&gt;<br>
     &gt;&gt;&gt;      <a href="http://wiki.zope.org/grok/WindowsSupportPlans" target="_blank">http://wiki.zope.org/grok/WindowsSupportPlans</a><br>
     &gt;&gt;&gt;<br>
     &gt;&gt;&gt;   where I added an extra section for that and/or file bug<br>
    reports as<br>
     &gt;&gt;&gt;   mentioned above. Of course you can also use the mailing list.<br>
     &gt;&gt; Since I only have OEM-licensed Windows, I cannot start with a clean<br>
     &gt;&gt; (virtualized) environment each time a grok/grokproject release<br>
    is made.<br>
     &gt;&gt; Therefore there may be some legacy settings stemming from<br>
    actions that I<br>
     &gt;&gt; forgot to mention.<br>
     &gt;<br>
     &gt; Unbelievable: one cannot start with a clean environment just<br>
    because of<br>
     &gt; license? That&#39;s really bizarre, but will hit others too.<br>
<br>
    Well, I actually meant that I don&#39;t have a separate MS Windows CD-Rom<br>
    that I can use to install MS Windows into a virtual machine. So now I&#39;m<br>
    using my machine for daily use to test the installation procedure. When<br>
    a new Grok release is made, I should uninstall my previous release.<br>
    That&#39;s where the uncertainty about having legacy settings is creeping<br>
    in. With a virtual machine and a separate MS Windows CD-Rom, one could<br>
    be certain to start again with a clean environment.<br>
<br>
    ...<br>
     &gt;<br>
     &gt; One first comment: you state in the howto that Python2.5 and 2.6<br>
    are the<br>
     &gt; &#39;officially&#39; supported versions. I think it is in fact Python2.4<br>
    and 2.5<br>
     &gt; currently. Is that right?<br>
<br>
    Yes, Ben made the same comment. I changed that.<br>
<br>
    Roger<br>
    _______________________________________________<br>
    Grok-dev mailing list<br></div></div>
    <a href="mailto:Grok-dev@zope.org" target="_blank">Grok-dev@zope.org</a> &lt;mailto:<a href="mailto:Grok-dev@zope.org" target="_blank">Grok-dev@zope.org</a>&gt;<div class="im"><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></blockquote>
<br>
</blockquote></div><br>