clulab / eidos

Machine reading system for World Modelers
Apache License 2.0
36 stars 24 forks source link

Make tests work (for me) #1104

Closed kwalcock closed 2 years ago

kwalcock commented 2 years ago

@zupon, I didn't see the exact same error message that you did, but did need to make some changes to get it to work. Perhaps they will affect what you see happening.

The resource needs to be without the trailing .txt because processors tries to automatically see if there is a serialized version before settling for the txt version, so

wordToVecPath = /org/clulab/glove/glove.840B.300d // Remote resource

To be on the safe side, the same version of processors-corenlp and processors-main should be used, so both

  val procVer = "8.4.7-SNAPSHOT"

  Seq(
    "org.clulab"                 %% "processors-corenlp"       % procVer,       // up to 8.4.1
    "org.clulab"                 %% "processors-main"          % procVer,       // up to 8.4.1

I'm letting IntelliJ build this itself (via the compiler server, apparently), not manually running sbt within IntelliJ. It should be getting the same results as sbt.