HazyResearch / deepdive

DeepDive
deepdive.stanford.edu
1.95k stars 543 forks source link

Can't start CoreNLP in sandbox (In windows and mac). #679

Open netza2 opened 5 years ago

netza2 commented 5 years ago

Hello, I'm having troubles getting the corenlp tool to start. In the past, I spent months trying to make deepdive work in an ubuntu machine without success. Then I tried the docker sandbox and everything worked at once.

Now I have a minimal ubuntu in a virtual machine in Windows, where I have docker installed. For some reason, the "deepdive corenlp start" command just doesn't start, giving me an error message:

CoreNLP server at CORENLP_PORT=24393 still not ready

Maybe something related to the corenlp server connection. I tried exporting the environment variables that are recommended in the tutorial and the command help, which helped me the last time:

export CORENLP_PORT=$(deepdive corenlp unique-port) export CORENLP_TIMEOUT=86400000 export CORENLP_JAVAOPTS=-Xmx4g

But it didn't solve it this time. The same problem happens in a mac host, but it doesn't happen in a desktop machine with ubuntu 17.04. I hope someone can give me some feedback about this problem.

moseslv commented 5 years ago

Hey netza2 , I just saw your post becauz I have encountered the same problem. So did you fix this issue? If so, how did you manage to do it?

netza2 commented 5 years ago

Hello moses, I guess my fix is using a desktop ubuntu installation, whether it's a virtual machine or in a partition, and then the docker sandbox. It would be nice to run it in a minimal VM, though.

sharonwoo commented 4 years ago

Encountered this issue on Mojave 10.14.6, but was able to run everything smoothly on the latest version of Ubuntu on a VM.