Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to access jarfile #24

Open
scottkerr-dataseer opened this issue May 5, 2023 · 3 comments
Open

Unable to access jarfile #24

scottkerr-dataseer opened this issue May 5, 2023 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@scottkerr-dataseer
Copy link

I am getting this error message:

scott@:~$ docker run --rm --gpus all -it -p 8060:8060 grobid/software-mentions:0.7.3-SNAPSHOT
Error: Unable to access jarfile build/libs/software-mentions--onejar.jar

I was able to run 0.7.1 without difficulty.

@kermitt2
Copy link
Collaborator

kermitt2 commented May 5, 2023

Hello @scottkerr-dataseer !

Thanks for the issue.

Did you rebuild this image or use the DockerHub image?

@scottkerr-dataseer
Copy link
Author

scottkerr-dataseer commented May 5, 2023 via email

@kermitt2
Copy link
Collaborator

kermitt2 commented May 6, 2023

No it's just to know where the problem comes from. The version tag is missing in the library name (0.7.3-SNAPSHOT) inside the image, it should be build/libs/software-mentions-0.7.3-SNAPSHOT-onejar.jar.

If I remember well, I tested this image present on DockerHub and I used it a few times, so it's strange. This docker hub image is running also on HuggingFace space, although it times out because there is no GPU in this demo.

Anyway I suspect a problem with env and local --build-arg variable in the docker build. I have updated the image on DockerHub so if you pull the new version, the version tag is now forced.

@kermitt2 kermitt2 added the bug Something isn't working label May 6, 2023
@kermitt2 kermitt2 self-assigned this May 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants