[Grok-dev] grok build is broken

Alex Volkov avolkov at gmail.com
Tue Feb 12 02:28:56 UTC 2013


Hello everyone,

I'm trying to go through grok tutorial and I'm stuck on the very first step.

I built virtualenv with grok, here's version numbers:

$ python -V
Python 2.6.8

$ pip freeze
Paste==1.7.5.1
PasteDeploy==1.5.0
PasteScript==1.7.5
distribute==0.6.24
grokproject==2.7
wsgiref==0.1.2

When I'm trying to create a simple application the following error occurs:
$ grokproject helloworld
Enter user (Name of an initial administrator user): alex
Enter passwd (Password for the initial administrator user):
Determining current grok version...
Creating directory ./helloworld
Running /home/alex/.virtualenvs/grok/bin/python 
/home/alex/git/grok/helloworld/bootstrap.py...
Creating directory '/home/alex/git/grok/helloworld/bin'.
Creating directory '/home/alex/git/grok/helloworld/parts'.
Creating directory '/home/alex/git/grok/helloworld/develop-eggs'.
Generated script '/home/alex/git/grok/helloworld/bin/buildout'.
Running /home/alex/git/grok/helloworld/bin/buildout...
While:
   Installing.
   Loading extensions.
Error: The extension buildout.dumppickedversions is now included in 
buildout itself.
Remove the extension from your configuration and look at the 
`show-picked-versions`
option in buildout's documentation.

To mitigate that, I comment out the line that adds dumppickedversion 
extension and then re-run buildout from hw folder:
$ ./bin/buildout -v
Develop: '/home/alex/git/grok/helloworld/.'
Installing 'z3c.recipe.scripts'.
We have the distribution that satisfies 'z3c.recipe.scripts==1.0.1'.
Getting required 'zc.recipe.egg==1.3.2'
We have the distribution that satisfies 'zc.recipe.egg==1.3.2'.
While:
   Installing.
   Getting section app.
   Initializing part app.

An internal error occured due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
   File 
"/home/alex/.buildout/eggs/zc.buildout-2.0.0-py2.6.egg/zc/buildout/buildout.py", 
line 1808, in main
     getattr(buildout, command)(args)
   File 
"/home/alex/.buildout/eggs/zc.buildout-2.0.0-py2.6.egg/zc/buildout/buildout.py", 
line 490, in install
     [self[part]['recipe'] for part in install_parts]
   File 
"/home/alex/.buildout/eggs/zc.buildout-2.0.0-py2.6.egg/zc/buildout/buildout.py", 
line 1082, in __getitem__
     options._initialize()
   File 
"/home/alex/.buildout/eggs/zc.buildout-2.0.0-py2.6.egg/zc/buildout/buildout.py", 
line 1173, in _initialize
     self.recipe = recipe_class(buildout, name, self)
   File 
"/home/alex/.buildout/eggs/z3c.recipe.scripts-1.0.1-py2.6.egg/z3c/recipe/scripts/scripts.py", 
line 39, in __init__
     self.include_site_packages = options.query_bool(
AttributeError: Options instance has no attribute 'query_bool'

it looks like that zc.buildout has been updated recently, maybe that's 
what's breaking it, I'm not sure where exactly I should pin the package.

Thanks,

Alex.



More information about the Grok-dev mailing list