Comment 6 for bug 80403

Revision history for this message
Philipp von Weitershausen (philikon) wrote : Re: [Bug 80403] Re: Fix situation where a module name is identical to the package name

On 5 Nov 2007, at 10:27 , Jan Wijbrand Kolman wrote:
> This issue has a partial fix in that grokproject will ask for a "main"
> module name.

This isn't a fix, this is actually the cause for this problem. Let's
say somebody adds a HelloWorld sandbox and calls the "main" module
helloworld.py too:

   grokproject HelloWorld
   ... [app.py] helloworld.py

Then grokproject will create src/helloworld/helloworld.py along with
src/helloworld/helloworld_templates. Such a setup is currently
unsupported by grok. I think the view/templates grokker in particular
has its problems with it.

Apart from the fact that this bug persists in grok, I also think we
should get rid of asking the user for an alternative name of 'app.py'.
It should simply be app.py and basta. I've seen so many newbies just
entering anything here, even when I've told them over and over and
that they should simply hit enter.