grokproject 1.0a1 generates faulty config when uppercase letters in projectname
There is a bug in current grokproject, which stops new users right from the beginning when they follow the tutorial.
When using uppercase chars in projectname, grokproject 1.0a1 generates zope.conf with faulty directory paths:
Enter user (Name of an initial administrator user): grok
Enter passwd (Password for the initial administrator user):
Downloading info about versions...
Creating directory ./Sample
Traceback (most recent call last):
IOError: [Errno 2] No such file or directory: '/home/
It turns out, that the logfile path (and other paths) were set as:
where it should have been:
(uppercase 'S' in 'Sample').
This is especially bad, because 'Sample' is the projectname in the main tutorial. This means, that people following the tutorial will be stopped when creating a project.
It seems to me, that the error was caused by `template.py` where a wrong ``package_
Just commited a fix, that also normalizes the path (we don't want ``..`` and ``.`` in the paths, do we?). This should be reviewed by someone. Michael?
Tests are also still missing.
|Changed in grok:|
|status:||In Progress → Fix Committed|
|Martijn Faassen (faassen) wrote : Re: [Bug 315795] Re: grokproject 1.0a1 generates faulty config when uppercase letters in projectname||#3|
|Uli Fouquet (uli-gnufix) wrote : Re: [Bug 315795] Re: grokproject 1.0a1 generates faulty config when uppercase letters in projectname||#4|