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

Error:Cannot run program "bazel" : CreateProcess error=206, The filename or extension is too long #6481

Open
kool79 opened this issue Jun 13, 2024 · 3 comments
Labels
awaiting-maintainer Awaiting review from Bazel team on issues os: windows Windows support P3 We're not considering working on this, but happy to review a PR. (No assignee) product: IntelliJ IntelliJ plugin topic: sync Issues related to the sync operation type: bug

Comments

@kool79
Copy link

kool79 commented Jun 13, 2024

Description of the issue. Please be specific.

Error:Cannot run program "bazel" (in directory "D:\dev\github\selenium"): CreateProcess error=206, The filename or extension is too long
Most of files are non-synced after project rebase
Standard 'sync' does not work
IDEA Cache clear did not help

What's the simplest set of steps to reproduce this issue? Please provide an example project, if possible.

  1. checkout git@github.com:/SeleniumHQ/selenium.git
  2. Bazel > Sync > Non-incrementally sync...
    Same for regular sync.

Version information

IdeaUltimate: 2024.2 EAP
Platform: Windows 10.0
Bazel for IntelliJ plugin: 2024.06.03.0.1-api-version-242
Bazel: 7.1.2

@kool79
Copy link
Author

kool79 commented Jun 13, 2024

IDEA log contains:

2024-06-13 06:06:42,308 [ 780429] INFO - #com.google.idea.async.process.CommandLineTask - Running task:
C:\ProgramData\chocolatey\bin\bazel.exe build --tool_tag=ijwb:IDEA:ultimate --override_repository=intellij_aspect=C:\Users\o.kulychok\AppData\Roaming\JetBrains\IntelliJIdea2024.2\plugins\ijwb\aspect --keep_going --build_event_binary_file=C:\Users\O4937~1.KUL\AppData\Local\Temp\intellij-bep-d74dde3a-53d3-4ec3-9c0f-6954fa2064e2 --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 --output_groups=intellij-resolve-java-direct-deps,intellij-resolve-py-direct-deps,intellij-info-generic,intellij-info-java-direct-deps,intellij-info-py-direct-deps -- //java:auto-service //java/src/org/openqa/selenium:client-combined-lib //java/src/org/openqa/selenium:core-lib //java/src/org/openqa/selenium/bidi:augmenter //java/src/org/openqa/selenium/bidi:bidi //java/src/org/openqa/selenium/bidi/browsingcontext:browsingcontext //java/src/org/openqa/selenium/bidi/log:log //java/src/org/openqa/selenium/bidi/module:module //java/src/org/openqa/selenium/bidi/network:network //java/src/org/openqa/selenium/bidi/script:script //java/src/org/openqa/selenium/bidi/storage:storage //java/src/org/openqa/selenium/chrome:chrome-lib //java/src/org/openqa/selenium/chromium:chromium-lib //java/src/org/openqa/selenium/cli:cli //java/src/org/openqa/selenium/concurrent:concurrent //java/src/org/openqa/selenium/devtools:augmenter //java/src/org/openqa/selenium/devtools:devtools //java/src/org/openqa/selenium/devtools:devtools-prototypes //java/src/org/openqa/selenium/devtools/v123:cdp //java/src/org/openqa/selenium/devtools/v123:v123-lib //java/src/org/openqa/selenium/devtools/v124:cdp //java/src/org/openqa/selenium/devtools/v124:v124-lib //java/src/org/openqa/selenium/devtools/v125:cdp //java/src/org/openqa/selenium/devtools/v125:v125-lib //java/src/org/openqa/selenium/devtools/v85:cdp //java/src/org/openqa/selenium/devtools/v85:v85-lib //java/src/org/open

Seems plugin tries to pass all data, all files via command line

@sgowroji sgowroji added type: bug product: IntelliJ IntelliJ plugin os: windows Windows support topic: sync Issues related to the sync operation awaiting-maintainer Awaiting review from Bazel team on issues labels Jun 13, 2024
@kool79
Copy link
Author

kool79 commented Jun 13, 2024

Maybe similar to #6478

@tpasternak
Copy link
Collaborator

Thanks for the report. I think this one is different, it happens in a different place and probably is a windows-only problem

@tpasternak tpasternak added the P3 We're not considering working on this, but happy to review a PR. (No assignee) label Jun 27, 2024
@mai93 mai93 removed their assignment Jul 2, 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 os: windows Windows support P3 We're not considering working on this, but happy to review a PR. (No assignee) product: IntelliJ IntelliJ plugin topic: sync Issues related to the sync operation type: bug
Projects
None yet
Development

No branches or pull requests

4 participants