kermitt2 / grobid_client_python

Python client for GROBID Web services
Apache License 2.0
279 stars 75 forks source link

no api call? #11

Closed samaritanhu closed 3 years ago

samaritanhu commented 4 years ago

Dears, I was trying to run the command you showed in your page - python3 grobid-client.py --input ~/tmp/in2 --output ~/tmp/out processFulltextDocument

But this error appeared:

requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8070): Max retries exceeded with url: /api/isalive (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fe140105f10>: Failed to establish a new connection: [Errno 61] Connection refused'))

kermitt2 commented 4 years ago

Hello ! You need a running server to use the client, see the documentation https://github.com/kermitt2/grobid-client-python#build-and-run