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

how to specify for bazel query #7218

Open
FullZing opened this issue Jan 11, 2025 · 1 comment
Open

how to specify for bazel query #7218

FullZing opened this issue Jan 11, 2025 · 1 comment
Assignees
Labels
awaiting-maintainer Awaiting review from Bazel team on issues product: CLion CLion plugin topic: bazel Bazel integration (external repositories, aspects, flags, etc) type: user support User support

Comments

@FullZing
Copy link

FullZing commented Jan 11, 2025

background
bazel plugin in clion
no permission to access official bazel registry https://bcr.bazel.build

so added build_flags in .bazelproject

build_flags:
  --registry=file:///LOCAL_REGISTRY_PATH/bazel-central-registry

then click bazel sync button, it shows local registry doesn't work
Failed to execute blaze query: Build command failed with 48.
Command: bazel query --tool_tag=ijwb:CLion --output=label_kind --keep_going --query_file=xxx/queries/query-2747074302870038678 --

how do I solve this problem ?

Thank you very much

@FullZing FullZing added awaiting-maintainer Awaiting review from Bazel team on issues type: bug labels Jan 11, 2025
@sgowroji sgowroji added the product: CLion CLion plugin label Jan 13, 2025
@sgowroji sgowroji added topic: bazel Bazel integration (external repositories, aspects, flags, etc) type: user support User support and removed type: bug labels Jan 13, 2025
@mai93 mai93 assigned LeFrosch and sellophane and unassigned mai93 Jan 13, 2025
@LeFrosch
Copy link
Collaborator

Hi, thanks for reporting this. Can you share the entire log from the sync, including the error message from the query?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-maintainer Awaiting review from Bazel team on issues product: CLion CLion plugin topic: bazel Bazel integration (external repositories, aspects, flags, etc) type: user support User support
Projects
Status: Untriaged
Development

No branches or pull requests

8 participants