`make setup` fails on new generated beat


(Jimena Cabrera Notari) #1

Hi there,

When generating a new beat make setup fails with the following error:

$ cookiecutter $GOPATH/src/github.com/elastic/beats/generate/beat
$ cd foobar/
$ make setup
mkdir -p vendor/github.com/elastic/
cp -R /home/vagrant/workdir/go/src/github.com/elastic/beats vendor/github.com/elastic/
rm -rf vendor/github.com/elastic/beats/.git
make update
make[1]: Entering directory `/home/vagrant/workdir/go/src/github.com/phenomenes/foobar'
bash: /home/vagrant/workdir/go/src/github.com/phenomenes/foobar/build/python-env/bin/activate: No such file or directory
bash: line 2: /home/vagrant/workdir/go/src/github.com/phenomenes/foobar/build/python-env/bin/activate: No such file or directory
make[1]: *** [python-env] Error 1
make[1]: Leaving directory `/home/vagrant/workdir/go/src/github.com/phenomenes/foobar'
make: *** [setup] Error 2

Python = 2.7.9
elastic/beats = HEAD is now at 7d3adfe

I've got a fix, let me know and I'll send a PR.


(ruflin) #2

A PR with a fix would be great. Looks like virtualenv is missing?


(Jimena Cabrera Notari) #3

Yes, that's right.
Cool, I'll send it soon.


(system) #4

This topic was automatically closed after 21 days. New replies are no longer allowed.