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

Don't know if Mix.Dep option runtume is important for determining location of dependency #1386

Closed
bortloff opened this issue Jan 22, 2019 · 1 comment · Fixed by #1589
Closed
Labels
Milestone

Comments

@bortloff
Copy link

Description

Trying to run a mix with Guardian as a dependency

Exception

Message

*** exception class was changed or removed

Stacktrace

Don't know if Mix.Dep option `runtume` is important for determining location of dependency

### Excerpt

{:jason, "~> 1.1", only: [:dev, :test], runtume: false}

 Line(s) 170-170 in /home/sharivegas/IdeaProjects/plasma/deps/guardian/mix.exs


### Element Class Name

org.elixir_lang.psi.impl.ElixirTupleImpl



org.elixir_lang.errorreport.Logger.error(Logger.java:51)
org.elixir_lang.mix.Dep$Companion.from(Dep.kt:50)
org.elixir_lang.mix.Dep$Companion.from(Dep.kt:29)
org.elixir_lang.mix.DepGathererKt.deps(DepGatherer.kt:141)
org.elixir_lang.mix.DepGathererKt.deps(DepGatherer.kt:44)
org.elixir_lang.mix.DepGathererKt.access$deps(DepGatherer.kt:1)
org.elixir_lang.mix.DepGatherer$visitElement$1.invoke(DepGatherer.kt:36)
org.elixir_lang.mix.DepGatherer$visitElement$1.invoke(DepGatherer.kt:21)
org.elixir_lang.mix.DepGathererKt.foldDepsDefinersWhile(DepGatherer.kt:64)
org.elixir_lang.mix.DepGathererKt.access$foldDepsDefinersWhile(DepGatherer.kt:1)
org.elixir_lang.mix.DepGatherer.visitElement(DepGatherer.kt:35)
com.intellij.psi.impl.PsiElementBase.accept(PsiElementBase.java:274)
org.elixir_lang.psi.impl.ElixirUnmatchedUnqualifiedNoParenthesesCallImpl.accept(ElixirUnmatchedUnqualifiedNoParenthesesCallImpl.java:38)
com.intellij.psi.impl.source.tree.SharedImplUtil.acceptChildren(SharedImplUtil.java:200)
com.intellij.psi.impl.source.PsiFileImpl.acceptChildren(PsiFileImpl.java:730)
org.elixir_lang.mix.DepGatherer$visitFile$$inlined$runReadAction$1.compute(actions.kt:64)
com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:959)
org.elixir_lang.mix.DepGatherer.visitFile(DepGatherer.kt:143)
com.intellij.extapi.psi.PsiFileBase.accept(PsiFileBase.java:70)
org.elixir_lang.mix.watcher.Resolution$Companion$packagePsiFileToDepSet$$inlined$runReadAction$1$lambda$1.compute(Resolution.kt:111)
com.intellij.psi.util.CachedValuesManager.lambda$getCachedValue$0(CachedValuesManager.java:140)
com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:49)
com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:222)
com.intellij.psi.impl.PsiCachedValue.getValueWithLock(PsiCachedValue.java:60)
com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:38)
com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:88)
com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:139)
org.elixir_lang.mix.watcher.Resolution$Companion$packagePsiFileToDepSet$$inlined$runReadAction$1.compute(actions.kt:64)
com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:963)
org.elixir_lang.mix.watcher.Resolution$Companion.packagePsiFileToDepSet(Resolution.kt:122)
org.elixir_lang.mix.watcher.Resolution$Companion.packageVirtualFileToDepSet(Resolution.kt:97)
org.elixir_lang.mix.watcher.Resolution$Companion.rootVirtualFileToDepSet(Resolution.kt:80)
org.elixir_lang.mix.watcher.Resolution$Companion.resolution(Resolution.kt:38)
org.elixir_lang.mix.watcher.TransitiveResolution.transitiveResolution(TransitiveResolution.kt:17)
org.elixir_lang.mix.Watcher.syncLibraries(Watcher.kt:43)
org.elixir_lang.DepsWatcher.syncLibraries(DepsWatcher.kt:184)
org.elixir_lang.DepsWatcher.syncLibraries(DepsWatcher.kt:167)
org.elixir_lang.DepsWatcher.syncLibraries(DepsWatcher.kt:162)
org.elixir_lang.DepsWatcher$syncLibraries$$inlined$let$lambda$1.run(DepsWatcher.kt:106)
com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:727)
com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:164)
com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:582)
com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:532)
com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:87)
com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:151)
com.intellij.openapi.progress.impl.CoreProgressManager$4.run(CoreProgressManager.java:403)
com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:314)
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
java.util.concurrent.FutureTask.run(FutureTask.java:266)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
java.lang.Thread.run(Thread.java:748)
@KronicDeth
Copy link
Owner

You missed spelled runtime as runtume.

@KronicDeth KronicDeth changed the title [auto-generated] Don't know if Mix.Dep option runtume is important for determining location of dependency Sep 20, 2019
@KronicDeth KronicDeth added this to the 11.1.1 milestone Sep 20, 2019
KronicDeth added a commit that referenced this issue Sep 20, 2019
Fixes #1386

`guardian` is too common of a dependency and too many users have the
version with the typo installed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants