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

Support IJ 2018.1 #290

Closed
hsyed opened this issue Apr 17, 2018 · 13 comments
Closed

Support IJ 2018.1 #290

hsyed opened this issue Apr 17, 2018 · 13 comments

Comments

@hsyed
Copy link

hsyed commented Apr 17, 2018

com.google.idea.blaze.base.command.info.BlazeInfoException: blaze info failed with exit code: -1
java.util.concurrent.ExecutionException: com.google.idea.blaze.base.command.info.BlazeInfoException: blaze info failed with exit code: -1
	at com.google.common.util.concurrent.AbstractFuture.getDoneValue(AbstractFuture.java:502)
	at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:481)
	at com.google.common.util.concurrent.AbstractFuture$TrustedFuture.get(AbstractFuture.java:78)
	at com.google.idea.blaze.base.async.FutureUtil$Builder.lambda$run$0(FutureUtil.java:96)
	at com.google.idea.blaze.base.scope.Scope.push(Scope.java:37)
	at com.google.idea.blaze.base.async.FutureUtil$Builder.run(FutureUtil.java:86)
	at com.google.idea.blaze.base.sync.BlazeSyncTask.doSyncProject(BlazeSyncTask.java:311)
	at com.google.idea.blaze.base.sync.BlazeSyncTask.syncProject(BlazeSyncTask.java:228)
	at com.google.idea.blaze.base.sync.BlazeSyncTask.lambda$run$0(BlazeSyncTask.java:189)
	at com.google.idea.blaze.base.scope.Scope.push(Scope.java:60)
	at com.google.idea.blaze.base.scope.Scope.root(Scope.java:52)
	at com.google.idea.blaze.base.sync.BlazeSyncTask.run(BlazeSyncTask.java:163)
	at com.google.idea.blaze.base.async.executor.ProgressiveTaskWithProgressIndicator.lambda$submitTask$0(ProgressiveTaskWithProgressIndicator.java:79)
	at com.google.idea.blaze.base.async.executor.ProgressiveTaskWithProgressIndicator.lambda$submitTaskWithResult$2(ProgressiveTaskWithProgressIndicator.java:113)
	at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:173)
	at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$1(CoreProgressManager.java:157)
	at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:580)
	at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:525)
	at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:85)
	at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:144)
	at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:173)
	at com.google.idea.blaze.base.async.executor.ProgressiveTaskWithProgressIndicator.lambda$submitTaskWithResult$3(ProgressiveTaskWithProgressIndicator.java:113)
	at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:111)
	at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:58)
	at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:75)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: com.google.idea.blaze.base.command.info.BlazeInfoException: blaze info failed with exit code: -1
	at com.google.idea.blaze.base.command.info.BlazeInfoRunnerImpl.runBlazeInfo(BlazeInfoRunnerImpl.java:102)
	at com.google.idea.blaze.base.command.info.BlazeInfoRunnerImpl.lambda$runBlazeInfo$2(BlazeInfoRunnerImpl.java:72)
	... 6 more

Console output:

Error:Cannot run program "bazel" (in directory "/Volumes/work/src/github.com/hsyed/rules_kotlin"): error=2, No such file or directory

@brendandouglas is 2018.1 working in general ?

@brendandouglas
Copy link
Contributor

No, we haven't released a plugin compatible with 2018.1 yet.

@brendandouglas brendandouglas changed the title Cannot import workspace in IJ-CE 2018.1 Support IJ 2018.1 Apr 17, 2018
@chaoren
Copy link
Collaborator

chaoren commented Apr 17, 2018

Do you have the absolute path for bazel set in your settings?

@excavador
Copy link

Hi!
Thank you for great plugin.
Do you have any estimate when support will be available?

@brendandouglas
Copy link
Contributor

As a rough estimate, I expect we'll upload a 2018.1-compatible plugin around late May.

@tdyas
Copy link

tdyas commented Apr 27, 2018

Any incomplete work that could be shared to let others help with the effort?

@brendandouglas
Copy link
Contributor

We've switched to 2018.1 for the next release (in 3 weeks time). Most of the work involved is tracking down the many edge cases where things stop working in a new release, which can't really be shared.

@brendandouglas
Copy link
Contributor

2018.1 is now supported, as of the latest plugin upload.

@excavador
Copy link

verified, works, thank you!

@garymm
Copy link

garymm commented May 21, 2018

@excavador Where'd you get the working plugin? I tried downloading it from here and the latest version (2018.05.07.0.2) doesn't work.

@brendandouglas
Copy link
Contributor

@ricelid what problems are you having with that plugin version? Could you include:

  • your IDE + IDE version
  • any exceptions coming from the problem and/or else expected vs actual results

@garymm
Copy link

garymm commented May 21, 2018

IntelliJ IDEA 2018.1 (Ultimate Edition)
Build #IU-181.4203.550, built on March 26, 2018
Licensed to Google

JRE: 1.8.0_152-release-1136-b20 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.13.4

Problem 1:
The Bazel plugin doesn't show up in the search results within "Browse Repositories".

Problem 2:
When I download the zip file from here and "install plugin from disk", I get "Plugin 'Bazel' is incompatible with this installation".

@brendandouglas
Copy link
Contributor

That's an old version of IJ 2018.1, which the plugin isn't compatible with (the version compatibility information is listed in the JetBrains plugin repo site you linked).

@excavador
Copy link

excavador commented May 21, 2018

@ricelid I download new IDEA (2018.1.3) and new bazel plugin.
Works fine for golang, python, javascript

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

6 participants