Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gp.recipe.node still failing on missing bin directory #20

Open
iivvoo opened this issue Apr 20, 2014 · 0 comments
Open

gp.recipe.node still failing on missing bin directory #20

iivvoo opened this issue Apr 20, 2014 · 0 comments

Comments

@iivvoo
Copy link

iivvoo commented Apr 20, 2014

Most likely this is issue #18 all over again. The following trivial buildout

[buildout]
parts =
    jstests

[jstests]
recipe = gp.recipe.node
npms = 
    karma

Fails when trying to listdir on parts/jstest/bin:

While:
  Installing jstests.

An internal error occurred due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
  File "/home/ivo/tmp/node-bo/local/lib/python2.7/site-packages/zc/buildout/buildout.py", line 1942, in main
    getattr(buildout, command)(args)
  File "/home/ivo/tmp/node-bo/local/lib/python2.7/site-packages/zc/buildout/buildout.py", line 622, in install
    installed_files = self[part]._call(recipe.install)
  File "/home/ivo/tmp/node-bo/local/lib/python2.7/site-packages/zc/buildout/buildout.py", line 1366, in _call
    return f()
  File "/home/ivo/tmp/node-bo/eggs/gp.recipe.node-0.10.26.0-py2.7.egg/gp/recipe/node/__init__.py", line 134, in install
    scripts = os.listdir(os.path.join(node_dir, 'bin'))
OSError: [Errno 2] No such file or directory: '/home/ivo/tmp/node-bo/parts/jstests/bin'

Creating this bin dir and rerunning buildout will make it succeed but it won't actually install anything in it. Nor will it install (in this case) 'karma' in the buildout bin dir (for which I will file a separate issue)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant