-
Notifications
You must be signed in to change notification settings - Fork 38
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
Failed to initialize project. exit status 127 #3
Comments
Changed first line in ~/.gauge/plugins/python/0.1.1/start.py from
to
and running gauge in a virtualenv (pyvenv) fixed the issue in Elementary OS (Ubuntu LTS 14.04). |
|
Interesting! I'm using pyenv (https://github.com/yyuu/pyenv) which changes the python path to
However I understand that since I'm using the latest version of getgauge I need python 3. That would mean to either call /usr/bin/python3 or work with a virtualenv. Changing /usr/bin/python to python3 is not an option. I ended up using a virtualenv and the path to the python executable in this context is
You should be able to reproduce the by using a virtualenv. |
It appears that you can not pass arguments to python when using /usr/bin/env: |
Thanks! Did you consider to replace start.py with a start.sh in which PYTHONUNBUFFERED is set and the new/renamed start.py is called? |
There were two solutions to this issue:
I implemented it using the second approach, but I think it would work with both the approcahes. |
I'm getting an error running gauge --init python. I have installed getgauge-0.1.1.
Please advise.
Thanks, Bernd
$ gauge --init python
$ gauge -v
The text was updated successfully, but these errors were encountered: