uwnlp / qamr

Question-Answer Meaning Representation
https://arxiv.org/abs/1711.05885
MIT License
48 stars 10 forks source link

Error getting the SQuAD formatted QAMR dataset #2

Closed diegotxegp closed 6 years ago

diegotxegp commented 6 years ago

Hi there,

When I execute the command "bash write_squad_formatted.sh" (previously "bash setup.sh"), this error message appears. What can I do to solve this?

~/QA/QAMR/code ~/QA/QAMR/code/scripts [warn] Executing in batch mode. [warn] For better performance, hit [ENTER] to switch to interactive mode, or [warn] consider launching sbt without any commands, or explicitly passing 'shell' [info] Loading project definition from /home/diego/QA/QAMR/code/project /home/diego/QA/QAMR/code/build.sbt:36: warning: value persistLauncher in object AutoImport is deprecated: The functionality of persistLauncher has been superseded by scalaJSUseMainModuleInitializer. Set the latter to true to include what was previously the launcher directly inside the main .js file generated by fastOptJS/fullOptJS. persistLauncher in Compile := true, ^ /home/diego/QA/QAMR/code/build.sbt:37: warning: value persistLauncher in object AutoImport is deprecated: The functionality of persistLauncher has been superseded by scalaJSUseMainModuleInitializer. Set the latter to true to include what was previously the launcher directly inside the main .js file generated by fastOptJS/fullOptJS. persistLauncher in Test := false, ^ /home/diego/QA/QAMR/code/build.sbt:117: warning: value packageScalaJSLauncher in object AutoImport is deprecated: The functionality of packageScalaJSLauncher has been superseded by scalaJSUseMainModuleInitializer. Set the latter to true to include what was previously the launcher directly inside the main .js file generated by fastOptJS/fullOptJS. (resources in Compile) += (packageScalaJSLauncher in (exampleJS, Compile)).value.data, ^ [info] Set current project to root (in build file:/home/diego/QA/QAMR/code/) [info] Set current project to qamr-analysis (in build file:/home/diego/QA/QAMR/code/) [info] Updating {file:/home/diego/QA/QAMR/code/}qamrJVM... [info] Resolving com.github.julianmichael#nlpdata_2.11;0.1-SNAPSHOT ... [warn] module not found: com.github.julianmichael#nlpdata_2.11;0.1-SNAPSHOT [warn] ==== local: tried [warn] /home/diego/.ivy2/local/com.github.julianmichael/nlpdata_2.11/0.1-SNAPSHOT/ivys/ivy.xml [warn] ==== public: tried [warn] https://repo1.maven.org/maven2/com/github/julianmichael/nlpdata_2.11/0.1-SNAPSHOT/nlpdata_2.11-0.1-SNAPSHOT.pom [warn] ==== local-preloaded-ivy: tried [warn] /home/diego/.sbt/preloaded/com.github.julianmichael/nlpdata_2.11/0.1-SNAPSHOT/ivys/ivy.xml [warn] ==== local-preloaded: tried [warn] file:////home/diego/.sbt/preloaded/com/github/julianmichael/nlpdata_2.11/0.1-SNAPSHOT/nlpdata_2.11-0.1-SNAPSHOT.pom [warn] ==== sonatype-snapshots: tried [warn] https://oss.sonatype.org/content/repositories/snapshots/com/github/julianmichael/nlpdata_2.11/0.1-SNAPSHOT/nlpdata_2.11-0.1-SNAPSHOT.pom [info] Resolving com.github.julianmichael#spacro_2.11;0.1-SNAPSHOT ... [warn] module not found: com.github.julianmichael#spacro_2.11;0.1-SNAPSHOT [warn] ==== local: tried [warn] /home/diego/.ivy2/local/com.github.julianmichael/spacro_2.11/0.1-SNAPSHOT/ivys/ivy.xml [warn] ==== public: tried [warn] https://repo1.maven.org/maven2/com/github/julianmichael/spacro_2.11/0.1-SNAPSHOT/spacro_2.11-0.1-SNAPSHOT.pom [warn] ==== local-preloaded-ivy: tried [warn] /home/diego/.sbt/preloaded/com.github.julianmichael/spacro_2.11/0.1-SNAPSHOT/ivys/ivy.xml [warn] ==== local-preloaded: tried [warn] file:////home/diego/.sbt/preloaded/com/github/julianmichael/spacro_2.11/0.1-SNAPSHOT/spacro_2.11-0.1-SNAPSHOT.pom [warn] ==== sonatype-snapshots: tried [warn] https://oss.sonatype.org/content/repositories/snapshots/com/github/julianmichael/spacro_2.11/0.1-SNAPSHOT/spacro_2.11-0.1-SNAPSHOT.pom [info] Resolving jline#jline;2.12.1 ... [warn] :::::::::::::::::::::::::::::::::::::::::::::: [warn] :: UNRESOLVED DEPENDENCIES :: [warn] :::::::::::::::::::::::::::::::::::::::::::::: [warn] :: com.github.julianmichael#nlpdata_2.11;0.1-SNAPSHOT: not found [warn] :: com.github.julianmichael#spacro_2.11;0.1-SNAPSHOT: not found [warn] :::::::::::::::::::::::::::::::::::::::::::::: [warn] [warn] Note: Unresolved dependencies path: [warn] com.github.julianmichael:nlpdata_2.11:0.1-SNAPSHOT (/home/diego/QA/QAMR/code/build.sbt#L20) [warn] +- com.github.uwnlp:qamr_2.11:0.1-SNAPSHOT [warn] com.github.julianmichael:spacro_2.11:0.1-SNAPSHOT (/home/diego/QA/QAMR/code/build.sbt#L21) [warn] +- com.github.uwnlp:qamr_2.11:0.1-SNAPSHOT sbt.ResolveException: unresolved dependency: com.github.julianmichael#nlpdata_2.11;0.1-SNAPSHOT: not found unresolved dependency: com.github.julianmichael#spacro_2.11;0.1-SNAPSHOT: not found at sbt.IvyActions$.sbt$IvyActions$$resolve(IvyActions.scala:313) at sbt.IvyActions$$anonfun$updateEither$1.apply(IvyActions.scala:191) at sbt.IvyActions$$anonfun$updateEither$1.apply(IvyActions.scala:168) at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:156) at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:156) at sbt.IvySbt$$anonfun$withIvy$1.apply(Ivy.scala:133) at sbt.IvySbt.sbt$IvySbt$$action$1(Ivy.scala:57) at sbt.IvySbt$$anon$4.call(Ivy.scala:65) at xsbt.boot.Locks$GlobalLock.withChannel$1(Locks.scala:95) at xsbt.boot.Locks$GlobalLock.xsbt$boot$Locks$GlobalLock$$withChannelRetries$1(Locks.scala:80) at xsbt.boot.Locks$GlobalLock$$anonfun$withFileLock$1.apply(Locks.scala:99) at xsbt.boot.Using$.withResource(Using.scala:10) at xsbt.boot.Using$.apply(Using.scala:9) at xsbt.boot.Locks$GlobalLock.ignoringDeadlockAvoided(Locks.scala:60) at xsbt.boot.Locks$GlobalLock.withLock(Locks.scala:50) at xsbt.boot.Locks$.apply0(Locks.scala:31) at xsbt.boot.Locks$.apply(Locks.scala:28) at sbt.IvySbt.withDefaultLogger(Ivy.scala:65) at sbt.IvySbt.withIvy(Ivy.scala:128) at sbt.IvySbt.withIvy(Ivy.scala:125) at sbt.IvySbt$Module.withModule(Ivy.scala:156) at sbt.IvyActions$.updateEither(IvyActions.scala:168) at sbt.Classpaths$$anonfun$sbt$Classpaths$$work$1$1.apply(Defaults.scala:1488) at sbt.Classpaths$$anonfun$sbt$Classpaths$$work$1$1.apply(Defaults.scala:1484) at sbt.Classpaths$$anonfun$doWork$1$1$$anonfun$121.apply(Defaults.scala:1519) at sbt.Classpaths$$anonfun$doWork$1$1$$anonfun$121.apply(Defaults.scala:1517) at sbt.Tracked$$anonfun$lastOutput$1.apply(Tracked.scala:37) at sbt.Classpaths$$anonfun$doWork$1$1.apply(Defaults.scala:1522) at sbt.Classpaths$$anonfun$doWork$1$1.apply(Defaults.scala:1516) at sbt.Tracked$$anonfun$inputChanged$1.apply(Tracked.scala:60) at sbt.Classpaths$.cachedUpdate(Defaults.scala:1539) at sbt.Classpaths$$anonfun$updateTask$1.apply(Defaults.scala:1466) at sbt.Classpaths$$anonfun$updateTask$1.apply(Defaults.scala:1418) at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47) at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:40) at sbt.std.Transform$$anon$4.work(System.scala:63) at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:228) at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:228) at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17) at sbt.Execute.work(Execute.scala:237) at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:228) at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:228) at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159) at sbt.CompletionService$$anon$2.call(CompletionService.scala:28) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) [error] (qamrJVM/*:update) sbt.ResolveException: unresolved dependency: com.github.julianmichael#nlpdata_2.11;0.1-SNAPSHOT: not found [error] unresolved dependency: com.github.julianmichael#spacro_2.11;0.1-SNAPSHOT: not found [error] Total time: 3 s, completed 16-jul-2018 11:54:56

Thank you, Diego

julianmichael commented 6 years ago

Issue resolved over email. For the record, it seems you needed to run scripts/setup.sh first to publish those missing dependencies locally.