On Mon, 17 Dec 2018 at 14:58, Milosz Wasilewski < milosz.wasilewski@linaro.org> wrote:
On Mon, 17 Dec 2018 at 13:52, Axel Lebourhis axel.lebourhis@linaro.org wrote:
Milosz,
I was trying to install on a debian. I tried to deploy a LXC with Ubuntu
18.04 like you, now it's working fine.
Is it impossible to run it on debian ?
I just tried on debian stable (9.6 in docker) and again it worked. No idea why it didn't work for you.
I found the issue, ~/.local/bin wasn't in my PATH...
Also, if I understood correctly, I need to install squad in a different
host than LAVA ?
I didn't try the same host as lava master, but it shouldn't be a problem. SQUAD connects to LAVA over API so it should not matter where it's installed as long as the API calls can go through.
Ok I see. After reading the documentation, I don't really understand how to connect SQUAD and LAVA. What do you think is better between using the same host and a different one ?
Regards, Axel
milosz
Regards, Axel
On Mon, 17 Dec 2018 at 14:28, Milosz Wasilewski <
milosz.wasilewski@linaro.org> wrote:
On Mon, 17 Dec 2018 at 12:59, Axel Lebourhis axel.lebourhis@linaro.org
wrote:
Hi everyone,
I'm using LAVA at NXP and after talking with Neil and Milosz, I'd
like to
use SQUAD. I followed the instructions here https://squad.readthedocs.io/en/latest/install.html But when I try to run the command "squad", bash tells me the command
is not
found.
I just pulled a fresh ubuntu 18.04 container and repeated the steps from the docs. Everything works OK. Did you use python3? SQUAD requires p3 and doesn't work on p2. Here is the list of installed pip packages:
# pip3 freeze amqp==2.3.2 asn1crypto==0.24.0 billiard==3.5.0.5 celery==4.2.1 certifi==2018.11.29 chardet==3.0.4 coreapi==2.3.3 coreschema==0.0.4 cryptography==2.1.4 Django==1.11.17 django-cors-headers==2.4.0 django-filter==1.1.0 django-simple-history==2.6.0 djangorestframework==3.9.0 djangorestframework-filters==0.10.2.post0 gunicorn==19.9.0 idna==2.6 itypes==1.1.0 Jinja2==2.10 keyring==10.6.0 keyrings.alt==3.0 kombu==4.2.2 Markdown==3.0.1 MarkupSafe==1.1.0 msgpack==0.6.0 psycopg2==2.7.6.1 pycrypto==2.6.1 pygobject==3.26.1 pyparsing==2.3.0 python-dateutil==2.7.5 pytz==2018.7 pyxdg==0.25 PyYAML==3.13 pyzmq==17.1.2 requests==2.21.0 SecretStorage==2.3.1 six==1.11.0 sqlparse==0.2.4 squad==0.56 svgwrite==1.2.1 uritemplate==3.0.0 urllib3==1.24.1 vine==1.1.4 whitenoise==4.1.2
I tried to run it through Python3 shell, but didn't work either. Maybe I'm missing something obvious ?
Did you try to use virtualenv? After installing I'm able to import 'squad' in the python3 shell.
# python3 Python 3.6.7 (default, Oct 22 2018, 11:32:17) [GCC 8.2.0] on linux Type "help", "copyright", "credits" or "license" for more information.
import squad
So I've no idea what went wrong :( I'm available on #linaro-qa on freenode if you have a few moments to debug.
milosz
Best regards, Axel _______________________________________________ Squad-dev mailing list Squad-dev@lists.linaro.org https://lists.linaro.org/mailman/listinfo/squad-dev