Closed Crispae closed 1 year ago
Can you try that command with double quotes instead of single ones? I don't see that step in the documentation. Can you point me to it? Thanks.
@kwalcock : thanks for looking into this!
Can you try that command with double quotes instead of single ones? I don't see that step in the documentation. Can you point me to it? Thanks.
I follow the steps mentioned in this documentation https://indra.readthedocs.io/en/latest/modules/sources/reach/index.html. In this there are 4 steps.
I tried INDRA communicating with a locally running REACH Server, on normal command line. It is giving error while in power shell it is working fine.
While i was trying the INDRA using a REACH JAR through a Python-Java bridge, using the command sbt assembly it is throwing new error
Although, i can successfully run the reach server with first method on power shell, but it would be better to look into why sbt assembly throwing error.
Thanks
Indeed, on Windows the two shells treat single quotes differently. I'm sending in a request to change the documentation to use double quotes so that it works on both.
I'm checking out the assembly error. One possible work-around is to use a version of reach that was available at the time the directions were written. They have you cloning the current version of reach, which may have changed in many ways in the meantime.
That's strange. I get a clean assembly. There is code in build.sbt
to take care of the conflicts. Can you do a git status
to check what you are working on? That code has been in place since 4/9/2022. Thanks.
This is up to date with current changes. May be environment variables are causing this issue?
I added all my environment variables in path
What has changed in build.sbt? To unchange it to match the current master branch, you would need to do git restore build.sbt
. It would be nice to know what the change is first: git diff build.sbt
.
I don't see anything suspicious in the environment variables. We generally use Java 8, but I don't think that's the problem.
Assembly is working fine now, but still offline reading is not available. I already installed pyjnus.
If you have advice for others on how to get assembly to work, I'm sure they'd appreciate it.
Given those error messages, I wouldn't trust that jnius is installed or configured correctly. Is REACHPATH set, for example? For questions that are more about INDRA than REACH, you might have better luck at https://github.com/sorgerlab/indra/issues.
Sorry for late response. offline system work fine, in the process_pmc function no need to add offline parameter, In url just use api.local_nxml_url.
I followed the steps mentioned in documentation:
git clone https://github.com/clulab/reach.git cd reach sbt 'runMain org.clulab.reach.export.server.ApiServer'
Gettiing this error