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

Bazel sync error in ONOS project: Error:Invalid aspect '@@intellij_aspect//:intellij_info_bundled.bzl%intellij_info_aspect': invalid repository name '@@intellij_aspect': repo names may contain only A-Z, a-z, 0-9, '-', '_' and '.': invalid repository name '@@intellij_aspect': repo names may contain only A-Z, a-z, 0-9, '-', '_' and '.' #6475

Closed
RecyclableWaste opened this issue Jun 8, 2024 · 1 comment
Assignees
Labels
awaiting-maintainer Awaiting review from Bazel team on issues lang: java Java rules integration product: IntelliJ IntelliJ plugin topic: sync Issues related to the sync operation type: bug

Comments

@RecyclableWaste
Copy link

Description of the bug:

Error:Invalid aspect '@@intellij_aspect//:intellij_info_bundled.bzl%intellij_info_aspect': invalid repository name '@@intellij_aspect': repo names may contain only A-Z, a-z, 0-9, '-', '' and '.': invalid repository name '@@intellij_aspect': repo names may contain only A-Z, a-z, 0-9, '-', '' and '.'

Which category does this issue belong to?

No response

What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.

import onos and click "Partially Sync onos/...all"

Which Intellij IDE are you using? Please provide the specific version.

IntelliJIdea2024.1 Ultimate on ubuntu 24.01

What programming languages and tools are you using? Please provide specific versions.

java,jdk11,bazel-6.0.0-pre.20220421.3,

What Bazel plugin version are you using?

2024.05.07.0.1-api-version-241

Have you found anything relevant by searching the web?

bazelbuild/bazel#17809

Any other information, logs, or outputs that you want to share?

Command: bazel build --tool_tag=ijwb:IDEA:ultimate --keep_going --build_event_binary_file=/tmp/intellij-bep-278a6367-56e5-4956-8945-0d1b3539a5ad --nobuild_event_binary_file_path_conversion --curses=no --color=yes --progress_in_terminal_title=no --noexperimental_run_validations --aspects=@@intellij_aspect//:intellij_info_bundled.bzl%intellij_info_aspect --override_repository=intellij_aspect=/home/aspas/.local/share/JetBrains/IntelliJIdea2024.1/ijwb/aspect --output_groups=intellij-resolve-java,intellij-info-generic,intellij-info-java -- //...:all
Loading:
Loading: 0 packages loaded
ERROR: Invalid aspect '@@intellij_aspect//:intellij_info_bundled.bzl%intellij_info_aspect': invalid repository name '@@intellij_aspect': repo names may contain only A-Z, a-z, 0-9, '-', '' and '.': invalid repository name '@@intellij_aspect': repo names may contain only A-Z, a-z, 0-9, '-', '' and '.'
INFO: Elapsed time: 0.340s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)
INFO: Build Event Protocol files produced successfully.
FAILED: Build did NOT complete successfully (0 packages loaded)
FAILED: Build did NOT complete successfully (0 packages loaded)

@RecyclableWaste RecyclableWaste added awaiting-maintainer Awaiting review from Bazel team on issues type: bug labels Jun 8, 2024
@sgowroji sgowroji added product: IntelliJ IntelliJ plugin lang: java Java rules integration topic: sync Issues related to the sync operation labels Jun 10, 2024
@sgowroji sgowroji assigned mai93 and unassigned sgowroji, iancha1992 and satyanandak Jun 10, 2024
@tpasternak
Copy link
Contributor

Duplicate of #6474

@tpasternak tpasternak marked this as a duplicate of #6474 Jun 10, 2024
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 lang: java Java rules integration product: IntelliJ IntelliJ plugin topic: sync Issues related to the sync operation type: bug
Projects
None yet
Development

No branches or pull requests

7 participants
@tpasternak @sgowroji @RecyclableWaste @mai93 @iancha1992 @satyanandak and others