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

getting "invalid label" while executing "docker-compose" #65

Open
sherkat69 opened this issue Nov 14, 2023 · 4 comments
Open

getting "invalid label" while executing "docker-compose" #65

sherkat69 opened this issue Nov 14, 2023 · 4 comments

Comments

@sherkat69
Copy link

hi

i did every step in "quickstart" page successfully but still i get this error:

1 error(s) decoding:

* error decoding '[mate].labels': invalid label ["com.galois.mate.ci-safe-to-remove"]

while executing:

docker-compose -f docker-compose.yml -f docker-compose.ui.yml -f docker-compose.notebook.yml up
work dir is MATE's source dir.

@langston-barrett
Copy link
Collaborator

Hi @sherkat69, thanks for the report! I just tried this, and I wasn't able to reproduce it.

You might try search-and-replacing that label with a simpler one:

sed -i 's/com.galois.mate.ci-safe-to-remove/net/' *.yml

@sherkat69
Copy link
Author

@langston-barrett i did everything i could but still got weird errors.
i tried to set up a Linux environment and everything ran as expected and now MATE runs and scans ok.

@langston-barrett
Copy link
Collaborator

@sherkat69 What OS were you using initially?

@thinkmoore
Copy link
Contributor

I believe the correct fix for this issue with labels is to add '=true' to each line that specifies a label. E.g.:
com.galois.mate.ci-safe-to-remove --> com.galois.mate.ci-safe-to-remove=true

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

3 participants