kermitt2 / grobid

A machine learning software for extracting information from scholarly documents
https://grobid.readthedocs.io
Apache License 2.0
3.51k stars 450 forks source link

../gradlew run ----> gradle-service:run fix at 91% #1055

Closed zakariabouachra closed 11 months ago

zakariabouachra commented 11 months ago
kermitt2 commented 11 months ago

Hi @zakariabouachra !

It's not an issue, this is the normal behavior of gradle task launch for the service. See the documentation:

https://grobid.readthedocs.io/en/latest/Grobid-service/#start-the-server-with-gradle

Duplicate #298

zakariabouachra commented 11 months ago

it blocks like this: zak@zak:~/grobid-installation$ ./grobid-service/bin/grobid-service 06:40:02.031 [main] INFO org.grobid.service.main.GrobidServiceApplication - Found conf path: /home/zak/grobid-installation/grobid-home/config/grobid.yaml 06:40:02.033 [main] WARN org.grobid.service.main.GrobidServiceApplication - Running with default arguments: "server" "/home/zak/grobid-installation/grobid-home/config/grobid.yaml" 06:40:02.033 [main] INFO org.grobid.service.main.GrobidServiceApplication - Configuration file: /home/zak/grobid-installation/grobid-home/config/grobid.yaml

kermitt2 commented 11 months ago

@zakariabouachra your initial issue relates to running the service with gradle, https://grobid.readthedocs.io/en/latest/Grobid-service/#start-the-server-with-gradle does it work?

kermitt2 commented 11 months ago

Abuot running grobid as a standalone application, which is not related to your first issue, I recommend using Gradle for the support of more recent JDKs.

Documentation is there: https://grobid.readthedocs.io/en/latest/Grobid-service/#install-and-run-the-service-as-standalone-application It is a server start command, so I am not sure what you mean by "it blocks". Can you then open the default console app on http://localhost:8070 and send queries to the server ?

However I don't recommend to use this solution for the moment in any cases with the newer 0.8.0-SNAPSHOT version, the assemble fails with recent gradle due to the size of the archive and I'll need to fix it before the new stable release.

kermitt2 commented 11 months ago

I am closing this issue, as it is a duplicate and covered by documentation. Feel free to open new issues on related problems.