GaloisInc / MATE

MATE is a suite of tools for interactive program analysis with a focus on hunting for bugs in C and C++ code using Code Property Graphs.
https://galoisinc.github.io/MATE/
BSD 3-Clause "New" or "Revised" License
177 stars 12 forks source link

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

Open sherkat69 opened 9 months ago

sherkat69 commented 9 months ago

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 commented 9 months ago

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 commented 8 months ago

@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 commented 8 months ago

@sherkat69 What OS were you using initially?

thinkmoore commented 8 months ago

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